networkd: prevent networkd interference of weave network devices#22
Merged
pothos merged 1 commit intoflatcar:flatcar-masterfrom Jul 31, 2020
Conversation
Member
|
Hello, |
Contributor
Author
|
Thank you, we are still doing some more testing on our side (on AWS), we'll comment here if we find anything. |
pothos
added a commit
that referenced
this pull request
Jul 27, 2020
networkd: prevent networkd interference of weave network devices by cdemers
pothos
approved these changes
Jul 31, 2020
Member
pothos
left a comment
There was a problem hiding this comment.
Ran tests on Digital Ocean and Azure
pothos
added a commit
to flatcar-archive/coreos-overlay
that referenced
this pull request
Jul 31, 2020
The special weave devices are now excluded from networkd to prevent interference. This pulls in flatcar/init#22
Member
|
Thank you for your contribution. This will be part of the next Alpha release. |
pothos
added a commit
to flatcar-archive/coreos-overlay
that referenced
this pull request
Sep 14, 2020
This pulls in the new sub key for flatcar-install flatcar/init#25 and a networkd unit to exclude Weave interfaces from DHCP flatcar/init#22 and an update to two other networkd units which lacked a match section that is mandatory in future systemd versions flatcar/init#23
jepio
pushed a commit
that referenced
this pull request
Feb 21, 2022
Enable iSCSI netroot devices on Flatcar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prevent networkd interference of weave network devices
This change prevents systemd-networkd interference with
the Weave virtual interfaces
weave,datapathandvxlan-6784are all created by Weave. Documentation on theseinterfaces is available here:
This fixes DHCP issues introduced by networkd interference
reported by multiple users and mainly highlighted by this issue:
The issue doesn't seems to cause any significant impact on
performance, however it will cause Weave NPC to produce a
high volume of the following repetitive warning logs.
WARN: 2019/07/05 11:12:25.102451 UDP connection from 0.0.0.0:68 to 255.255.255.255:67 blocked by Weave NPC.How to use
Having the
weave.networkfile provided to networkd shouldbe enough.
Testing done
We have run many Flatcar instances in production with this configuration enabled, for at least one full week. The instances
are part of a many Kubernetes clusters using Weave as their network overlay.