xio driver does not recover properly on REST call retries

Bug #1429283 reported by Richard Hedlind
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Low
Richard Hedlind

Bug Description

If a REST call returns a 400 error the XIO driver is supposed retry. However it does not decrement the retry counter properly and gets stuck in the loop if the server keeps returning the error.

Tags: drivers xio
Mike Perez (thingee)
Changed in cinder:
milestone: none → kilo-3
tags: added: drivers
removed: cinder
Changed in cinder:
assignee: nobody → Richard Hedlind (richard-hedlind)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

Changed in cinder:
status: New → In Progress
Mike Perez (thingee)
Changed in cinder:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/163296
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=e7bf87cc7bc7e6c18d11fc81be55822058b74723
Submitter: Jenkins
Branch: master

commit e7bf87cc7bc7e6c18d11fc81be55822058b74723
Author: Richard Hedlind <email address hidden>
Date: Tue Mar 10 23:46:48 2015 -0600

    Decrement remaining retries after failed REST call.

    Also, update unit test to properly test the retry path.

    Change-Id: I89863a44102bdeebce09de80fa5c5131af67f564
    Closes-Bug: #1429283

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: kilo-3 → 2015.1.0
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.