summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system
Commit message (Collapse)AuthorAgeFilesLines
* openstack: finishing tidy up systemd unit filesTiago Gomes2015-05-0129-28/+29
| | | | | | | | | * Add db-setup to the 'Afters' for ceilometer * Improve order of units in 'Afters' * Remove deprecated syslog.target * Add missing Wants=network-online.target Change-Id: I4936126b78946dbdfe77213cc5202b39ea6a50cb
* openstack: remove a not existing unit in 'Afters'Tiago Gomes2015-05-011-1/+1
| | | | Change-Id: I6de006be2330be4d0bd84e48e9fc98d81d4b1aaf
* openstack: add network-online dependency to some systemd unitsTiago Gomes2015-05-019-9/+18
| | | | | | To use keystone and postgres the network needs to be online. Change-Id: Iaa0ed242b9cadca2bc8519cbc00e6cc9ea4745b4
* openstack: nova-config-setup does not require keystoneTiago Gomes2015-05-011-1/+0
| | | | Change-Id: Ia1107891c479d4faf13ba1d85564171519a8fc80
* openstack: update ceilometer-db-setup dependenciesTiago Gomes2015-05-011-1/+1
| | | | | | | | keystone.service and postgres.service are only enabled in their setup scripts. As disabled units are ignored in the After section, depend on their setup scripts instead. Change-Id: I6edd96e9fe97b10752f031086a3ea4700d52513c
* openstack: improve services' loggingTiago Gomes2015-05-0130-25/+78
| | | | | | | | | | | | | | | | | The OpenStack services write their log to stderr even when use_syslog was set to True in the configuration file. This is then captured by journald, resulting in duplicated entries on the log. Set StandardOutput=null and StandardError=null in the unit files to prevent this. As the services log is being dumped on journald, there is no need to duplicate the log in separate log files, so remove --log-file from the unit files as well. Last but not least, enable writing to the syslog for Ironic and Keystone. Change-Id: I7808e8116fc92ecb807f700fd94c9ecf4ee13be2
* openstack: add missing RemainAfterExit=yesTiago Gomes2015-05-018-0/+8
| | | | Change-Id: I88e3e3e0f2b94b1ee84c706a29a439a09f370e8e
* openstack: add missing ConditionPathExistsTiago Gomes2015-05-0118-3/+18
| | | | | | | | And fix some existing as well. Generate a separate postgres.conf file so that we don't have to reference keystone on the postgres setup systemd unit and Ansible script. Change-Id: I0bb4428b7e88a508a37d1d43ddcd266369b05cd2
* openstack: explicitly set --config-file for ceilometerTiago Gomes2015-05-017-7/+7
| | | | Change-Id: I2e14e9fc368eb160816719b5d70ce9746b246467
* openstack: remove setup units from Wants sectionTiago Gomes2015-05-0112-12/+8
| | | | | | | | This way it is possible to avoid running the setup script in subsequent boots, either by disabling the setup service using systemctl, or removing the respective configuration file from /etc/openstack/. Change-Id: I9945e40eaebbc160bb21ca46f10a8b6121f66267
* postgresql: Make the service depend on network-online.targetPedro Alvarez2015-04-281-1/+1
| | | | | | | When the server is configured to listen connections only from some IP addresses, the unit fails if the network is not configured and there aren't interfaces with this IP. Change-Id: Ibc4a00f5cc8efbbd8edd2df227272b9420438c6c
* ceilometer: Configure ceilometer for multinode deploymentFrancisco Redondo Marchena2015-04-278-16/+28
| | | | Change-Id: I065dcd8926775c5469830af25c3fc6a49d89e432
* Depend on openstack-keystone-setupTiago Gomes2015-04-248-13/+13
| | | | | | | | | | Depending on openstack-keystone is wrong, as the admin user, admin tenant, admin role, service tenant and endpoint, are only created after starting and enabling the openstack-keystone service. Not having those created will cause keystone commands executed by some Ansible scripts to fail. Change-Id: I54288f3de2814dbb6639a894d55d7395f052a428
* Move postgres-server configuration out of keystone-setupTiago Gomes2015-04-2411-16/+26
| | | | | | | | | Otherwise postgres-server and keystone-setup services will initially fail, as keystone-setup needs a postgres-server running to succeed, but the postgres-server can only run after some configuration, which was previously being done by keystone-setup. Change-Id: I2d649d494cb54119e3b9bd3d9f6deb46bfb2dd12
* Configure and start an iSCSI initiator on all required machinesTiago Gomes2015-04-241-2/+2
| | | | | | | | | The OpenStack Ironic Conductor service requires that an iSCSI initiator is running on the same local machine. This commit configures and sets an iSCSI initiator to run on the controller node on a two-node and three-node OpenStack system. For a one-node system, this service was already configured as it is required by OpenStack Cinder. Change-Id: I46291d9cd1a31e3ff91888401d45ab0dc67e3677
* ceilometer: Fix ceilometer servicesFrancisco Redondo Marchena2015-04-214-4/+4
| | | | | | | | | ceilometer services do not need to wait for openstack-ceilometer-setup.service to finish because is this one which enables and starts them. So removing this dependency we eliminate the systemd loop created. Change-Id: I4991eb9e50bb88270ce1fa31edb0600dab233148
* ceilometer: Fix openstack-ceilometer-setup.service unitFrancisco Redondo Marchena2015-04-211-1/+2
| | | | | | | openstack-ceilometer-setup.service only requires keystone and postgres running for configuring ceilometer. Change-Id: I4665cc719675355856b0ab50bd1cb966cadb2e67
* nova and neutron: Start db-setup services after config-setup servicesFrancisco Redondo Marchena2015-04-212-2/+2
| | | | | | | | | openstack-{nova,neutron}-db-setup.services need to run after openstack-{nova,neutron}-config-setup.services because the latter create the nova and neutron system users used in the formers. Change-Id: I4152b8dc16fe2181de83f5732b58d3f1072811e9
* cinder: Remove legacy setup serviceFrancisco Redondo Marchena2015-04-211-9/+0
| | | Change-Id: I8aa7c9ffba6b2315d133be77cf78f94360efa4c8
* Openstack: Make Ceilometer configurablePatrick Darley2015-04-178-0/+94
| | | | | | | This commit configures ceilometer to integrate with Keystone, Glance, Cinder and Nova. Change-Id: I19e8580de87858033ce1c2caf86a828d6377bb91
* OpenStack: Split Cinder into config, db and lv setupRichard Maw2015-04-178-5/+57
| | | | Change-Id: Iae387e39c4a62ef608496d31c748493fa88ce3e1
* OpenStack: Split nova into control and computeRichard Maw2015-04-1711-17/+39
| | | | | | | | This adds NOVA_ENABLE_{CONTROLLER,COMPUTE}. Both are enabled by deafult, but if CONTROLLER is enabled but COMPUTE isn't, then the conductor service is enabled. Change-Id: I523a7270d4afdcd1e2a30eaac42ea499581fe971
* OpenStack: Split neutron config up into MANAGER, CONTROLLER and AGENTRichard Maw2015-04-179-22/+44
| | | | | | | | | | | | | | | | | | This adds NEUTRON_ENABLE_{MANAGER,CONTROLLER,AGENT} to determine which parts should be run on a node, so a network node has MANAGER enabled, but doesn't need CONTROLLER or AGENT, since those will be run on the controller and compute nodes respectively. This works by the configuration extension selectively enabling systemd units, with config-setup always being run, and db-setup run on the controller node. Rather than having the enable logic in 3 distinct setup services, their dependencies have been augmented to run after appropriate setup services if they are enabled, and to not run if their configuration hasn't been created. Change-Id: I7625074c94acfb49fc68660440609b0fe9c0052d
* Openstack: Make Ironic configurableTiago Gomes2015-04-173-0/+36
| | | | | | | This commit configures Ironic to integrate with Keystone, Neutron and Glance. Nova integration will be added in a following commit. Change-Id: Id557e8e048b6051d764b4915192cfd55bfe68d32
* Add configuration for swift controller nodeRichard Ipsum2015-04-162-0/+24
| | | | | | | This adds configuration needed to deploy a swift proxy-server that uses keystone for authentication. Change-Id: I038180e2d1e16f1f612986ca9db241ce05afa84c
* Openstack: Make Horizon configurablePedro Alvarez2015-04-162-0/+26
| | | | | | | | Change-Id: I70745baea478dd9fd57d9e3d5ae66d40db3c1712 Signed-off-by: Pedro Alvarez <pedro.alvarez@codethink.co.uk> Signed-off-by: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> Signed-off-by: Zara Zaimeche <zara.zaimeche@codethink.co.uk> Signed-off-by: Mike Smith <mike.smith@codethink.co.uk>
* Openstack: Make Neutron configurablePedro Alvarez2015-04-167-0/+103
| | | | | | | Change-Id: I517142d6879f4cfce821a21a5fe2b661e184ce53 Signed-off-by: Pedro Alvarez <pedro.alvarez@codethink.co.uk> Signed-off-by: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> Signed-off-by: Richard Maw <richard.maw@codethink.co.uk>
* Openstack: Add support to configure the network of the nodePedro Alvarez2015-04-164-0/+44
| | | | | | Change-Id: I8f8bfb231ab5ff4c2a825451a57a5b38a641c300 Signed-off-by: Pedro Alvarez <pedro.alvarez@codethink.co.uk> Signed-off-by: Richard Maw <richard.maw@codethink.co.uk>
* Openstack: Make Nova configurablePedro Alvarez2015-04-169-0/+107
| | | | | | | Change-Id: Ia5e2450351359d35fd2aa37b75534178d8305936 Signed-off-by: Pedro Alvarez <pedro.alvarez@codethink.co.uk> Signed-off-by: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> Signed-off-by: Richard Maw <richard.maw@codethink.co.uk>
* Openstack: Make Cinder configurablePedro Alvarez2015-04-165-0/+57
| | | | | | | Change-Id: I9c2bb1a204a01fa82e90d517663f6cf654666395 Signed-off-by: Pedro Alvarez <pedro.alvarez@codethink.co.uk> Signed-off-by: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> Signed-off-by: Patrick Darley <patrick.darley@codethink.co.uk>
* Openstack: Make Glance configurablePedro Alvarez2015-04-163-0/+35
| | | | | | Change-Id: I137bd286b2f8ad6eeb37d34803f9ae41a735e7ec Signed-off-by: Pedro Alvarez <pedro.alvarez@codethink.co.uk> Signed-off-by: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk>
* Openstack: Make Keystone configurablePedro Alvarez2015-04-164-0/+66
Change-Id: Ic29d7c367622e0ab35486466e5e32ca432539c39 Signed-off-by: Pedro Alvarez <pedro.alvarez@codethink.co.uk> Signed-off-by: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk>