yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #92280
[Bug 1961355] Re: cloud init failed to set up link for lo
Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/3950
** Bug watch added: github.com/canonical/cloud-init/issues #3950
https://github.com/canonical/cloud-init/issues/3950
** Changed in: cloud-init
Status: Triaged => Expired
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1961355
Title:
cloud init failed to set up link for lo
Status in cloud-init:
Expired
Bug description:
A error message was found in '/var/lib/cloud/data/result.json' when booting a Ubuntu20.04 server.
Using cloud-init 18.5
ERROR INFO:
-------------ERROR INFO--------
cat /var/lib/cloud/data/result.json
{
"v1": {
"datasource": "DataSourceConfigDrive [net,ver=2][source=/dev/vdb]",
"errors": [
"Unexpected error while running command.\nCommand: ['udevadm', 'test-builtin', 'net_setup_link', '/sys/class/net/lo']\nExit code: 1\nReason: -\nStdout: \nStderr: Load module index\n Network interface NamePolicy= disabled on kernel command line, ignoring.\n Skipping empty file: /etc/systemd/network/99-default.link\n Parsed configuration file /usr/lib/systemd/network/73-usb-net-by-mac.link\n Parsed configuration file /run/systemd/network/10-netplan-eth0.link\n Created link configuration context.\n Builtin command 'net_setup_link' fails: No such file or directory\n Unload module index\n Unloaded link configuration context."
]
}
}
cloudinit.util.ProcessExecutionError: Unexpected error while running command.
Command: ['udevadm', 'test-builtin', 'net_setup_link', '/sys/class/net/lo']
Exit code: 1
Reason: -
Stdout:
Stderr: Load module index
Network interface NamePolicy= disabled on kernel command line, ignoring.
Skipping empty file: /etc/systemd/network/99-default.link
Parsed configuration file /usr/lib/systemd/network/73-usb-net-by-mac.link
Parsed configuration file /run/systemd/network/10-netplan-eth0.link
Created link configuration context.
Builtin command 'net_setup_link' fails: No such file or directory
Unload module index
Unloaded link configuration context.
-------------------------------
-------------OS info-----------
# cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
-------------------------------
--------systemd version -------
root@ecs-systemd-zjs:~# dpkg -l | grep systemd
ii dbus-user-session 1.12.16-2ubuntu2.1 amd64 simple interprocess messaging system (systemd --user integration)
ii libnss-systemd:amd64 245.4-4ubuntu3.14 amd64 nss module providing dynamic user and group name resolution
ii libpam-systemd:amd64 245.4-4ubuntu3.14 amd64 system and service manager - PAM module
ii libsystemd-dev:amd64 245.4-4ubuntu3.14 amd64 systemd utility library - development files
ii libsystemd0:amd64 245.4-4ubuntu3.14 amd64 systemd utility library
ii networkd-dispatcher 2.0.1-1 all Dispatcher service for systemd-networkd connection status changes
ii systemd 245.4-4ubuntu3.14 amd64 system and service manager
ii systemd-sysv 245.4-4ubuntu3.14 amd64 system and service manager - SysV links
rc systemd-timesyncd 245.4-4ubuntu3.14 amd64 minimalistic service to synchronize local time with NTP servers
-------------------------------
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1961355/+subscriptions
References