← Back to team overview

openstack team mailing list archive

Re: MySQL connection gone away handling in OpenStack projects


On 03/22/2012 09:48 AM, Vishvananda Ishaya wrote:
This looks like a much better solution than MySQLPingListener. It would be good to get this into common / nova, especially if we can verify that it works with postgres as well.


+1 for making this the standard method of initializing databases across projects. A quick test of adding a wrapped call to _ENGINE.connect() in the main try/except block of configure_db seems to totally solve the issue of services starting at boot before a database is reachable, reported @ https://bugs.launchpad.net/ubuntu/+source/nova/+bug/959426