[OPNFLWPLUG-33] Not able to read GroupStats from Operational data Created: 17/Jan/14 Updated: 27/Sep/21 Resolved: 26/Jan/14 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Tushar Goyal | Assignee: | Michal Rehak |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| Issue Links: |
|
||||||||
| External issue ID: | 317 | ||||||||
| Description |
|
The augmentation FlowCapableNode does not contain the Group details present in the switch. All other Stats are present in the augmentation(Meter,Flow). The Group Array is showing as empty. I am receiving the GroupStats and it is correctly storing the Stats in the Operational datastore. Reading from the same is the issue. |
| Comments |
| Comment by Prasanna Huddar [ 17/Jan/14 ] |
|
<html><head><title>Apache Tomcat/7.0.32 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>java.lang.IllegalArgumentException |
| Comment by Ed Warnicke [ 17/Jan/14 ] |
|
Anil, could you check the statisticsmanager code to see if there is an issue there? |
| Comment by Anil Vishnoi [ 19/Jan/14 ] |
|
Hi Ed/Tushar, I manually added group to the switch and i can see the group stats when i access the node details using following restconf uri: http://localhost:8080/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/ <group But when i tried to access this specific group using its id(2) http://localhost:8080/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/group/2 i get the exception which prasanna pasted above. I looked at the yang models and statistics manager code, but didn't find any obvious issue. Can we get someone from restconf team to have a quick look at it and see why restconf is throwing this exception? Probably that's the reason tushar is not able to fetch list of groups programmatically. Thanks |
| Comment by Anil Vishnoi [ 20/Jan/14 ] |
|
I had chat with Martin Sunal, and it seems to be bug in Yangtools. Martin will open new bug and mark this bug as a dependent on the new one. |
| Comment by Martin Sunal [ 20/Jan/14 ] |
|
there is a |
| Comment by Tushar Goyal [ 24/Jan/14 ] |
|
Still the group are not received while testing using the CommmandProvider. Using REST, I am able to get specific group level Stats. The command line commands for testing the groupStats are checked-in in OpenflowpluginStatsCommandProvider.java Methods: _groupStats |
| Comment by Michal Rehak [ 25/Jan/14 ] |
|
Retested:
Tony is working on including patched bundle into master. |
| Comment by Michal Rehak [ 26/Jan/14 ] |
|
Fixed by Reason: group delete request must NOT contain buckets definition (OF-1.3.2::6.5 Group Table Modiļ¬cation Messages) |