summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-17 15:04:10 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-03-14 12:07:11 (GMT)
commit18c735aa068f5ce374c32dd4d0d41fdec5c15fb7 (patch)
tree7aff21d8b0330ab80cf7f81c9877094ebcbdf0a7
parent29892cd76ed0380e0c1e328f40938079ee5e6388 (diff)
downloaddefinitions-18c735aa068f5ce374c32dd4d0d41fdec5c15fb7.tar.gz
Fix issues with ordering and enabling neutron-setup and neutron-server
-rw-r--r--openstack/etc/systemd/system/openstack-neutron-server.service2
-rw-r--r--openstack/etc/systemd/system/openstack-neutron-setup.service1
2 files changed, 2 insertions, 1 deletions
diff --git a/openstack/etc/systemd/system/openstack-neutron-server.service b/openstack/etc/systemd/system/openstack-neutron-server.service
index f48c0a8..b9484b9 100644
--- a/openstack/etc/systemd/system/openstack-neutron-server.service
+++ b/openstack/etc/systemd/system/openstack-neutron-server.service
@@ -1,7 +1,7 @@
[Unit]
Description=Neutron Api Server
Wants=openvswitch-create-links-one-node.service
-After=network-online.target openstack-neutron-setup.service
+After=network-online.target openstack-neutron-setup.service openvswitch-create-links-one-node.service
[Service]
Type=simple
diff --git a/openstack/etc/systemd/system/openstack-neutron-setup.service b/openstack/etc/systemd/system/openstack-neutron-setup.service
index 38882e8..4c09907 100644
--- a/openstack/etc/systemd/system/openstack-neutron-setup.service
+++ b/openstack/etc/systemd/system/openstack-neutron-setup.service
@@ -1,5 +1,6 @@
[Unit]
Description=Run openstack-neutron-setup (once)
+Wants=openvswitch-create-links-one-node.service
After=network-online.target openstack-keystone-setup.service openvswitch-create-links-one-node.service postgres-server.service
[Service]