From 4e6add7dbd80ef9326cc8a7e2afd5f6d02f1f68f Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Tue, 29 Aug 2017 15:23:37 +0800 Subject: [PATCH] Install multipath binary in nova-compute image multipath binary is required after enabled multipath in nova. Change-Id: I0a1d85597999415cab11feb71a7fdfd7af3f7148 Closes-Bug: #1713639 --- docker/nova/nova-compute/Dockerfile.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/nova/nova-compute/Dockerfile.j2 b/docker/nova/nova-compute/Dockerfile.j2 index 3accb12d01..8a919de9d2 100644 --- a/docker/nova/nova-compute/Dockerfile.j2 +++ b/docker/nova/nova-compute/Dockerfile.j2 @@ -9,6 +9,7 @@ MAINTAINER {{ maintainer }} {% if base_distro in ['centos', 'oraclelinux', 'rhel'] %} {% set nova_compute_packages = [ + 'device-mapper-multipath', 'openstack-nova-compute', 'openvswitch', 'sysfsutils', @@ -33,6 +34,7 @@ MAINTAINER {{ maintainer }} 'ironic-common', 'python-ironicclient', 'genisoimage', + 'multipath-tools', 'nfs-common', 'open-iscsi', 'targetcli', @@ -48,6 +50,7 @@ RUN rm -f /etc/nova/nova-compute.conf {% if base_distro in ['centos', 'oraclelinux', 'rhel'] %} {% set nova_compute_packages = [ + 'device-mapper-multipath', 'dosfstools', 'libvirt-python', 'libosinfo', @@ -70,6 +73,7 @@ RUN rm -f /etc/nova/nova-compute.conf 'qemu-utils', 'ceph-common', 'genisoimage', + 'multipath-tools', 'nfs-common', 'open-iscsi', 'targetcli',