create a volume from image snapshot can not work
Bug #1560867 reported by
YaoZheng_ZTE
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
TommyLike |
Bug Description
Reproducing method as following:
1、create a volume from image.
2、boot a vm from the volume.
3、snapshot the vm.
4、After third steps, you will find that you have a new image in glance.
5、We're supposed to call it “instance_image”.
6、Then, I create a new volume from the new image “instance_image”.
7、Boot a new vm from the new volume, but create the vm failed.
Changed in cinder: | |
assignee: | nobody → YaoZheng_ZTE (zheng-yao1) |
Changed in cinder: | |
status: | Invalid → New |
Changed in cinder: | |
status: | In Progress → New |
Changed in cinder: | |
assignee: | nobody → TommyLike (hu-husheng) |
status: | New → In Progress |
To post a comment you must log in.
The reason for this problem is:
The step 6, create the volume from the image “instance_image”, the volume is empty.
because the image file is empty, so create volume from the image , the volume is null.
The image was created from instance snapshot, as the instance boot from volume,
so the image is just a link to the volume snapshot.