swap, rxtx_cap, rxtx_quota not listed in output of 'nova flavor-list'

Bug #849160 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Scott Moser

Bug Description

I did:
nova-manage instance_type create --flavor=0 --memory=1 --local_gb=2 --swap=512 --cpu=1 --name "m1.xsmall"
$ nova-manage instance_type create --flavor=0 --memory=512 --local_gb=2 --swap=1 --cpu=1 --name "m1.xsmall"
m1.xsmall created

Then,
$ nova flavor-list
+----+-----------+-----------+------+----------+-------+------------+----------+
| ID | Name | Memory_MB | Swap | Local_GB | VCPUs | RXTX_Quota | RXTX_Cap |
+----+-----------+-----------+------+----------+-------+------------+----------+
| 0 | m1.xsmall | 512 | | 2 | | | |
| 1 | m1.tiny | 512 | | 0 | | | |
| 2 | m1.small | 2048 | | 20 | | | |
| 3 | m1.medium | 4096 | | 40 | | | |
| 4 | m1.large | 8192 | | 80 | | | |
| 5 | m1.xlarge | 16384 | | 160 | | | |
+----+-----------+-----------+------+----------+-------+------------+----------+

I expected that 'Swap' column would list have an entry for m1.xsmall.

From inside the instance launched, there *is* swap disk of 1G as expected (note, per bug 849154, swap is currently interpreted as GB, not MB).

Tags: osapi-v1.1

Related branches

Scott Moser (smoser)
affects: python-novaclient → nova
summary: - swap not listed in output of nova-manage flavor
+ swap not listed in output of 'nova flavor-list'
Brian Waldon (bcwaldon)
summary: - swap not listed in output of 'nova flavor-list'
+ swap, rxtx_cap, rxtx_quota not listed in output of 'nova flavor-list'
tags: added: osapi-v1.1
Changed in nova:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Scott Moser (smoser)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → 2011.3
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.