Disk size of flavor does not take effect during deployment for Hyper-V
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Alessandro Pilotti |
Bug Description
Env:
OpenStack grizzly build + Hyper-V
Step:
1. select a image 'VM_HUPERV-1G' whose default disk size is 1G
[root@a ~]# nova image-list
+------
| ID | Name | Status | Server |
+------
| cd9daf46-
| 79bec37a-
+------
2. select a flavor 2 whose disk size is 20.
[root@Godwin-
+------
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | extra_specs |
+------
| 1 | m1.tiny | 512 | 0 | 0 | | 1 | 1.0 | True | {} |
| 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True | {} |
| 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True | {} |
| 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True | {} |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True | {} |
+------
3. Make a deployment by cli "nova --image cd9daf46-
4. Wait for the deployment completed and instance state change to 'Active'
5. Check the disk size of the instance in Hyper-V server. it's 1024MB.
ISSUE:
Disk size of flavor does not take effect during deployment for Hyper-V
in step 5, the actual disk size should be 20G, not 1G since the flavor's disk size is 20G
tags: | added: hyper-v |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in nova: | |
milestone: | none → grizzly-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-rc1 → 2013.1 |
This will lead to resource usage statistics error.
As far as I know, the resource statistics is based on the instance's flavor. in this case, the value of 'local_gb_used' field in the result of 'nova hypervisor-stats' will increase '20', but the actual storage usage only increase 1G