snapd.seeded.service never finishes on non-amd64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Undecided
|
Unassigned | ||
cloud-images |
Fix Released
|
Critical
|
John Chittum | ||
snapd |
Fix Released
|
Undecided
|
Unassigned | ||
docker.io (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
livecd-rootfs (Ubuntu) |
Fix Released
|
Undecided
|
John Chittum | ||
snapd (Ubuntu) |
Fix Released
|
Critical
|
Ian Johnson |
Bug Description
When launching an lxd container on non-amd64 architectures, snapd.seeded.
This bug was found while investigating what I thought was a cloud-init problem, because after launching a container I'd see:
# cloud-init status
status: running
and the status would never transition to "done". James Falcon (cloud-init dev) helped with the investigation and found that snapd was actually the culprit here. One can check it by doing:
# systemd-analyze blame
Bootup is not yet finished (org.freedeskto
Please try again later.
Hint: Use 'systemctl list-jobs' to see active jobs
# systemctl list-jobs
JOB UNIT TYPE STATE
102 cloud-init.target start waiting
110 cloud-final.service start waiting
2 multi-user.target start waiting
131 snapd.autoimpor
103 cloud-config.
1 graphical.target start waiting
111 snapd.seeded.
141 systemd-
8 jobs listed.
# systemctl status snapd.seeded.
● snapd.seeded.
Loaded: loaded (/lib/systemd/
Active: activating (start) since Fri 2021-09-17 19:46:40 UTC; 24min ago
Main PID: 336 (snap)
Tasks: 8 (limit: 4777)
Memory: 35.6M
CGroup: /system.
└─336 /usr/bin/snap wait system seed.loaded
Sep 17 19:46:40 docker systemd[1]: Starting Wait until snapd is fully seeded...
Inspecting snapd.service's logs, I see some strange messages (for example, a segmentation fault on taskrunner.go) that could be related to this problem. I'm attaching the logs to this bug.
This issue is blocking docker.io on impish-proposed, which in turn is impacting the build of our OCI images for Ubuntu 21.10.
Changed in snapd (Ubuntu): | |
status: | In Progress → Fix Committed |
tags: | added: rls-ii-incoming |
Changed in cloud-images: | |
status: | New → Confirmed |
Changed in docker.io (Ubuntu): | |
status: | New → Invalid |
Changed in livecd-rootfs (Ubuntu): | |
assignee: | nobody → John Chittum (jchittum) |
Changed in cloud-images: | |
assignee: | nobody → John Chittum (jchittum) |
Changed in livecd-rootfs (Ubuntu): | |
status: | New → Fix Released |
Changed in cloud-images: | |
status: | Confirmed → In Progress |
tags: | added: openstack-ibm s390x uosci |
Changed in ubuntu-z-systems: | |
status: | New → In Progress |
Changed in snapd (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | In Progress → Fix Released |
Changed in snapd: | |
status: | New → Fix Released |
Adding a docker.io to reflect that this bug is blocking the package on impish-proposed.