Browse Source

NetApp SolidFire: Fix NetApp SolidFire SSL option

The driver.verify_ssl atribute is being defined before its usage in
the _create_cluster_reference() causing the driver initialization
to fail.

(cherry picked from commit 9089982ef1)

Change-Id: Ic616bbcced22db6eb8c8946dec98aefd84b16c31
(cherry picked from commit ee974f98a1)
changes/58/714458/1
Erlon R. Cruz 1 year ago
committed by Eric Harney
parent
commit
4f385b0401
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cinder/volume/drivers/solidfire.py

+ 1
- 1
cinder/volume/drivers/solidfire.py View File

@@ -213,11 +213,11 @@ class SolidFireDriver(san.SanISCSIDriver):
self.cluster_pairs = []
self.replication_enabled = False
self.failed_over = False
self.verify_ssl = self.configuration.driver_ssl_cert_verify
self.target_driver = SolidFireISCSI(solidfire_driver=self,
configuration=self.configuration)
self.default_cluster = self._create_cluster_reference()
self.active_cluster = self.default_cluster
self.verify_ssl = self.configuration.driver_ssl_cert_verify

# If we're failed over, we need to parse things out and set the active
# cluster appropriately


Loading…
Cancel
Save