From ed29cb61b808187288479a050053ca8604b9a123 Mon Sep 17 00:00:00 2001 From: Radosław Piliszek Date: Mon, 16 Sep 2019 19:35:47 +0200 Subject: Add volume-related packages to zun-compute image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This lets Zun containers use Cinder volumes. Zun-compute formats attached block devices. ext* and xfs are the most common filesystems and have tools included in other relevant images. In case of Ceph ceph-common is required for rbd attachment. iSCSI is supported via packages installed in base. Change-Id: Ib094ae8fcc8468949b3cd162a1cedba3fdfd3a47 Related-bug: #1797448 Signed-off-by: Radosław Piliszek --- docker/zun/zun-compute/Dockerfile.j2 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docker') diff --git a/docker/zun/zun-compute/Dockerfile.j2 b/docker/zun/zun-compute/Dockerfile.j2 index 0d8d385c8..5587c1cc7 100644 --- a/docker/zun/zun-compute/Dockerfile.j2 +++ b/docker/zun/zun-compute/Dockerfile.j2 @@ -13,7 +13,10 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \ {% endif %} {% set zun_compute_packages = [ + 'ceph-common', + 'e2fsprogs', 'pciutils', + 'xfsprogs', ] %} {{ macros.install_packages(zun_compute_packages | customizable("packages")) }} -- cgit v1.2.3