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/776260
Related-Bug: #1915800
Change-Id: I29e3e8b5dab256816ea108d23ccb1f0558e43e82
This commit is contained in:
Ivan Pchelintsev 2021-02-17 23:06:54 +03:00
parent 76769621af
commit 4c981b5702
3 changed files with 8 additions and 0 deletions

View File

@ -50,6 +50,7 @@ class tripleo::profile::base::cinder::volume::dellemc_xtremio (
'CinderXtremioArrayBusyRetryCount' => hiera('cinder::backend::dellemc_xtremio::xtremio_array_busy_retry_count', undef),
'CinderXtremioArrayBusyRetryInterval'=> hiera('cinder::backend::dellemc_xtremio::xtremio_array_busy_retry_interval', undef),
'CinderXtremioVolumesPerGlanceCache' => hiera('cinder::backend::dellemc_xtremio::xtremio_volumes_per_glance_cache', undef),
'CinderXtremioPorts' => hiera('cinder::backend::dellemc_xtremio::xtremio_ports', undef),
}
any2array($backend_name).each |String $backend| {
@ -65,6 +66,7 @@ class tripleo::profile::base::cinder::volume::dellemc_xtremio (
xtremio_array_busy_retry_count => $backend_config['CinderXtremioArrayBusyRetryCount'],
xtremio_array_busy_retry_interval => $backend_config['CinderXtremioArrayBusyRetryInterval'],
xtremio_volumes_per_glance_cache => $backend_config['CinderXtremioVolumesPerGlanceCache'],
xtremio_ports => $backend_config['CinderXtremioPorts'],
}
}
}

View File

@ -46,6 +46,7 @@ class tripleo::profile::base::cinder::volume::dellemc_xtremio_iscsi (
xtremio_array_busy_retry_count => hiera('cinder::backend::dellemc_xtremio_iscsi::xtremio_array_busy_retry_count', undef),
xtremio_array_busy_retry_interval => hiera('cinder::backend::dellemc_xtremio_iscsi::xtremio_array_busy_retry_interval', undef),
xtremio_volumes_per_glance_cache => hiera('cinder::backend::dellemc_xtremio_iscsi::xtremio_volumes_per_glance_cache', undef),
xtremio_ports => hiera('cinder::backend::dellemc_xtremio_iscsi::xtremio_ports', undef),
}
}

View File

@ -0,0 +1,5 @@
---
fixes:
- |
`Bug #1915800 <https://bugs.launchpad.net/cinder/+bug/1915800>`_:
Add support for ports filtering in XtremIO driver.