hpe 3par driver initialization failure
do_setup call fails if the stats passed has the missing array_id, in such cases it should use the client login to fetch the array_id information. Change-Id: I36d75fbe18770d6e3ae03c05d5392f8141082a0f Closes-bug: #1790005
This commit is contained in:
parent
4afc2eb75d
commit
ec7977b761
|
@ -490,7 +490,7 @@ class HPE3PARCommon(object):
|
|||
|
||||
# Get the client ID for provider_location. We only need to retrieve
|
||||
# the ID directly from the array if the driver stats are not provided.
|
||||
if not stats:
|
||||
if not stats or 'array_id' not in stats:
|
||||
try:
|
||||
self.client_login()
|
||||
info = self.client.getStorageSystemInfo()
|
||||
|
|
Loading…
Reference in New Issue