[OVSDB-48] precondition in getProvider failing Created: 31/Jul/14 Updated: 19/Oct/17 Resolved: 23/Sep/14 |
|
| Status: | Resolved |
| Project: | ovsdb |
| Component/s: | Neutron |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Vishal Patil | Assignee: | Unassigned |
| 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: | 1461 | ||||||||
| Description |
|
I am running ODL with Openstack and seeing lots of the following exceptions 2014-07-31 15:56:34.561 UTC [md-sal-binding-notification-85] ERROR o.o.c.sal.binding.impl.NotifyTask - Unhandled exception thrown by listener: org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter$$Broker$ListenerInvoker@6cc45b37 |
| Comments |
| Comment by Dave Tucker [ 05/Aug/14 ] |
|
To add some context... getProvider is being called by initializeOFFlowRules which passes an OpenFlow Node ID to the ProviderNetworkManager. This code path is actually redundant as it calls initializeFlowRules which is already called by prepareNode. The ProviderNetworkManager expects an OVSDB node ID as it manages a provider per OVS instance. The fix in this case is to either pass in an OVSDB node ID or to remove this code path completely |
| Comment by Madhu Venugopal [ 14/Aug/14 ] |
|
Well... This is a bug that got introduced due to the reason per-node Provider selection. And the Provider is selected based on the capability of a given OVS node and configuration. Having said that, if Openflow node is passed in this method, it fails because of the strict check on OVS node. The better fix is to expand this method to tolerate both OVS and OF node and identify a provider for it. In case of Openflow node, it is straight forward indeed. We can explicitely check if the node is an OF1.0 or OF1.3 node and hence we can choose the appropriate Provider. |
| Comment by Dave Tucker [ 23/Sep/14 ] |