summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2015-04-28 10:28:22 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-05-08 09:56:20 (GMT)
commit08b86b8d76c3abce0588387f50c213a8b5d23b2b (patch)
tree91d29ba8a8cbefc4a191995aae0f219ac259d1bc
parentcf991b0e46cdc7f81895e4f14106d1d4071c9a4e (diff)
downloaddefinitions-08b86b8d76c3abce0588387f50c213a8b5d23b2b.tar.gz
openstack: add missing RemainAfterExit=yes
Change-Id: I88e3e3e0f2b94b1ee84c706a29a439a09f370e8e
-rw-r--r--openstack/usr/lib/systemd/system/openstack-ceilometer-db-setup.service1
-rw-r--r--openstack/usr/lib/systemd/system/openstack-keystone-setup.service1
-rw-r--r--openstack/usr/lib/systemd/system/openstack-network-setup.service1
-rw-r--r--openstack/usr/lib/systemd/system/openstack-nova-config-setup.service1
-rw-r--r--openstack/usr/lib/systemd/system/openstack-nova-db-setup.service1
-rw-r--r--openstack/usr/lib/systemd/system/openvswitch-setup.service1
-rw-r--r--openstack/usr/lib/systemd/system/postgres-server-setup.service1
-rw-r--r--openstack/usr/lib/systemd/system/swift-controller-setup.service1
-rw-r--r--swift/usr/lib/systemd/system/swift-storage-setup.service1
9 files changed, 9 insertions, 0 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-ceilometer-db-setup.service b/openstack/usr/lib/systemd/system/openstack-ceilometer-db-setup.service
index 8c6f39a..6ec58a7 100644
--- a/openstack/usr/lib/systemd/system/openstack-ceilometer-db-setup.service
+++ b/openstack/usr/lib/systemd/system/openstack-ceilometer-db-setup.service
@@ -5,6 +5,7 @@ After=postgres-server.service openstack-keystone.service openstack-keystone-setu
[Service]
Type=oneshot
+RemainAfterExit=yes
ExecStart=/usr/bin/ansible-playbook -v -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/ceilometer-db.yml
[Install]
diff --git a/openstack/usr/lib/systemd/system/openstack-keystone-setup.service b/openstack/usr/lib/systemd/system/openstack-keystone-setup.service
index b534873..2406513 100644
--- a/openstack/usr/lib/systemd/system/openstack-keystone-setup.service
+++ b/openstack/usr/lib/systemd/system/openstack-keystone-setup.service
@@ -6,6 +6,7 @@ ConditionPathExists=/etc/openstack/keystone.conf
[Service]
# Oneshot, since others setup have to wait until this service finishes
Type=oneshot
+RemainAfterExit=yes
ExecStart=/usr/bin/ansible-playbook -v -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/keystone.yml
[Install]
diff --git a/openstack/usr/lib/systemd/system/openstack-network-setup.service b/openstack/usr/lib/systemd/system/openstack-network-setup.service
index 90c9ecf..bf79aaa 100644
--- a/openstack/usr/lib/systemd/system/openstack-network-setup.service
+++ b/openstack/usr/lib/systemd/system/openstack-network-setup.service
@@ -5,6 +5,7 @@ Before=systemd-networkd.service
[Service]
Type=oneshot
+RemainAfterExit=yes
ExecStart=/usr/bin/ansible-playbook -v -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/network.yml
[Install]
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 2813081..973e16e 100644
--- a/openstack/usr/lib/systemd/system/openstack-nova-config-setup.service
+++ b/openstack/usr/lib/systemd/system/openstack-nova-config-setup.service
@@ -5,6 +5,7 @@ After=openstack-keystone-setup.service
[Service]
Type=oneshot
+RemainAfterExit=yes
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 238df3c..20c31db 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-setup.service openstack-keystone-setup.service openstack-n
[Service]
Type=oneshot
+RemainAfterExit=yes
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]
diff --git a/openstack/usr/lib/systemd/system/openvswitch-setup.service b/openstack/usr/lib/systemd/system/openvswitch-setup.service
index 6fdd7db..8393ebb 100644
--- a/openstack/usr/lib/systemd/system/openvswitch-setup.service
+++ b/openstack/usr/lib/systemd/system/openvswitch-setup.service
@@ -4,6 +4,7 @@ After=local-fs.target
[Service]
Type=oneshot
+RemainAfterExit=yes
ExecStart=/usr/bin/ansible-playbook -v -i /usr/share/openstack/hosts /usr/share/openstack/openvswitch.yml
[Install]
diff --git a/openstack/usr/lib/systemd/system/postgres-server-setup.service b/openstack/usr/lib/systemd/system/postgres-server-setup.service
index a185db3..202c063 100644
--- a/openstack/usr/lib/systemd/system/postgres-server-setup.service
+++ b/openstack/usr/lib/systemd/system/postgres-server-setup.service
@@ -5,6 +5,7 @@ After=local-fs.target
[Service]
Type=oneshot
+RemainAfterExit=yes
ExecStart=/usr/bin/ansible-playbook -v -i /usr/share/openstack/hosts /usr/share/openstack/postgres.yml
[Install]
diff --git a/openstack/usr/lib/systemd/system/swift-controller-setup.service b/openstack/usr/lib/systemd/system/swift-controller-setup.service
index 558ab13..ac5cc24 100644
--- a/openstack/usr/lib/systemd/system/swift-controller-setup.service
+++ b/openstack/usr/lib/systemd/system/swift-controller-setup.service
@@ -4,6 +4,7 @@ After=local-fs.target postgres-server-setup.service openstack-keystone-setup.ser
[Service]
Type=oneshot
+RemainAfterExit=yes
ExecStart=/usr/bin/ansible-playbook -v -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/swift-controller.yml
Restart=no
diff --git a/swift/usr/lib/systemd/system/swift-storage-setup.service b/swift/usr/lib/systemd/system/swift-storage-setup.service
index dcba101..3df3116 100644
--- a/swift/usr/lib/systemd/system/swift-storage-setup.service
+++ b/swift/usr/lib/systemd/system/swift-storage-setup.service
@@ -4,6 +4,7 @@ After=local-fs.target postgres-server-setup.service
[Service]
Type=oneshot
+RemainAfterExit=yes
ExecStart=/usr/bin/ansible-playbook -v -i /usr/share/swift/hosts /usr/share/swift/swift-storage.yml
Restart=no