From 1926a035216ed156cdb28ea27774d4e1115eeee3 Mon Sep 17 00:00:00 2001 From: Sneha Rai Date: Thu, 16 May 2019 11:22:12 +0530 Subject: [PATCH] HPE 3PAR-Added support for multiattach feature in hpe3par cinder driver The 3PAR driver has long supported the ability to do multiattach of volumes. This patch updates the capability reporting to support multiattach. Change-Id: I78c7e0cb076405d37c9bd54576cec735986a0f38 --- cinder/volume/drivers/hpe/hpe_3par_common.py | 5 +++-- .../notes/hpe_3par_multiattach-bf98a9e5c2208902.yaml | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 releasenotes/notes/hpe_3par_multiattach-bf98a9e5c2208902.yaml diff --git a/cinder/volume/drivers/hpe/hpe_3par_common.py b/cinder/volume/drivers/hpe/hpe_3par_common.py index f7f76fa559a..30efc8bd389 100644 --- a/cinder/volume/drivers/hpe/hpe_3par_common.py +++ b/cinder/volume/drivers/hpe/hpe_3par_common.py @@ -278,11 +278,12 @@ class HPE3PARCommon(object): failover. bug #1773069 4.0.10 - Added retry in delete_volume. bug #1783934 4.0.11 - Added extra spec hpe3par:convert_to_base + 4.0.12 - Added multiattach support """ - VERSION = "4.0.11" + VERSION = "4.0.12" stats = {} @@ -1615,7 +1616,7 @@ class HPE3PARCommon(object): AVG_BUSY_PERC: stat_capabilities[AVG_BUSY_PERC], 'filter_function': filter_function, 'goodness_function': goodness_function, - 'multiattach': False, + 'multiattach': True, 'consistent_group_snapshot_enabled': True, 'compression': compression_support, 'consistent_group_replication_enabled': diff --git a/releasenotes/notes/hpe_3par_multiattach-bf98a9e5c2208902.yaml b/releasenotes/notes/hpe_3par_multiattach-bf98a9e5c2208902.yaml new file mode 100644 index 00000000000..26b20beaa50 --- /dev/null +++ b/releasenotes/notes/hpe_3par_multiattach-bf98a9e5c2208902.yaml @@ -0,0 +1,3 @@ +--- +features: + - Enabled multiattach capability for hpe3par driver.