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

Bug 2135675

Summary: NovaLibvirtMaxQueues parameter is not properly propagated to nova::compute::libvirt::max_queues:
Product: Red Hat OpenStack Reporter: Keigo Noha <knoha>
Component: openstack-tripleo-heat-templatesAssignee: Bogdan Dobrelya <bdobreli>
Status: CLOSED ERRATA QA Contact: Joe H. Rahme <jhakimra>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.2 (Train)CC: alifshit, astupnik, bdobreli, mburns, tkajinam
Target Milestone: z5Keywords: Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-11.6.1-2.20221116145216.073030b.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-26 12:16:47 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 Keigo Noha 2022-10-18 07:16:36 UTC
Description of problem:
NovaLibvirtMaxQueues parameter is not properly propagated to nova::compute::libvirt::max_queues:

In the current implementation in OSP16.2, 

~~~
    908             if:
    909             - nova_libvirt_max_queues_set
    910             - nova::compute::libvirt::max_queues: {get_attr: [RoleParametersValue, value, nova_libvirt_max_queues]}
    911             - {}
~~~

However, nova_libvirt_max_queues is not defined in T-H-T.
I think we need to backport the following fixes.
https://review.opendev.org/c/openstack/tripleo-heat-templates/+/847530
https://review.opendev.org/c/openstack/tripleo-heat-templates/+/853808

Version-Release number of selected component (if applicable):
OSP16.2

How reproducible:
Every time

Steps to Reproduce:
1. Set NovaLibvirtMaxQueues to specific values, 8.
2. Deploy overcloud.
3. Confirm [libvirt] max_queues in nova.conf in nova-compute.

Actual results:


Expected results:


Additional info:

Comment 1 Artom Lifshitz 2022-10-25 15:23:13 UTC
Just FYI, this is the deployment aspect of the following rhos-prio escalations's (https://bugzilla.redhat.com/show_bug.cgi?id=2135392) workaround.

Comment 13 errata-xmlrpc 2023-04-26 12:16:47 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.5 (Train) bug fix and enhancement 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-2023:1763