From 983920efbae375322f520cd6b3b8b4062b1f83eb Mon Sep 17 00:00:00 2001 From: rajinir Date: Thu, 18 Oct 2018 10:36:01 -0500 Subject: [PATCH] Support for libvirt volume multipath Adds support for libvirt volume_use_multipath the ability to use multipath connection of the iSCSI or FC volume. Volumes can be connected in the LibVirt as multipath devices. Adds new parameter NovaLibvirtVolumeUseMultipath. Change-Id: I18a030a445de652fbc492029afec6558a9661857 --- puppet/services/nova-compute.yaml | 8 ++++++++ ...olume_use_multipath-for-libvirt--c8e93a0bb83e0bc8.yaml | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 releasenotes/notes/volume_use_multipath-for-libvirt--c8e93a0bb83e0bc8.yaml diff --git a/puppet/services/nova-compute.yaml b/puppet/services/nova-compute.yaml index 5f1abe02c6..b2cecec7bc 100644 --- a/puppet/services/nova-compute.yaml +++ b/puppet/services/nova-compute.yaml @@ -196,6 +196,12 @@ parameters: type: number tags: - role_specific + NovaLibvirtVolumeUseMultipath: + default: false + description: Whether to enable or not the multipath connection of the volumes. + type: boolean + tags: + - role_specific conditions: enable_live_migration_tunnelled: @@ -238,6 +244,7 @@ resources: nova::compute::libvirt::rx_queue_size: NovaLibvirtRxQueueSize nova::compute::libvirt::tx_queue_size: NovaLibvirtTxQueueSize nova::compute::libvirt::file_backed_memory: NovaLibvirtFileBackedMemory + nova::compute::libvirt::volume_use_multipath: NovaLibvirtVolumeUseMultipath - values: {get_param: [RoleParameters]} - values: NovaVcpuPinSet: {get_param: NovaVcpuPinSet} @@ -249,6 +256,7 @@ resources: NovaLibvirtRxQueueSize: {get_param: NovaLibvirtRxQueueSize} NovaLibvirtTxQueueSize: {get_param: NovaLibvirtTxQueueSize} NovaLibvirtFileBackedMemory: {get_param: NovaLibvirtFileBackedMemory} + NovaLibvirtVolumeUseMultipath: {get_param: NovaLibvirtVolumeUseMultipath} outputs: role_data: diff --git a/releasenotes/notes/volume_use_multipath-for-libvirt--c8e93a0bb83e0bc8.yaml b/releasenotes/notes/volume_use_multipath-for-libvirt--c8e93a0bb83e0bc8.yaml new file mode 100644 index 0000000000..dc5341349f --- /dev/null +++ b/releasenotes/notes/volume_use_multipath-for-libvirt--c8e93a0bb83e0bc8.yaml @@ -0,0 +1,7 @@ +--- +features: + - | + Add support for libvirt volume_use_multipath the ability to + use multipath connection of the iSCSI or FC volume. + Volumes can be connected in the LibVirt as multipath devices. + Adds new parameter "NovaLibvirtVolumeUseMultipath".