Use iSCSI multipath for libvirt

* Multipath daemon allows to reach block devices
via multiple paths for better resiliency and performance.
Multipathd periodically checks the failed iscsi paths
and maintains a list of valid paths. Libvirt can use more
than one iSCSI path when option volume_use_multipath is set
and when multipathd enabled.

Change-Id: I54629656803c4989f7673e8c69d2a820609b5960
Implements: blueprint nova-libvirt-multipath-iscsi
This commit is contained in:
Florian LEDUC 2020-01-02 17:11:32 +01:00 committed by Radosław Piliszek
parent a90aa3e443
commit 56710de59d
2 changed files with 7 additions and 0 deletions

View File

@ -24,3 +24,6 @@ virt_type = {{ nova_compute_virt_type }}
{% if nova_libvirt_cpu_mode %}
cpu_mode = {{ nova_libvirt_cpu_mode }}
{% endif %}
{% if enable_multipathd | bool %}
volume_use_multipath = True
{% endif %}

View File

@ -0,0 +1,4 @@
---
upgrade:
- |
Enabling multipathd will now configure Nova to use it.