yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #44537
[Bug 1486136] Re: Neutron create_flavor_service_profile returns list not dict
** Changed in: neutron
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1486136
Title:
Neutron create_flavor_service_profile returns list not dict
Status in neutron:
Fix Released
Bug description:
The Neutron flavor framework routine create_flavor_service_profile
incorrectly returns a list instead of the expected dictionary.
For example, this causes an internal server error in _exclude_attributes_by_policy when using curl to create a Neutron flavor service profile:
File "/opt/stack/neutron/neutron/api/v2/base.py", line 143, in _exclude_attributes_by_policy
for attr_name in data.keys():
AttributeError: 'list' object has no attribute 'keys'
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1486136/+subscriptions
References