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 <dmitry.a.grachev@gmail.com>
This commit is contained in:
Mark Goddard 2019-08-07 09:05:43 +01:00
parent 68542d0b4a
commit ec07524054

View File

@ -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 }}