nova service state stops updating after SQL connection lost

Bug #1518927 reported by György Szombathelyi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
New
Undecided
Unassigned

Bug Description

After nova-conductor loses mysql connection, it stops to update the service 'Updated_at' status.
After logging the error:
ERROR oslo.service.loopingcall [-] Fixed interval looping call 'nova.servicegroup.drivers.db.DbDriver._report_state' failed
.
.
.
DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '10.97.36.127' ((2013, 'Lost connection to MySQL server during query'))") [SQL: u'SELECT 1']

After some tracing, it seems nova.servicegroup.drivers.db _report state is never called again. Restarting the service correctly restarts reporting, too. Probably the reporting thread got stuck?

Using Liberty from Ubuntu Cloud Archive: 2:12.0.0-0ubuntu2~cloud0

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.