diff options
| author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2021-01-21 17:33:50 +0100 |
|---|---|---|
| committer | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2021-01-26 12:00:49 +0000 |
| commit | 190f81bc84be3ba8d398fc8db661a3539aa060a0 (patch) | |
| tree | 18f9e1b296eb816921eb64ce264447c6e768c64e | |
| parent | f6c4fc69d93754843709f045d0bf9ebf6c416cba (diff) | |
| download | kolla-190f81bc84be3ba8d398fc8db661a3539aa060a0.tar.gz kolla-190f81bc84be3ba8d398fc8db661a3539aa060a0.zip | |
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
| -rw-r--r-- | docker/nova/nova-compute/Dockerfile.j2 | 6 |
1 files changed, 4 insertions, 2 deletions
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 %} |
