[NETVIRT-681] SFC Classifier tables not created when client, server and SF are in one OVS Created: 17/May/17 Updated: 06/Apr/18 Resolved: 06/Apr/18 |
|
| Status: | Resolved |
| Project: | netvirt |
| Component/s: | General |
| Affects Version/s: | Carbon |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Medium |
| Reporter: | Manuel Buil | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 8489 |
| Description |
|
I am using RC1 of Carbon. When running the topology of all VMs created in the same compute, rsp is created correctly. However, after configuring the classifier, the classification flows are not created and I can see the following in the karaf.log: 2017-05-17 15:13:14,445 | DEBUG | ssifierService-0 | GeniusProvider | 389 - org.opendaylight.netvirt.sfc.classifier-impl - 0.4.0.Carbon | getDpnIdFromInterfaceName: starting (logical interface=ba798066-6cce-487d-9a28-98b2fa51edbb) |
| Comments |
| Comment by Manuel Buil [ 22/May/17 ] |
|
Appanretly the problem is that when all nodes are contained in one, there is no need for vxlan interfaces and thus these are not created. This is the output of ovs-vsctl show: [vagrant@localhost sfc]$ docker exec b74f1d561e89 ovs-vsctl show However, the ConfigurationClassifierImpl.getEntries method requests the destinationIp which does not exist: String destinationIp = sfcProvider.getFirstHopSfInterfaceFromRsp(rsp) Which ends up calling GeniusProvider.getIpFromDpnID method which returns null in this call: RpcResult<GetEndpointIpForDpnOutput> output = interfaceManagerRpcService.getEndpointIpForDpn(input).get(); Because, as said before, the detination IP does not exist. We should handle this by having another design of the pipelien because right now the destination IP is a required parameter |