glance image-create failed but image item created in database
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
New
|
Undecided
|
s iwata |
Bug Description
In my grizzly environment, I used glance image-create with --location option to create an image from img file stored on the internet, but because my glance server didn't have internet access, glance image-create hung there without returning success or failure, so I ctl+c to exit the command, but when glance image-list, the image I just created was there with zero size and the status was active. but, of course, it is unusable.
# glance image-create --name cirros --is-public true --container-format bare --disk-format qcow2 --location http://
^C... terminating glance client
# glance image-list
+------
| ID | Name | Disk Format | Container Format | Size | Status |
+------
| a4447d2f-
+------
I tried checking this Bug, but I wasn't able to reproduce.
(environment is grizzly-1, grizzly-2 and grizzly-eol from tags and master branch)
How to check download. cirros- cloud.net/ 0.3.1/cirros- 0.3.1-x86_ 64-disk. img
1. check glance server doesn't have internet access
2. glance image-create --name cirros --is-public true --container-format bare --disk-format qcow2 --location http://
I got 400 Bad Request.
Your glance server didn't have internet access, right?