find_flavor doesn't work for names
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack SDK |
Fix Released
|
Undecided
|
Matthew Edmonds |
Bug Description
The fix that was committed for https:/
(Pdb) conn.compute.
openstack.
but I cannot find by name:
(Pdb) conn.compute.
*** NotFound: Not Found (HTTP 404)
Changed in python-openstacksdk: | |
assignee: | nobody → Matthew Edmonds (edmondsw) |
Changed in python-openstacksdk: | |
status: | New → In Progress |
Odd. That works for me
>>> #f is a flavor I picked out of conn.compute. flavors( ) find_flavor( f.name) compute. v2.flavor. Flavor( id=1, name=m1.tiny, ...other stuff...) find_flavor( f.id) compute. v2.flavor. Flavor( id=1, name=m1.tiny, ...other stuff...)
>>> f.name
'm1.tiny'
>>> f.id
'1'
>>> conn.compute.
openstack.
>>> conn.compute.
openstack.
Can you enable debug logging to a file and then try this again and send it to me? http:// developer. openstack. org/sdks/ python/ openstacksdk/ users/utils. html is the logging method details, and you can either host it somewhere and link to it, or email <email address hidden> and I'll take a look.