Skip to content
New issue

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

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

Already on GitHub? # to your account

Unbinding should not fail if the bucket or the user does not exist #238

Closed
twincitiesguy opened this issue Dec 13, 2022 · 0 comments · Fixed by #237
Closed

Unbinding should not fail if the bucket or the user does not exist #238

twincitiesguy opened this issue Dec 13, 2022 · 0 comments · Fixed by #237
Assignees

Comments

@twincitiesguy
Copy link
Collaborator

During unbinding, the broker will throw an exception if the user or bucket was somehow already deleted. This prevents the completion of the unbinding process and can cause applications to be in a stuck state.

If the user or bucket of an application binding is already gone, the broker should simply skip that step in the unbinding process. Example ref:
https://github.com/thecodeteam/ecs-cf-service-broker/blob/master/src/main/java/com/emc/ecs/servicebroker/service/BucketBindingWorkflow.java#L96

i.e. either in deleteUser, or before the above line, we should check if the user exists, and skip the delete call in that case.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant