Add reconnect timeout in event of database failre

Bug #1019728 reported by Gary Kotton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Jiajun Liu

Bug Description

Following comments from review https://review.openstack.org/#/c/8650/2/quantum/db/api.py
In the event that the connection to the database fails - the service should terminate if there is no connection after a timeout

Gary Kotton (garyk)
tags: added: low-hanging-fruit
Jiajun Liu (ljjjustin)
Changed in quantum:
assignee: nobody → ljjjustin (ljjjustin)
Revision history for this message
Jiajun Liu (ljjjustin) wrote :

In my option, we should add a retry times flag to sql connection just like nova do

Revision history for this message
Gary Kotton (garyk) wrote :

Great. This will certainly suffice.
Thanks
Gary

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

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

Changed in quantum:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/9572
Committed: http://github.com/openstack/quantum/commit/627a03766d1eb22ed04f0e208aca9b8e16a0303c
Submitter: Jenkins
Branch: master

commit 627a03766d1eb22ed04f0e208aca9b8e16a0303c
Author: justin ljj <email address hidden>
Date: Mon Jul 9 11:11:09 2012 +0800

    Add option sql_max_retries for database connection.

    Fixes bug 1019728

    also add unit tests for linux bridge plugin config

    Change-Id: Ibfea9bac87ba36f301671a35de81577debcd460e

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