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

This commit is contained in:
Zuul 2024-09-25 14:20:17 +00:00 committed by Gerrit Code Review
commit 9d88c8855d
2 changed files with 7 additions and 0 deletions

View File

@ -464,6 +464,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