summaryrefslogtreecommitdiff
path: root/install-files
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-06-08 15:22:45 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-06-11 17:04:29 +0000
commit7cef8f2ec056c437739b9f1b50b04a8e4403c8dc (patch)
tree5b9d1709996278c433801ad7038b11bc9876d9a3 /install-files
parentb5bbb70458d2f4c522f605f5359c183449a1f4c3 (diff)
downloaddefinitions-7cef8f2ec056c437739b9f1b50b04a8e4403c8dc.tar.gz
Cinder: Don't start cinder-volume if cinder-lv-setup has failed
Change-Id: I4e73c52254d4bd3dd54c383254a1f5430f5db88f
Diffstat (limited to 'install-files')
-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 c56ee693..a5b7fe85 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]