nova/network/quantum/melange_connection.py gives up too easily

Bug #929041 reported by Johannes Erdfelt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Johannes Erdfelt

Bug Description

If a connection failure occurs (such as ECONNREFUSED), nova/network/quantum/melange_connection.py gives up immediately.

The code is intolerant of service restarts, which are likely to happen occasionally in any running OpenStack install.

It should retry for a configurable amount of time.

Changed in nova:
assignee: nobody → Johannes Erdfelt (johannes.erdfelt)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/4027
Committed: http://github.com/openstack/nova/commit/13abc292eee66d2390e2318657fe9e8611060804
Submitter: Jenkins
Branch: master

commit 13abc292eee66d2390e2318657fe9e8611060804
Author: Johannes Erdfelt <email address hidden>
Date: Fri Feb 10 18:54:48 2012 +0000

    Retry on network failure for melange GET requests

    Fixes bug 929041

    The melange service may need to periodically be restarted for various
    operations reasons, so retry GET requests if we receive a socket error.

    Change-Id: I010650dac7793d0041d41be067eb4b32e2171c8a

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