From ec075240541996f812ba39bdb84f21ddfa01d77f Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Wed, 7 Aug 2019 09:05:43 +0100 Subject: [PATCH] Enable iscsid on cinder-backup hosts Without this we may see the following error in cinder-backup when using the LVM backend: Could not login to any iSCSI portal Enabling the iscsid container on hosts in the cinder-backup group fixes this. Closes-Bug: #1838624 Change-Id: If373c002b0744ce9dbdffed50a02bab55dd0acb9 Co-Authored-By: dmitry-a-grachev --- ansible/roles/iscsi/defaults/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/iscsi/defaults/main.yml b/ansible/roles/iscsi/defaults/main.yml index abf68e6c88..1550810dd9 100644 --- a/ansible/roles/iscsi/defaults/main.yml +++ b/ansible/roles/iscsi/defaults/main.yml @@ -61,6 +61,7 @@ tgtd_dimensions: "{{ default_container_dimensions }}" enable_iscsid_for_cinder: >- {{ (inventory_hostname in groups['compute'] + or inventory_hostname in groups['cinder-backup'] or inventory_hostname in groups['cinder-volume']) and enable_cinder | bool and enable_cinder_backend_iscsi | bool }}