From 2624c168695182919a90c8941a1e1765422dc486 Mon Sep 17 00:00:00 2001 From: Arnaud Morin Date: Mon, 7 Oct 2019 12:01:13 +0200 Subject: [PATCH] F (cherry picked from commit cf24853205d3f398c24a95aadc8fda539a45404c) --- libvirt.pp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libvirt.pp b/libvirt.pp index 261b258..487663d 100644 --- a/libvirt.pp +++ b/libvirt.pp @@ -137,6 +137,12 @@ # https://libvirt.org/logging.html # Defaults to undef # +# [*volume_use_multipath*] +# (optional) Use multipath connection of the +# iSCSI or FC volume. Volumes can be connected in the +# LibVirt as multipath devices. +# Defaults to $::os_service_default +# class nova::compute::libvirt ( $ensure_package = 'present', $libvirt_virt_type = 'kvm', @@ -163,6 +169,7 @@ class nova::compute::libvirt ( $preallocate_images = $::os_service_default, $manage_libvirt_services = true, $log_outputs = undef, + $volume_use_multipath = $::os_service_default, ) inherits nova::params { include ::nova::deps @@ -234,6 +241,7 @@ class nova::compute::libvirt ( 'libvirt/hw_disk_discard': value => $libvirt_hw_disk_discard; 'libvirt/hw_machine_type': value => $libvirt_hw_machine_type; 'libvirt/enabled_perf_events': value => join(any2array($libvirt_enabled_perf_events), ','); + 'libvirt/volume_use_multipath': value => $volume_use_multipath; } # cpu_model param is only valid if cpu_mode=custom