-
Notifications
You must be signed in to change notification settings - Fork 27
OCPBUGS-65571: Fix deletion hang when aborting inspection during power-off #447
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
OCPBUGS-65571: Fix deletion hang when aborting inspection during power-off #447
Conversation
|
/hold |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: elfosardo The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold |
dbb6309 to
a1376a9
Compare
|
@elfosardo: This pull request references Jira Issue OCPBUGS-65571, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn 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. |
|
I saw the unit test failing already before but it does not look related to this change |
|
/retest |
When deleting a BMH during inspection, power-off could hang because: 1. After abort, node is in InspectFail with TargetProvisionState still set, blocking power changes 2. Ironic does not auto-clear TargetProvisionState in InspectFail state 3. PowerOff() misinterpreted the abort message in LastError as a power-off failure Fix by: - Explicitly transitioning from InspectFail to manageable to clear TargetProvisionState and allow power changes - Ignoring "aborted" errors in LastError during power-off
a1376a9 to
1693931
Compare
|
@elfosardo: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
/verified by sgoveas |
|
@sgoveas: This PR has been marked as verified by DetailsIn 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. |
|
@elfosardo: This pull request references Jira Issue OCPBUGS-65571, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn 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. |
|
/unhold |
|
/lgtm |
|
@elfosardo: Jira Issue OCPBUGS-65571: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-65571 has been moved to the MODIFIED state. DetailsIn 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. |
When deleting a BMH during inspection, power-off could hang because:
set, blocking power changes
power-off failure
Fix by:
TargetProvisionState and allow power changes