Rescue not using base images

Bug #1075701 reported by Rick Harris
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Rick Harris

Bug Description

Rescue mode should use the 'base' image of an instance (the image it was originally built off of) not the 'current' image, since that likely is broken (hence the use of rescue).

The code right now doing the wrong thing and using the current image. The solution is to fix this in both the hypervisor agnostic compute-manager code and also in some places in the XenServer driver where we hard-code it to use the current image instead of the image that was passed into the function.

Changed in nova:
assignee: nobody → Rick Harris (rconradharris)
importance: Undecided → High
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

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

Reviewed: https://review.openstack.org/15521
Committed: http://github.com/openstack/nova/commit/9f59d4af0dd06f8a70e2a647c5932472e0bf0f3a
Submitter: Jenkins
Branch: master

commit 9f59d4af0dd06f8a70e2a647c5932472e0bf0f3a
Author: Rick Harris <email address hidden>
Date: Tue Nov 6 19:09:06 2012 +0000

    Use base image for rescue instance.

    Rescue mode was using the instance's current image when building the
    rescue VM. This is a problem because that image may be broken, hence the
    need for the rescue operation.

    Rescue should use the 'base' image instead.

    Fixes bug 1075701

    Change-Id: Ie3e65cc75c4710f7b6391d5111cb096755e600d4

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → grizzly-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-1 → 2013.1
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.