nova/nova/virt
Gaudenz Steinlin eab58069ea Extend volume for libvirt network volumes (RBD)
Implement support for extending RBD attached volumes using the libvirt
network volume driver.

This adds a new parameter "requested_size" to the extend_volume method.
This is necessary because the new volume size can not be detected by
libvirt for network volumes. All other volume types currently
implementing the extend_volume call have a block device on the
hypervisor which needs to be updated and can be polled for it's new
size. For network volumes no such block device exists.

Alternatively this could be implemented without a new parameter by
calling into Ceph using os_brick to get the new size of the volume.
This would make the LibvirtNetVolumeDriver Ceph specific.

This also extends the logic to get the device_path for extending volumes
in the libvirt driver. This is necessary as network volumes don't have
the device path in the connection_info. The device_path is retrieved by
matching the connection_info serial (= volume UUID) against all guest
disks.

Co-Authored-By: Jose Castro Leon <jose.castro.leon@cern.ch>

Blueprint: extend-in-use-rbd-volumes

Change-Id: I5698e451861828a8b1240d046d1610d8d37ca5a2
2019-03-06 16:37:57 +01:00
..
disk libvirt: Reduce calls to qemu-img during update_available_resource 2018-08-08 15:22:44 +01:00
hyperv Add missing ws seperator between words 2018-11-26 23:42:18 +00:00
image libvirt: virtuozzo instance resize support 2016-06-28 22:13:49 +03:00
ironic Fix ironic client ironic_url deprecation warning 2018-10-24 17:59:10 +02:00
libvirt Extend volume for libvirt network volumes (RBD) 2019-03-06 16:37:57 +01:00
powervm Extend volume for libvirt network volumes (RBD) 2019-03-06 16:37:57 +01:00
vmwareapi VMware: Live migration of instances 2018-10-02 10:13:57 +03:00
xenapi Remove utils.execute() calls from xenapi. 2018-12-04 16:04:30 +11:00
zvm Fix missing print format error 2018-07-20 16:29:53 +08: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 Add compute version 36 to support ``volume_type`` 2018-10-11 16:00:48 -04:00
configdrive.py Convert configdrive to use processutils. 2018-05-02 21:42:05 +10:00
driver.py Extend volume for libvirt network volumes (RBD) 2019-03-06 16:37:57 +01:00
event.py Port binding based on events during live migration 2018-07-19 09:09:55 -04:00
fake.py Extend volume for libvirt network volumes (RBD) 2019-03-06 16:37:57 +01:00
firewall.py Merge "Remove translation of log messages" 2017-06-20 21:16:49 +00:00
hardware.py hardware: fix memory check usage for small/large pages 2018-08-31 08:13:11 -04:00
imagecache.py Rename ImageCacheManager._list_base_images to _scan_base_images 2016-05-26 14:45:42 +01:00
images.py Add I/O Semaphore to limit concurrent disk ops 2018-11-21 15:57:11 -05:00
interfaces.template
netutils.py libvirt: add vf_trusted field for network metadata 2018-05-30 15:11:59 -04:00
osinfo.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
storage_users.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
virtapi.py Remove unused provider firewall rules functionality in nova 2016-02-01 15:50:04 +01:00