Comment 13 for bug 959426

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

Reviewed: https://review.openstack.org/5939
Committed: http://github.com/openstack/nova/commit/a4dd6b6f06d222f49bd0d2582dfe0f2925a1638f
Submitter: Jenkins
Branch: master

commit a4dd6b6f06d222f49bd0d2582dfe0f2925a1638f
Author: Adam Gandelman <email address hidden>
Date: Wed Mar 28 18:52:41 2012 -0700

    Ensure a functional database connection

    Allow retrying database connection in get_engine() at an interval. Resolves
    the issue of nova components erroring at startup if a database connection is
    unavailable, particularly at boot. Borrowed from a similar commit to glance,
    (https://review.openstack.org/#change,5552).

    Fixes Bug #959426 for nova.

    Update: * Properly return an engine (fixes tests)
            * Setting sql_max_retries to -1 will retry infinitely
            * Bumped options count in nova.conf.sample
            * i18n log warning
            * Add note to flag help about -1 == infinite
            * Pep8 fix

    Change-Id: Id34eda9e0bad6b477a74e9a7d3575e513e6291d5