diff options
| author | Adam Gandelman <adamg@canonical.com> | 2012-03-28 18:52:41 -0700 |
|---|---|---|
| committer | Adam Gandelman <adamg@canonical.com> | 2012-03-30 11:45:06 -0700 |
| commit | a4dd6b6f06d222f49bd0d2582dfe0f2925a1638f (patch) | |
| tree | aa3f3f40dda7a164bcc7d087a1061f31b2389eec /plugins | |
| parent | 24dae1be55bced54501c4a06969ee0b3c203e633 (diff) | |
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
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions
