Bug 2218519 - [FFU] No PCI passthrough configration on computes after upgrade
Summary: [FFU] No PCI passthrough configration on computes after upgrade
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 17.1 (Wallaby)
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ga
: 17.1
Assignee: Juan Badia Payno
QA Contact: Khomesh Thakre
URL:
Whiteboard:
Depends On:
Blocks: 2016660 2129048 2129049
TreeView+ depends on / blocked
 
Reported: 2023-06-29 13:34 UTC by Ricardo Diaz
Modified: 2023-08-16 01:16 UTC (History)
7 users (show)

Fixed In Version: openstack-tripleo-heat-templates-14.3.1-1.20230519151017.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-16 01:15:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 887358 0 None MERGED Merge dict values no overwriting them 2023-07-04 13:55:05 UTC
Red Hat Issue Tracker OSP-26223 0 None None None 2023-06-29 13:38:27 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:16:28 UTC

Description Ricardo Diaz 2023-06-29 13:34:39 UTC
Description of problem:
There is no PCI passthrough configuration on computes after the upgrade. Found passthrough_whitelist not set /var/lib/config-data/puppet-generated/nova_libvirt/etc/nova/nova.conf:
~~~
#
# White list of PCI devices available to VMs. For more information, refer to the
# documentation. (multi valued)
# Deprecated group;name - DEFAULT;pci_passthrough_whitelist
#passthrough_whitelist =
~~~

The sriov-config.yaml provided:
~~~
[stack@undercloud-0 ~]$ cat ospd-16.2-vxlan-hw-offload-ctlplane-dataplane-bonding-hybrid/sriov-config.yaml 
---
parameter_defaults:
  ComputeSriovOffloadParameters:
    NovaPCIPassthrough:
      # Geneve/VxLAN configuration for Mellanox HW-Offload NIC
      - devname: "enp4s0f0"
        trusted: "true"
        physical_network: null
      # VLAN configuration for Mellanox HW-Offload NIC
      - devname: "enp4s0f1"
        trusted: "true"
        physical_network: mx-network

[stack@undercloud-0 ~]$ grep sriov-config.yaml overcloud_deploy.sh
-e /home/stack/ospd-16.2-vxlan-hw-offload-ctlplane-dataplane-bonding-hybrid/sriov-config.yaml \
~~~

According to sriov-config.yaml we should have the nova.conf file like this:
~~~
#
# White list of PCI devices available to VMs. For more information, refer to the
# documentation. (multi valued)
# Deprecated group;name - DEFAULT;pci_passthrough_whitelist
#passthrough_whitelist =
passthrough_whitelist={"devname":"enp4s0f0","physical_network":null,"trusted":"true"}
passthrough_whitelist={"devname":"enp4s0f1","physical_network":"mx-network","trusted":"true"}
~~~

Version-Release number of selected component (if applicable):
17.1 FFU

How reproducible:
100%

Steps to Reproduce:
1.Perform FFU
2.
3.

Actual results:

Expected results:

Additional info:

Comment 14 errata-xmlrpc 2023-08-16 01:15:51 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.1 (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-2023:4577


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