Skip to content
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

ArchLinux CI is failing since 2024-10-10 (due to the update of the cloud-init package) #2714

Closed
AkihiroSuda opened this issue Oct 9, 2024 · 3 comments · Fixed by #2823
Closed
Labels
area/test Tests and CI guest/archlinux Guest: Arch Linux priority/high

Comments

@AkihiroSuda
Copy link
Member

AkihiroSuda commented Oct 9, 2024

EDIT: this is a regression in cloud-init 24.3.1-1
https://gitlab.archlinux.org/archlinux/packaging/packages/cloud-init/-/issues/3


https://github.com/lima-vm/lima/actions/runs/11263406944/job/31321212683

time="2024-10-09T22:01:04Z" level=info msg="[hostagent] Waiting for the essential requirement 2 of 4: \"user session is ready for ssh\""
time="2024-10-09T22:01:44Z" level=info msg="[hostagent] Waiting for the essential requirement 2 of 4: \"user session is ready for ssh\""
time="2024-10-09T22:02:24Z" level=info msg="[hostagent] Waiting for the essential requirement 2 of 4: \"user session is ready for ssh\""
time="2024-10-09T22:02:52Z" level=fatal msg="did not receive an event with the \"running\" status"
Error: ERROR] Failed to start "archlinux"
@AkihiroSuda
Copy link
Member Author

AkihiroSuda commented Oct 10, 2024

Looks like /run/lima-ssh-ready is not created after rebooting.

Also, /mnt/lima-cidata/ isn't mounted

@AkihiroSuda
Copy link
Member Author

AkihiroSuda commented Oct 10, 2024

This seems caused by the recent update of the cloud-init package: https://gitlab.archlinux.org/archlinux/packaging/packages/cloud-init/-/commit/08e804f7c41f7d742496aac6439ea8545d7202b6

canonical/cloud-init@24.2...24.3.1

After this update, /var/lib/cloud/scripts/per-boot/00-lima.boot.sh (mounts the cdrom and executes boot.sh there) is apparently no longer executed.

Potentially relevant:

Debian sid also uses cloud-init 24.3.1, but Debian sid seems unaffected.

@AkihiroSuda AkihiroSuda changed the title ArchLinux CI is failing since 2024-10-10 ArchLinux CI is failing since 2024-10-10 (due to the update of the cloud-init package?) Oct 10, 2024
@AkihiroSuda AkihiroSuda changed the title ArchLinux CI is failing since 2024-10-10 (due to the update of the cloud-init package?) ArchLinux CI is failing since 2024-10-10 (due to the update of the cloud-init package) Oct 10, 2024
@AkihiroSuda
Copy link
Member Author

AkihiroSuda commented Oct 10, 2024

canonical/cloud-init@143bc9e#diff-eb94d50ed1a0a76032438b4bc5bccb389e9cc03d6766d7881463d8ee75f21f8fR25 introduced the dependency on nc.openbsd, but this binary seems missing on ArchLinux

The per-boot script is still not executed after installing opencat-netbsd and symlinking /usr/bin/nc.openbsd though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/test Tests and CI guest/archlinux Guest: Arch Linux priority/high
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant