Depending on the setup of your cloud provider, they may give you an endpoint to
use to manage volumes. You can use the openstack
CLI to manage volumes.
For the purposes of the compute service, attaching, detaching and creating a server from a volume are of primary interest.
Refer to the CLI documentation for more information.
Nova added support for multiattach volumes in the 17.0.0 Queens release.
This document covers the nova-specific aspects of this feature. Refer to the block storage admin guide for more details about creating multiattach-capable volumes.
Boot from volume and attaching a volume to a server that is not SHELVED_OFFLOADED is supported. Ultimately the ability to perform these actions depends on the compute host and hypervisor driver that is being used.
There is also a recorded overview and demo for volume multi-attach.
nova-compute
service must be running at least Queens release level
code (17.0.0) and the hypervisor driver must support attaching block storage
devices to more than one guest. Refer to Feature Support Matrix for
details on which compute drivers support volume multiattach.Continuous integration testing of the volume multiattach feature is done
via the nova-multiattach
job, defined in the nova repository.
The tests are defined in the tempest repository.
The CI job is setup to run with the libvirt compute driver and the lvm volume back end. It purposefully does not use the Pike Ubuntu Cloud Archive package mirror so that it gets qemu<2.10.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.