glance image stage fails with 500

Bug #1710958 reported by Brian Rosmaita
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
High
Brian Rosmaita

Bug Description

Returns a 500 when enable_image_import=False. Should probably return a 404.

Revision history for this message
Brian Rosmaita (brian-rosmaita) wrote :

Also having some problems when enable_image_import = True. Code is trying to set the image status to 'uploading' and it's causing a 500.

Changed in glance:
status: Triaged → In Progress
Revision history for this message
Abhishek Kekane (abhishek-kekane) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/494036
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=e17a349306e1a4ae287ce69cae0a545acfcf6b27
Submitter: Jenkins
Branch: master

commit e17a349306e1a4ae287ce69cae0a545acfcf6b27
Author: Brian Rosmaita <email address hidden>
Date: Tue Aug 15 19:14:22 2017 -0400

    Fix 500 error from image-stage call

    Adds a RequestDeserializer for the stage and adjusts the image
    status transitions so that they can handle the 'uploading' status
    of an image with data in the stage.

    Closes-bug: #1710958

    Change-Id: I6f1cfe44a01542bc93a43cbd518956686adb366d

Changed in glance:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/495341

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

Reviewed: https://review.openstack.org/495341
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=beb3e98445ee1fd35454fc3e8cd150622e3e083e
Submitter: Jenkins
Branch: stable/pike

commit beb3e98445ee1fd35454fc3e8cd150622e3e083e
Author: Brian Rosmaita <email address hidden>
Date: Tue Aug 15 19:14:22 2017 -0400

    Fix 500 error from image-stage call

    Adds a RequestDeserializer for the stage and adjusts the image
    status transitions so that they can handle the 'uploading' status
    of an image with data in the stage.

    Closes-bug: #1710958

    Change-Id: I6f1cfe44a01542bc93a43cbd518956686adb366d
    (cherry picked from commit e17a349306e1a4ae287ce69cae0a545acfcf6b27)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance 15.0.0.0rc2

This issue was fixed in the openstack/glance 15.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance 16.0.0.0b1

This issue was fixed in the openstack/glance 16.0.0.0b1 development milestone.

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.