kube-object-storage / lib-bucket-provisioner

Library for the dynamic provisioning of object store buckets to be used by object store providers.
Apache License 2.0
21 stars 22 forks source link

Delete OBC stuck when OBC is in provisioning retry loop #171

Open guymguym opened 5 years ago

guymguym commented 5 years ago
E0926 13:38:26.647416       1 controller.go:286]  "msg"="cleaning up reconcile artifacts" "error"="error provisioning bucket: Failed to create tier \"liran-05b3c247-e26d-49a0-821f-ef3c0482f6e0.5d8cbf52.0\" with error: Cannot read property 'hosts_pool_info' of undefined" "key"="ggg/liran"
I0926 13:38:26.647429       1 resourcehandlers.go:203]  "level"=0 "msg"="got nil secret, skipping" "key"="ggg/liran"
I0926 13:38:26.647438       1 resourcehandlers.go:182]  "level"=0 "msg"="got nil configmap, skipping" "key"="ggg/liran"
I0926 13:38:26.647445       1 resourcehandlers.go:223]  "level"=0 "msg"="got nil obc, skipping" "key"="ggg/liran"
E0926 13:38:26.647466       1 controller.go:190] error syncing 'ggg/liran': error provisioning bucket: Failed to create tier "liran-05b3c247-e26d-49a0-821f-ef3c0482f6e0.5d8cbf52.0" with error: Cannot read property 'hosts_pool_info' of undefined, requeuing
I0926 13:39:07.612585       1 controller.go:203]  "level"=0 "msg"="new Reconcile iteration" "key"="ggg/liran"
I0926 13:39:07.612704       1 helpers.go:80]  "level"=0 "msg"="getting claim for key" "key"="ggg/liran"
I0926 13:39:07.616795       1 controller.go:219]  "level"=0 "msg"="OBC deleted, proceeding with cleanup" "key"="ggg/liran"
I0926 13:39:07.616896       1 controller.go:546]  "level"=0 "msg"="getting objectBucket for key"  "key"="ggg/liran"
I0926 13:39:07.619812       1 helpers.go:106]  "level"=0 "msg"="getting configMap for key"  "key"="ggg/liran"
I0926 13:39:07.621375       1 helpers.go:119]  "level"=0 "msg"="getting secret for key"  "key"="ggg/liran"
E0926 13:39:07.623208       1 controller.go:222]  "msg"="error cleaning up OBC" "error"="could not get all needed resources: error getting object bucket \"obc-ggg-liran\": objectbuckets.objectbucket.io \"obc-ggg-liran\" not found : error getting configmap \"ggg/liran\": configmaps \"liran\" not found : error getting secret \"ggg/liran\": secrets \"liran\" not found" "key"="ggg/liran" "name"="ggg/liran"
E0926 13:39:07.623285       1 controller.go:190] error syncing 'ggg/liran': could not get all needed resources: error getting object bucket "obc-ggg-liran": objectbuckets.objectbucket.io "obc-ggg-liran" not found : error getting configmap "ggg/liran": configmaps "liran" not found : error getting secret "ggg/liran": secrets "liran" not found, requeuing
jeffvance commented 5 years ago

@guymguym this highlights the value of versioning the lib soon. I want to ask you which version of the lib you're using here because I think this may have been fixed in the latest master.