nova-manage creation flavor shouldn't require a flavorid
Bug #1043410 reported by
Adrien Cunin
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Adrien Cunin |
Bug Description
It's possible to specify a flavorid using --flavor=... (which is a different thing than the auto-incremented id in the DB) when creating a flavor but I think it shouldn't be required. If nothing is specified it could be automatically generated.
$ nova-manage flavor create --name=test --memory=512 --cpu=1 --root_gb=0 --ephemeral_gb=0
Possible wrong number of arguments supplied
Creates instance types / flavors
[...]
TypeError: create() takes at least 7 arguments (6 given)
Expected:
$ nova-manage flavor create --name=test --memory=512 --cpu=1 --root_gb=0 --ephemeral_gb=0
[...]
test created
Changed in nova: | |
status: | New → In Progress |
Changed in nova: | |
milestone: | none → folsom-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-rc1 → 2012.2 |
To post a comment you must log in.
(Sorry I filed this against ubuntu/nova instead of nova.)