Failed to tear down an instance when the image is not available

Bug #1335909 reported by Ghe Rivero
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Medium
Ghe Rivero

Bug Description

Tearing down an instance when the image is not available fails.

2014-06-30 15:51:49.349 15638 TRACE oslo.messaging.rpc.dispatcher InternalServerError: RPC do_node_tear_down failed to validate deploy info. Error: Image d1406643-e2da-4186-a418-f01caf565e9c is missing the following properties: kernel_id, ramdisk_id (HTTP 500)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master
Review: https://review.openstack.org/103685

Changed in ironic:
status: New → In Progress
aeva black (tenbrae)
Changed in ironic:
importance: Undecided → Medium
Revision history for this message
Ghe Rivero (ghe.rivero) wrote :

For reference: Same/similar bug but with a different origin: https://bugs.launchpad.net/ironic/+bug/1345334

aeva black (tenbrae)
Changed in ironic:
milestone: none → juno-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/103685
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=e10920e9a783cb6aae43bcb2c31b7cfbbfaa9904
Submitter: Jenkins
Branch: master

commit e10920e9a783cb6aae43bcb2c31b7cfbbfaa9904
Author: Ghe Rivero <email address hidden>
Date: Mon Jun 30 23:18:40 2014 +0000

    Fix tear_down a node with missing info

    When tearing down a node, there could be some situations where the
    instance info is missing some properties (image source deleted before
    tearing down the node), so skipping node info validation. Instead,
    perform a power validation to assure that the node can be power
    managed.

    Closes-Bug: #1335909
    Closes-Bug: #1345334
    Change-Id: Idb1ca720bbd19de1fccfe049e592136dbca2aacf

Changed in ironic:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ironic:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ironic:
milestone: juno-3 → 2014.2
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.