VMware: snapshoting a VM with ephemeral disk attached creates wrong image

Bug #1408613 reported by Gary Kotton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Critical
Gary Kotton

Bug Description

Booting a image that was snapshoted from a VM with an ephemarl disk fails. This is due to the fact that the wrong root disk is uploaded!

Gary Kotton (garyk)
Changed in nova:
importance: Undecided → Critical
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/145744

Changed in nova:
assignee: nobody → Gary Kotton (garyk)
status: New → In Progress
Gary Kotton (garyk)
summary: - VMware: snapshooting a VM with ephemeral disk attached creates wrong
+ VMware: snapshoting a VM with ephemeral disk attached creates wrong
image
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/145744
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=a55300fb43dd1987e1aca5a8de815b32b0b05677
Submitter: Jenkins
Branch: master

commit a55300fb43dd1987e1aca5a8de815b32b0b05677
Author: Gary Kotton <email address hidden>
Date: Thu Jan 8 02:47:31 2015 -0800

    VMware: ensure that correct disk details are returned

    When querying the root disk and a ephemeral disk is attached
    we need to ensure that the correct disk details are returned.
    Prior to the ephemeral disk support, the root disk was the only
    disk in the directory.
    We need to make sure that the disk is the root disk.

    This breaks snapshots of images and resizing.

    Either the root disk details will be returned, if requested, or the
    last disk that is found.

    Change-Id: I6d9f0c920409c5f6f53f552390fcd0d07ebf7d0b
    Closes-bug: #1408613

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