← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2071972] Re: Network data missing port group links

 

Reviewed:  https://review.opendev.org/c/openstack/nova/+/923530
Committed: https://opendev.org/openstack/nova/commit/8558f59630f81beba2789e6deef2cb5e6b367f20
Submitter: "Zuul (22348)"
Branch:    master

commit 8558f59630f81beba2789e6deef2cb5e6b367f20
Author: Mohammed Naser <mnaser@xxxxxxxxxxxx>
Date:   Thu Jul 4 14:09:23 2024 -0400

    Fix port group network metadata generation
    
    When switching to using OpenStack SDK, there was a change missed
    that didn't account for the SDK returning generators instead of
    a list, so the loop on ports and port groups made it so that it
    started returning an empty list afterwards.
    
    Since there is no a masse of ports for a baremetal system usually,
    we take the generator into a list right away to prevent this.
    
    Closes-Bug: #2071972
    Change-Id: I90766f8c225d834bb2eec606754107ea6a212f6d


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/2071972

Title:
  Network data missing port group links

Status in Ironic:
  Invalid
Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  https://github.com/openstack/nova/commit/6309013283e37e2cc259473af05413e01a0101af

  This change moved to using openstacksdk for getting ports and port
  groups, however, it seems that the lack of calling `list()` on the
  port and port group means that after it's iterated once, it returns an
  empty list which fails to boot bonded interfaces.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ironic/+bug/2071972/+subscriptions



References