[CONTROLLER-135] Create group through restconf fails. Created: 24/Jan/14 Updated: 25/Jul/23 Resolved: 02/May/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | ||
| Reporter: | jyoti porwal | Assignee: | Moiz Raja |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| Description |
|
URL- http://localhost:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/group/2 Request body <?xml version="1.0" encoding="UTF-8" standalone="no"?> Response headers- 500 Internal Server Error Logs in controller- java.lang.NullPointerException: null |
| Comments |
| Comment by Vaclav Demcak [ 24/Jan/14 ] |
|
http://localhost:8080/restconf/config/opendaylight-inventory:nodes/node/foo:node:1/group/2 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2014-01-24 13:39:03.287 CET [md-sal-binding-commit-2] INFO o.o.o.t.OpenflowpluginGroupTestServiceProvider - addGroup - AddGroupInput [_groupRef=GroupRef [_value=InstanceIdentifier [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=foo:node:1]]], org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNode, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group[key=GroupKey []]]]], _barrier=null, _buckets=null, _containerName=null, _groupId=null, _groupName=null, _groupType=null, _node=NodeRef [_value=InstanceIdentifier [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=foo:node:1]]]]]], _transactionUri=Uri [_value=BA-4], augmentation=[]] No default provider is available at org.opendaylight.yang.gen.v1.urn.opendaylight.group.statistics.rev131111.OpendaylightGroupStatisticsService$$Broker$DirectProxy.getGroupDescription(OpendaylightGroupStatisticsService$$Broker$DirectProxy.java) |
| Comment by Moiz Raja [ 31/Mar/14 ] |
|
Vaclav, Is this still an issue? Looks to me like the original issue was fixed and then you ran into another issue. Were you trying to add a group to a switch which was not connected? |
| Comment by Moiz Raja [ 31/Mar/14 ] |
|
Vaclav, Is this still an issue? Looks to me like the original issue was fixed and then you ran into another issue. Were you trying to add a group to a switch which was not connected? |
| Comment by Vaclav Demcak [ 02/May/14 ] |
|
I've tested it on new DataStore and I haven't seen any problems. |