nova/nova/virt
Dan Smith d5a631ba77 Remove AMI snapshot format special case
Note that this includes seemingly-unrelated test changes because we
were actually skipping the snapshot_running test for libvirt, which
has been a bug for years. In that test case, when we went to look
for image_meta.disk_format, that attribute was not set on the o.vo
object, which raised a NotImplementedError. That error is also checked
by the test to skip the test for drivers that do not support snapshot,
which meant that for libvirt, we haven't been running that case
beyond the point at which we create snapshot metadata and trip that
exception. Thus, once removing that, there are other mocks not in
place that are required for the test to actually run. So, this adds
mocks for qemu_img_info() calls that actually try to read the file on
disk, as well as the privsep chown() that attempts to run after.

Change-Id: Ie731045629f0899840a4680d21793a16ade9b98e
2024-07-24 11:04:55 -07:00
..
disk Fix pep8 errors with new hacking 2023-04-28 08:34:52 -04:00
image libvirt: virtuozzo instance resize support 2016-06-28 22:13:49 +03:00
ironic Fix port group network metadata generation 2024-07-04 14:09:23 -04:00
libvirt Remove AMI snapshot format special case 2024-07-24 11:04:55 -07:00
vmwareapi [codespell] fix final typos and enable ci 2023-12-15 12:32:42 +00:00
zvm libvirt: Add 'COMPUTE_ADDRESS_SPACE_*' traits support 2023-07-24 17:09:19 +09:00
__init__.py Declare nova.virt namespace 2016-04-28 15:01:44 +00:00
arch.py Added ability to configure default architecture for ImagePropertiesFilter 2018-05-14 16:55:13 -04:00
block_device.py block_device: Add encryption attributes to swap disks 2024-02-14 08:03:34 +00:00
configdrive.py Remove six.text_type (1/2) 2020-12-13 11:25:31 +00:00
driver.py Merge "Make compute node rebalance safer" 2024-02-29 18:48:26 +00:00
event.py Port binding based on events during live migration 2018-07-19 09:09:55 -04:00
fake.py HyperV: Remove RDP console API 2024-02-13 12:24:38 -08:00
hardware.py Merge "hardware: Fix image_meta.id within get_mem_encryption_constraint" 2024-07-16 04:39:35 +00:00
imagecache.py Include removal of ephemeral backing files in the image cache manager 2020-10-09 12:24:06 +01:00
images.py Change force_format strategy to catch mismatches 2024-07-23 20:37:42 +01:00
interfaces.template Update the file for IPv4-only or IPv6-only network 2019-10-02 16:54:20 +00:00
netutils.py Fix nova-metadata-api for ovn dhcp native networks 2024-02-29 13:12:41 +01:00
node.py Fixup patch for stable-compute-uuid series 2023-01-30 12:44:57 -08:00
osinfo.py Stop sending bad values from libosinfo to libvirt 2019-07-04 15:30:51 +01:00
storage_users.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
virtapi.py Add a way to exit early from a wait_for_instance_event() 2019-12-02 07:00:26 -08:00