Zun: add Cinder (volume) iSCSI support

This makes iSCSI with Zun and Cinder work out-of-the-box.
(LVM included)

Change-Id: I2c4aa666ff9f952e32c450347d31ddbf2e58209e
Related-bug: #1797448
Closes-bug: #1848933
This commit is contained in:
Radosław Piliszek 2019-09-17 13:47:40 +02:00
parent 2585788982
commit 2447c161b8
2 changed files with 7 additions and 0 deletions

View File

@ -95,6 +95,8 @@ zun_compute_default_volumes:
- "/run:/run:shared" - "/run:/run:shared"
- "/usr/lib/docker:/usr/lib/docker" - "/usr/lib/docker:/usr/lib/docker"
- "/var/lib/docker:/var/lib/docker" - "/var/lib/docker:/var/lib/docker"
- "/lib/modules:/lib/modules:ro"
- "{% if enable_iscsid | bool %}iscsi_info:/etc/iscsi{% endif %}"
zun_extra_volumes: "{{ default_extra_volumes }}" zun_extra_volumes: "{{ default_extra_volumes }}"
zun_api_extra_volumes: "{{ zun_extra_volumes }}" zun_api_extra_volumes: "{{ zun_extra_volumes }}"

View File

@ -0,0 +1,5 @@
---
features:
- |
Adds support for iSCSI-based (including LVM) Cinder volumes
to Zun deployment.