cinder/cinder/objects
Walter A. Boring IV 10d5421687 Add volume multi attach support
This patch includes the Cinder changes needed
to support volume multiple attaches.  Nova and
python-cinderclient also need patches associated
to provide support for multiple attachments.

This adds the multiattach flag to volumes.  When a
volume is created, a multiattach flag can be set,
which allows a volume to be attached to more than
one Nova instance or host.  If the multiattach flag is
not set on a volume, it cannot be attached to more
than one Nova instance or host

Each volume attachment is tracked in a
new volume_attachment table.  The attachment id is
the unique identifier for each attachment to an
instance or host.

When a volume is to be detached the attachment
uuid must be passed in to the detach call in
order to determine which attachment should be
removed.  Since a volume can be attached to an
instance and a host, the attachment id is used
as the attachment identifier.

Nova:
https://review.openstack.org/#/c/153033/
https://review.openstack.org/#/c/153038/

python-cinderclient:
https://review.openstack.org/#/c/85856/

Change-Id: I950fa00ed5a30e7758245d5b0557f6df42dc58a3
Implements: blueprint multi-attach-volume
APIImpact
2015-03-10 08:36:58 -07:00
..
__init__.py Snapshot and volume objects 2015-03-01 17:47:54 -05:00
base.py Change log level for no object attribute found 2015-03-06 13:50:02 -08:00
fields.py Cinder objects base 2015-03-01 17:47:54 -05:00
snapshot.py Snapshot and volume objects 2015-03-01 17:47:54 -05:00
volume.py Add volume multi attach support 2015-03-10 08:36:58 -07:00