Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1905188

Summary: [OSP 16.1] Install 'daxio' for virtual persistent memory (PMEM) support
Product: Red Hat OpenStack Reporter: Martin Schuppert <mschuppe>
Component: openstack-containersAssignee: Martin Schuppert <mschuppe>
Status: CLOSED ERRATA QA Contact: Arik Chernetsky <achernet>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: apetrich, drosenfe, egallen, jschluet, kchamart, m.andre, mburns, mschuppe, slinaber
Target Milestone: z4Keywords: Patch, Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-nova-compute-container-16.1.4-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1905154 Environment:
Last Closed: 2021-03-17 20:46:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1905154, 1905186    
Bug Blocks: 1834185    

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