Cinder client use has no timeout

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

Bug Description

Nova-api calls cinder in a synchronous fashion on volume-list and snapshot-list calls. There is a baked in param defaulting to 3 retries, but no ability to control the timeout on each attempt. In order to achieve more predictable nova-api response times, a timeout should be configurable.

Tags: volumes
Revision history for this message
Matt Riedemann (mriedem) wrote :
tags: added: volumes
Changed in nova:
status: New → In Progress
assignee: nobody → Brian Elliott (belliott)
Revision history for this message
Matt Riedemann (mriedem) wrote :

If cinder api is underperforming maybe you need more osapi_volume workers, see this patch:

https://review.openstack.org/#/c/98492/

Changed in nova:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/99211
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=618ae7a4392dce4359c47c7e4b60bebc1c8d853b
Submitter: Jenkins
Branch: master

commit 618ae7a4392dce4359c47c7e4b60bebc1c8d853b
Author: Brian Elliott <email address hidden>
Date: Tue Jun 10 16:23:27 2014 -0500

    Add configurable HTTP timeout to cinder API calls

    Some Nova API calls require synchronous use of cinder. (e.g. volume
    list) If the call to cinder lands on a slow performing or otherwise bad
    cinder API node, the user of Nova API will see poor performance.

    This patch adds the ability to control HTTP timeouts when calling the
    cinder API. By configuring a timeout, nova will be able to more quickly
    retry its cinder request and hopefully land on a better performing
    cinder API node. This will help make the API response times more
    predictable.

    For backward compatibility, the default timeout value is None.

    Closes-Bug: 1329797
    DocImpact

    Change-Id: I5cccced524d9a9d69ed41f755781d0b7ae3dc970

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