[OPNFLWPLUG-1038] forwardingrules-manager: Flow add with id L3.149652893104203.21.e7914c35-eafe-4208-9f79-9813ffbc7f69.74.2001:db9:cafe:d:0:0:0:0 failed with error [RpcError [message=Group 150070 not present in the config inventory Created: 01/Oct/18 Updated: 17/Oct/18 Resolved: 17/Oct/18 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | forwardingrules-manager |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Medium |
| Reporter: | Sam Hague | Assignee: | Sridhar Gaddam |
| Resolution: | Done | Votes: | 0 |
| Labels: | csit:failures | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
Flows fail to install because of a missing group. 2018-09-30T04:29:12,850 | ERROR | nc-exe-120 | FlowForwarder | 368 - org.opendaylight.openflowplugin.applications.forwardingrules-manager - 0.8.0.SNAPSHOT | Flow add with id L3.149652893104203.21.e7914c35-eafe-4208-9f79-9813ffbc7f69.74.2001:db9:cafe:d:0:0:0:0 failed for node Uri{_value=openflow:149652893104203} with error [RpcError [message=Group 150070 not present in the config inventory, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=null]]
2018-09-30T04:29:12,851 | INFO | nc-exe-121 | FlowForwarder | 368 - org.opendaylight.openflowplugin.applications.forwardingrules-manager - 0.8.0.SNAPSHOT | Reading the group from config inventory: 150070
2018-09-30T04:29:12,851 | ERROR | nc-exe-121 | FlowForwarder | 368 - org.opendaylight.openflowplugin.applications.forwardingrules-manager - 0.8.0.SNAPSHOT | Flow add with id L3.18080470920035.21.e7914c35-eafe-4208-9f79-9813ffbc7f69.74.2001:db9:cafe:d:0:0:0:0 failed for node Uri{_value=openflow:18080470920035} with error [RpcError [message=Group 150070 not present in the config inventory, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=null]]
|
| Comments |
| Comment by Anil Vishnoi [ 01/Oct/18 ] |
|
shague Looks like Flow is pointing to a group that is not present in the config data store. In that case it's expected result, so probably you will have to look into the application code to make sure that group is written in the config data store before application writes the dependent flow. |
| Comment by Sam Hague [ 04/Oct/18 ] |
|
I thought there was a fix included in openflowplugin to catch this condition - ofp would wait to push flows if the group wasn't there. |
| Comment by Anil Vishnoi [ 04/Oct/18 ] |
|
It will check if the dependent group is already installed on the switch, than it will push the flow, but if the group itself does not exist in the config data store, it can't do anything. |
| Comment by daya kamath [ 04/Oct/18 ] |
|
agree anil. sam, the fixes pushed for group before flow are wrt the switch, as there is a race condition sometimes which pushes the flow to the switch before the group and the switch rejects that. however, it is the application responsibility to ensure it pushes the group into the config datastore before the flow. the datastore guarantees ordering of the listeners if the applications ensures this. so, for this error, we need to find out whether the application code did not program the group, or whether there was some exception encountered while trying to do the same |
| Comment by daya kamath [ 04/Oct/18 ] |
|
this should be looked into by the netvirt ipv6 folks |
| Comment by Sridhar Gaddam [ 17/Oct/18 ] |
|
The following patch in Netvirt addresses the issue on the application side - https://git.opendaylight.org/gerrit/#/c/76628/ |