Merge "Dell PowerFlex: Additionnal params for enabling self signed certificates"

This commit is contained in:
Zuul 2023-03-15 14:28:36 +00:00 committed by Gerrit Code Review
commit d07b734e39
2 changed files with 16 additions and 0 deletions

View File

@ -868,6 +868,12 @@ class PowerFlexDriver(driver.VolumeDriver):
connection_properties["scaleIO_volume_id"] = vol_or_snap.provider_id
connection_properties["config_group"] = self.configuration.config_group
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:
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.