Merge "nova-compute: add ndctl to expose NVDIMMs to guests"
This commit is contained in:
commit
b53ddab4b6
@ -18,6 +18,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
|||||||
'e2fsprogs',
|
'e2fsprogs',
|
||||||
'genisoimage',
|
'genisoimage',
|
||||||
'iscsi-initiator-utils',
|
'iscsi-initiator-utils',
|
||||||
|
'ndctl',
|
||||||
'nfs-utils',
|
'nfs-utils',
|
||||||
'nvme-cli',
|
'nvme-cli',
|
||||||
'openstack-nova-compute',
|
'openstack-nova-compute',
|
||||||
@ -58,6 +59,14 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
|||||||
'targetcli-fb',
|
'targetcli-fb',
|
||||||
'xfsprogs'
|
'xfsprogs'
|
||||||
] %}
|
] %}
|
||||||
|
# FIXME(pkopec): since Ubuntu 19.04 'ndctl' package is available
|
||||||
|
# for other archs than 'x86_64
|
||||||
|
{% if base_distro == 'debian' or
|
||||||
|
(base_distro == 'ubuntu' and base_arch == 'x86_64') %}
|
||||||
|
{% set nova_compute_packages = nova_compute_packages + [
|
||||||
|
'ndctl'
|
||||||
|
] %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{{ macros.install_packages(nova_compute_packages | customizable("packages")) }}
|
{{ macros.install_packages(nova_compute_packages | customizable("packages")) }}
|
||||||
|
|
||||||
@ -75,6 +84,7 @@ RUN rm -f /etc/nova/nova-compute.conf
|
|||||||
'genisoimage',
|
'genisoimage',
|
||||||
'iscsi-initiator-utils',
|
'iscsi-initiator-utils',
|
||||||
'libosinfo',
|
'libosinfo',
|
||||||
|
'ndctl',
|
||||||
'nfs-utils',
|
'nfs-utils',
|
||||||
'openvswitch',
|
'openvswitch',
|
||||||
'parted',
|
'parted',
|
||||||
@ -115,6 +125,14 @@ RUN rm -f /etc/nova/nova-compute.conf
|
|||||||
'qemu-efi'
|
'qemu-efi'
|
||||||
] %}
|
] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
# FIXME(pkopec): since Ubuntu 19.04 'ndctl' package is available
|
||||||
|
# for other archs than 'x86_64'
|
||||||
|
{% if base_distro == 'debian' or
|
||||||
|
(base_distro == 'ubuntu' and base_arch == 'x86_64') %}
|
||||||
|
{% set nova_compute_packages = nova_compute_packages + [
|
||||||
|
'ndctl'
|
||||||
|
] %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
RUN mkdir -p /etc/ceph
|
RUN mkdir -p /etc/ceph
|
||||||
|
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Adding `ndctl` package to nova-compute to expose NVDIMM namespaces
|
||||||
|
to guests. The package is needed to manage PMEM namespaces.
|
Loading…
Reference in New Issue
Block a user