OpenStack Compute (Nova)

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

Reported by Johannes Erdfelt on 2012-02-08
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
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

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) on 2012-02-29
Changed in nova:
milestone: none → essex-4
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-4 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers