VMAX: IG error: 'NoneType' object has no attribute '__getitem__'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Helen Walsh |
Bug Description
Using Queens FC VMAX driver. Initialize connection can result in the failure:
2018-10-23 10:26:21.081 68231 ERROR cinder.
2018-10-23 10:26:21.081 68231 ERROR cinder.
2018-10-23 10:26:21.081 68231 ERROR cinder.
code:
init_dict = self.get_
try:
except KeyError:
init_dict could be None if backend did not return a 200 OK response. For example, the resource is not found. Need to account for this case as well and return empty list.
Fix proposed to branch: master /review. openstack. org/615307
Review: https:/