summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-04-20 17:29:45 (GMT)
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-04-20 17:29:45 (GMT)
commit2f8b512ff094df43801ffe4fa6422c88acd7e628 (patch)
tree2ecaa1c0ca4d2c24a085cb9d162ecbe24e5af142
parent620888589dac9a384c6d7064f1259d4b31cb06d8 (diff)
downloaddefinitions-2f8b512ff094df43801ffe4fa6422c88acd7e628.tar.gz
Start db-setup services after config-setup services
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
-rw-r--r--openstack/usr/lib/systemd/system/openstack-neutron-db-setup.service2
-rw-r--r--openstack/usr/lib/systemd/system/openstack-nova-db-setup.service2
2 files changed, 2 insertions, 2 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-neutron-db-setup.service b/openstack/usr/lib/systemd/system/openstack-neutron-db-setup.service
index 4b30e78..68874a6 100644
--- a/openstack/usr/lib/systemd/system/openstack-neutron-db-setup.service
+++ b/openstack/usr/lib/systemd/system/openstack-neutron-db-setup.service
@@ -1,7 +1,7 @@
[Unit]
Description=Run neutron-db-setup Ansible scripts
ConditionPathExists=/etc/openstack/neutron.conf
-After=network-online.target openstack-keystone.service postgres-server.service openstack-keystone-setup.service
+After=network-online.target openstack-keystone.service postgres-server.service openstack-keystone-setup.service openstack-neutron-config-setup.service
Wants=network-online.target openstack-keystone.service postgres-server.service
[Service]
diff --git a/openstack/usr/lib/systemd/system/openstack-nova-db-setup.service b/openstack/usr/lib/systemd/system/openstack-nova-db-setup.service
index 80db0be..5a28091 100644
--- a/openstack/usr/lib/systemd/system/openstack-nova-db-setup.service
+++ b/openstack/usr/lib/systemd/system/openstack-nova-db-setup.service
@@ -1,7 +1,7 @@
[Unit]
Description=Run nova-db-setup Ansible scripts
ConditionPathExists=/etc/openstack/neutron.conf
-After=postgres-server.service openstack-keystone.service openstack-keystone-setup.service
+After=postgres-server.service openstack-keystone.service openstack-keystone-setup.service openstack-nova-config-setup.service
Wants=postgres-server.service openstack-keystone.service
[Service]