← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1957161] Re: Wrong ACTIVE status of subports attached to a trunk whose parent is DOWN

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/824378
Committed: https://opendev.org/openstack/neutron/commit/15d6cfffc9f3c63a7bac75f8d04beaae82ddc794
Submitter: "Zuul (22348)"
Branch:    master

commit 15d6cfffc9f3c63a7bac75f8d04beaae82ddc794
Author: Luis Tomas Bolivar <ltomasbo@xxxxxxxxxx>
Date:   Wed Jan 12 11:45:53 2022 +0100

    Ensure subports status is aligned with parent port
    
    Subports of a trunk should have the same status as the parent port.
    However, with ovn, if the parent port is in DOWN status, the subports
    are transitioned to ACTIVE as soon as they are attached to the trunk.
    
    This patch ensure the status set on the subports when being attached
    matches the one on the parent port.
    
    Closes-Bug: #1957161
    Change-Id: I26c43c2909b635e8b21306ea1880da3877477a17


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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1957161

Title:
  Wrong ACTIVE status of subports attached to a trunk whose parent is
  DOWN

Status in neutron:
  Fix Released

Bug description:
  Subports of a trunk should have the same status as the parent port.
  However, with ovn, if the parent port is in DOWN status, the subports
  are transitioned to ACTIVE as soon as they are attached to the trunk

  Steps to reproduce
  - Create 2 ports , Port1 and Port2 (in DOWN status)
  - Create trunk: openstack network trunk create --parent-port Port1 trunk
  - Add Port2 as a subport of the trunk: openstack network trunk set --subport port=Port2,segmentation-type=vlan,segmentation-id=101 trunk
  - Check the status of Port2 is ACTIVE, while it should be DOWN

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



References