Bug 1905186

Summary: [OSP17] Install 'daxio' for virtual persistent memory (PMEM) support
Product: Red Hat OpenStack Reporter: Martin Schuppert <mschuppe>
Component: openstack-tripleo-commonAssignee: Martin Schuppert <mschuppe>
Status: CLOSED ERRATA QA Contact: David Rosenfeld <drosenfe>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.2 (Train)CC: alifshit, drosenfe, fdeutsch, kchamart, mburns, mschuppe, slinaber
Target Milestone: betaKeywords: Patch, Triaged
Target Release: 17.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-common-14.0.1-0.20210210012920.4a39566.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1905154 Environment:
Last Closed: 2022-09-21 12:13:24 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:    
Bug Blocks: 1791824, 1905154, 1905188    

Description Martin Schuppert 2020-12-07 16:59:33 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 8 errata-xmlrpc 2022-09-21 12:13:24 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 (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), 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/RHEA-2022:6543