summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openstack-neutron-setup.service
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2015-04-14 13:00:50 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2015-04-16 04:03:11 +0000
commit1906c93ec5073c91be03936ec21bf6bae306a6a7 (patch)
treeb3b3c64a881e32925ed62a80dacb049b30c72d85 /openstack/usr/lib/systemd/system/openstack-neutron-setup.service
parent25f7cc0e5ac95e1a4394aec82c557a05d4df003c (diff)
downloaddefinitions-1906c93ec5073c91be03936ec21bf6bae306a6a7.tar.gz
OpenStack: Split neutron config up into MANAGER, CONTROLLER and AGENT
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
Diffstat (limited to 'openstack/usr/lib/systemd/system/openstack-neutron-setup.service')
-rw-r--r--openstack/usr/lib/systemd/system/openstack-neutron-setup.service10
1 files changed, 0 insertions, 10 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-neutron-setup.service b/openstack/usr/lib/systemd/system/openstack-neutron-setup.service
deleted file mode 100644
index 99213b6a..00000000
--- a/openstack/usr/lib/systemd/system/openstack-neutron-setup.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=Run neutron-setup Ansible scripts
-After=network-online.target openstack-keystone-setup.service postgres-server.service
-Wants=network-online.target
-
-[Service]
-ExecStart=/usr/bin/ansible-playbook -v -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/neutron.yml
-
-[Install]
-WantedBy=multi-user.target