[Touch-packages] [Bug 1619258] Re: netplan should allow NICs to be disconnected and not stall the boot
@tbennett6421 Yes, please make use of the "optional: true" stanza in your interface definitions. https://netplan.io/reference/#common-properties-for-all-device-types -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1619258 Title: netplan should allow NICs to be disconnected and not stall the boot Status in Snappy: Fix Released Status in nplan package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Bug description: in older snappy image we used to set "allow-hotplug" in /etc/network/interfaces.d/ when configuring a NIC to avoid the boot to completely stall or to be stuck for 5min when trying to find an internet connection. with recent versions of netplan the configuration seems to be back to require a network to be up before moving on with them boot so that booting takes forever until the network connection times out. netplan should make the system check the physical link status when trying to bring up a network device instead of stalling the boot. To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1619258/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1619258] Re: netplan should allow NICs to be disconnected and not stall the boot
What is the actual fix for this. I have run into this multiple times. Is there a specific edit that needs to be made to the stanza in netplan? After reviewing the netplan docs I was unable to find a corresponding directive for allow-hotplug with /etc/network/interfaces. $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 20.04.4 LTS Release:20.04 Codename: focal $ sudo dpkg --list | grep netplan ii libnetplan0:amd64 0.104-0ubuntu2~20.04.1 ii netplan.io0.104-0ubuntu2~20.04.1 ```yaml network: ethernets: eno1: dhcp4: true eno2: dhcp4: true eno3: dhcp4: true eno4: dhcp4: true enp130s0: dhcp4: true enp130s0d1: dhcp4: true enp134s0f0: dhcp4: true enp134s0f1: dhcp4: true enp135s0f0: dhcp4: true enp135s0f1: dhcp4: true version: 2 ``` -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1619258 Title: netplan should allow NICs to be disconnected and not stall the boot Status in Snappy: Fix Released Status in nplan package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Bug description: in older snappy image we used to set "allow-hotplug" in /etc/network/interfaces.d/ when configuring a NIC to avoid the boot to completely stall or to be stuck for 5min when trying to find an internet connection. with recent versions of netplan the configuration seems to be back to require a network to be up before moving on with them boot so that booting takes forever until the network connection times out. netplan should make the system check the physical link status when trying to bring up a network device instead of stalling the boot. To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1619258/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1619258] Re: netplan should allow NICs to be disconnected and not stall the boot
Thanks, done. ** Changed in: nplan (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1619258 Title: netplan should allow NICs to be disconnected and not stall the boot Status in Snappy: Fix Released Status in nplan package in Ubuntu: Fix Released Status in systemd package in Ubuntu: Fix Released Bug description: in older snappy image we used to set "allow-hotplug" in /etc/network/interfaces.d/ when configuring a NIC to avoid the boot to completely stall or to be stuck for 5min when trying to find an internet connection. with recent versions of netplan the configuration seems to be back to require a network to be up before moving on with them boot so that booting takes forever until the network connection times out. netplan should make the system check the physical link status when trying to bring up a network device instead of stalling the boot. To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1619258/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1619258] Re: netplan should allow NICs to be disconnected and not stall the boot
feel free (i set the snappy task to fix-released too) ** Changed in: snappy Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1619258 Title: netplan should allow NICs to be disconnected and not stall the boot Status in Snappy: Fix Released Status in nplan package in Ubuntu: In Progress Status in systemd package in Ubuntu: Fix Released Bug description: in older snappy image we used to set "allow-hotplug" in /etc/network/interfaces.d/ when configuring a NIC to avoid the boot to completely stall or to be stuck for 5min when trying to find an internet connection. with recent versions of netplan the configuration seems to be back to require a network to be up before moving on with them boot so that booting takes forever until the network connection times out. netplan should make the system check the physical link status when trying to bring up a network device instead of stalling the boot. To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1619258/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1619258] Re: netplan should allow NICs to be disconnected and not stall the boot
This has been in a released version of netplan.io since 0.32. Are we right to mark this as Fix Released for nplan? It looks like LP: #1664844 has been marked as Fix Released too. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1619258 Title: netplan should allow NICs to be disconnected and not stall the boot Status in Snappy: Confirmed Status in nplan package in Ubuntu: In Progress Status in systemd package in Ubuntu: Fix Released Bug description: in older snappy image we used to set "allow-hotplug" in /etc/network/interfaces.d/ when configuring a NIC to avoid the boot to completely stall or to be stuck for 5min when trying to find an internet connection. with recent versions of netplan the configuration seems to be back to require a network to be up before moving on with them boot so that booting takes forever until the network connection times out. netplan should make the system check the physical link status when trying to bring up a network device instead of stalling the boot. To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1619258/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1619258] Re: netplan should allow NICs to be disconnected and not stall the boot
In progress; we got optional: true for that and systemd has a corresponding "RequiredForOnline=false". ** Changed in: nplan (Ubuntu) Status: Confirmed => In Progress ** Changed in: nplan (Ubuntu) Importance: Undecided => High ** Changed in: nplan (Ubuntu) Assignee: (unassigned) => Mathieu Trudel-Lapierre (cyphermox) ** Changed in: systemd (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1619258 Title: netplan should allow NICs to be disconnected and not stall the boot Status in Snappy: Confirmed Status in nplan package in Ubuntu: In Progress Status in systemd package in Ubuntu: Fix Released Bug description: in older snappy image we used to set "allow-hotplug" in /etc/network/interfaces.d/ when configuring a NIC to avoid the boot to completely stall or to be stuck for 5min when trying to find an internet connection. with recent versions of netplan the configuration seems to be back to require a network to be up before moving on with them boot so that booting takes forever until the network connection times out. netplan should make the system check the physical link status when trying to bring up a network device instead of stalling the boot. To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1619258/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1619258] Re: netplan should allow NICs to be disconnected and not stall the boot
The netplan piece of this is being driven via LP: #1664844. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1619258 Title: netplan should allow NICs to be disconnected and not stall the boot Status in Snappy: Confirmed Status in nplan package in Ubuntu: Confirmed Status in systemd package in Ubuntu: New Bug description: in older snappy image we used to set "allow-hotplug" in /etc/network/interfaces.d/ when configuring a NIC to avoid the boot to completely stall or to be stuck for 5min when trying to find an internet connection. with recent versions of netplan the configuration seems to be back to require a network to be up before moving on with them boot so that booting takes forever until the network connection times out. netplan should make the system check the physical link status when trying to bring up a network device instead of stalling the boot. To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1619258/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1619258] Re: netplan should allow NICs to be disconnected and not stall the boot
Yeah, we're kinda talking about two things, the problem with ubuntu core and the problem with the artful daily-live server installer. Both of those use networkd :) I'm think xnox has a plan for artful, I'm not sure if it will apply to ubuntu core though, maybe he can confirm? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1619258 Title: netplan should allow NICs to be disconnected and not stall the boot Status in Snappy: Confirmed Status in nplan package in Ubuntu: Confirmed Status in systemd package in Ubuntu: New Bug description: in older snappy image we used to set "allow-hotplug" in /etc/network/interfaces.d/ when configuring a NIC to avoid the boot to completely stall or to be stuck for 5min when trying to find an internet connection. with recent versions of netplan the configuration seems to be back to require a network to be up before moving on with them boot so that booting takes forever until the network connection times out. netplan should make the system check the physical link status when trying to bring up a network device instead of stalling the boot. To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1619258/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1619258] Re: netplan should allow NICs to be disconnected and not stall the boot
Note that this bug is about Ubuntu Core (xenial), i dont think we use systemd-networkd in the rest of xenial ( https://lists.ubuntu.com/archives/ubuntu-devel/2016-January/039066.html ) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1619258 Title: netplan should allow NICs to be disconnected and not stall the boot Status in Snappy: Confirmed Status in nplan package in Ubuntu: Confirmed Status in systemd package in Ubuntu: New Bug description: in older snappy image we used to set "allow-hotplug" in /etc/network/interfaces.d/ when configuring a NIC to avoid the boot to completely stall or to be stuck for 5min when trying to find an internet connection. with recent versions of netplan the configuration seems to be back to require a network to be up before moving on with them boot so that booting takes forever until the network connection times out. netplan should make the system check the physical link status when trying to bring up a network device instead of stalling the boot. To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1619258/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1619258] Re: netplan should allow NICs to be disconnected and not stall the boot
possibly a bug in systemd-networkd-wait-online ** Also affects: systemd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1619258 Title: netplan should allow NICs to be disconnected and not stall the boot Status in Snappy: Confirmed Status in nplan package in Ubuntu: Confirmed Status in systemd package in Ubuntu: New Bug description: in older snappy image we used to set "allow-hotplug" in /etc/network/interfaces.d/ when configuring a NIC to avoid the boot to completely stall or to be stuck for 5min when trying to find an internet connection. with recent versions of netplan the configuration seems to be back to require a network to be up before moving on with them boot so that booting takes forever until the network connection times out. netplan should make the system check the physical link status when trying to bring up a network device instead of stalling the boot. To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1619258/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp