2013-09-17 15:05:38 |
Chris Friesen |
description |
I accidently tried creating a new image using "glance image-create" with an HTTP URL from a virtual machine with no external network connectivity. To my surprise, the command appeared to pass and the status showed as "active". However, the image size was zero and of course the image was non-bootable.
This is unexpected. If glance can't download the specified URL then the command should fail noisily to minimize confusion. Certainly the status shouldn't ever be "active" for a zero-size image. |
I accidently tried creating a new image using
glance image-create --name cirros --is-public true --container-format bare --disk-format qcow2 --location https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img
with an HTTP URL from a virtual machine with no external network connectivity. To my surprise, the command appeared to pass and the status showed as "active". However, the image size was zero and of course the image was non-bootable.
This is unexpected. If glance can't download the specified URL then the command should fail noisily to minimize confusion. Certainly the status shouldn't ever be "active" for a zero-size image. |
|