Commit b9e7570
committed
devconfig: remove 89-ethernet.network
The work on commit 683610d ("debian: install
/etc/systemd/network/89-ethernet.network") tried to do the best we can
with the willy bug present on systemd-networkd-wait-online.service where
if that service is enabled and you have no configuration for ethernet
the service never completes and fails and this can often cause some
services to time out that we may want to setup.
It turns out that adding our own /etc/systemd/network/89-ethernet.network
just to annotate we need dhcp is not sufficient to fix the issue across
all the self-hosted runners used by kdevops. Although many CIs are
not affected one system, the one used for the linux-firmware CI using
the linux-firwmare-kpd kept failing at bringup. Upon closer inspection
on the console, even if we upgraded the host and rebooted into the
latest debian testing packages, the host still had issues. The console
on the guest revealed that the IP address shifted when the file
89-ethernet.network was installed and the server restarted, so the
timeout on bringup was caused because the IP address we obtained first
for ssh-detection changed, so we can no longer connect to the guest.
Strange enough, if you reboot the guest we see the guest afterwards
gets *two* IP addresses assigned!
This is just nuts. So disable systemd-networkd-wait-online.service as
that is completely buggy and I don't think folks really thought this
out well.
Fixes: 683610d ("debian: install /etc/systemd/network/89-ethernet.network")
Signed-off-by: Luis Chamberlain <[email protected]>1 parent 01b0bdd commit b9e7570
File tree
3 files changed
+1
-25
lines changed- playbooks/roles/devconfig
- tasks/install-deps/debian
- templates
- scripts
3 files changed
+1
-25
lines changedLines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 46 | | |
53 | 47 | | |
54 | 48 | | |
| |||
Lines changed: 0 additions & 9 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | 253 | | |
263 | 254 | | |
264 | 255 | | |
| |||
0 commit comments