From 190f81bc84be3ba8d398fc8db661a3539aa060a0 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 21 Jan 2021 17:33:50 +0100 Subject: nova-compute: 'pmdk-tools' is x86-64 only in Ubuntu 'bionic' Victoria+ branches use Ubuntu 'focal' where this package is available for aarch64 as well. Change-Id: I2076ab4a634418df5863174588a72e6c2ce8f05e --- docker/nova/nova-compute/Dockerfile.j2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docker') diff --git a/docker/nova/nova-compute/Dockerfile.j2 b/docker/nova/nova-compute/Dockerfile.j2 index efdb75aad..77e4d732a 100644 --- a/docker/nova/nova-compute/Dockerfile.j2 +++ b/docker/nova/nova-compute/Dockerfile.j2 @@ -62,7 +62,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'openvswitch-switch', 'open-iscsi', 'parted', - 'pmdk-tools', 'python3-cephfs', 'python3-guestfs', 'python3-ironicclient', @@ -76,10 +75,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build ] %} # FIXME(pkopec): since Ubuntu 19.04 'ndctl' package is available # for other archs than 'x86_64 + # NOTE(hrw): similar situation with 'pmdk-tools' {% if base_distro == 'debian' or (base_distro == 'ubuntu' and base_arch == 'x86_64') %} {% set nova_compute_packages = nova_compute_packages + [ 'ndctl', + 'pmdk-tools', ] %} {% endif %} @@ -149,7 +150,6 @@ RUN rm -f /etc/nova/nova-compute.conf 'nfs-common', 'open-iscsi', 'parted', - 'pmdk-tools', 'python3-cephfs', 'python3-guestfs', 'python3-libvirt', @@ -169,10 +169,12 @@ RUN rm -f /etc/nova/nova-compute.conf {% endif %} # FIXME(pkopec): since Ubuntu 19.04 'ndctl' package is available # for other archs than 'x86_64' + # NOTE(hrw): similar situation with 'pmdk-tools' {% if base_distro == 'debian' or (base_distro == 'ubuntu' and base_arch == 'x86_64') %} {% set nova_compute_packages = nova_compute_packages + [ 'ndctl', + 'pmdk-tools', ] %} {% endif %} -- cgit v1.2.3