Comment 2 for bug 1733813

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

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

commit a19fdb0e5f47eb5ea6f5150e056f1df26fb8b7e9
Author: Abhishek Kekane <email address hidden>
Date: Fri Nov 24 04:08:13 2017 +0000

    Fix 500 from image-import on queued images

    If you run image-import api on any image which is in queued state having
    valid container-format and disk-format set will return 500 error as it
    raises IOError: [Errno 2] No such file or directory:
    '/tmp/staging/567bfb61-d9f7-47e5-aa1a-90b7797e70be'. The reason is image
    does not have data stored in staging area.

    Restricted transition from queued to importing state and returned HTTP 409
    conflict error to the user.

    Change-Id: I3d3ab283fd0faf4b63365ff2dbeb714913f02b27
    Closes-Bug: #1733813