snapd fails always in Optimised Ubuntu Desktop images available in Microsoft Hyper-V gallery
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
livecd-rootfs (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* Failing to do error checks on `snap-tool info` calls while determining the bases of snaps can lead to inconsistently-
* This affects all stable releases which use automatic detection of the base snap during image builds.
* The changes proposed introduce extra error checking which should result in a build error, if the `snap-tool info` call fails, thus preventing distribution of a broken image.
[Test Case]
* It may be tricky to reproduce the exact error on demand. But it should be clear by looking at the code path in
https:/
that the scenario described below may arise.
* A way to test that the changes have no *negative* impact on functionality is to run a script such as
https:/
and compare it against the expected result
https:/
(In this case both core and core18 should have been seeded.) and
[Regression Potential]
* The regression potential for these changes is low, as they only add extra error checking but do not change the existing logic.
--- Original Bug Report ---
Alway fails in both 18.04.2 and 19.04
Reporting the bug failed too yesterday.
As a consequence LivePatch and everything else fails that is based on snapd.
This makes system unusable. This is a supported configuration.
https:/
https:/
xx@xenial-
[sudo] password for peterg:
error: too early for operation, device not yet seeded or device model not acknowledged
xx@xenial-
-- Logs begin at Thu 2019-05-09 20:06:58 AEST, end at Fri 2019-05-10 13:20:46 AEST. --
May 10 13:19:59 xenial-
May 10 13:20:00 xenial-
May 10 13:20:00 xenial-
May 10 13:20:00 xenial-
May 10 13:20:00 xenial-
May 10 13:20:46 xenial-
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: snapd 2.38+18.04
ProcVersionSign
Uname: Linux 4.15.0-48-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri May 10 13:21:25 2019
ProcEnviron:
LANGUAGE=en_AU:en
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_AU.UTF-8
SHELL=/bin/bash
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Robert C Jennings (community): Approve
- Iain Lane: Needs Fixing
-
Diff: 33 lines (+10/-1)2 files modifieddebian/control (+1/-1)
live-build/functions (+9/-0)
affects: | snapd (Ubuntu) → livecd-rootfs (Ubuntu) |
tags: | added: rls-bb-incoming |
Changed in livecd-rootfs (Ubuntu): | |
importance: | Undecided → High |
tags: | added: rls-dd-incoming |
Changed in livecd-rootfs (Ubuntu): | |
importance: | High → Critical |
tags: | removed: rls-bb-incoming rls-dd-incoming |
Changed in livecd-rootfs (Ubuntu): | |
status: | Confirmed → Fix Released |
tags: | removed: verification-needed |
Changed in livecd-rootfs (Ubuntu): | |
assignee: | nobody → Wojciech Gizela (giquix) |
assignee: | Wojciech Gizela (giquix) → nobody |
To my limited understanding system appears to have not completed its start:
peterg@ xenial- Virtual- Machine: ~$ systemd-analyze blame
Bootup is not yet finished. Please try again later.