Add multipath to cinder-volume

Cinder-volume container can operate on multipath devices but
fails to do so due to absent multipath package for several images.
This fix explicitely adds multipath to the image.

Closes-Bug: #1970541
Change-Id: I14af40078508b06e46866b77ab200228ec827a0d
(cherry picked from commit b9aa913813)
This commit is contained in:
Vladislav Belogrudov 2022-04-27 10:54:25 +03:00
parent 1912c58dc1
commit 4343f56e42
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% if base_package_type == 'rpm' %}
{% set cinder_volume_packages = [
'device-mapper-multipath',
'nfs-utils',
'nvmetcli',
'sysfsutils',
@ -23,6 +24,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% elif base_package_type == 'deb' %}
{% set cinder_volume_packages = [
'lsscsi',
'multipath-tools',
'nfs-common',
'nvme-cli',
'sysfsutils',