diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-09-15 21:53:35 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-10-03 01:15:42 -0400 |
| commit | f6a914b542f228488b66de6f6bd3dfb361e5a728 (patch) | |
| tree | c952c0433d802bbe6cb33357aa83b636f2474a8c /meta-openstack-controller-deploy/recipes-devtools/python/python-quantum_2013.1.3.bbappend | |
| parent | 645ced2601e0e55e1d9ff391855f3d917188a53d (diff) | |
| download | meta-cloud-services-f6a914b542f228488b66de6f6bd3dfb361e5a728.tar.gz | |
postgresql: fix slow database startup errors
On some targets postgresql's server processes start slowly. If they haven't
started and the admin account or other operations are attempted, they fail
with a message about not being able to communicate to the local server.
If postgres is not properly setup, then subsequent components will also fail,
since they either cannot talk to the server, or can't use the 'admin' account.
To fix this issue, we add additional sleep states, and attempt to create the
admin role 10 times, with a delay between each attempt. If we fail to contact
the server after 10 attempts, a clear message is displayed and the postinst
returns a failing return code.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack-controller-deploy/recipes-devtools/python/python-quantum_2013.1.3.bbappend')
0 files changed, 0 insertions, 0 deletions
