Add xfsprogs to nova-compute

xfsprogs is required for formatting XFS ephemeral disk partitions
when format=xfs is specified as instance create failes with
'mkfs.xfs: No such file or directory' due to missing xfsprogs
package in the nova-compute container.

Closes-Bug: #1850610

Change-Id: Iaf3414464f3dd747427247339c6b201b352063cb
(cherry picked from commit 9b1a243a3a)
This commit is contained in:
Martin Schuppert 2019-10-30 09:43:23 +01:00
parent 7115cde259
commit 23e488dfe7
1 changed files with 8 additions and 4 deletions

View File

@ -20,7 +20,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'openvswitch',
'parted',
'sysfsutils',
'targetcli'
'targetcli',
'xfsprogs'
] %}
{% if distro_python_version.startswith('3') %}
@ -61,7 +62,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'python3-rbd',
'python3-rtslib-fb',
'sysfsutils',
'targetcli-fb'
'targetcli-fb',
'xfsprogs'
] %}
{{ macros.install_packages(nova_compute_packages | customizable("packages")) }}
@ -88,7 +90,8 @@ RUN rm -f /etc/nova/nova-compute.conf
'python-rtslib',
'qemu-img-ev',
'sysfsutils',
'targetcli'
'targetcli',
'xfsprogs'
] %}
{% elif base_package_type == 'deb' %}
@ -107,7 +110,8 @@ RUN rm -f /etc/nova/nova-compute.conf
'python-libvirt',
'python-rtslib-fb',
'qemu-utils',
'targetcli-fb'
'targetcli-fb',
'xfsprogs'
] %}
{% if base_arch == "aarch64" %}