flavor disk size failed to take effect using LVM image backend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Qiu Yu |
Bug Description
Steps to reproduce
--
1. Use LVM as image backend
2. Create instance with image size smaller than disk size in flavor type.
Say image of 1 gigabyte and flavor of 20 disk size of gigabytes
+------
| Property | Value |
+------
| checksum | 1e80200d2b277f0
| container_format | bare |
| created_at | 2012-12-03T12:08:47 |
| deleted | False |
| disk_format | raw |
| id | 0377b740-
| is_public | True |
| min_disk | 0 |
| min_ram | 0 |
| name | centos-6u3-template |
| owner | 1f920603ce80481
| protected | False |
| size | 1073741824 |
| status | active |
| updated_at | 2012-12-03T12:09:11 |
+------
+-----+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | extra_specs |
+-----+
| 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True | {} |
Expected result
--
20 gigabytes available for newly created instance
Actual result
--
Filesystem could only recognize 1 gigabyte inside the instance.
Changed in nova: | |
assignee: | nobody → unicell (unicell) |
Changed in nova: | |
milestone: | none → grizzly-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-3 → 2013.1 |
Fix proposed to branch: master /review. openstack. org/20015
Review: https:/