nova/nova/virt/powervm
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 fix PowerVM get_bootdisk_path docstring 2018-06-20 16:49:58 -04:00
tasks Merge "PowerVM snapshot cleanup" 2018-05-31 20:46:51 +00:00
volume PowerVM Driver: vSCSI Fibre Channel volume adapter 2018-05-22 11:39:32 -05:00
__init__.py PowerVM Driver: spawn/delete #1: no-ops 2017-04-10 14:59:40 -05:00
driver.py Extend volume for libvirt network volumes (RBD) 2019-03-06 16:37:57 +01:00
host.py Remove unused LOG variables 2018-02-27 11:19:48 +00:00
image.py PowerVM snapshot cleanup 2018-05-17 11:55:03 -05:00
media.py Add missing ws seperator between words 2018-11-26 23:42:18 +00:00
mgmt.py PowerVM Driver: Snapshot 2018-04-25 14:35:12 -05:00
vif.py remove unnecessary conf imports 2018-03-09 14:30:10 -05:00
vm.py PowerVM: Add proc_units_factor conf option 2018-04-10 11:24:20 -05:00