cloud-init timeout on boot
This bug report will be marked for expiration in 56 days if no further activity occurs. (find out why)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
When use autoinstall to boot I get some error information like this:
cloud-init failed to complete after 10 minutes of waiting.This suggests a bug……
I'm not sure if it's due to the package version of cloud-init,because it works well when I not upgrade the iso file.The cloud-init package version before upgrade is 24.1.3-
Here is my user-data file:
#cloud-config
# See the autoinstall documentation at:
# https:/
autoinstall:
apt:
disable_
fallback: offline-install
geoip: true
mirror-
primary:
- country-mirror
- arches: &id001
- amd64
- i386
uri: http://
- arches: &id002
- s390x
- arm64
- armhf
- powerpc
- ppc64el
- riscv64
uri: http://
preserve_
security:
- arches: *id001
uri: http://
- arches: *id002
uri: http://
codecs:
install: false
drivers:
install: false
identity:
hostname: sa
password: $6$NvrLT9a9PFf3
realname: admins
username: admins
kernel:
package: linux-generic
keyboard:
layout: us
toggle: null
variant: ''
locale: en_US.UTF-8
network:
ethernets:
eno1:
addresses:
- 192.168.3.80/24
- 114.114.114.114
search: []
routes:
- to: default
via: 192.168.3.1
version: 2
oem:
install: auto
source:
id: ubuntu-server
search_drivers: false
ssh:
allow-pw: true
authorized-
install-server: true
reporting:
builtin:
type: print
storage:
layout:
name: lvm
match:
ssd: no
late-commands:
- bash /target/
error-commands:
- tail -200 /var/log/syslog
updates: security
version: 1
Hi violetevergarden and thanks for the report,
Hmm I wonder if the following is relevant from the syslog:
2024-07- 22T14:39: 02.169216+ 08:00 ubuntu-server kernel: systemd[1]: sysinit.target: Found ordering cycle on cloud-init. service/ start 22T14:39: 02.169217+ 08:00 ubuntu-server kernel: systemd[1]: sysinit.target: Found dependency on systemd- networkd- wait-online. service/ start 22T14:39: 02.169218+ 08:00 ubuntu-server kernel: systemd[1]: sysinit.target: Found dependency on systemd- networkd. service/ start 22T14:39: 02.169219+ 08:00 ubuntu-server kernel: systemd[1]: sysinit.target: Found dependency on network- pre.target/ start 22T14:39: 02.169220+ 08:00 ubuntu-server kernel: systemd[1]: sysinit.target: Found dependency on firewalld. service/ start 22T14:39: 02.169220+ 08:00 ubuntu-server kernel: systemd[1]: sysinit.target: Found dependency on dbus.socket/start 22T14:39: 02.169221+ 08:00 ubuntu-server kernel: systemd[1]: sysinit.target: Found dependency on sysinit. target/ start 22T14:39: 02.169222+ 08:00 ubuntu-server kernel: systemd[1]: sysinit.target: Job cloud-init. service/ start deleted to break ordering cycle starting with sysinit. target/ start
2024-07-
2024-07-
2024-07-
2024-07-
2024-07-
2024-07-
2024-07-
Could you provide details on which ISO you're using? Also, could you describe your process for updating cloud-init a little more (how and why) please?
Thanks,
Chris