[OPNFLWPLUG-18] Pre-configuration of flows causes exception Created: 11/Jan/14 Updated: 27/Sep/21 Resolved: 18/Aug/14 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Jan Medved | Assignee: | Vaclav Demcak |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Mac OS |
||
| Issue Links: |
|
||||||||
| External issue ID: | 282 | ||||||||
| Priority: | Normal | ||||||||
| Description |
|
When trying to add a flow to a node which is not connected (i.e. trying to pre-configure a node), the following exception is thrown: <html> 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;}--> Use, for example: Accept: application/xml <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| Comments |
| Comment by Martin Sunal [ 14/Jan/14 ] |
|
RESTCONF returns status code 500 because transaction status is FAILED. Restconf has not information why transaction was failed. Bug is moved to mdsal This is log of exception from console: 2014-01-14 16:18:56.528 CET [pool-23-thread-2] INFO o.o.c.m.s.c.i.service.TwoPhaseCommit - Transaction: BA-2 Started. |
| Comment by Tony Tkacik [ 24/Jan/14 ] |
|
This functionality is in the scope of new FRM, not MD-SAL. |
| Comment by Abhijit Kumbhare [ 30/Jan/14 ] |
|
Should be fixed when "mark and sweep" gets implemented. |
| Comment by Basheeruddin Ahmed [ 26/Mar/14 ] |
|
Per last meeting we wanted to see if this is still an issue. Conclusion: 014-03-26 15:12:16.311 PDT [md-sal-binding-commit-0] ERROR o.o.c.m.s.c.i.service.TwoPhaseCommit - Transaction: BA-171 Finish Commit failed Doesn't the ability to support pre-configured flows require the ability to support pre-configure Node – didn't find any API that helps in doing the same. |
| Comment by Moiz Raja [ 26/Mar/14 ] |
|
Basheer, I believe in this case adding a node is not required and also it would be wrong to add a node I believe because it is operational data which should not be set by a client (It is ok for it to be set by the controller code but not the client that is the distinction in my mind). I think the proper way to handle this may be to not add the flow to the open flow plugin when the node is not present in the operational data when addFow is called. Then in the onNodeAdded listener in FRM you must check if flows exist for that node in the configuration and if they do then you must add those flows to the openflowplugin. Other folks can chime in on this if my assessment is incorrect. |
| Comment by Michal Rehak [ 27/Mar/14 ] |
|
Hi, Here is a simple scenario of preconfiguration functionality:
|
| Comment by Anil Vishnoi [ 27/Mar/14 ] |
|
Wanted to understand the use case here. We are trying to configure the node which is not yet connected to the controller. So how user actually will determine the flow construct without knowing the switch details? Can you please share the use case for doing this? |
| Comment by Abhijit Kumbhare [ 22/May/14 ] |
|
Michal thinks this should be partially working now. |
| Comment by Abhijit Kumbhare [ 22/May/14 ] |
|
Michal thinks this should be partially working now. |
| Comment by Vaclav Demcak [ 20/Jun/14 ] |
|
java.lang.IllegalStateException: Address not found for route [RouteIdentifierImpl{context=null, type=(urn:opendaylight:flow:service?revision=2013-08-19)add-flow, route=(urn:opendaylight:inventory?revision=2013-08-19)nodes/(urn:opendaylight:inventory?revision=2013-08-19)node[ {(urn:opendaylight:inventory?revision=2013-08-19)id=openflow:1}]}] |
| Comment by Vaclav Demcak [ 20/Jun/14 ] |
|
https://git.opendaylight.org/gerrit/#/c/8174/ |
| Comment by Abhijit Kumbhare [ 12/Aug/14 ] |
|
About Vaclav's last comments: So why is this not merged yet (controller)? What's the status of the merges? The OF plugin gerrit seems to be abandoned as no longer needed. Is the fix no god? |