Skip to content

Commit

Permalink
Use iSCSI multipath for libvirt
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
leducflorian authored and yoctozepto committed Aug 19, 2020
1 parent a90aa3e commit 56710de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ansible/roles/nova-cell/templates/nova.conf.d/libvirt.conf.j2
Expand Up @@ -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 %}
@@ -0,0 +1,4 @@
---
upgrade:
- |
Enabling multipathd will now configure Nova to use it.

0 comments on commit 56710de

Please sign in to comment.