Merge "HPE 3par: getWsApiVersion now requires login" into stable/2024.1

This commit is contained in:
Zuul 2024-07-23 17:22:02 +00:00 committed by Gerrit Code Review
commit 6565c1fd2b
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