[LACP-18] LACP flows are not installed for switches when their ID value set is set to a large number. Created: 26/Oct/15  Updated: 26/Oct/15  Resolved: 26/Oct/15

Status: Resolved
Project: lacp
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Mahesh Manivasagam Assignee: Kalaiselvi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 4525

 Description   

LACP flow entries are not added for switches whose ID is set to a large value. ---In case of smaller values, the LACP flow entry is getting installed and no issues are seen.

On setting the switch id to a long value, say 270765119705408, error messages are thrown and the LACP module can't recognize the switch itself resulting in the LACP flow not getting added up.

Issue seen with ODL SR2 image.

ODL controller logs:
---------------------
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowFeatureCapabilityFlowStats, class org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowFeatureCapabilityQueueStats], getMaxBuffers=256, getMaxTables=254, augmentations={}}, getTable=[Table{getId=0, augmentations={}}]}}}
2015-10-20 11:16:39,205 | INFO | ult-dispatcher-3 | LacpNodeListener | 316 - org.opendaylight.lacp.main.lacp.main.impl - 1.0.0.Lithium | got a node connec Updated KeyedInstanceIdentifier

{targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnector, path=[org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Nodes, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node[key=NodeKey [_id=Uri [_value=openflow:270765119705408]]], org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnector[key=NodeConnectorKey [_id=Uri [_value=openflow:270765119705408:LOCAL]]]]}

in lacp
2015-10-20 11:32:55,476 | INFO | lt-dispatcher-18 | LacpNodeListener | 316 - org.opendaylight.lacp.main.lacp.main.impl - 1.0.0.Lithium | got a node connec Updated KeyedInstanceIdentifier

{targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnector, path=[org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Nodes, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node[key=NodeKey [_id=Uri [_value=openflow:270765119705408]]], org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnector[key=NodeConnectorKey [_id=Uri [_value=openflow:270765119705408:1]]]]}

in lacp
2015-10-20 11:32:55,487 | INFO | lt-dispatcher-23 | LacpNodeListener | 316 - org.opendaylight.lacp.main.lacp.main.impl - 1.0.0.Lithium | got a node connec Updated KeyedInstanceIdentifier

{targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnector, path=[org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Nodes, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node[key=NodeKey [_id=Uri [_value=openflow:270765119705408]]], org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.node.NodeConnector[key=NodeConnectorKey [_id=Uri [_value=openflow:270765119705408:4]]]]}

in lacp
2015-10-20 11:32:58,523 | ERROR | pool-44-thread-4 | LacpNodeListener | 316 - org.opendaylight.lacp.main.lacp.main.impl - 1.0.0.Lithium | got a a nodeConnector updation for non-existing node KeyedInstanceIdentifier

{targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node, path=[org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Nodes, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node[key=NodeKey [_id=Uri [_value=openflow:270765119705408]]]]}


2015-10-20 11:32:58,526 | ERROR | pool-44-thread-3 | LacpNodeListener | 316 - org.opendaylight.lacp.main.lacp.main.impl - 1.0.0.Lithium | got a a nodeConnector updation for non-existing node KeyedInstanceIdentifier{targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node, path=[org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Nodes, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node[key=NodeKey [_id=Uri [_value=openflow:270765119705408]]]



 Comments   
Comment by Kalaiselvi [ 26/Oct/15 ]

https://git.opendaylight.org/gerrit/28774/

The generation of system mac fails when the switch id is a larger value. Hence the node was not detected by lacp for further processing.
Modified system mac generation to accept all types of values.

Generated at Wed Feb 07 20:05:59 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.