Invalid url for glance image upload does not abort, cannot be deleted.

Bug #1376605 reported by Malini Bhandaru on 2014-10-02
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Glance
Medium
Unassigned

Bug Description

Apparently I had provided an invalid url. So glance kept trying and trying to upload the image that I had just created.
When I tried to "delete" the image, I got no error message. But the page re-painted with the same problem image in the list.
Logging out, using a new browser window, all showed the problem image once again, so it was not just a stuck javascript.

It would be good to provide some "abort" functionality.

Dolph Mathews (dolph) on 2014-10-03
Changed in glance:
importance: Undecided → Medium
Ankit Agrawal (ankitagrawal) wrote :

IMO this bug is not reproducible with current master.

I can successfully create an image by providing an invalid url "http://foo.com/b/akt.png" with following command:

glance image-create --container-format bare --disk-format qcow2 --name myimage1 --location http://foo.com/b/akt.png

I was unable to reproduce the error neither via UI, nor via console command.

Ian Cordasco (icordasc) wrote :

Ankit, did you perhaps not finish your thought? You said you were not able to reproduce this but you did create an image with an invalid URL. Were you able to delete it as well?

Hi,

I am able to create the image by providing an invalid url and able to delete the same.

hossein zabolzadeh (zabolzadeh) wrote :

Succesful adding and deleting images when wrong image url used in glance image-create and image-delete command respectively. I think as others that this bug is not reproducable.
I tried it both on the horizon dashboard and command line.

Kent Wang (k.wang) on 2015-04-23
Changed in glance:
status: New → Incomplete
bhushan (bhushan-kalamkar) wrote :

Hi I am able to reproduce the issue also I am able to fix this issue, how we commite the changes . can any one help me please

Sachin (sacpatil) wrote :

@bhushan: State all the steps you performed to reproduce the bug

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers