Skip to content
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-ocm-2.8] MGMT-14498: Remove the detached annotation when BMH is being deleted #5238

Conversation

openshift-cherrypick-robot

This is an automated cherry-pick of #5228

/assign carbonin

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
@openshift-ci-robot
Copy link

openshift-ci-robot commented May 22, 2023

@openshift-cherrypick-robot: Could not make automatic cherrypick of [Jira Issue MGMT-14498](https://issues.redhat.com//browse/MGMT-14498) for this PR as the target version is not set for this branch in the jira plugin config. Running refresh:
/jira refresh

In response to this:

This is an automated cherry-pick of #5228

/assign carbonin

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.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label May 22, 2023
@openshift-ci-robot
Copy link

openshift-ci-robot commented May 22, 2023

@openshift-ci-robot: This pull request references MGMT-14498 which is a valid jira issue.

In response to this:

@openshift-cherrypick-robot: Could not make automatic cherrypick of [Jira Issue MGMT-14498](https://issues.redhat.com//browse/MGMT-14498) for this PR as the target version is not set for this branch in the jira plugin config. Running refresh:
/jira refresh

In response to this:

This is an automated cherry-pick of #5228

/assign carbonin

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.

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.

@openshift-ci openshift-ci bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label May 22, 2023
@openshift-ci openshift-ci bot requested review from filanov and javipolo May 22, 2023 20:09
@codecov
Copy link

codecov bot commented May 22, 2023

Codecov Report

Merging #5238 (7dfd508) into release-ocm-2.8 (2d1b26d) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                 @@
##           release-ocm-2.8    #5238      +/-   ##
===================================================
+ Coverage            67.48%   67.50%   +0.02%     
===================================================
  Files                  218      218              
  Lines                32615    32620       +5     
===================================================
+ Hits                 22009    22020      +11     
+ Misses                8619     8616       -3     
+ Partials              1987     1984       -3     
Impacted Files Coverage Δ
...nal/controller/controllers/bmh_agent_controller.go 74.71% <100.00%> (+0.37%) ⬆️

... and 2 files with indirect coverage changes

@carbonin
Copy link
Member

/retest

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 23, 2023
@openshift-ci
Copy link

openshift-ci bot commented May 23, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: filanov, openshift-cherrypick-robot

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 23, 2023
@openshift-ci
Copy link

openshift-ci bot commented May 23, 2023

@openshift-cherrypick-robot: 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.

@openshift-merge-robot openshift-merge-robot merged commit 3de8b78 into openshift:release-ocm-2.8 May 23, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants