Merge "Allow Cinder to use ZFSSA iSCSI volume service"
This commit is contained in:
commit
70bb073bd3
@ -338,9 +338,10 @@ enable_cinder: "no"
|
||||
enable_cinder_backup: "yes"
|
||||
enable_cinder_backend_hnas_iscsi: "no"
|
||||
enable_cinder_backend_hnas_nfs: "no"
|
||||
enable_cinder_backend_iscsi: "no"
|
||||
enable_cinder_backend_iscsi: "{{ enable_cinder_backend_lvm | bool or enable_cinder_backend_hnas_iscsi | bool or enable_cinder_backend_zfssa_iscsi | bool }}"
|
||||
enable_cinder_backend_lvm: "no"
|
||||
enable_cinder_backend_nfs: "no"
|
||||
enable_cinder_backend_zfssa_iscsi: "no"
|
||||
enable_cloudkitty: "no"
|
||||
enable_congress: "no"
|
||||
enable_designate: "no"
|
||||
@ -372,7 +373,7 @@ enable_horizon_zun: "{{ enable_zun | bool }}"
|
||||
enable_hyperv: "no"
|
||||
enable_influxdb: "no"
|
||||
enable_ironic: "no"
|
||||
enable_iscsid: "{{ enable_cinder_backend_iscsi | bool or enable_cinder_backend_lvm | bool or enable_ironic | bool }}"
|
||||
enable_iscsid: "{{ enable_cinder_backend_iscsi | bool or enable_ironic | bool }}"
|
||||
enable_karbor: "no"
|
||||
enable_kuryr: "no"
|
||||
enable_magnum: "no"
|
||||
|
@ -141,6 +141,8 @@ cinder_backends:
|
||||
enabled: "{{ enable_cinder_backend_hnas_nfs | bool }}"
|
||||
- name: "vmwarevc-vmdk"
|
||||
enabled: "{{ cinder_backend_vmwarevc_vmdk | bool }}"
|
||||
- name: "zfssa-iscsi"
|
||||
enabled: "{{ enable_cinder_backend_zfssa_iscsi | bool }}"
|
||||
|
||||
cinder_enabled_backends: "{{ cinder_backends|selectattr('enabled', 'equalto', true)|list }}"
|
||||
cinder_iscsi_helper: "tgtadm"
|
||||
@ -164,3 +166,16 @@ hnas_nfs_password:
|
||||
hnas_nfs_mgmt_ip0:
|
||||
hnas_nfs_svc0_volume_type:
|
||||
hnas_nfs_svc0_hdp:
|
||||
|
||||
#############################################
|
||||
# Oracle ZFS Storage Appliance iSCSI driver
|
||||
#############################################
|
||||
zfssa_iscsi_backend: "zfssa_iscsi_backend"
|
||||
zfssa_iscsi_san_ip:
|
||||
zfssa_iscsi_login:
|
||||
zfssa_iscsi_password:
|
||||
zfssa_iscsi_pool:
|
||||
zfssa_iscsi_project:
|
||||
zfssa_iscsi_initiator_group:
|
||||
zfssa_iscsi_target_portal:
|
||||
zfssa_iscsi_target_interfaces:
|
||||
|
@ -162,6 +162,20 @@ vmware_cluster_name = {{ vmware_vcenter_cluster_name }}
|
||||
vmware_insecure = True
|
||||
{% endif %}
|
||||
|
||||
{% if enable_cinder_backend_zfssa_iscsi | bool %}
|
||||
[zfssa-iscsi]
|
||||
volume_backend_name = {{ zfssa_iscsi_backend }}
|
||||
volume_driver = cinder.volume.drivers.zfssa.zfssaiscsi.ZFSSAISCSIDriver
|
||||
san_ip = {{ zfssa_iscsi_san_ip }}
|
||||
san_login = {{ zfssa_iscsi_login }}
|
||||
san_password = {{ zfssa_iscsi_password }}
|
||||
zfssa_pool = {{ zfssa_iscsi_pool }}
|
||||
zfssa_project = {{ zfssa_iscsi_project }}
|
||||
zfssa_initiator_group = {{ zfssa_iscsi_initiator_group }}
|
||||
zfssa_target_portal = {{ zfssa_iscsi_target_portal }}
|
||||
zfssa_target_interfaces = {{ zfssa_iscsi_target_interfaces }}
|
||||
{% endif %}
|
||||
|
||||
[privsep_entrypoint]
|
||||
helper_command=sudo cinder-rootwrap /etc/cinder/rootwrap.conf privsep-helper --config-file /etc/cinder/cinder.conf
|
||||
|
||||
|
@ -0,0 +1,3 @@
|
||||
---
|
||||
features:
|
||||
- Allow cinder-volume to use Oracle ZFS Storage Appliance iSCSI backend.
|
Loading…
Reference in New Issue
Block a user