snapd.seeded.service hangs lxd container boots for five minutes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
On a Groovy host, I'm starting a lxd container with:
lxc launch ubuntu-daily:groovy foo
The container starts, but boot doesn't finish for five minutes. The "runlevel" command (as used by autopkgtest-
"systemd-analyze blame" shows:
5min 13.096s snapd.seeded.
1.727s cloud-init.service
1.466s systemd-
1.289s cloud-init-
1.096s cloud-config.
733ms snap.lxd.
732ms snapd.apparmor.
...
It appears that snapd.seeded.
On the host:
$ snap info lxd
...
installed: 4.4 (16723) 74MB -
In the container:
# cat /etc/cloud/
build_name: server
serial: 20200812
# dpkg-query -W snapd
snapd 2.46~pre1.
A colleague has also reproduced this on a Bionic host. I believe reproduction should be straightforward; I can provide more details if is not.
Does the problem persist? With the recent images, the seeding completes in < 2s on my system. If you still see the issue, can you attach the output of `snap debug seeding` command?