aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-support/postgresql
AgeCommit message (Collapse)Author
2013-10-03postgresql: fix slow database startup errorsBruce Ashfield
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>
2013-08-28postgresql: add 9.2.4 bbappendBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-08-28postgresql: Made the postgresql credentials configurableMihai Prica
The user and password for postgresql are defined in the identity class and are loaded by the recipes from this class. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28postgresql: Added timezone info to postgresqlMihai Prica
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28postgresql: Changed db user from nova to adminMihai Prica
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28postgresql: Configured service and added initscriptMihai Prica
-The postinstall will initialize the database; -The postgres user is needed because postgresql can't be run as root. -The initscript will start the service at start-up. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>