devstack plugin fails to remove ipa build, and doesn't build a new IPA when you restack

Bug #2076358 reported by Julia Kreger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Medium
Afonne-CID

Bug Description

I recently encountered an issue where my IPA ramdisk was not rebuilt when I told DIB to build a ramdisk.

Some digging through the plugin revealed that the plugin only triggers the build if the file does *not* exist.

https://github.com/openstack/ironic/blob/master/devstack/lib/ironic#L3175

So clearly, the answer here is either on unstack, or most likely clean.sh trigger, to somehow nuke the cached IPA ramdisks so a new stack has fresh ramdisks.

Afonne-CID (cidelight)
Changed in ironic:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/ironic/+/943987

Changed in ironic:
status: Triaged → In Progress
Afonne-CID (cidelight)
Changed in ironic:
assignee: nobody → Afonne-CID (cidelight)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.opendev.org/c/openstack/ironic/+/943987
Committed: https://opendev.org/openstack/ironic/commit/0962a07e0c00d8ec286643d0cf126e5cd9d53029
Submitter: "Zuul (22348)"
Branch: master

commit 0962a07e0c00d8ec286643d0cf126e5cd9d53029
Author: cid <email address hidden>
Date: Mon Mar 10 18:01:48 2025 +0100

    Remove IPA build on cleanup

    Delete the deploy kernel, ramdisk, and ISO files during cleanup
    to trigger rebuild on the subsequent stack.sh run.

    Closes-Bug: #2076358
    Change-Id: I6600b67c9b3455d8191126b24a1941ae7c384e36

Changed in ironic:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ironic 29.0.0

This issue was fixed in the openstack/ironic 29.0.0 Epoxy release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.