[Openstack] MySQL connection gone away handling in OpenStack projects

Adam Gandelman adamg at canonical.com
Fri Mar 23 23:33:43 UTC 2012


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.
>
> Vish

+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

-Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120323/fb87e33e/attachment.html>


More information about the Openstack mailing list