-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[release-4.18] OCPBUGS-49320: pkg/gcp/destroy: add waits to prevent leaks during heavy load #9402
base: release-4.18
Are you sure you want to change the base?
Conversation
The GCP destroy code repeated a lot of boilerplate operation handling. This refactors all of that into a single function for increased maintainability.
In OCPBUGS-47489, we see that some resources, particularly global backend services are being leaked during the destroy process. Analysis of the creation time stamps for the leaked resources shows that the resources are clustered together, suggesting the leaks may occur during periods of heavy load. During periods of heavy load, the deletion may take longer to process. This commit addresses the issue by adding waits for all resource deletion. This ensures ample time to complete destroy calls.
Linter was complaining about existing code that used the magic string "DONE". This converts the string to a constant.
@openshift-cherrypick-robot: Jira Issue OCPBUGS-47489 has been cloned as Jira Issue OCPBUGS-49320. Will retitle bug to link to clone. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-49320, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
@openshift-cherrypick-robot: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
/retest-required |
/jira refresh |
@gpei: This pull request references Jira Issue OCPBUGS-49320, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/label cherry-pick-approved |
/jira refresh |
@gpei: This pull request references Jira Issue OCPBUGS-49320, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/label backport-risk-assessed |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sadasu The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This is an automated cherry-pick of #9384
/assign patrickdillon