Skip to content

Comments

networkd: prevent networkd interference with cilium_vxlan interface#43

Merged
pothos merged 1 commit intoflatcar-masterfrom
kai/cilium-vxlan
Jul 29, 2021
Merged

networkd: prevent networkd interference with cilium_vxlan interface#43
pothos merged 1 commit intoflatcar-masterfrom
kai/cilium-vxlan

Conversation

@pothos
Copy link
Member

@pothos pothos commented Jul 29, 2021

Cilium's cilium_vxlan interface was getting the default networkd setup
applied which tries to attach an IP address through DHCP. This meant
that the interface was stuck in this "configuring" state by networkd
and now since somewhere between systemd 247.3 and 247.6 this also
causes a disruption, reported in
flatcar/Flatcar#455

Set the cilium_vxlan interface to be not managed by networkd's default
setup with DHCP as it's managed by Cilium.

How to use

To verify, check networkctl output to have cilium_vxlan to be unmanaged instead of configuring. Also check that it fixes the mentioned issue with Stable 2905.2.0

Testing done

Manually added the file to /etc/systemd/network/ and verified that it fixed the reproducer and the kubeadm.cilium.base test and ran a full test http://localhost:9091/job/os/job/manifest/3158/cldsv/ for the commit here

@pothos pothos requested a review from a team July 29, 2021 11:26
Cilium's cilium_vxlan interface was getting the default networkd setup
applied which tries to attach an IP address through DHCP. This meant
that the interface was stuck in this "configuring" state by networkd
and now since somewhere between systemd 247.3 and 247.6 this also
causes a disruption, reported in
flatcar/Flatcar#455

Set the cilium_vxlan interface, and any other Cilium interfaces, to be
not managed by networkd's default setup with DHCP as it's managed by
Cilium.
@pothos pothos force-pushed the kai/cilium-vxlan branch from 23bb7d1 to 0eb4436 Compare July 29, 2021 11:32
@pothos pothos merged commit bafab09 into flatcar-master Jul 29, 2021
@pothos pothos deleted the kai/cilium-vxlan branch July 29, 2021 18:00
pothos added a commit to flatcar-archive/coreos-overlay that referenced this pull request Jul 29, 2021
pothos added a commit to flatcar-archive/coreos-overlay that referenced this pull request Jul 30, 2021
pothos added a commit to flatcar-archive/coreos-overlay that referenced this pull request Jul 30, 2021
pothos added a commit to flatcar-archive/coreos-overlay that referenced this pull request Jul 30, 2021
t-lo pushed a commit to flatcar/scripts that referenced this pull request Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants