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> (cherry picked from commit ec075240541996f812ba39bdb84f21ddfa01d77f)
This commit is contained in:
parent
4f036a6b11
commit
8cc5ae2f6f
@ -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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user