aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Walker (Daviey) <email@daviey.com>2017-03-12 19:25:18 +0000
committerDave Walker (Daviey) <email@daviey.com>2017-03-12 19:31:29 +0000
commit76cae7fe0bb4cfef0fbd1eb232098e7b1e6775eb (patch)
treedef071db59485e086f90b289a950f990aa4e603c
parent8d37c9fe3500627684225a00aa8a94446c78eec3 (diff)
downloadkolla-76cae7fe0bb4cfef0fbd1eb232098e7b1e6775eb.tar.gz
kolla-76cae7fe0bb4cfef0fbd1eb232098e7b1e6775eb.zip
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) <email@daviey.com>
-rw-r--r--docker/nova/nova-compute/Dockerfile.j22
1 files changed, 2 insertions, 0 deletions
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',