Merge "Cinder cannot use external non-LVM iSCSI storage"
This commit is contained in:
commit
90946af865
@ -248,6 +248,7 @@ enable_central_logging: "no"
|
||||
enable_ceph: "no"
|
||||
enable_ceph_rgw: "no"
|
||||
enable_cinder: "no"
|
||||
enable_cinder_backend_iscsi: "no"
|
||||
enable_cinder_backend_lvm: "no"
|
||||
enable_cloudkitty: "no"
|
||||
enable_congress: "no"
|
||||
@ -258,6 +259,7 @@ enable_heat: "yes"
|
||||
enable_horizon: "yes"
|
||||
enable_influxdb: "no"
|
||||
enable_ironic: "no"
|
||||
enable_iscsid: "{{ enable_cinder_backend_iscsi | bool or enable_cinder_backend_lvm | bool }}"
|
||||
enable_kuryr: "no"
|
||||
enable_magnum: "no"
|
||||
enable_manila: "no"
|
||||
|
@ -30,8 +30,8 @@
|
||||
- "/etc/localtime:/etc/localtime:ro"
|
||||
- "/dev/:/dev/"
|
||||
- "/run/:/run/"
|
||||
- "{% if enable_cinder_backend_lvm | bool %}cinder:/var/lib/cinder{% endif %}"
|
||||
- "{% if enable_cinder_backend_lvm | bool %}iscsi_info:/etc/iscsi{% endif %}"
|
||||
- "{% if enable_iscsid | bool %}cinder:/var/lib/cinder{% endif %}"
|
||||
- "{% if enable_iscsid | bool %}iscsi_info:/etc/iscsi{% endif %}"
|
||||
- "kolla_logs:/var/log/kolla/"
|
||||
|
||||
- name: Starting cinder-volume container
|
||||
|
@ -39,4 +39,6 @@
|
||||
- "/sys/kernel/config:/configfs"
|
||||
- "cinder:/var/lib/cinder"
|
||||
- "iscsi_info:/etc/iscsi"
|
||||
when: inventory_hostname in groups['tgtd']
|
||||
when:
|
||||
- inventory_hostname in groups['tgtd']
|
||||
- enable_cinder_backend_lvm | bool
|
||||
|
@ -34,7 +34,7 @@
|
||||
- "/run:/run"
|
||||
- "/dev:/dev"
|
||||
- "kolla_logs:/var/log/kolla/"
|
||||
- "{% if enable_cinder_backend_lvm | bool %}iscsi_info:/etc/iscsi{% endif %}"
|
||||
- "{% if enable_iscsid | bool %}iscsi_info:/etc/iscsi{% endif %}"
|
||||
- "libvirtd:/var/lib/libvirt"
|
||||
- "nova_compute:/var/lib/nova/"
|
||||
|
||||
|
@ -80,7 +80,7 @@
|
||||
roles:
|
||||
- { role: iscsi,
|
||||
tags: iscsi,
|
||||
when: enable_cinder_backend_lvm | bool }
|
||||
when: enable_iscsid | bool }
|
||||
|
||||
- hosts:
|
||||
- multipathd
|
||||
|
@ -97,7 +97,7 @@ between nova-compute process and the server hosting LVG.
|
||||
|
||||
In order to use Cinder's LVM backend, a LVG named ``cinder-volumes`` should
|
||||
exist on the server and following parameter must be specified in
|
||||
``globals.yml``. ::
|
||||
``globals.yml`` ::
|
||||
|
||||
enable_cinder_backend_lvm: "yes"
|
||||
|
||||
@ -126,3 +126,13 @@ targeted for nova compute role.
|
||||
::
|
||||
|
||||
mount -t configfs /etc/rc.local /sys/kernel/config
|
||||
|
||||
Cinder backend with external iSCSI storage
|
||||
==========================================
|
||||
|
||||
In order to use external storage system (like one from EMC or NetApp)
|
||||
the following parameter must be specified in ``globals.yml`` ::
|
||||
|
||||
enable_cinder_backend_iscsi: "yes"
|
||||
|
||||
Also ``enable_cinder_backend_lvm`` should be set to "no" in this case.
|
||||
|
@ -119,6 +119,7 @@ kolla_internal_vip_address: "10.10.10.254"
|
||||
#enable_ceph: "no"
|
||||
#enable_ceph_rgw: "no"
|
||||
#enable_cinder: "no"
|
||||
#enable_cinder_backend_iscsi: "no"
|
||||
#enable_cinder_backend_lvm: "no"
|
||||
#enable_cloudkitty: "no"
|
||||
#enable_congress: "no"
|
||||
|
Loading…
Reference in New Issue
Block a user