** Changed in: livecd-rootfs (Ubuntu)
Status: Confirmed => Fix Released
** Tags removed: verification-needed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1828500
Title:
snapd fails always
This bug was fixed in the package livecd-rootfs - 2.578.7
---
livecd-rootfs (2.578.7) disco; urgency=medium
[ Tobias Koch ]
* Add retry logic to snap-tool to make downloads more resilient.
(LP: #1837871)
-- Tobias Koch Mon, 26 Aug 2019 13:36:36
+0200
** Changed in:
This bug was fixed in the package livecd-rootfs - 2.525.28
---
livecd-rootfs (2.525.28) bionic; urgency=medium
[ Tobias Koch ]
* Do proper error checking when calling snap-tool info to determine
the base of a snap. (LP: #1828500)
[ Michael Vogt ]
* Run "snap debug
** Tags removed: rls-bb-incoming rls-dd-incoming
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1828500
Title:
snapd fails always in Optimised Ubuntu Desktop images available in
Microsoft Hyper-V
I have verified (bionic 2.525.28 and disco 2.578.6) that the changes to
snap_preseed do not break existing functionality and that an error is
thrown when the helper _snap_preseed is called with an invalid snap
name, resulting in snap-info failing to retrieve the base.
** Tags removed:
FYI: Comment #8 (with comment #5) fixed the problem for me :-)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1828500
Title:
snapd fails always in Optimised Ubuntu Desktop images available in
It passed now.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1828500
Title:
snapd fails always in Optimised Ubuntu Desktop images available in
Microsoft Hyper-V gallery
To manage notifications
I should have been more explicit. When I wrote comment #28, the tests
*had not finished running yet* so it was false at that point.
I don't know about this regression, let me retry it and if it happens
again, please investigate.
--
You received this bug notification because you are a member of
I believe that comment #27 is correct, because after that the
autopkgtests for ubuntu-image succeeded (triggered by a qemu update)
using the previous revision of livecd-rootfs on disco. But I'm not able
to tell how the changes made to livecd-rootfs affect the
operation/testing of ubuntu-image.
--
Comment #27 is not correct.
I tested a bionic desktop ISO built with this livecd-rootfs and built
successfully and got core, so snaps work.
Not sure if that is sufficient validation for this bug, so I won't (yet)
change the tags.
--
You received this bug notification because you are a member
Hello Peter, or anyone else affected,
Accepted livecd-rootfs into bionic-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/livecd-
rootfs/2.525.28 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
The attachment "Backport for Bionic" seems to be a debdiff. The ubuntu-
sponsors team has been subscribed to the bug report so that they can
review and hopefully sponsor the debdiff. If the attachment isn't a
patch, please remove the "patch" flag from the attachment, remove the
"patch" tag, and
** Patch added: "Backport for Disco"
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1828500/+attachment/5277326/+files/disco.debdiff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Description changed:
+ [Impact]
+
+ * Failing to do error checks on `snap-tool info` calls while determining
+ the bases of snaps can lead to inconsistently-seeded images as reported
+ in the original bug report below.
+
+ * This affects all stable releases which use automatic detection of
Maybe also useful: modifications to snap-tool to make it more resilient
to connection failures of all sorts:
https://code.launchpad.net/~tobijk/livecd-rootfs/+git/livecd-
rootfs/+merge/370139
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
Just as a heads up: the seed.yaml for the azure image also need
gnome-3-28-1804 in the seed. The `snap debug validate-image` will
validate all this once its landed so hopefully this will at least be
easy to detect fix (build-time instead of runtime).
--
You received this bug notification because
** 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
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Thanks everyone!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1828500
Title:
snapd fails always in Optimised Ubuntu Desktop images available in
Microsoft Hyper-V gallery
To manage
My mistake that I didn't do proper error checking while determining the
base of a snap. This here
https://code.launchpad.net/~tobijk/livecd-rootfs/+git/livecd-
rootfs/+merge/370096
will hopefully prevent this from happening again.
--
You received this bug notification because you are a member
I ran the following test on the current version of livecd-rootfs for
Bionic:
https://pastebin.ubuntu.com/p/wQknctr6ys/
with a positive result:
https://pastebin.ubuntu.com/p/N8PXRJJV9b/
So I think in principle it should work, but maybe there are silent
download failures. We definitely need
I have no understanding of the test process used to check a system
livecd build, but I imagine installing a snap that confirmed itself to
the test-system would be useful on each platform.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
I think we need to add validation of the seed.yaml to livecd-rootfs:
https://code.launchpad.net/~mvo/livecd-rootfs/+git/livecd-rootfs/+merge/370065
We also need to do more validation in "snap debug validate-seed":
https://github.com/snapcore/snapd/pull/7105
** Merge proposal linked:
** Merge proposal linked:
https://code.launchpad.net/~ken-vandine/ubuntu-seeds/+git/ubuntu/+merge/370061
** Merge proposal linked:
https://code.launchpad.net/~ken-vandine/ubuntu-seeds/+git/ubuntu/+merge/370062
** Merge proposal linked:
** Package changed: snapd (Ubuntu) => livecd-rootfs (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1828500
Title:
snapd fails always in Optimised Ubuntu Desktop images available in
Yeah. The images are broken, because they ship a broken seed.yaml. Who
creates the images? That's the project this bug needs to be assigned to.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1828500
To confirm, (from memory), sudo snap info --verbose
/var/lib/snapd/seed/snaps/*.snap | grep base:
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1828500
Title:
snapd fails always in Optimised
yeah. That seed.yaml is missing core18, and those snaps need it AFAIK.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1828500
Title:
snapd fails always in Optimised Ubuntu Desktop images available
followup:
$ sudo snap info --verbose /var/lib/snapd/seed/snaps/*.snap | grep base:
[sudo] password for dllewellyn:
base: core18
base: core18
base: core18
base: core18
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
@chipaca: seed.yaml from the 18.04.2 image in the Hyper-V Gallery
$ cat /var/lib/snapd/seed/seed.yaml
snaps:
-
name: core
channel: stable
file: core_6673.snap
-
name: gnome-3-26-1604
channel: stable/ubuntu-18.04
file: gnome-3-26-1604_82.snap
-
name:
I suspect these images have a broken seed.yaml. Could somebody attach
that?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1828500
Title:
snapd fails always in Optimised Ubuntu Desktop images
I can confirm this bug is still present in the optimised 18.04.2 image,
and also verify that the commands from post #5 above worked for me to
fix it. I actually had to purge snapd twice, as the first time it failed
due to being unable to delete a folder with `rm` since it was a folder,
not a file.
This is a pretty bad first experience for 19.04 gallery image as its
supposed to be 'out of the box'. Must be lots of people trying this
first time in hyper-v gallery and giving up. Took few hours to find
this bug post. I can verify that the #5 commands corrected problem.
purge was needed.
I've had the same problem and purging/re-installing via apt package
manager is the only way I could figure out to fix it.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1828500
Title:
snapd fails
After a long and fruitless digging around systemd unit and seed.loaded I
have removed (purged) and installed snapd package and it fixed this
issue for me.
Something along the lines of:
$ sudo apt purge snapd
$ sudo apt install snapd
$ sudo snap install core
--
You received this bug notification
'systemd-analyze blame' suggests to run 'systemctl list-jobs', this is
its output:
JOB UNIT TYPE STATE
148 snapd.autoimport.service start waiting
89 systemd-update-utmp-runlevel.service start waiting
2 multi-user.targetstart
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: snapd (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1828500
Title:
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.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
37 matches
Mail list logo