[OPNFLWPLUG-392] [LithiumBuild3335] Controller Crashed after making nodes REST call when the topology had 2 switches and 2k hosts. Created: 01/Apr/15  Updated: 27/Sep/21  Resolved: 03/Jun/15

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

Type: Bug
Reporter: SANDEEP GANGADHARAN Assignee: Martin Bobak
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Zip Archive log.zip    
External issue ID: 2936

 Description   

1) Run karaf
2) Enable the below features
feature:install odl-openflowplugin-flow-services
feature:install odl-dlux-all
feature:install odl-l2switch-all
feature:install odl-l2switch-switch-ui
feature:install odl-l2switch-switch-rest

3) Using mininet connect 2 switches in linear topology with 1000 hosts on each.
4) Now make the below REST CALL to get the nodes.
http://10.11.200.254:8181/restconf/operational/opendaylight-inventory:nodes
5) Controller console is unresponsive for few minutes.
5) After it is responsive the REST provides incorrect data. Below is a script output. Negative values mean the call failed failed to fetch required data.

Time taken for nodes call is 0 milliseconds
Total device Count = 2 (This is correct)
--------------------
Time taken for links call is 0 milliseconds
Total links = -2 (Expecting 2). None found.
--------------------
Time taken for ports call is 0 milliseconds
Total ports = -1 (Expecting 2002)
--------------------
Time taken for host call is 0 milliseconds
Total hosts = 0 (this is fine)

==========================================
http://10.11.200.254:8181/restconf/operational/network-topology:network-topology/

{
"network-topology": {
"topology": [
{
"topology-id": "flow:1",
"node": [

{ "node-id": "openflow:322122547202", "opendaylight-topology-inventory:inventory-node-ref": "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:322122547202']" }

,
{
"node-id": "openflow:322122547201",
"termination-point": [

{ "tp-id": "openflow:322122547201:857", "opendaylight-topology-inventory:inventory-node-connector-ref": "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:322122547201']/opendaylight-inventory:node-connector[opendaylight-inventory:id='openflow:322122547201:857']" }

,

{ "tp-id": "openflow:322122547201:8", "opendaylight-topology-inventory:inventory-node-connector-ref": "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:322122547201']/opendaylight-inventory:node-connector[opendaylight-inventory:id='openflow:322122547201:8']" }

,

{ "tp-id": "openflow:322122547201:10", "opendaylight-topology-inventory:inventory-node-connector-ref": "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:322122547201']/opendaylight-inventory:node-connector[opendaylight-inventory:id='openflow:322122547201:10']" }

,

{ "tp-id": "openflow:322122547201:494", "opendaylight-topology-inventory:inventory-node-connector-ref": "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:322122547201']/opendaylight-inventory:node-connector[opendaylight-inventory:id='openflow:322122547201:494']" }

,

{ "tp-id": "openflow:322122547201:701", "opendaylight-topology-inventory:inventory-node-connector-ref": "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:322122547201']/opendaylight-inventory:node-connector[opendaylight-inventory:id='openflow:322122547201:701']" }

,

{ "tp-id": "openflow:322122547201:936", "opendaylight-topology-inventory:inventory-node-connector-ref": "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:322122547201']/opendaylight-inventory:node-connector[opendaylight-inventory:id='openflow:322122547201:936']" }

,

{ "tp-id": "openflow:322122547201:133", "opendaylight-topology-inventory:inventory-node-connector-ref": "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:322122547201']/opendaylight-inventory:node-connector[opendaylight-inventory:id='openflow:322122547201:133']" }

],
"opendaylight-topology-inventory:inventory-node-ref": "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:322122547201']"
}
]
}
]
}
}



 Comments   
Comment by SANDEEP GANGADHARAN [ 01/Apr/15 ]

Attachment log.zip has been added with description: Attaching the karaf logs

Comment by Abhijit Kumbhare [ 13/Apr/15 ]

After M5.

Comment by Abhijit Kumbhare [ 01/Jun/15 ]

Needs to retested with both Lithium and Helium designs.

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