From 97a5b1ecc3edd458b94281e7396bae1ec852b59a Mon Sep 17 00:00:00 2001 From: Vladislav Belogrudov Date: Fri, 5 May 2017 13:48:27 +0300 Subject: [PATCH] Fix iSCSI mounts for Cinder backup container Cinder backup requires iSCSI volume and host mount for backing any iSCSI volume, not only from LVM backend. 'enable_iscsid' is a catch-all setting for all iSCSI backends that also runs necessary iSCSI client on the same host. Change-Id: Ic486a9f72820df2e0a48a18166f043e5ddb5bd0a Closes-Bug: #1688519 --- ansible/roles/cinder/defaults/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/cinder/defaults/main.yml b/ansible/roles/cinder/defaults/main.yml index 379ead3e5d..b4c7f789a0 100644 --- a/ansible/roles/cinder/defaults/main.yml +++ b/ansible/roles/cinder/defaults/main.yml @@ -47,8 +47,8 @@ cinder_services: - "/etc/localtime:/etc/localtime:ro" - "/dev/:/dev/" - "/run/:/run/:shared" - - "{% if enable_cinder_backend_lvm | bool %}cinder:/var/lib/cinder{% endif %}" - - "{% if enable_cinder_backend_lvm | bool %}iscsi_info:/etc/iscsi{% endif %}" + - "{% if enable_iscsid | bool %}cinder:/var/lib/cinder{% endif %}" + - "{% if enable_iscsid | bool %}iscsi_info:/etc/iscsi{% endif %}" - "kolla_logs:/var/log/kolla/" ####################