Comment 4 for bug 1243193

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

Reviewed: https://review.openstack.org/72020
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=aa7f5506c9b1d99643ee03bd6bc420957e2479b5
Submitter: Jenkins
Branch: stable/havana

commit aa7f5506c9b1d99643ee03bd6bc420957e2479b5
Author: Gary Kotton <email address hidden>
Date: Thu Oct 24 06:59:36 2013 -0700

    VMware: fix image snapshot with attached volume

    A snapshot of a instance with an attached volume will result in
    the wrong volume being uploaded to glance. The reason for this
    are as follows:
    1. the last image in the list of images would be exported
    2. the base image would not be exported but the first found

    The same happens with a VM rescue if there is a cinder volume
    attached.

    The solution is to search for an image that contains the instance
    UUID.

    Change-Id: Ic85b0ffd4f1c34f10d07b1a198eaad2030803d6f
    Closes-bug: #1243193
    (cherry picked from commit 9ceee09594cd35c264cab3e3b3d1d80aaa3fdbc4)

    Conflicts:

     nova/virt/vmwareapi/vm_util.py
     nova/virt/vmwareapi/vmops.py

    Change-Id: I6b9febbfe4e4e6ecf5d31a2b09a4319b07696f9c