From 76cae7fe0bb4cfef0fbd1eb232098e7b1e6775eb Mon Sep 17 00:00:00 2001 From: "Dave Walker (Daviey)" Date: Sun, 12 Mar 2017 19:25:18 +0000 Subject: Add mkfs.vfat to nova-compute source images Currently Windows and non-declared os_type images (defaults to Windows) attempt to format ephemeral volumes with mkfs.vfat but fail as this tool is not available in the container. This is resolved by installing dosfstools on the Source builds (as I believe this is handled in binary builds through dependencies). Change-Id: Iefa5fb0a16eed30aea935268f2a9becb1481b018 Closes-bug: #1672199 Signed-off-by: Dave Walker (Daviey) --- docker/nova/nova-compute/Dockerfile.j2 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docker/nova') diff --git a/docker/nova/nova-compute/Dockerfile.j2 b/docker/nova/nova-compute/Dockerfile.j2 index 925f6ba36..24e53c2ef 100644 --- a/docker/nova/nova-compute/Dockerfile.j2 +++ b/docker/nova/nova-compute/Dockerfile.j2 @@ -48,6 +48,7 @@ RUN rm -f /etc/nova/nova-compute.conf {% if base_distro in ['centos', 'oraclelinux', 'rhel'] %} {% set nova_compute_packages = [ + 'dosfstools', 'libvirt-devel', 'openvswitch', 'qemu-img', @@ -63,6 +64,7 @@ RUN rm -f /etc/nova/nova-compute.conf {% elif base_distro in ['ubuntu', 'debian'] %} {% set nova_compute_packages = [ + 'dosfstools', 'libvirt-dev', 'qemu-utils', 'ceph-common', -- cgit v1.2.3