-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 9ceee09) Conflicts: nova/virt/vmwareapi/vm_util.py nova/virt/vmwareapi/vmops.py Change-Id: I6b9febbfe4e4e6ecf5d31a2b09a4319b07696f9c
- Loading branch information
1 parent
1b790cc
commit aa7f550
Showing
3 changed files
with
50 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters