nova/nova/tests/xenapi
Chris Behrens 6a17579214 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
(cherry picked from commit fb101685cc)
2012-11-20 14:38:33 -08:00
..
__init__.py first merge after i18n 2010-12-23 02:09:50 +00:00
stubs.py XenAPI should only snapshot root disk 2012-11-20 14:38:33 -08:00
test_vm_utils.py xapi: Fix live block migration 2012-09-10 16:04:10 +01:00
vm_rrd.xml Remove unnecessary data from xenapi test 2012-03-19 14:58:36 -07:00