summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-04-20 17:29:45 (GMT)
committerFrancisco Redondo <francisco.marchena@codethink.co.uk>2015-04-21 09:01:09 (GMT)
commit4cc964da547352a48ff7b4d718d6551e835ec3e6 (patch)
treefb7772a87ae6efb204061ec4cef27d8e0206e91c
parentc750d7e80d525291d9458748bb0fe9f43462669b (diff)
downloaddefinitions-4cc964da547352a48ff7b4d718d6551e835ec3e6.tar.gz
nova and neutron: 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]