[SFC-160] SFC VPP Renderer can't work with Honeycomb and VPP Created: 06/Sep/16 Updated: 19/Oct/17 Resolved: 08/Sep/16 |
|
| Status: | Resolved |
| Project: | sfc |
| Component/s: | General |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Yi Yang | Assignee: | Yi Yang |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| External issue ID: | 6640 |
| Priority: | Highest |
| Description |
|
Honeycomb and VPP have some changes to support plugin infrastructure, so ODL SFC VPP renderer has to adapt to these changes in order that it can work correctly. Honeycomb and VPP were not ready for integration test when SFC VPP renderer was merged. This bug is blocking issue, it can't work if it isn't fixed. |
| Comments |
| Comment by A H [ 06/Sep/16 ] |
|
Once a patch to stable/boron available, please help us analyze the footprint of the patch. To better assess the impact of this bug and fix, could someone from your team please help us identify the following: |
| Comment by Yi Yang [ 07/Sep/16 ] |
|
https://git.opendaylight.org/gerrit/45283 will fix this issue. |
| Comment by Yi Yang [ 07/Sep/16 ] |
|
patch size: java/org/opendaylight/sfc/sfc_vpp_renderer/renderer/VppNodeManager.java | 9 |
| Comment by Brady Johnson [ 07/Sep/16 ] |
|
Fixed with these patches: master stable/boron |
| Comment by Yi Yang [ 07/Sep/16 ] |
|
I think it is difficult for jenkins to test SFC VPP Renderer, this needs Honeycomb and VPP. GBP(groupbasedpolicy) also integrate Honeycomb and VPP, maybe Vladimor or Keith can provide help for this. My integration test: 1. Start 6 VMs: classifier1, SFF1(VPP1), SF1, SFF2(VPP2), SF2, classifier2. f13fc1c6-0ffd-417f-855b-20ce88bdcb4e Port br-int Port "dpdk0" 2. SFF1(VPP1) and SFF2(VPP2) will run vpp and honeycomb, nsh_sfc must be installed as plugin. sudo start vpp 3. Run NSH-aware SF in SF1 and SF2 4. Run SFC in the host VMs's running and install the below features: 5. Add SFs, SFFs, SFC, SFP and RSP PUT http://10.240.224.185:8181/restconf/config/service-function:service-functions { ], ], PUT http://10.240.224.185:8181/restconf/config/service-function-forwarder:service-function-forwarders { } "sff-data-plane-locator": [ } } "sff-data-plane-locator": [ } PUT http://10.240.224.185:8181/restconf/config/service-function-chain:service-function-chains/ { , { "name": "dpi-abstract1", "type": "service-function-type:dpi" } ] PUT http://10.240.224.185:8181/restconf/config/service-function-path:service-function-paths/ { ] PUT http://10.240.224.185:8181/restconf/operations/rendered-service-path:create-rendered-path/ { } 6. By far, SFC Renderer has successfully created vxlan-gpe ports, nsh entries and nsh maps for SFF1(VPP1) and SFF2(VPP2). vagrant@vpp1:~/honeycomb$ sudo vppctl show vxlan-gpe vagrant@vpp2:~$ sudo vppctl show vxlan-gpe 7. Now we can ping and wget namespace in host2. vagrant@host1:~$ sudo ip netns exec app ping 10.0.100.14 vagrant@host1:~$ sudo ip netns exec app wget http://10.0.100.14/ 100%[=====================================>] 1,677 --.-K/s in 0.02s 2016-09-07 02:13:38 (89.1 KB/s) - ‘index.html’ saved [1677/1677] vagrant@host1:~$ |
| Comment by Yi Yang [ 07/Sep/16 ] |
|
Test network topology |
| Comment by Yi Yang [ 07/Sep/16 ] |
|
Attachment ScreenHunter_03 Sep. 07 15.41.gif has been added with description: Test network topology |
| Comment by Brady Johnson [ 07/Sep/16 ] |
|
(In reply to A H from comment #1) Severity: Yes it’s a blocker. No known workaround. Cannot delay to SR1. Without this patch, the functionality will NOT work. Testing: Yes we tested the patch and it was verified. Unfortunately, no unit tests/system tests yet. See comment 5 for details about the testing: https://bugs.opendaylight.org/show_bug.cgi?id=6640#c5 Impact: No impact to any dependent projects. |
| Comment by A H [ 08/Sep/16 ] |
|
Has this bug been verified as fixed in the latest Boron RC 3.1 Build? |
| Comment by Yi Yang [ 08/Sep/16 ] |
|
(In reply to A H from comment #8) Where can I get this RC3.1 Build? |
| Comment by Yi Yang [ 08/Sep/16 ] |
|
(In reply to A H from comment #8) An, I think this one https://nexus.opendaylight.org/content/repositories/autorelease-1477/org/opendaylight/integration/distribution-karaf/0.5.0-Boron/distribution-karaf-0.5.0-Boron.tar.gz should be what I need to verify. I verified it, it worked as expected, so I confirm this bug is fixed in Boron RC 3.1 build. |