Monday, 2021-04-19

*** acidfu has joined #openvswitch00:02
*** acidfu has quit IRC00:06
*** acidfu has joined #openvswitch00:12
bdonnahue2larsks, i was playing with ovs and im having an issue with my vxlan. I manually created an adaptor and connected it to the vxlan bridge. i was wondeing if i need to set mtu for the adaptor?00:46
larsksbdonnahue2: that's a good question. You may want to adjust the MTU of your virtual machine interfaces to be lower than the MTU of the physical NICs that are transporting the vxlan traffic. https://oswalt.dev/2014/03/mtu-considerations-for-vxlan/ has some thoughts on the topic.02:38
larsksI'm going to run some tests with my setup to see if I can produce failures due to mtu issues.02:39
bdonnahue2larsks, not to send you on a goos chase: i am tesing out proxmox's ceph cluster functionality. the nodes in the cluster compaling that they cannot talk to each other. i can ping the other nodes, i can see tcpdump traffic on the ports they comaplain about, i see them listening on the right ip with netstat. completely lost here. will have a look at th earticle you posted.02:41
larsksTry varying the packet size you use with ping (e.g.  `ping -s 1400`, `ping -s 1500`) and see when it fails.02:43
bdonnahue2https://pastebin.com/DZ8uRuQU02:45
bdonnahue2thats some notes i took ^^02:45
bdonnahue2ahh thats an interesting idea... so if the ping fails with a given size, what does that mean in terms of vxlan/ovs?02:46
bdonnahue2(just waiting for some vms to finish installing and i will revert my configs and test the ping)02:47
larsksI ping fails with a packet size approaching your MTU, that suggests you might need to lower the MTU of your vm interfaces (or increase the mtu of the host interfaces).02:47
bdonnahue2larsks, i am super new to MTU. i understand how it works, but not is set for my interfaces by default. any idea how i can check this?02:57
larsksRunning 'ip link show <device>' will show you the MTU for the device. ("3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1440 qdisc ...", where "mtu" is just after the flags)02:59
larsksRunning 'ip link set mtu <mtu> dev <device>' will set the mtu (until you reboot)02:59
larsksSetting the MTU persistently differents between distributions and distribution versions.02:59
larsksI've transitioned my setup from using vxlan tunnels to playing with OVN, but I find I have to set the interface mtu *inside the vms* to 1440 for things to work successfully.03:00
larsks(OVN uses geneve tunnels rather than vxlan, but the principal is the same)03:01
bdonnahue2larsks, i never noticed the mtu in the output before, thanks for pointing that out.03:02
bdonnahue2interesting re. the 1440 mtu03:02
*** rcernin has quit IRC03:05
larsksIt is often easier to *increase* the MTU on your physical hosts, rather than lowering the MTU in all your virtual machines (because you typically have a static set of physical hosts, while virtual machines are constantly being created).03:05
bdonnahue2larsks, is the a best value to set or a max value to avoid?03:06
larsksI'm not sure I'm reading that question correctly. Can you rephrase it?03:06
*** rcernin has joined #openvswitch03:07
bdonnahue2sure, so if i change the physical nic mtu... i could go with 1550, 1600, 999999999? whats the normal "larger" mtu one would select?03:07
larsksThe maximum values depends on your network infrastructure (e.g., what is the maximum frame size supported by your switches?). For strictly internal communication you can usually safely pick an MTU up to 9000 bytes, but now that I think about it I'm actually not sure what the implications are for traffic that will be leaving your local network. I would probably just select something as close to03:10
larsks1500 as you can get while still allowing your tunnels to work.03:10
larsksAnd maybe consult someone with greater network knowledge for a more authoritative answer.03:10
bdonnahue2gotcha, ok makes sense03:11
*** rcernin has quit IRC03:23
*** rcernin has joined #openvswitch03:26
*** atpa8a has quit IRC03:44
bdonnahue2larsks, the mtu did the trick! much appreciated. I would have never gotten past that one03:45
bdonnahue2the performance of the VMs with disks hosted on the cluster is not great... very slow03:46
bdonnahue2will look into this03:46
bdonnahue2may be a networking issue, may be i underprovisionged cpu03:46
bdonnahue2looks like i spoke too soon, some osd's went offline03:47
bdonnahue2got em back online... wonder in a transient network surge took down the cluster03:49
bdonnahue2the cluster is complaining about a slow heartbeat on the vxlan tunnel... maybe i should reduce the mtu even further03:52
*** acidfu has quit IRC03:54
*** acidfu has joined #openvswitch04:03
larsksbdonnahue2: I don't know that reducing the mtu is going to impact performance (it may ultimately have a negative effect, because as you make the mtu smaller you're increasing the % of your traffic that is just metadata (because the header sizes stay the same, so you're reducing the amount of data in each frame). That's why, for example, network storage is often served over a dedicated network04:18
larsksusing large (9000+ bytes) mtus.04:18
* larsks 😴04:19
bdonnahue2larsks, i was just reading a post about that. Trying to figure out how to determine what mtu my switches support04:20
*** dholler has joined #openvswitch05:33
*** links has joined #openvswitch05:56
*** slaweq has quit IRC06:16
*** slaweq has joined #openvswitch06:19
*** amorenoz_ has joined #openvswitch06:20
*** ralonsoh has joined #openvswitch06:32
*** eelco has joined #openvswitch06:42
*** amorenoz_ has quit IRC06:50
*** rcernin has quit IRC06:52
*** bdonnahue2 has quit IRC06:54
*** amorenoz has joined #openvswitch06:55
*** bdonnahue1 has joined #openvswitch07:04
*** rcernin has joined #openvswitch07:08
*** mdgray has joined #openvswitch07:14
*** elvira has joined #openvswitch07:37
*** rcernin has quit IRC07:43
*** rcernin has joined #openvswitch07:49
*** rcernin has quit IRC07:59
*** rcernin has joined #openvswitch08:31
*** ktraynor has joined #openvswitch08:33
*** rcernin has quit IRC08:38
*** biyiklioglu has joined #openvswitch08:46
*** imaximets_ has joined #openvswitch08:47
*** imaximets has quit IRC08:49
*** imaximets_ is now known as imaximets08:50
*** biyiklioglu has quit IRC08:56
*** amorenoz has quit IRC09:13
*** amorenoz has joined #openvswitch09:24
*** istokes has joined #openvswitch09:25
*** cpaelzer has quit IRC09:40
*** yamamoto has quit IRC09:59
*** deadalnix_ has joined #openvswitch10:01
*** cpaelzer__ has joined #openvswitch10:03
*** anilvenkata has joined #openvswitch10:08
*** deadalnix_ has quit IRC10:19
*** yamamoto has joined #openvswitch10:19
*** deadalnix_ has joined #openvswitch10:28
*** rcernin has joined #openvswitch10:37
*** anilvenkata has quit IRC10:37
*** rcernin has quit IRC11:04
*** rcernin has joined #openvswitch11:28
*** yamamoto has quit IRC11:31
*** rcernin has quit IRC11:33
*** yamamoto has joined #openvswitch12:03
*** fbl has joined #openvswitch12:05
*** yamamoto has quit IRC12:08
*** ricolin has quit IRC12:15
*** ricolin has joined #openvswitch12:15
*** tbachman has joined #openvswitch12:29
*** bostondriver has joined #openvswitch12:53
*** acidfoo has joined #openvswitch13:14
*** acidfu has quit IRC13:16
*** fdangelo__ has quit IRC13:30
*** rcernin has joined #openvswitch13:35
*** dcbw has joined #openvswitch13:38
*** rcernin has quit IRC13:41
*** ricolin has quit IRC13:49
*** ricolin has joined #openvswitch13:50
*** rfolco has quit IRC13:56
*** rfolco has joined #openvswitch14:01
*** fdangelo__ has joined #openvswitch14:21
*** lablt has quit IRC14:33
*** lablt has joined #openvswitch14:33
*** ralonsoh_ has joined #openvswitch15:06
*** ralonsoh has quit IRC15:06
*** ralonsoh_ has quit IRC15:07
*** ralonsoh has joined #openvswitch15:08
*** anilvenkata has joined #openvswitch15:23
bdonnahue1larsks, i think there is some complexity to vxlan that i am not understanding. for some reacon i cannot ping the other vxlan nodes on the interface connected to the bridge15:25
bdonnahue1how can i troubleshoot errors ovs might be having while establishign the connection?15:26
bdonnahue1hmm i found some logs in /var/log/openvswitch... i see erorr indicating the service has failed15:27
bdonnahue1idk if the service is what keeps the tunnel open15:27
*** Tobbbles has joined #openvswitch15:31
*** rcernin has joined #openvswitch15:36
larsksvxlan is operationally pretty simple. I suspect the failed service may be your problem.15:38
bdonnahue1i think openvswitch might have borked... i see processes running (ovsdb and ovs-vswitched) but the openvswitch-service says its ative and exited15:39
*** lablt has quit IRC15:40
*** lablt has joined #openvswitch15:40
bdonnahue1i only see warn but no error in the log15:40
bdonnahue1|WARN|received packet on unknown port 3 on bridge vmbr115:40
bdonnahue1|WARN|receive tunnel port not found15:41
bdonnahue1so the tunnel is having issues (vmbr1 is the bridge for the tunnel)15:41
*** rcernin has quit IRC15:41
*** anilvenkata has quit IRC15:43
bdonnahue1maybe the service being down is unrelated15:45
bdonnahue1i can ping on of the two other nodes15:45
*** deadalnix__ has joined #openvswitch15:46
*** deadalnix_ has quit IRC15:49
bdonnahue1something interesting... nodes A and C can both ping B, bot not eachother15:49
bdonnahue1i restarted (systemctl restart openvswitch-nonetwork) and temporarily saw a few pings go through15:49
*** eelco has quit IRC15:52
*** links has quit IRC15:55
bdonnahue1now theyre all offline16:00
larsksMaybe try running 2.15? It's been stable for me so far.16:00
*** elvira has quit IRC16:03
*** moldorcoder7 has quit IRC16:04
bdonnahue1i think im on 2.12, will have a look16:08
bdonnahue1proxmox says openvswitch-switch is already the newest version (2.12.3-1).16:09
bdonnahue1larsks, trying to update the package now16:17
bdonnahue1larsks, i dont think 2.15 is built for debian16:20
bdonnahue1i see proxmox is debian 10 and there is a ovs 2.15 on debian sid which is unstable16:23
*** dholler has quit IRC16:24
*** moldorcoder7 has joined #openvswitch16:25
*** Tobbbles has quit IRC16:27
*** lablt has quit IRC16:33
bdonnahue1i am updating my kernel etc to see if that helps16:33
*** lablt has joined #openvswitch16:35
*** tbachman has quit IRC16:50
*** tbachman has joined #openvswitch16:51
*** moldorcoder7 has quit IRC16:51
bdonnahue1upgrading did not help... i am thinkign there must be something wrong with the ovs configuration or a bug in this version16:52
bdonnahue1larsks, does anything look wrong with the decorators in my config: https://pastebin.com/jSMb8DMu16:53
bdonnahue1its odd i am not seeing errors in the logs...16:53
*** moldorcoder7 has joined #openvswitch16:59
*** ralonsoh has quit IRC17:15
*** ihrachys has quit IRC17:23
*** rcernin has joined #openvswitch17:37
*** rcernin has quit IRC17:42
*** lablt has quit IRC18:07
*** lablt has joined #openvswitch18:07
*** deadalnix__ has quit IRC18:20
*** lablt has quit IRC18:32
*** lablt has joined #openvswitch18:38
*** istokes has quit IRC18:42
*** lablt has quit IRC18:47
*** lablt has joined #openvswitch18:49
*** yamamoto has joined #openvswitch18:55
*** yamamoto has quit IRC18:59
*** moldorcoder7 has quit IRC19:02
*** slaweq has quit IRC19:13
*** lablt has quit IRC19:16
*** moldorcoder7 has joined #openvswitch19:17
*** tbachman has quit IRC19:19
bdonnahue1i wonder if this is my issue: https://github.com/yyang13/ovs_nsh_patches/issues/219:25
*** mdgray has quit IRC19:29
*** slaweq has joined #openvswitch19:32
*** lablt has joined #openvswitch19:34
*** rcernin has joined #openvswitch19:38
bdonnahue1can anyone tell me where to look for error messages from openvswitch if the vxlan tunnel is crashing?19:38
*** rcernin has quit IRC19:43
*** tbachman has joined #openvswitch19:58
*** lablt has quit IRC19:59
*** lablt has joined #openvswitch20:05
*** slaweq_ has joined #openvswitch20:22
*** fdangelo__ has quit IRC20:31
*** moldorcoder7 has quit IRC20:32
*** acidfoo has quit IRC20:33
*** ygk_12345_ has quit IRC20:37
*** edwarnicke has quit IRC20:37
*** fkautz has quit IRC20:38
*** ygk_12345_ has joined #openvswitch20:38
*** fkautz has joined #openvswitch20:38
*** d1rewolf has quit IRC20:38
*** mnasiadka has quit IRC20:38
*** edwarnicke has joined #openvswitch20:38
*** mnasiadka has joined #openvswitch20:39
*** d1rewolf has joined #openvswitch20:39
*** moldorcoder7 has joined #openvswitch20:43
*** tbachman has quit IRC20:43
*** rfolco has quit IRC20:46
*** lablt has quit IRC21:10
*** lablt has joined #openvswitch21:11
*** lablt has quit IRC21:22
*** lablt has joined #openvswitch21:23
*** rcernin has joined #openvswitch21:38
*** rcernin has quit IRC21:44
*** rcernin has joined #openvswitch21:51
*** rcernin has quit IRC21:57
*** fdangelo__ has joined #openvswitch22:00
*** yamamoto has joined #openvswitch22:01
*** rcernin has joined #openvswitch22:12
*** rcernin has quit IRC22:14
*** rcernin has joined #openvswitch22:14
*** tbachman has joined #openvswitch22:15
*** yamamoto has quit IRC22:41
*** yamamoto has joined #openvswitch22:42
*** matteo| has joined #openvswitch22:51
*** matteo has quit IRC22:53
*** deadalnix has joined #openvswitch23:16
*** deadalnix_ has joined #openvswitch23:29
*** tbachman has quit IRC23:31
*** tbachman_ has joined #openvswitch23:31
*** deadalnix has quit IRC23:33
*** tbachman has joined #openvswitch23:37
*** thaller has quit IRC23:37
*** thaller has joined #openvswitch23:37
*** tbachman_ has quit IRC23:39
*** bostondriver has quit IRC23:59

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!