Skip to content

Comments

Fix ironic instance rebuild with API >=2.93#166

Merged
jovial merged 1 commit intostackhpc/2024.1from
bugfix/2024.1/ironic-rebuild
Feb 20, 2026
Merged

Fix ironic instance rebuild with API >=2.93#166
jovial merged 1 commit intostackhpc/2024.1from
bugfix/2024.1/ironic-rebuild

Conversation

@jovial
Copy link

@jovial jovial commented Feb 19, 2026

When you attempt to rebuild an Ironic instance, using the CLI, it will pick the latest micversion, which triggers sending to the ironic driver:
reimage_boot_volume = true

The ironic driver then raises an exception, saying it is unable to rebuild a volume backed instance. This happens even when the instance is not volume backed, and rebuild would be fine.

This patch ensures we only raise the "can't rebuild" exception when the instance is volume backed.

Closes-Bug: #2127017

Change-Id: Ibb8e83a1d36506df34a324ca0da9e2f129a38cfa

When you attempt to rebuild an Ironic instance, using the CLI,
it will pick the latest micversion, which triggers sending
to the ironic driver:
reimage_boot_volume = true

The ironic driver then raises an exception, saying it is unable
to rebuild a volume backed instance. This happens even when
the instance is not volume backed, and rebuild would be fine.

This patch ensures we only raise the "can't rebuild"
exception when the instance is volume backed.

Closes-Bug: #2127017

Change-Id: Ibb8e83a1d36506df34a324ca0da9e2f129a38cfa
Signed-off-by: John Garbutt <john.garbutt@stackhpc.com>
@jovial jovial closed this Feb 20, 2026
@jovial jovial reopened this Feb 20, 2026
@jovial jovial requested a review from a team as a code owner February 20, 2026 09:23
@jovial jovial enabled auto-merge February 20, 2026 09:33
@jovial jovial merged commit 6fd293e into stackhpc/2024.1 Feb 20, 2026
4 checks passed
@jovial jovial deleted the bugfix/2024.1/ironic-rebuild branch February 20, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants