Add ports filtering support to XtremIO Cinder driver
If there are some iSCSI or FC targets (ESXi for example) that are not connected to the OpenStack host, attach volume operation waits until timeout. The XtremIO Cinder driver needs a new option to support ports filtering. Depends-On: https://review.opendev.org/#/c/776264 Related-Bug: #1915800 Change-Id: Ib689f08e414f3a10d18ed34932f8a314be7a7344
This commit is contained in:
parent
8d612ea015
commit
e0adf10564
@ -55,6 +55,12 @@ parameters:
|
||||
of copies (XtremIO snapshots) taken from each image cache.
|
||||
A value of 0 ignores the limit and defers to the array
|
||||
maximum as the effective limit.
|
||||
CinderDellEMCXTREMIOIscsiPorts:
|
||||
type: string
|
||||
default: ''
|
||||
description: Allowed ports. Comma separated list of XtremIO
|
||||
iSCSI IPs or FC WWNs (ex. 58:cc:f0:98:49:22:07:02)
|
||||
to be used. If option is not set all ports are allowed.
|
||||
ServiceData:
|
||||
default: {}
|
||||
description: Dictionary packing service data
|
||||
@ -93,6 +99,7 @@ parameter_groups:
|
||||
- CinderDellEMCXTREMIOIscsiArrayBusyRetryCount
|
||||
- CinderDellEMCXTREMIOIscsiArrayBusyRetryInterval
|
||||
- CinderDellEMCXTREMIOIscsiVolumesPerGlanceCache
|
||||
- CinderDellEMCXTREMIOIscsiPorts
|
||||
|
||||
outputs:
|
||||
role_data:
|
||||
@ -110,6 +117,7 @@ outputs:
|
||||
cinder::backend::dellemc_xtremio_iscsi::xtremio_array_busy_retry_count: {get_param: CinderDellEMCXTREMIOIscsiArrayBusyRetryCount}
|
||||
cinder::backend::dellemc_xtremio_iscsi::xtremio_array_busy_retry_interval: {get_param: CinderDellEMCXTREMIOIscsiArrayBusyRetryInterval}
|
||||
cinder::backend::dellemc_xtremio_iscsi::xtremio_volumes_per_glance_cache: {get_param: CinderDellEMCXTREMIOIscsiVolumesPerGlanceCache}
|
||||
cinder::backend::dellemc_xtremio_iscsi::xtremio_ports: {get_param: CinderDellEMCXTREMIOIscsiPorts}
|
||||
-
|
||||
if:
|
||||
- {equals : [{get_param: CinderDellEMCXTREMIOIscsiAvailabilityZone}, '']}
|
||||
|
@ -66,6 +66,12 @@ parameters:
|
||||
default: 'iSCSI'
|
||||
constraints:
|
||||
- allowed_values: [ 'iSCSI', 'FC']
|
||||
CinderXtremioPorts:
|
||||
type: string
|
||||
default: ''
|
||||
description: Allowed ports. Comma separated list of XtremIO
|
||||
iSCSI IPs or FC WWNs (ex. 58:cc:f0:98:49:22:07:02)
|
||||
to be used. If option is not set all ports are allowed.
|
||||
ServiceData:
|
||||
default: {}
|
||||
description: Dictionary packing service data
|
||||
@ -108,6 +114,7 @@ outputs:
|
||||
cinder::backend::dellemc_xtremio::xtremio_array_busy_retry_interval: {get_param: CinderXtremioArrayBusyRetryInterval}
|
||||
cinder::backend::dellemc_xtremio::xtremio_volumes_per_glance_cache: {get_param: CinderXtremioVolumesPerGlanceCache}
|
||||
cinder::backend::dellemc_xtremio::xtremio_storage_protocol: {get_param: CinderXtremioStorageProtocol}
|
||||
cinder::backend::dellemc_xtremio::xtremio_ports: {get_param: CinderXtremioPorts}
|
||||
-
|
||||
if:
|
||||
- {equals : [{get_param: CinderXtremioAvailabilityZone}, '']}
|
||||
|
@ -13,6 +13,7 @@ parameter_defaults:
|
||||
CinderXtremioArrayBusyRetryCount: 5
|
||||
CinderXtremioArrayBusyRetryInterval: 5
|
||||
CinderXtremioVolumesPerGlanceCache: 100
|
||||
CinderXtremioPorts: ''
|
||||
# To configure multiple backends, use CinderXtremioMultiConfig to
|
||||
# assign parameter values specific to that backend. CinderXtremioMultiConfig
|
||||
# is a dictionary of the parameter values for each backend specified in
|
||||
|
@ -16,3 +16,4 @@ parameter_defaults:
|
||||
CinderDellEMCXTREMIOIscsiArrayBusyRetryCount: 5
|
||||
CinderDellEMCXTREMIOIscsiArrayBusyRetryInterval: 5
|
||||
CinderDellEMCXTREMIOIscsiVolumesPerGlanceCache: 100
|
||||
CinderDellEMCXTREMIOIscsiPorts: ''
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
`Bug #1915800 <https://bugs.launchpad.net/cinder/+bug/1915800>`_:
|
||||
Add support for ports filtering in XtremIO driver.
|
Loading…
Reference in New Issue
Block a user