diff options
author | Chris Behrens <cbehrens@codestud.com> | 2012-10-08 23:33:17 +0000 |
---|---|---|
committer | Chris Behrens <cbehrens@codestud.com> | 2012-10-09 00:00:17 +0000 |
commit | fb101685cc14ed9b0396ce966e571d3fb457c32f (patch) | |
tree | adc4fe9352d1ea0a2cb9c52fd404a62f8a6908ce /nova/exception.py | |
parent | df473799c212381c072a3d37c40feb6629eff890 (diff) | |
download | nova-fb101685cc14ed9b0396ce966e571d3fb457c32f.tar.gz nova-fb101685cc14ed9b0396ce966e571d3fb457c32f.tar.xz nova-fb101685cc14ed9b0396ce966e571d3fb457c32f.zip |
XenAPI should only snapshot root disk
Change ID I3e2973 broke XenAPI migrations (resizes) as it caused snapshots
of all disks (including swap and ephemeral disks, if enabled) to be sent
over to the destination host. The destination only expects vhds for the
root disk, named by sequence numbers. swap and ephemeral disks ended up
with sequence numbers, also, messing up the re-building of the chain on
the destination.
Fixes bug 1064083
Change ID I3e2973 also didn't change the stub of VM.snapshot to
VDI.snapshot, but tests still passed due to the new code ignoring all
exceptions while snapshotting. Potential issues in
snapshot_attached_here() would also be ignored due to excessive stubbing
in the xenapi migration testing. This is also addressed here.
Change-Id: I145030f92a75615d056a30cabcb6ca97e34a8b6c
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions