Merge "Dell PowerFlex: Additionnal params for enabling self signed certificates" into unmaintained/yoga

This commit is contained in:
Zuul 2024-08-29 12:17:32 +00:00 committed by Gerrit Code Review
commit d670b60aa8
2 changed files with 16 additions and 0 deletions

View File

@ -867,6 +867,12 @@ class PowerFlexDriver(driver.VolumeDriver):
connection_properties["scaleIO_volume_id"] = vol_or_snap.provider_id connection_properties["scaleIO_volume_id"] = vol_or_snap.provider_id
connection_properties["config_group"] = self.configuration.config_group connection_properties["config_group"] = self.configuration.config_group
connection_properties["failed_over"] = self._is_failed_over connection_properties["failed_over"] = self._is_failed_over
connection_properties["verify_certificate"] = (
self._get_client().verify_certificate
)
connection_properties["certificate_path"] = (
self._get_client().certificate_path
)
if vol_size is not None: if vol_size is not None:
extra_specs = self._get_volumetype_extraspecs(vol_or_snap) extra_specs = self._get_volumetype_extraspecs(vol_or_snap)

View File

@ -0,0 +1,10 @@
---
fixes:
- |
Dell PowerFlex driver `bug #1998136
<https://bugs.launchpad.net/cinder/+bug/1998136>`_:
When using self signed certificates, the option
sent to os-brick via the connection_properties was
not correctly handled. It has now been fixed by
adding the 'verify_certificate' and 'certificate_path'
to the driver when initializing the connection.