Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to delete service instance #235

Open
qibobo opened this issue Dec 21, 2020 · 0 comments
Open

Failed to delete service instance #235

qibobo opened this issue Dec 21, 2020 · 0 comments

Comments

@qibobo
Copy link
Contributor

qibobo commented Dec 21, 2020

I created a service and binding. Then I deleted the binding successfully, when I was trying to delete the service, the cloud-operators showed the errors as following:

2020-12-21T07:54:59.562Z	INFO	controllers.Service	controllers/service_controller.go:452	Deleting 	{"service": "default/thetranslator", "User": "xxx", "thetranslator": "language-translator"}
2020-12-21T07:56:00.584Z	ERROR	controllers.Service	controllers/service_controller.go:187	Error deleting resource	{"service": "default/thetranslator", "User": "xxx", "service": "thetranslator", "error": "Request failed with status code: 400, ServerErrorResponse: {\"message\":\"Instance is in pending_reclamation state.  Use API to reclaim the instance.\",\"status_code\":400,\"transaction_id\":\"bss-7a668266ac8dbc25\"}\n"}
github.com/go-logr/zapr.(*zapLogger).Error
	/go/pkg/mod/github.com/go-logr/[email protected]/zapr.go:128
github.com/ibm/cloud-operators/controllers.(*ServiceReconciler).Reconcile
	/workspace/controllers/service_controller.go:187
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:256
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:232
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:211
k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1
	/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:152
k8s.io/apimachinery/pkg/util/wait.JitterUntil
	/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:153
k8s.io/apimachinery/pkg/util/wait.Until
	/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:88
2020-12-21T07:56:00.585Z	INFO	controllers.Service	ibmcloud/ibmcloud.go:83	Context	{"service": "default/thetranslator", "is": {"region":"us-south","resourcegroupid":"d24cc694c3de4299a3e7cd8e320075a4","resourcelocation":"us-south","user":"xxx"}}
2020-12-21T07:56:02.068Z	INFO	controllers.Service	controllers/service_controller.go:452	Deleting 	{"service": "default/thetranslator", "User": "xxx", "thetranslator": "language-translator"}
2020-12-21T07:56:02.967Z	ERROR	controllers.Service	controllers/service_controller.go:187	Error deleting resource	{"service": "default/thetranslator", "User": "xxx", "service": "thetranslator", "error": "Request failed with status code: 400, ServerErrorResponse: {\"message\":\"Instance is in pending_reclamation state.  Use API to reclaim the instance.\",\"status_code\":400,\"transaction_id\":\"bss-18d3aa0b29af77d6\"}\n"}
github.com/go-logr/zapr.(*zapLogger).Error
	/go/pkg/mod/github.com/go-logr/[email protected]/zapr.go:128
github.com/ibm/cloud-operators/controllers.(*ServiceReconciler).Reconcile
	/workspace/controllers/service_controller.go:187
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:256
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:232
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:211
k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1
	/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:152
k8s.io/apimachinery/pkg/util/wait.JitterUntil
	/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:153
k8s.io/apimachinery/pkg/util/wait.Until
	/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant