Bug 2141835

Summary: [RHOSP16.1] DerivePciWhitelistEnabled Is Not Defined
Product: Red Hat OpenStack Reporter: Vadim Khitrin <vkhitrin>
Component: openstack-tripleo-heat-templatesAssignee: Vijayalakshmi Candappa <vcandapp>
Status: CLOSED ERRATA QA Contact: Joe H. Rahme <jhakimra>
Severity: high Docs Contact:
Priority: high    
Version: 16.1 (Train)CC: bshephar, hakhande, jelynch, jjoyce, mburns, mnietoji, pgrist, rdiazcam, stchen, vcandapp
Target Milestone: z9Keywords: Bugfix, Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-11.3.2-1.20221013153260.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-07 20:30:04 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:

Description Vadim Khitrin 2022-11-10 20:20:42 UTC
Description of problem:

DerivePciWhitelistEnabled is supposed to be set as True (https://opendev.org/openstack/tripleo-heat-templates/commit/cd8e682f09f1a59fb5ee2549f0740112059e4a11) but it is not defied as part of TripleO parameters.

TripleO parameters from stack: https://gist.github.com/vkhitrin/2b542912cd4413bf293354eff8bb99ab


Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-11.3.2-1.20221013153258.29a02c1.el8ost.noarch

How reproducible: Always


Steps to Reproduce:
1. Deploy overcloud with SR-IOV NIC partitioning
2.
3.

Actual results:
DerivePciWhitelistEnabled parameter is not defined when it should and PCI addresses are not derived correctly by default on NIC partitioning based setups.


Expected results:
DerivePciWhitelistEnabled parameter is defined when it should and PCI addresses are derived correctly by default on NIC partitioning based setups.


Additional info:

Comment 1 Vadim Khitrin 2022-11-10 21:58:40 UTC
This might not be related to the bug but even when providing this parameter manually the script `/var/lib/pci_passthrough_whitelist_scripts/derive_pci_passthrough_whitelist.py` is not deriving the parameters as expected.

Comment 2 Miguel Angel Nieto 2022-11-11 08:47:07 UTC
There was a similar bug in osp13, solution may be similar
https://bugzilla.redhat.com/show_bug.cgi?id=1824248

Comment 22 errata-xmlrpc 2022-12-07 20:30:04 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 (Moderate: Red Hat OpenStack 16.1.9 (openstack-tripleo-heat-templates) security update), 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/RHSA-2022:8796