summaryrefslogtreecommitdiff
path: root/openstack/usr/lib
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-04-17 11:26:01 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-04-17 11:26:01 +0000
commit5922ba1147a0d4bed28833ac376ab0b443f5ce98 (patch)
tree00055622bc3c180c41d60c39bb64a3d36863572e /openstack/usr/lib
parent8f307fcf4cb9b352d4c9c5c4f245601e48641469 (diff)
downloaddefinitions-5922ba1147a0d4bed28833ac376ab0b443f5ce98.tar.gz
fixes needed for 3 nodes in one node
Change-Id: I35dd403d805e819a854a50f489f228bf8eba14d9
Diffstat (limited to 'openstack/usr/lib')
-rw-r--r--openstack/usr/lib/systemd/system/openstack-nova-config-setup.service2
-rw-r--r--openstack/usr/lib/systemd/system/openstack-nova-db-setup.service1
2 files changed, 3 insertions, 0 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-nova-config-setup.service b/openstack/usr/lib/systemd/system/openstack-nova-config-setup.service
index 0ba467ad..55416cec 100644
--- a/openstack/usr/lib/systemd/system/openstack-nova-config-setup.service
+++ b/openstack/usr/lib/systemd/system/openstack-nova-config-setup.service
@@ -1,8 +1,10 @@
[Unit]
Description=Run nova-config-setup Ansible scripts
ConditionPathExists=/etc/openstack/neutron.conf
+After=openstack-keystone.service openstack-keystone-setup.service
[Service]
+Type=oneshot
ExecStart=/usr/bin/ansible-playbook -v -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/nova-config.yml
[Install]
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 ebe7e2bc..80db0be5 100644
--- a/openstack/usr/lib/systemd/system/openstack-nova-db-setup.service
+++ b/openstack/usr/lib/systemd/system/openstack-nova-db-setup.service
@@ -5,6 +5,7 @@ After=postgres-server.service openstack-keystone.service openstack-keystone-setu
Wants=postgres-server.service openstack-keystone.service
[Service]
+Type=oneshot
ExecStart=/usr/bin/ansible-playbook -v -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/nova-db.yml
[Install]