make flavor 'id' a string in the OSAPI v1.1
Bug #861666 reported by
Dan Prince
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Brian Waldon |
Bug Description
Flavor ID should be returned as a string in the OSAPI v1.1.
Changed in nova: | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Dan Prince (dan-prince) |
tags: | added: osapi-v1.1 |
Changed in nova: | |
milestone: | none → essex-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-1 → 2012.1 |
To post a comment you must log in.
Apparently flavors are really going to be uuids in the v1.1 OSAPI.
So now instead of just knowing that a 2 Gig instance is flavor ID 2 I get to do something like this:
FLAVOR_ID=$(nova flavor-list | grep 2048 | cut -f 2 -d "|" | tr -d ' ')
Not really what I'd consider to be a step forward in usability. :(