← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1803299] Re: Failure in web-dowload doesn't put the image into error

 

Reviewed:  https://review.openstack.org/618093
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=94d3a0a14d574589f8d45c788a6f896cbcc09f41
Submitter: Zuul
Branch:    master

commit 94d3a0a14d574589f8d45c788a6f896cbcc09f41
Author: Abhishek Kekane <akekane@xxxxxxxxxx>
Date:   Thu Nov 15 07:32:47 2018 +0000

    Failure in web-dowload kept image in importing state
    
    As of now if import using web-download method fails due to invalid
    uri, image remains in 'importing' state. As the image is in 'importing'
    state it is not of any use to end-user.
    
    Resetting it to queued state, so that user can try again uploading/importing
    data to the same image.
    
    Change-Id: Iaa26922a9cf5a419c3da23bdfc347a6fdf6cb549
    Closes-Bug: #1803299


** Changed in: glance
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1803299

Title:
  Failure in web-dowload doesn't put the image into error

Status in Glance:
  Fix Released

Bug description:
  I tried to do an image import with the web-download method, but I put
  the wrong URI. In the glance logs I have:

  HTTPError: HTTP Error 404: Not Found

  The associated task is in failure. But my image isn't:

  $ openstack image show b631db79-e542-4c62-86f3-39bf50fec22
  ...
  status           | importing
  ...

  It'd be good if the status was synced correctly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1803299/+subscriptions


References