Merge "HPE 3par: getWsApiVersion now requires login"

This commit is contained in:
Zuul 2024-06-27 04:00:03 +00:00 committed by Gerrit Code Review
commit 8bf00757a6
2 changed files with 7 additions and 0 deletions

View File

@ -466,6 +466,7 @@ class HPE3PARCommon(object):
# case of a fail-over.
self._get_3par_config(array_id=array_id)
self.client = self._create_client(timeout=timeout)
self.client_login()
wsapi_version = self.client.getWsApiVersion()
self.API_VERSION = wsapi_version['build']

View File

@ -0,0 +1,6 @@
---
fixes:
- |
HPE 3PAR driver `Bug #2068795 <https://bugs.launchpad.net/cinder/+bug/2068795>`_:
Fixed: Perform login before invoking getWsApiVersion