nova/nova/tests/unit/virt/libvirt
Lee Yarwood 528430d781 libvirt: Use the recreated disk.config.rescue during a rescue
I931421ea introduced a callback to _create_configdrive from
_create_domain during a rescue that recreates the config disk of an
instance with an additional .rescue suffix. However due to a latent bug
neither the original or this recreated config disk are mapped to the
instance during the resulting rescue.

To correct this disk.config.rescue is now added to the disk_mapping for
the instance if a config disk is required during a rescue.

Closes-bug: #1597669
Change-Id: I46cebd0612f50ff7373f677c4a002d444a877972
(cherry picked from commit 8795b20624)
2016-11-25 18:54:31 +00:00
..
storage Fix issue with not removing rbd rescue disk 2016-10-13 11:49:51 +00:00
volume Remove hacked test that fails with latest os-brick 2016-09-01 12:42:55 -04:00
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fake_imagebackend.py libvirt: Improve mocking of imagebackend disks 2016-08-16 16:24:47 +01:00
fake_libvirt_utils.py Remove backward compatibility with pre-grizzly releases 2016-08-04 12:37:31 +00:00
fake_os_brick_connector.py Switch to using os-brick 2015-07-27 10:47:22 -07:00
fakelibvirt.py libvirt: update guest time after suspend 2016-07-20 02:19:59 +10:00
test_blockinfo.py libvirt: Use the recreated disk.config.rescue during a rescue 2016-11-25 18:54:31 +00:00
test_compat.py Workaround for race condition in libvirt 2015-03-14 20:17:41 -03:00
test_config.py libvirt: Modify the interface address object assignment 2016-07-19 23:38:50 +08:00
test_designer.py libvirt: convert over to use os-vif for Linux Bridge & OVS 2016-08-10 10:29:49 -04:00
test_driver.py libvirt: Use the recreated disk.config.rescue during a rescue 2016-11-25 18:54:31 +00:00
test_fakelibvirt.py Use assertLess(Equal) instead of assertTrue(A > X) 2016-06-03 16:53:14 +01:00
test_firewall.py libvirt: ignore conflict when defining network filters 2016-09-30 20:48:23 +00:00
test_guest.py libvirt: sync time on resumed from suspend instances 2016-11-04 10:51:59 +00:00
test_host.py libvirt: cleanup baselineCPU return value checking 2016-06-15 17:35:47 +08:00
test_imagebackend.py Fix resizing in imagebackend.cache() 2016-09-09 18:36:23 +00:00
test_imagecache.py Merge "Fix invalid uuid warnings in virt testcases" 2016-06-16 10:29:24 +00:00
test_migration.py Merge "cleanup: some update xml cases in test_migration" 2016-08-05 23:44:00 +00:00
test_utils.py Remove max_size argument to images.fetch and fetch_to_raw 2016-07-21 10:52:30 +01:00
test_vif.py Stop ovn networking failing on mtu 2016-09-16 23:32:35 +00:00