summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-17 15:04:10 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-03-05 22:28:10 +0000
commitca1fb80c71f45852cf25c0050a8adb491f9fe2c5 (patch)
treefed40cbb0b3f8ee7173a611a8e1637244e69bace
parent09373b7f6e6cb836dd514cc40878a95556d99a0f (diff)
downloaddefinitions-ca1fb80c71f45852cf25c0050a8adb491f9fe2c5.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 f48c0a88..b9484b94 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 38882e80..4c09907e 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]