Bug 1905154

Summary: [OSP 16.2] Install 'daxio' for virtual persistent memory (PMEM) support
Product: Red Hat OpenStack Reporter: Kashyap Chamarthy <kchamart>
Component: openstack-containersAssignee: Martin Schuppert <mschuppe>
Status: CLOSED ERRATA QA Contact: David Rosenfeld <drosenfe>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.2 (Train)CC: m.andre, mburns, mschuppe, shrjoshi, slinaber
Target Milestone: betaKeywords: Patch, Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-nova-compute-container-16.2.0-12 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1905186 1905188 (view as bug list) Environment:
Last Closed: 2021-09-15 13:18:18 UTC Type: Bug
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: 1905186    
Bug Blocks: 1905188    

Description Kashyap Chamarthy 2020-12-07 16:24:56 UTC
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 3 errata-xmlrpc 2021-09-15 13:18:18 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.2 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/RHEA-2021:3489