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 Conflicts: docker/nova/nova-compute/Dockerfile.j2 Change-Id: Iaf3414464f3dd747427247339c6b201b352063cb (cherry picked from commit9b1a243a3a
) (cherry picked from commit23e488dfe7
)
This commit is contained in:
parent
356096d0d8
commit
d1731da633
|
@ -23,7 +23,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||||
'python-oslo-vmware',
|
'python-oslo-vmware',
|
||||||
'python-rtslib',
|
'python-rtslib',
|
||||||
'sysfsutils',
|
'sysfsutils',
|
||||||
'targetcli'
|
'targetcli',
|
||||||
|
'xfsprogs'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{{ macros.install_packages(nova_compute_packages | customizable("packages")) }}
|
{{ macros.install_packages(nova_compute_packages | customizable("packages")) }}
|
||||||
|
@ -47,7 +48,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||||
'python-oslo.vmware',
|
'python-oslo.vmware',
|
||||||
'python-rtslib-fb',
|
'python-rtslib-fb',
|
||||||
'sysfsutils',
|
'sysfsutils',
|
||||||
'targetcli-fb'
|
'targetcli-fb',
|
||||||
|
'xfsprogs'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
# systemd is needed to get python-guestfs installed
|
# systemd is needed to get python-guestfs installed
|
||||||
|
@ -81,7 +83,8 @@ RUN rm -f /etc/nova/nova-compute.conf
|
||||||
'python-rtslib',
|
'python-rtslib',
|
||||||
'qemu-img-ev',
|
'qemu-img-ev',
|
||||||
'sysfsutils',
|
'sysfsutils',
|
||||||
'targetcli'
|
'targetcli',
|
||||||
|
'xfsprogs'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['debian', 'ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
@ -100,7 +103,8 @@ RUN rm -f /etc/nova/nova-compute.conf
|
||||||
'python-libvirt',
|
'python-libvirt',
|
||||||
'python-rtslib-fb',
|
'python-rtslib-fb',
|
||||||
'qemu-utils',
|
'qemu-utils',
|
||||||
'targetcli-fb'
|
'targetcli-fb',
|
||||||
|
'xfsprogs'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% if base_arch == "aarch64" %}
|
{% if base_arch == "aarch64" %}
|
||||||
|
|
Loading…
Reference in New Issue