-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UC22 network setup crashes #31
Comments
Here is the bug for netplan on LP https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1962095 |
@mwhudson @slyon so it seems that somehow console-conf should be compatible with the recent netplan. Such that it does the compatible thing on UC20 and their netplan; and also on UC22 and their netplan. What's the way forward to detect what target's netplan is expecting and ensuring that networkd is not stopped when it is expected to still be up? |
I think there is a fix on the netplan side in the works already - there is no PR yet but there is a branch from Lukas: https://github.com/canonical/netplan/tree/slyon/fix-netplan-apply-race |
@sil2100 sure, but canonical/netplan@2952644 is compatibility mode and is good making netplan compatible with old consumers. But it would be nice for UC22 for consoleconf to use the optimal codepath - i.e. just do reload like the new netplan supports, without stopping and starting networkd. If that works? |
Note that restarting the service will not work, because consolconf masks the service. You would have to unmask it. The socket unit as well. |
From canonical/subiquity@4101440 it looks like it would actually be unmasking systemd-networkd before calling If systemd-networkd would be masked when |
It seems that subiquity change was applied from the pull request canonical/subiquity#681 which seems to indicate that something kept on deleting (and possibly not recreating) vlans when their config did not change. Which is pretty bad in s390x, where ones connectivity to the installer may be hanging off the the vlan in question. Does networkd handle vlans / virtual devices more gracefully these days? |
Right, I misread it. |
…all-and-clean Better locale install and clean
To reproduce it, just freshly install UC22, and in subiquity, unconfigure the network. Apply. Then reconfigure it.
It will crash when subiquity calls "netplan apply", which will crash when calling "networkctl reload". And it is not possible to reconfigure.
The issue is more obvious on real hardware like raspberry pi, because network might not have configured itself before subiquity starts.
subiquity stops systemd-networkd since
canonical/subiquity@4101440
netplan tries to reload systemd-networkd since
canonical/netplan@3ec52c4
These 2 commits are not compatible.
The text was updated successfully, but these errors were encountered: