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

Bug #1376605 reported by Malini Bhandaru
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Glance
Invalid
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)
Changed in glance:
importance: Undecided → Medium
Revision history for this message
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

Revision history for this message
Inessa Vasilevskaya (ivasilevskaya) wrote :

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

Revision history for this message
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?

Revision history for this message
Abhishek Kekane (abhishek-kekane) wrote :

Hi,

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

Revision history for this message
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)
Changed in glance:
status: New → Incomplete
Revision history for this message
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

Revision history for this message
Sachin (sacpatil) wrote :

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

Erno Kuvaja (jokke)
Changed in glance:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.