Nova flavor ephemeral space size reported incorrectly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
David Besen | ||
Essex |
Fix Released
|
Undecided
|
Unassigned | ||
nova (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I installed a devstack instance yesterday (nova git version acb158714c562d3
If you create a flavor, then delete it, and create a new one with the same ID, the ephemeral space is wrong:
stack@dave-
Please input your password for the keyring
+----+-
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor |
+----+-
| 10 | flavor1 | 1000 | 1000 | 1000 | | 1000 | 1 |
+----+-
stack@dave-
Please input your password for the keyring
+----+-
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor |
+----+-
| 1 | m1.tiny | 512 | 0 | 0 | | 1 | 1.0 |
| 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 |
| 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 |
| 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 |
| 10 | flavor1 | 1000 | 1000 | 1000 | | 1000 | 1.0 |
+----+-
stack@dave-
Please input your password for the keyring
stack@dave-
Please input your password for the keyring
+----+-
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor |
+----+-
| 1 | m1.tiny | 512 | 0 | 0 | | 1 | 1.0 |
| 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 |
| 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 |
| 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 |
+----+-
stack@dave-
Please input your password for the keyring
+----+-
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor |
+----+-
| 10 | flavor2 | 1000 | 1000 | 1000 | | 1000 | 1 |
+----+-
stack@dave-
Please input your password for the keyring
+----+-
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor |
+----+-
| 1 | m1.tiny | 512 | 0 | 0 | | 1 | 1.0 |
| 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 |
| 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 |
| 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 |
| 10 | flavor2 | 1000 | 1000 | 1000 | | 1000 | 1.0 |
+----+-
Note the ephemeral number in the last list is 1000. It should be 2000, the number used to create the flavor.
This only seems to happen with the ephemeral number. The other numbers are fine.
tags: | added: essex-backport |
Changed in nova: | |
milestone: | none → folsom-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-3 → 2012.2 |
Changed in nova (Ubuntu): | |
status: | New → Fix Released |
tags: |
added: verification-done removed: verification-needed |
Fix proposed to branch: master /review. openstack. org/9995
Review: https:/