long delay (40 seconds) in boot due to snapd.seeded.service
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This is a default container (bionic) launched from a ppc64el host
inside I see:
$ lxc launch ubuntu-daily:bionic sstest-616
$ lxc exec sstest-616 /bin/bash
root@sstest-616:~# systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.
graphical.target @46.675s
└─multi-user.target @46.673s
└─snapd.
└─snapd.service @6.448s +102ms
└
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: snapd 2.32.9+18.04
ProcVersionSign
Uname: Linux 4.15.0-24-generic ppc64le
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: ppc64el
Date: Thu Jul 19 17:30:10 2018
ProcEnviron:
TERM=screen-
PATH=(custom, no user)
LANG=C.UTF-8
ProcLoadAvg: 0.09 0.61 0.72 1/2304 728
ProcLocks:
6: POSIX ADVISORY WRITE 219 00:60:153 0 EOF
8: FLOCK ADVISORY WRITE 212 00:60:142 0 EOF
ProcSwaps:
Filename Type Size Used Priority
none virtual 8388544 8388544 0
ProcVersion: Linux version 4.15.0-24-generic (buildd@
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)
VarLogDump_list: total 0
cpu_cores: Number of cores present = 20
cpu_coreson: Number of cores online = 20
cpu_smt: SMT=8
possibly some relevant info, from journalctl -o short-monotonic
[ 540.929982] sstest-616 systemd[1]: snapd.seeded. service: Failed to reset devices.list: Operation not permitted networkd[ 155]: Could not set hostname: Method call timed out /api.snapcraft. io/api/ v1/snaps/ sections: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
[ 540.930083] sstest-616 sshd[257]: Server listening on 0.0.0.0 port 22.
[ 540.931309] sstest-616 sshd[257]: Server listening on :: port 22.
[ 540.931397] sstest-616 systemd[1]: Starting Wait until snapd is fully seeded...
<snip 40 second delay>
[ 565.816128] sstest-616 systemd-
[ 580.923210] sstest-616 snapd[211]: 2018/07/19 17:27:06.134123 stateengine.go:101: state ensure error: Get https:/
[ 581.042394] sstest-616 systemd[1]: Started Wait until snapd is fully seeded.