[Bug 1878225] Re: Please remove lxd.snap from lxd images, as it fails to seed thus failing the first boot - snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
Balint Reczey
1878225 at bugs.launchpad.net
Fri Jul 3 19:07:28 UTC 2020
@stgraber The "weird adt environment" is the autopkgtest infra we use
for gating packages to prevent regressions sneaking in to the release
pocket. LXD is not a .deb package but a snap so we can't gate
regressions as part of the standard Ubuntu classic process, but at the
moment it is somehow part of the snaps installed on images by default.
The reason for adding the tests-in-lxd test to systemd is to ensure that
new systemd versions work well running LXD and being installed in LXD
container at the same time. Upstream changes frequently introduce LXC
specific minor regressions thus I believe this test helps making the
user experience better.
If you see something in the aforementioned new test that is not expected
to work, please state that. Otherwise please triage the failure that we
are observing consistently on the autopkgtest infra.
The easiest way of reproducing the problem is clicking on the "♻" links on this page:
http://autopkgtest.ubuntu.com/packages/systemd/groovy/amd64
I agree with @xnox that snapd.seeding must not block boot indefinitely
and I also believe that snap upstreams (LXD here) most ensure fixing
problems affecting Ubuntu classic to have the privilege of being seeded
on images.
Shipping LXD as a .deb would also resolve the problem it is causing here
by being a snap to be seeded inside the LXC container and the
autopkgtest infra could gate LXD regressions again.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1878225
Title:
Please remove lxd.snap from lxd images, as it fails to seed thus
failing the first boot - snapd.seeded.service waits forever (?) to
have snaps seeded in LXD on s390x and arm64
Status in Auto Package Testing:
Invalid
Status in cloud-images:
New
Status in snapd:
New
Status in autopkgtest package in Ubuntu:
Invalid
Status in lxd package in Ubuntu:
Incomplete
Status in snapd package in Ubuntu:
Confirmed
Bug description:
lxc launch ubuntu-daily:groovy gg-test
lxc shell gg-test
root at gg-test:~# service snapd.seeded status
● snapd.seeded.service - Wait until snapd is fully seeded
Loaded: loaded (/lib/systemd/system/snapd.seeded.service; enabled; vendor preset: enabled)
Active: activating (start) since Tue 2020-05-12 14:14:52 UTC; 30min ago
Main PID: 249 (snap)
Tasks: 10 (limit: 4704)
Memory: 11.3M
CGroup: /system.slice/snapd.seeded.service
└─249 /usr/bin/snap wait system seed.loaded
May 12 14:14:52 gg-test systemd[1]: Starting Wait until snapd is fully
seeded...
root at gg-test:~# systemctl list-jobs
JOB UNIT TYPE STATE
132 systemd-update-utmp-runlevel.service start waiting
119 cloud-config.service start waiting
122 snapd.seeded.service start running
2 multi-user.target start waiting
115 cloud-init.target start waiting
1 graphical.target start waiting
138 snapd.autoimport.service start waiting
121 cloud-final.service start waiting
8 jobs listed.
root at gg-test:~# journalctl -a | pastebinit
https://paste.ubuntu.com/p/PtdcvvdKCM/
To manage notifications about this bug go to:
https://bugs.launchpad.net/auto-package-testing/+bug/1878225/+subscriptions
More information about the foundations-bugs
mailing list