RBD: Add comment about multiattach support

Add a comment discouraging multiattach support
being flipped on without proper investigation and
design.

Change-Id: If9885dd3a2e79af4249418fedfe8f3bf73ad2ef5
This commit is contained in:
Eric Harney 2018-02-28 11:55:03 -05:00
parent c8d6e374e1
commit f87ff22b1b

View File

@ -473,6 +473,13 @@ class RBDDriver(driver.CloneableImageVD,
'provisioned_capacity_gb': 0,
'reserved_percentage': (
self.configuration.safe_get('reserved_percentage')),
# NOTE(eharney): Do not enable multiattach for this driver.
# For multiattach to work correctly, the exclusive-lock
# feature required by ceph journaling must be disabled.
# This has implications for replication and other Cinder
# operations.
# Multiattach support for this driver will be investigated
# as multi-attach support in Cinder matures.
'multiattach': False,
'thin_provisioning_support': True,
'max_over_subscription_ratio': (