Project

General

Profile

Actions

Task #6683

closed

Fix OpenNebula vxlan creation / check differences to manual creation

Added by Nico Schottelius over 5 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Target version:
-
Start date:
05/13/2019
Due date:
05/24/2019
% Done:

0%

Estimated time:
PM Check date:

Description

Creating manually

Creating vxlans manually works in our networks:

[17:54:12] server2.place6:~# ip -6 link add vxlan4242 type vxlan id
4242 dstport 4789 local 2a0a:e5c0:2:1:21b:21ff:febb:68d8 group
ff05::4242 dev bond0.11 ttl 5

[18:07:33] server3.place6:~# ip -6 link add vxlan4242 type vxlan id 4242 dstport 4789 local 2a0a:e5c0:2:1:21b:21ff:febb:68f0 group ff05::4242 dev bond0.11 ttl 5

[18:08:05] server2.place6:~# ip addr add 2a0a:e5c0:5:2::2/64 dev vxlan4242
[18:09:44] server2.place6:~# ip l s vxlan4242 up

[18:07:33] server3.place6:~# ip -6 link add vxlan4242 type vxlan id 4242 dstport 4789 local 2a0a:e5c0:2:1:21b:21ff:febb:68f0 group ff05::4242 dev bond0.11 ttl 5
[18:08:04] server3.place6:~# ip addr add 2a0a:e5c0:5:2::3/64 dev vxlan4242
[18:09:40] server3.place6:~# ip l s vxlan4242 up
[18:09:49] server3.place6:~# ping 2a0a:e5c0:5:2::2
PING 2a0a:e5c0:5:2::2(2a0a:e5c0:5:2::2) 56 data bytes
64 bytes from 2a0a:e5c0:5:2::2: icmp_seq=1 ttl=64 time=0.570 ms
64 bytes from 2a0a:e5c0:5:2::2: icmp_seq=2 ttl=64 time=0.353 ms
^C
--- 2a0a:e5c0:5:2::2 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1005ms
rtt min/avg/max/mdev = 0.353/0.461/0.570/0.110 ms
[18:09:54] server3.place6:~#

Created by opennebula

Creating vxlans with OpenNebula only makes them work on the same host. I assume that

  • the group parameter may be wrong
  • dstport might or might not be right

How to solve

  • Read https://vincent.bernat.ch/en/blog/2017-vxlan-linux to understand how it is supposed to work
  • Analyse /var/tmp/one/vnm/vxlan/vxlan.rb
  • Create some vxlan networks (see Networking, prefix 2a0a:e5c0:5::/48 is usable) and debug opennebula behaviour
  • Find out the difference between the networks created by opennebula and the manual version above
  • Fix/patch vxlan.rb
  • Add patch to cdist / overwrite until opennebula fixed it
  • Submit patch to opennebula / github
Actions #2

Updated by Mirjana Rupar over 5 years ago

Jin-Guk Kwon, can you update the status of the task, please?

Actions #3

Updated by Nico Schottelius over 5 years ago

  • Status changed from New to Rejected

Will not do -- we will implement this in ucloud

writes:

Actions

Also available in: Atom PDF