Bug 1905188 - [OSP 16.1] Install 'daxio' for virtual persistent memory (PMEM) support
Summary: [OSP 16.1] Install 'daxio' for virtual persistent memory (PMEM) support
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-containers
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z4
: 16.1 (Train on RHEL 8.2)
Assignee: Martin Schuppert
QA Contact: Arik Chernetsky
URL:
Whiteboard:
Depends On: 1905154 1905186
Blocks: 1834185
TreeView+ depends on / blocked
 
Reported: 2020-12-07 17:01 UTC by Martin Schuppert
Modified: 2021-03-17 20:47 UTC (History)
9 users (show)

Fixed In Version: openstack-nova-compute-container-16.1.4-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1905154
Environment:
Last Closed: 2021-03-17 20:46:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1907124 0 None None None 2020-12-07 17:20:00 UTC
OpenStack gerrit 767335 0 None MERGED Add daxio for nvdimm scenario 2021-02-16 00:44:15 UTC
Red Hat Product Errata RHBA-2021:0919 0 None None None 2021-03-17 20:47:09 UTC

Description Martin Schuppert 2020-12-07 17:01:14 UTC
+++ This bug was initially created as a clone of Bug #1905154 +++

What?
-----

Install the  'ndctl-libs', 'daxio' and 'daxio-libs' RPMs  in the 
'nova_compute' container it brings us the useful `virt-admin` tool.

The 'ndctl' RPM itself was added in this commit[1], but it missed to add
the above-mentioned RPMs.

PS: I'm not 100% sure if we also need 'daxio' in the 'nova_libvirt' 
    container too.


[1] https://github.com/openstack/kolla/commit/f9ea23d940
    -- nova-compute: add ndctl to expose NVDIMMs to guests

Why?
----

Having 'ndctl-libs' and 'daxio', 'daxio-libs' is a prerequisite[2] for
Nova's virtual persistent memory feature.  And Nova's code expects the
`daxio` utility (from /nova/privsep/libvirt.py):


    @nova.privsep.sys_admin_pctxt.entrypoint
    def cleanup_vpmem(devpath):
        daxio_cmd = ['daxio', '-z', '-o', '%s' % devpath]
        processutils.execute(*daxio_cmd)


[2] https://specs.openstack.org/openstack/nova-specs/specs/train/implemented/virtual-persistent-memory.html#virtual-persistent-memory-disposal

Comment 12 errata-xmlrpc 2021-03-17 20:46:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 16.1.4 containers bug fix advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:0919


Note You need to log in before you can comment on or make changes to this bug.