Duplicate adding objects in os-net-config if any of its member is a sriov_pf

Bug #2020100 reported by waleed mousa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-net-config
Fix Released
Undecided
Unassigned

Bug Description

Bug Description:

Currently when having an object and that object has an sriov_pf as a member in its tree, os-net-config code will add this object twice.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-net-config (master)
Changed in os-net-config:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-net-config (master)

Reviewed: https://review.opendev.org/c/openstack/os-net-config/+/883514
Committed: https://opendev.org/openstack/os-net-config/commit/7996a2e79e607aed3036bf3a851bde318ff0fef7
Submitter: "Zuul (22348)"
Branch: master

commit 7996a2e79e607aed3036bf3a851bde318ff0fef7
Author: waleedm <email address hidden>
Date: Thu May 18 13:54:39 2023 +0000

    Refactor check_configure_sriov to prevent dublicate adding sriov_pfs

    Cuurent implementation of adding objects is dublicating adding
    objects that have sriov_pf members.
    The patch refactors check_configure_sriov to check if the object
    itself or any of its tree members are sriov_pf so adding that object
    will happen once

    Closes-Bug: #2020100
    Change-Id: I3895a5200bc97a294a8b5774c24972f1f58b40bf

Changed in os-net-config:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/os-net-config train-eol

This issue was fixed in the openstack/os-net-config train-eol 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.