-
Notifications
You must be signed in to change notification settings - Fork 15
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
opcap fails to delete namespaces created for operators. #329
Comments
We are relying on the deletion of the Namespace to cleanup the lingering Operator CSV and associated Operator controller Deployment. This can often result in Namespace stuck in Terminating status when Namespace controller attempts resource cleanup. Per discussion with @acmenezes and @bcrochet, let's add an explicit deletion of the Operator CSV immediately after |
Right @madorn I'll investigate that option. Although it looks like an intermittent problem. I was able to run it in full this afternoon with all namespaces being cleared correctly and all resources cleaned up well. |
Should also check that operands are being deleted. Currently, the deletion is fire and forget. Could implement a goroutine to fire off for each custom resource, and wait for completion or a time out. |
Bug Description
opcap fails to delete namespaces between individual operator audits
Version and Command Invocation
v0.2.0
opcap check
Steps to Reproduce:
opcap check
Expected Result
All resources created by opcap to be deleted after each operator audit.
Actual Result
Multiple audits for individual operators throw the following error:
Additional Context
The cause can be related to timing issues like trying to delete or create resources too fast and/or related to finalizers that are not being removed for an unknown reason and preventing the cluster to finish the delete operation.
The text was updated successfully, but these errors were encountered: