xenapi: Do not retry snapshot uploads on glance 500

Bug #1349933 reported by Brian Elliott
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Brian Elliott

Bug Description

If Glance returns a 500 response on an initial attempt to upload
a snapshot image, it will set the image status to KILLED/DELETED.
Any retry attempts will fail with a 409 response.

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

Fix proposed to branch: master
Review: https://review.openstack.org/110349

Changed in nova:
assignee: nobody → Brian Elliott (belliott)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/110349
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=77aea0e6a3d77f3c747a3f0d7126a8fbfae94263
Submitter: Jenkins
Branch: master

commit 77aea0e6a3d77f3c747a3f0d7126a8fbfae94263
Author: Brian Elliott <email address hidden>
Date: Tue Jun 10 16:46:15 2014 +0000

    xenapi: Do not retry snapshot upload on 500

    If Glance returns a 500 response on an initial attempt to upload
    a snapshot image, it will set the image status to killed. Any retry
    attempts will fail with a 409 response.

    Hence, Nova should not attempt to retry the upload in this case, which
    will eliminate many pointless retries.

    Closes-Bug: 1349933

    Change-Id: I1a8f2416923a368b02cf8963c747ebbb24d749a1

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → juno-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-3 → 2014.2
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.