summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-06-08 15:22:45 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-06-08 15:22:45 (GMT)
commit8c3b3abe556d15313d4ff5c7ea88ca1fde1b75cf (patch)
tree240e4e7796d83d047d6e1d5e3a1ba2f1cbfe0e65
parent7d9c40817f143f682182a26273362fdd6ce434bc (diff)
downloaddefinitions-8c3b3abe556d15313d4ff5c7ea88ca1fde1b75cf.tar.gz
Cinder: Don't start cinder-volume if cinder-lv-setup has failedbaserock/openstack-kilo-v2
Change-Id: I4e73c52254d4bd3dd54c383254a1f5430f5db88f
-rw-r--r--install-files/openstack/usr/lib/systemd/system/openstack-cinder-volume.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/install-files/openstack/usr/lib/systemd/system/openstack-cinder-volume.service b/install-files/openstack/usr/lib/systemd/system/openstack-cinder-volume.service
index c56ee69..a5b7fe8 100644
--- a/install-files/openstack/usr/lib/systemd/system/openstack-cinder-volume.service
+++ b/install-files/openstack/usr/lib/systemd/system/openstack-cinder-volume.service
@@ -2,6 +2,7 @@
Description=OpenStack Cinder volume server
ConditionPathExists=/etc/cinder/cinder.conf
After=network-online.target openstack-cinder-config-setup.service openstack-cinder-db-setup.service openstack-cinder-lv-setup.service lvm2-lvmetad.service iscsid.service target.service
+Requisite=openstack-cinder-lv-setup.service
Wants=network-online.target
[Service]