cloud init failed to set up link for lo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Medium
|
Unassigned |
Bug Description
A error message was found in '/var/lib/
Using cloud-init 18.5
ERROR INFO:
-------------ERROR INFO--------
cat /var/lib/
{
"v1": {
"datasource": "DataSourceConf
"errors": [
"Unexpected error while running command.\nCommand: ['udevadm', 'test-builtin', 'net_setup_link', '/sys/class/
]
}
}
cloudinit.
Command: ['udevadm', 'test-builtin', 'net_setup_link', '/sys/class/
Exit code: 1
Reason: -
Stdout:
Stderr: Load module index
Network interface NamePolicy= disabled on kernel command line, ignoring.
Skipping empty file: /etc/systemd/
Parsed configuration file /usr/lib/
Parsed configuration file /run/systemd/
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:/
SUPPORT_URL="https:/
BUG_REPORT_URL="https:/
PRIVACY_
VERSION_
UBUNTU_
-------
--------systemd version -------
root@ecs-
ii dbus-user-session 1.12.16-2ubuntu2.1 amd64 simple interprocess messaging system (systemd --user integration)
ii libnss-
ii libpam-
ii libsystemd-
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
-------
cloud-init 18.5 is quite an old version of cloud-init. Can you see if the issue can be reproduced with the latest cloud-init version? If so, please run "cloud-init collect-logs" and upload the resulting tarball to this bug.