aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-support
AgeCommit message (Collapse)Author
2013-10-30meta-openstack: remove duplicate dnsmasq bbappendBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-21postgres: add postgresql initscript packageBruce Ashfield
Without adding the initscript package, postgres won't start automatically on boot. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-04postgresql: Fix runtime dependsJason Wessel
When using the target installer with postgresql can end up installing in the wrong order due to bad dependencies and cause the install transaction to fail as follows: ==== initdb: invalid locale name "" initdb: invalid locale name "" initdb: invalid locale name "" initdb: invalid locale name "" initdb: invalid locale name "" could not open directory "/usr/share/postgresql/timezone": No such file or directory sh: locale: command not found WARNING: enabling "trust" authentication for local connections You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. /etc/init.d/postgresql: line 25: start-stop-daemon: command not found ==== Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2013-10-04postgresql: unify startup and initializationBruce Ashfield
Since we can't count on package postinst order, many components check for a configured postgresql daemon, and if not found, initialize it. Rather than sprinkling the knowledge of how to initialize the database through all these packages, we create a more robust, central postgresql-init script, and call it when any component needs the database configured. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-10-03postgresql: enable global listening, and explicit IP permissionsBruce Ashfield
To allow better out of the box configuration of postgresql, two things are required: listen on all addresses, and add explicit permissions for the known nodes in the network. In this change, the former is done by adding listen_addresses = '*' to the generated postgresql configuration on first boot, as well as adding the known compute and controller IPs to pg_hba.conf. (note: the values for these IPs come from hosts.bbclass) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
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-10-03meta-openstack: add bbappends for WRL5.0.xBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-09-06tgt: use "tgt" instead of PN and drop protocolBruce Ashfield
Without this fix, the fetcher may think there are multiple SRCREVs in the SRC_URI and demand a SRCREV_FORMAT, which we don't need. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-09-03iproute2: re-sync to oe-core masterBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-09-01dnsmasq: remove /run to avoid QA errorBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-08-28iproute: update bbappend to match oe-core masterBruce Ashfield
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-28ebtables: Move RRECOMMENDS to ebtables recipeMihai Prica
The kernel module is needed by ebtables so the RRECOMMENDS should be in this recipe. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28iproute2: Move RRECOMMENDS to iproute2 recipeMihai Prica
The kernel module is needed by iproute2 so the RRECOMMENDS should be in this recipe. Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28tgt: Update runtime dependenciesMihai Prica
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28tgt: Inherit update-rc.d for initscriptsMihai Prica
The initscript was not ran because the update-rc.d class was not inherited. Signed-off-by: Mihai Prica <prica.mihai@gmail.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-28tgt: Removed commentsMihai Prica
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
2013-08-28tgt: Changed perl-tests to perl-ptestMihai 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-28tgt: added 1.0.36Mihai 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>