Skip to content

Conversation

@rhjanders
Copy link
Member

@rhjanders rhjanders commented Sep 18, 2025

What this PR does / why we need it:

Currently, if a servicing operation fails, the user has no simple way of recovering from the failure and returning the BMH back to a good state. There is also no simple way to interrupt a running servicing operation either. This change resolves this issue by exposing Ironic's abort verb in BMO so that it can be used to recover from failed servicing operations.
When the BMH is in service failed or service wait state and the user deletes HFS.spec and HFC.spec, BMO will issue abort request to Ironic, aborting servicing and returning the BMH to the original state.

Generated-By: Claude Code Sonnet 4

(cherry picked from commit c40d0ad) (cherry picked from commit 4a2c782)

Generated-By: Claude Code Sonnet 4
Signed-off-by: Jacob Anders <[email protected]>
(cherry picked from commit c40d0ad)
(cherry picked from commit 4a2c782)
@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign rozzii for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@metal3-io-bot metal3-io-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 18, 2025
@rhjanders
Copy link
Member Author

/hold

@metal3-io-bot metal3-io-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 18, 2025
@rhjanders rhjanders force-pushed the servicing-abort-upstream branch from b7253d7 to 48692d0 Compare September 18, 2025 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants