Type list request version support error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-senlinclient |
Fix Released
|
Undecided
|
chenyb4 |
Bug Description
When i was execute "openstack cluster profile/policy type list" appear error.
NoneType' object has no attribute 'keys'
Traceback (most recent call last):
File "/usr/lib/
result = cmd.run(
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
column_names, data = self.take_
File "/usr/lib/
for v in t.support_
AttributeError: 'NoneType' object has no attribute 'keys'
clean_up PolicyTypeList: 'NoneType' object has no attribute 'keys'
Traceback (most recent call last):
File "/usr/lib/
ret_val = super(OpenStack
File "/usr/lib/
result = self.run_
File "/usr/lib/
ret_value = super(OpenStack
File "/usr/lib/
result = cmd.run(
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
column_names, data = self.take_
File "/usr/lib/
for v in t.support_
AttributeError: 'NoneType' object has no attribute 'keys'
The problem is that senlin introduced the request version judgment.
Look senlin code:
https:/
The request version judgment is made here, so the return value is different.
Look python-senlin code:
https:/
There is no value processing based on the different request return values.
Changed in python-senlinclient: | |
assignee: | nobody → chenyb4 (chenyb4) |
Fix proposed to branch: master /review. openstack. org/546918
Review: https:/