summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorVladislav Belogrudov <v.belogrudov@yadro.com>2022-04-27 10:54:25 +0300
committerVladislav Belogrudov <v.belogrudov@yadro.com>2022-04-27 10:57:16 +0300
commitb9aa91381391c8aaabc7c76de39e5ee258562f4c (patch)
treec06c20c1a49479fb38c8a016fb2904191ff594bc /docker
parentb02f643db03694074293858470a1db36246b4a0e (diff)
downloadkolla-b9aa91381391c8aaabc7c76de39e5ee258562f4c.tar.gz
kolla-b9aa91381391c8aaabc7c76de39e5ee258562f4c.zip
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
Diffstat (limited to 'docker')
-rw-r--r--docker/cinder/cinder-volume/Dockerfile.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/cinder/cinder-volume/Dockerfile.j2 b/docker/cinder/cinder-volume/Dockerfile.j2
index 3f2ea6bd1..52542eabe 100644
--- a/docker/cinder/cinder-volume/Dockerfile.j2
+++ b/docker/cinder/cinder-volume/Dockerfile.j2
@@ -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',
@@ -17,6 +18,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',