Allow different configuration of iSCSI helper

Currently Cinder configuration hard-codes tgtadm as the only
iSCSI management utility. tgtd and tgtadm are older tools to
manage iSCSI volumes. Newer versions of Linux distros use
targetcli and kernel based iSCSI facilities (LIO) and can be
a preferred way for some users.

Change-Id: I10c0a7d596994a9201218e58ca2ad184774a8ce2
Closes-Bug: #1684139
This commit is contained in:
Vladislav Belogrudov 2017-04-19 17:28:11 +03:00
parent ad75dad522
commit 8263dafeb0
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ cinder_backends:
enabled: "{{ enable_cinder_backend_hnas_nfs | bool }}"
cinder_enabled_backends: "{{ cinder_backends|selectattr('enabled', 'equalto', true)|list }}"
cinder_iscsi_helper: "tgtadm"
#############################################
# Hitachi NAS Platform iSCSI and NFS drivers

View File

@ -96,7 +96,7 @@ lock_path = /var/lib/cinder/tmp
volume_group = {{ cinder_volume_group }}
volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver
volume_backend_name = lvm-1
iscsi_helper = tgtadm
iscsi_helper = {{ cinder_iscsi_helper }}
iscsi_protocol = iscsi
{% endif %}