VMware: size of volume created from image should be based on user input
Bug #1237557 reported by
Ryan Hsu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
Vincent Hou |
Bug Description
With VC VMDK cinder driver, the size of volumes created from image is currently based on the size of the image and the size input by the user is ignored. So if the image in the following command is 1GB,
cinder create --image-id <image> 5
The 5GB is effectively ignored and the volume is created as 1GB.
Instead of this behavior, we should create a 5GB volume and then copy in the image.
tags: | added: drivers |
Changed in cinder: | |
importance: | Undecided → Medium |
milestone: | none → icehouse-1 |
status: | New → Confirmed |
Changed in cinder: | |
assignee: | nobody → Vincent Hou (houshengbo) |
Changed in cinder: | |
milestone: | icehouse-1 → icehouse-2 |
Changed in cinder: | |
milestone: | icehouse-2 → icehouse-3 |
Changed in cinder: | |
milestone: | icehouse-3 → icehouse-rc1 |
Changed in cinder: | |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | icehouse-rc1 → 2014.1 |
To post a comment you must log in.
Hi Vincent, just wanted to let you know that the code around copy_image_ to_volume is changing a lot with the fix for https:/ /bugs.launchpad .net/cinder/ +bug/1229998. I am planning to update the patch for bug 1229998 in a few hours. Please pull those changes in before trying to fix this.