_NETWORK_CONFIG_SCHEMA - should allow num_dpdk_interface_rx_queues

Bug #1989593 reported by Harald Jensås
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Harald Jensås

Bug Description

{{ num_dpdk_interface_rx_queues }} is used in NIC config templates for configurations with DPDK.

The schema[1] does not allow this, so it is not possible to set this value for the case when node networking is configured as part of node provisioning.

Workaround, deploy nodes without the '--network-config' so that networking is configured after heat stack create instead.

[1] https://opendev.org/openstack/tripleo-ansible/src/branch/master/tripleo_ansible/ansible_plugins/module_utils/baremetal_deploy.py#L50-L70

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (master)
Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/zed)

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/tripleo-ansible/+/863793

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/tripleo-ansible/+/863794

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/857731
Committed: https://opendev.org/openstack/tripleo-ansible/commit/c3315623fe23864ce34e63ae364c7a2d200679a4
Submitter: "Zuul (22348)"
Branch: master

commit c3315623fe23864ce34e63ae364c7a2d200679a4
Author: Harald Jensås <email address hidden>
Date: Wed Sep 14 17:29:08 2022 +0200

    num_dpdk_interface_rx_queues support net conf schema

    The network_config schema in the baremetal provision defintion
    did not allow setting the 'num_dpdk_interface_rx_queues'.

    This change adds the varaible to the schema, and adds the option
    in module: tripleo_generate_inventory_network_config. By default
    the value is 1, which is the same default used in THT for parameter
    NumDpdkInterfaceRxQueues.

    Closes-Bug: #1989593
    Change-Id: Ic28add116c369979b4038ce403451dc95dc2f53d

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (stable/zed)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/863793
Committed: https://opendev.org/openstack/tripleo-ansible/commit/f7088db68d62ad8c43c53dd239f83ea3b3576a2d
Submitter: "Zuul (22348)"
Branch: stable/zed

commit f7088db68d62ad8c43c53dd239f83ea3b3576a2d
Author: Harald Jensås <email address hidden>
Date: Wed Sep 14 17:29:08 2022 +0200

    num_dpdk_interface_rx_queues support net conf schema

    The network_config schema in the baremetal provision defintion
    did not allow setting the 'num_dpdk_interface_rx_queues'.

    This change adds the varaible to the schema, and adds the option
    in module: tripleo_generate_inventory_network_config. By default
    the value is 1, which is the same default used in THT for parameter
    NumDpdkInterfaceRxQueues.

    Closes-Bug: #1989593
    Change-Id: Ic28add116c369979b4038ce403451dc95dc2f53d
    (cherry picked from commit c3315623fe23864ce34e63ae364c7a2d200679a4)

tags: added: in-stable-zed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/863794
Committed: https://opendev.org/openstack/tripleo-ansible/commit/4b6c2e017c9ce408b6b421c1e6f9b6a073c8b96e
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 4b6c2e017c9ce408b6b421c1e6f9b6a073c8b96e
Author: Harald Jensås <email address hidden>
Date: Wed Sep 14 17:29:08 2022 +0200

    num_dpdk_interface_rx_queues support net conf schema

    The network_config schema in the baremetal provision defintion
    did not allow setting the 'num_dpdk_interface_rx_queues'.

    This change adds the varaible to the schema, and adds the option
    in module: tripleo_generate_inventory_network_config. By default
    the value is 1, which is the same default used in THT for parameter
    NumDpdkInterfaceRxQueues.

    Closes-Bug: #1989593
    Change-Id: Ic28add116c369979b4038ce403451dc95dc2f53d
    (cherry picked from commit c3315623fe23864ce34e63ae364c7a2d200679a4)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible 6.0.0

This issue was fixed in the openstack/tripleo-ansible 6.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.