Bug 2140881 - _NETWORK_CONFIG_SCHEMA - should allow num_dpdk_interface_rx_queues
Summary: _NETWORK_CONFIG_SCHEMA - should allow num_dpdk_interface_rx_queues
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 17.0 (Wallaby)
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: z1
: 17.0
Assignee: Harald Jensås
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-08 03:10 UTC by Ryo Hayakawa
Modified: 2023-01-25 12:30 UTC (History)
8 users (show)

Fixed In Version: tripleo-ansible-3.3.1-0.20221108110245.fa5422f.el9ost
Doc Type: Bug Fix
Doc Text:
Before this update, the `network_config` schema in the bare-metal provisioning definition did not allow setting the `num_dpdk_interface_rx_queues` parameter, which caused a schema validation error that blocked the bare-metal node provisioning process. With this update, the schema validation error no longer occurs when the 'num_dpdk_interface_rx_queues' parameter is used.
Clone Of:
Environment:
Last Closed: 2023-01-25 12:29:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 863794 0 None MERGED num_dpdk_interface_rx_queues support net conf schema 2022-11-09 08:58:02 UTC
Red Hat Issue Tracker OSP-19943 0 None None None 2022-11-08 03:14:56 UTC
Red Hat Product Errata RHBA-2023:0271 0 None None None 2023-01-25 12:30:14 UTC

Comment 1 Brendan Shephard 2022-11-08 04:19:14 UTC
Hey,

Yeah, that's the patch you will need here. I have created the cherry-pick back to Wallaby / OSP17 now:
https://review.opendev.org/c/openstack/tripleo-ansible/+/863794

So with that patch, you will need to specify that variable under the network_config dictionary in your baremetal_deployment.yaml file like so:


- name: Compute
  count: 1
  hostname_format: compute-%index%
  ansible_playbooks:
    - playbook: bm-deploy-playbook.yaml
  defaults:
    profile: compute-leaf2
    networks:
      - network: internal_api
        subnet: internal_api_subnet02
      - network: tenant
        subnet: tenant_subnet02
      - network: storage
        subnet: storage_subnet02
    network_config:
      template: templates/multiple_nics/multiple_nics_dvr.j2
      num_dpdk_interface_rx_queues: 2.   <<<---- Enter the number of queues you want here

Comment 2 Harald Jensås 2022-11-08 09:45:50 UTC
Possible workaround:

Run 'openstack overcloud node provision' without the '--network-config' option.

Use a Heat environment file to define the nic-config template:

parameter_defaults:
  ComputeOvsDpdkNetworkConfigTemplate: <path_to_template>
  NumDpdkInterfaceRxQueues: 4


Not using the '--network-config' option means that the network configuration will be applied later in the process when 'openstack overcloud deploy' run.
When the stack has been created and config download deploy playbooks execute, node network config will be applied and the THT parameter `NumDpdkInterfaceRxQueues` can be used to control the desired setting in this case.

NOTE:
 Make sure to set the <%ROLE%>NetworkConfigTemplate parameter for all roles, not only for ComputeOvsDpdk role since not using '--network-config' will apply to all roles.

Comment 20 errata-xmlrpc 2023-01-25 12:29:58 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 17.0.1 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:0271


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