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
MGMT-14498: Remove the detached annotation when BMH is being deleted #5228
MGMT-14498: Remove the detached annotation when BMH is being deleted #5228
Conversation
When the BMH has the delete annotation the detached annotation value contains metadata that causes BMO to pause its finalizer handling until it is removed. This means that BMAC needs to ensure the detached annotation is removed whenever the BMH is being deleted and the finalizer is going to be removed or is already gone. Previosuly if the agent was deleted BMAC removed the finalizer, but not the detached annotation leading to the BMH not being deleted. https://issues.redhat.com/browse/MGMT-14498
@carbonin: This pull request references MGMT-14498 which is a valid jira issue. 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 kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: carbonin 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 |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #5228 +/- ##
==========================================
+ Coverage 67.46% 67.58% +0.11%
==========================================
Files 218 218
Lines 32683 32780 +97
==========================================
+ Hits 22051 22154 +103
+ Misses 8650 8644 -6
Partials 1982 1982
|
/lgtm |
@carbonin: all tests passed! 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/test-infra repository. I understand the commands that are listed here. |
/cherry-pick release-ocm-2.8 |
@carbonin: new pull request created: #5238 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 kubernetes/test-infra repository. |
) When the BMH has the delete annotation the detached annotation value contains metadata that causes BMO to pause its finalizer handling until it is removed. This means that BMAC needs to ensure the detached annotation is removed whenever the BMH is being deleted and the finalizer is going to be removed or is already gone. Previosuly if the agent was deleted BMAC removed the finalizer, but not the detached annotation leading to the BMH not being deleted. https://issues.redhat.com/browse/MGMT-14498
When the BMH has the delete annotation the detached annotation value contains metadata that causes BMO to pause its finalizer handling until it is removed.
This means that BMAC needs to ensure the detached annotation is removed whenever the BMH is being deleted and the finalizer is going to be removed or is already gone.
Previosuly if the agent was deleted BMAC removed the finalizer, but not the detached annotation leading to the BMH not being deleted.
List all the issues related to this PR
https://issues.redhat.com/browse/MGMT-14498
What environments does this code impact?
How was this code tested?
Checklist
docs
, README, etc)Reviewers Checklist