[NETVIRT-1009] Verify if genius auto-tz is better than dynamic tunnels Created: 20/Nov/17  Updated: 14/Mar/18  Resolved: 14/Mar/18

Status: Verified
Project: netvirt
Component/s: None
Affects Version/s: None
Fix Version/s: Nitrogen-SR1, Carbon-SR3, Oxygen

Type: Story Priority: Medium
Reporter: Sam Hague Assignee: Victor Pickard
Resolution: Done Votes: 0
Labels: csit:3node
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
is blocked by NETVIRT-1041 Genius auto tunnel - tunnel not creat... Resolved
Epic Link: Clustering Stability

 Comments   
Comment by Victor Pickard [ 30/Nov/17 ]

Ran several netvirt and l2gw csit jobs with genius auto tunnels enabled, netvirt dynamic tunnels disabled. Unfortunately, the sandbox jobs get wiped every week, so the links are long gone for those runs. Myself and Jamo reviewed the runs, all looked good regarding genius auto tunnels.

 

For the CSIT runs, these patches were used to configure genius auto tunnels:

https://git.opendaylight.org/gerrit/#/c/65282/

https://git.opendaylight.org/gerrit/#/c/64885/15

 

This patch removed the OVS cleanup/init code for L2GW CSIT. This cleanup code did the following:

https://git.opendaylight.org/gerrit/#/c/66108/

  • ovs restart
  • ovs del mgr
  • ovs del controller
  • del br-int 
  • create br-int (new dpid)
  • set mgr
  • set controller

This exposed a use case that is not covered in genius auto tunnels, that is, handling dpid changes for an ovsdb node. This, and other use case limitations, are described in the genius itm tunnel spec:

http://docs.opendaylight.org/en/stable-nitrogen/submodules/genius/docs/specs/itm-tunnel-auto-config.html

 

Additional manual testing in pike/carbon devstack setup:

OVS Restart on compute node

  • Bring up stack
  • Spin up VM on compute node, verify IP obtained, ping works.
  • Delete VM on compute node.
  • Restart OVS on compute node. Node: dpid and ovsdb uuid did not change.
  • Spin up VM on compute node, verify IP obtained, ping works.

 

Compute Node reboot

Pretty sure this is a new test that is not covered under any existing CSIT tests. It's possible this can be added to OPNFV, emailed with Tim Rozet, SNAPS-241 and SNAPS-243 created for this test to OPNFV.

 

  • Bring up stack
  • Spin up VM on compute node, verify IP obtained, ping works.
  • Delete VM on compute node.
  • Reboot compute node (compute node was VM, sudo shutdown -r now)
  • Spin up VM on compute node. This step failed, neutron port binding failed. Not related to genius auto tunnels, looks like a new bug that will be investigated separately. Hostconfig was not in ODL MDSAL. But, did verify that tunnel was programmed in OVS on control and compute node. As a workaround, did a del-mgr then set-mgr on compute node (after reboot), and was then able to see hostconfig in MDSAL, and was able to spin up VM and ping.

 

Will have 2 more patches coming to enable genius auto tz and disable netvirt dynamic tunnel.

Comment by Victor Pickard [ 13/Dec/17 ]

These patches enable genius auto-tz, disable netvirt dynamic tunnel. Last patch is a genius patch to use local_ip from OVS other_config for the VTEP src IP.

 

https://git.opendaylight.org/gerrit/#/c/66109/

https://git.opendaylight.org/gerrit/#/c/66110/

https://git.opendaylight.org/gerrit/#/c/66315/

Comment by Victor Pickard [ 03/Jan/18 ]

Bug Netvirt-1041 needs to be fixed before we can make the switch to Genius auto tunnels. Otherwise, upstream developers will hit the issue of no tunnel when updating ODL in their environment.

Comment by Victor Pickard [ 14/Mar/18 ]

Genius auto-tz is now the default in carbon, nitrogen, oxygen. 

Generated at Wed Feb 07 20:23:00 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.