diff options
author | Gaudenz Steinlin <gaudenz.steinlin@cloudscale.ch> | 2018-09-11 16:09:27 +0200 |
---|---|---|
committer | Jose Castro Leon <jose.castro.leon@cern.ch> | 2019-03-06 16:37:57 +0100 |
commit | eab58069ea6afba875fb0a7d7ac68c7e83ebf14a (patch) | |
tree | 34eedbe34e46d2462f628a1a9b8b32e68a27c470 /releasenotes | |
parent | c9dca64fa64005e5bea327f06a7a3f4821ab72b1 (diff) | |
download | nova-eab58069ea6afba875fb0a7d7ac68c7e83ebf14a.tar.gz |
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
Diffstat (limited to 'releasenotes')
-rw-r--r-- | releasenotes/notes/bp-extend-in-use-rbd-volumes-8f334ce2a06ee247.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/releasenotes/notes/bp-extend-in-use-rbd-volumes-8f334ce2a06ee247.yaml b/releasenotes/notes/bp-extend-in-use-rbd-volumes-8f334ce2a06ee247.yaml new file mode 100644 index 0000000000..4e81eb6665 --- /dev/null +++ b/releasenotes/notes/bp-extend-in-use-rbd-volumes-8f334ce2a06ee247.yaml @@ -0,0 +1,5 @@ +--- +features: + - | + Adds support for extending RBD attached volumes using the libvirt network + volume driver. |