From b9a569d21f04521f4844084ab5684ace598b7df2 Mon Sep 17 00:00:00 2001 From: Rick Harris Date: Mon, 9 Jul 2012 21:49:03 +0000 Subject: [PATCH] Remove VDI chain limit for migrations. The strategy for removing the limit is to refactor migration so that they work nearly identically to snapshots, meaning sequence-numbered VHDs are rsynced over into a staging-area and then imported into the SR using the `import_vhds` function. Change-Id: Ibf5c82c52ae7d505ea9e54d64fcc8b8fdce4d05d --- nova/tests/xenapi/stubs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/tests/xenapi/stubs.py b/nova/tests/xenapi/stubs.py index ec944d84..48335642 100644 --- a/nova/tests/xenapi/stubs.py +++ b/nova/tests/xenapi/stubs.py @@ -346,7 +346,7 @@ def stub_out_migration_methods(stubs): pass stubs.Set(vmops.VMOps, '_destroy', fake_destroy) - stubs.Set(vmops.VMOps, '_move_disks', fake_move_disks) + stubs.Set(vm_utils, 'move_disks', fake_move_disks) stubs.Set(vm_utils, 'scan_default_sr', fake_sr) stubs.Set(vm_utils, '_scan_sr', fake_sr) stubs.Set(vm_utils, 'snapshot_attached_here', fake_snapshot_attached_here)