Uploaded image for project: 'lacp'
  1. lacp
  2. LACP-20

Same LAG group id is generated on bringing down the bond interface and then getting it up again

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • unspecified
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 5162

    Description

      On doing a LACP timeout scenario, the ports associated with the bond interface would wait for 90 sec under the LAG group before moving to non-lag group. In this case, the LAG group id would be removed as there are no LAG’s. But on bringing up the bond interface again, the LAG group that gets created is assigned the same LAG group id. It looks like the LAG group id is retained and not cleared on the datastore and hence the problem.
      OVS log:
      -------------
      Initial LAG creation,
      mininet> sh ovs-ofctl -O Openflow13 dump-groups s1
      OFPST_GROUP_DESC reply (OF1.3) (xid=0x2):
      group_id=56923,type=select,bucket=weight:0,actions=output:1,bucket=weight:0,actions=output:2
      group_id=15350,type=all,bucket=weight:0,actions=drop
      mininet>
      mininet>
      mininet>
      mininet>
      Bond interface down scenario for performing the timeout case,
      mininet> py net.get('h1').cmd('ifconfig bond0 down')
      Waits for 90 sec
      OFPST_GROUP_DESC reply (OF1.3) (xid=0x2):
      group_id=56923,type=select,bucket=weight:0,actions=output:1,bucket=weight:0,actions=output:2
      group_id=15350,type=all,bucket=weight:0,actions=drop
      mininet>
      mininet>
      mininet>
      Post 90 secs,
      mininet> sh ovs-ofctl -O Openflow13 dump-groups s1
      OFPST_GROUP_DESC reply (OF1.3) (xid=0x2):
      group_id=15350,type=all,bucket=weight:0,actions=output:1,bucket=weight:0,actions=output:2
      mininet>
      mininet>
      mininet> py net.get('h1').cmd('ifconfig bond0 up')
      mininet>
      After bond interface bringup,
      mininet> sh ovs-ofctl -O Openflow13 dump-groups s1
      OFPST_GROUP_DESC reply (OF1.3) (xid=0x2):
      group_id=56923,type=select,bucket=weight:0,actions=output:1,bucket=weight:0,actions=output:2
      group_id=15350,type=all,bucket=weight:0,actions=drop
      The same group id gets created prior to the bond interface down and after the bond up scenario as well. Looks like the LAG group id is still retained and not cleared from the datastore.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kalaiselvi_k@dell.com Kalaiselvi
            mahesh_manivasagam@dell.com Mahesh Manivasagam
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: