[Bug 1864252] Re: preseeded snap installs fail in images

2020-04-24 Thread Mathew Hodson
** No longer affects: livecd-rootfs (Ubuntu Xenial)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-03-15 Thread Michael Hudson-Doyle
I tried with 20200315 and snap seeding completed. It did take 57s though
per systemd-analyze blame, and as with that other bug I was booting off
pretty fast install media. I wonder if something is making it
excessively slow?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-03-15 Thread Michael Hudson-Doyle
Sorry I phrased that badly :( But I don't think your issue is caused by
the problem that this bug was about. I'll try to reproduce again but it
might be time to file a new bug. Can you include the output of "snap
changes" and "snap tasks $id" where $id is the id of any change that is
not Done?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-03-13 Thread Francis Ginther
** Tags added: id-5e4efeb8f00ff60ed69d009d

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-03-13 Thread Francis Ginther
** Tags added: id-5e5051a4e00bad81f435391c

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-03-13 Thread Jean-Baptiste Lallement
it is not a question of claiming or not claiming, it's a fact.

$ cat /var/log/installer/media-info 
Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200312)

$ systemd-analyze 
Bootup is not yet finished 
(org.freedesktop.systemd1.Manager.FinishTimestampMonotonic=0).

$ systemctl list-jobs 
JOB UNIT TYPE  STATE  
147 snapd.seeded.service start running
170 zsys-commit.service  start waiting
  1 graphical.target start waiting
  2 multi-user.targetstart waiting
136 systemd-update-utmp-runlevel.service start waiting
109 snapd.autoimport.service start waiting

6 jobs listed.

$ sudo snap install firefox
[sudo] password for u: 
error: too early for operation, device not yet seeded or device model not 
acknowledged

from the journal:
mars 12 14:31:57 u-Inspiron-13-5378 systemd[1]: Starting Snappy daemon...
mars 12 14:31:58 u-Inspiron-13-5378 snapd[1637]: AppArmor status: apparmor is 
enabled and all features are available
mars 12 14:31:58 u-Inspiron-13-5378 snapd[1637]: daemon.go:343: started 
snapd/2.44~pre1+20.04 (series 16; classic) ubuntu/20.04 (amd64) 
linux/5.4.0-14-generic.
mars 12 14:31:58 u-Inspiron-13-5378 snapd[1637]: daemon.go:436: adjusting 
startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap)
mars 12 14:31:58 u-Inspiron-13-5378 snapd[1637]: helpers.go:105: error trying 
to compare the snap system key: system-key missing on disk
mars 12 14:31:58 u-Inspiron-13-5378 systemd[1]: Started Snappy daemon.
mars 12 14:32:02 u-Inspiron-13-5378 snapd[1637]: stateengine.go:150: state 
ensure error: devicemgr: cannot find signatures with metadata for snap 
"gnome-3-34-1804" ("/var/lib/snapd/seed/snaps/gnome-3-34-1804_12.snap")

What other log do you need?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-03-12 Thread Michael Hudson-Doyle
Snap seeding completed for me using 20200312 when I was testing
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1867065 so if
someone is going to claim it's not we need logs and evidence I think.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-03-12 Thread Jean-Baptiste Lallement
I'm still having this issue with Ubuntu Desktop 20200312. Is this really
fixed?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-03-11 Thread Michael Hudson-Doyle
That was my fault, should be better now though.

** Changed in: livecd-rootfs (Ubuntu Focal)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-03-10 Thread Paride Legovini
Steps to reproduce:

1. Download the latest focal-live-server-amd64.iso
2. qemu-img create -f raw disk.img 8G
3. kvm -m 2048 -boot d -cdrom focal-live-server-amd64.iso -drive 
file=disk.img,if=virtio

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-03-10 Thread Paride Legovini
I have to reopen a Focal task for this bug as the problem is happening
again with the live-server ISOs with serial 20200309: the snapd seeding
never completes (see screenshot). The latest Bionic image boots fine.
The Focal live-server images with serial 20200306 were working fine too.
This affects multiple architectures.

** Also affects: livecd-rootfs (Ubuntu Focal)
   Importance: High
 Assignee: Robert C Jennings (rcj)
   Status: Fix Released

** Changed in: livecd-rootfs (Ubuntu Focal)
   Status: Fix Released => New

** Attachment added: 
"Screenshot_utah-93418-focal-live-server-amd64_2020-03-10_14:25:17.png"
   
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+attachment/5335349/+files/Screenshot_utah-93418-focal-live-server-amd64_2020-03-10_14%3A25%3A17.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-03-06 Thread Brian Murray
** Changed in: livecd-rootfs (Ubuntu Xenial)
   Status: In Progress => Invalid

** Changed in: livecd-rootfs (Ubuntu Xenial)
 Assignee: Brian Murray (brian-murray) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-03-05 Thread Robert C Jennings
Brian, I've performed SRU testing per the test plan for both eoan and
bionic and I've marked them verification-done.  Can we get this promoted
to -updates now?

** Tags removed: verification-needed verification-needed-bionic 
verification-needed-eoan
** Tags added: verification-done verification-done-bionic verification-done-eoan

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-03-05 Thread Robert C Jennings
Okay, that verification comment was insufficient, here are the full
details.

I tested 2.620.1 from eoan-proposed and 2.525.41 from bionic-proposed.

For each suite I produce images that include preseeded snaps (in
/var/lib/snapd/seed/*) using the ubuntu-cpc project (unminimized) and
images that did not include snaps by default using the ubuntu-cpc
project with the minimized subproject but adding a snap in a binary hook
(and not specifying a core snap beforehand).

Review of the build logs showed that the snaps were downloaded and when
'core' was not present in the image previously the core snap would be
downloaded as a dependency.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-03-05 Thread Launchpad Bug Tracker
This bug was fixed in the package livecd-rootfs - 2.525.41

---
livecd-rootfs (2.525.41) bionic; urgency=medium

  * Use snap cli rather than custom snap-tool (LP: #1864252)
  * Address snap base regression after snap-tool removal

 -- Robert C Jennings   Fri, 28 Feb 2020
08:29:57 -0600

** Changed in: livecd-rootfs (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-03-05 Thread Launchpad Bug Tracker
This bug was fixed in the package livecd-rootfs - 2.620.1

---
livecd-rootfs (2.620.1) eoan; urgency=medium

  * Use snap cli rather than custom snap-tool (LP: #1864252)

 -- Robert C Jennings   Tue, 25 Feb 2020
16:15:48 -0600

** Changed in: livecd-rootfs (Ubuntu Eoan)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-03-04 Thread Robert C Jennings
** Description changed:

  [Impact]
  
  Images built with pre-seeded snaps contain insufficient assertion data
  causing boot to fail.
  
  The snaps for seeding are downloaded with a custom snap tool for an
  earlier cohort API (now deprecated).  The assertions that it pulls are
  incomplete.  We could update that list and move to the new API but at
  this time the snap-tool provides no value compared to use of the snap
  CLI (cohort support has moved to the cli as well).  The development
  overhead of maintaining snap-tool in livecd-rootfs are not warranted.
  
  This patch removes the bespoke snap-tool and relies on the snap CLI
  instead.
  
  [Test Case]
  
   * Produce images that include preseeded snaps (in
  /var/lib/snapd/seed/*)
  
+  * Produce an image which does not include snaps by default from the
+ ubuntu package seed (ubuntu-cpc:minimized does this) but add a snap in a
+ binary hook.  Ensure the base snap for the specified snap is installed.
+ 
   * Boot the resulting image and ensure that the snapd.seeded unit is
  successful and the snaps (from the correct channels) show up in 'snap
  list'
  
  [Regression Potential]
  
   * The interface for these two tools is consistent and the output should
  be the same.  There's always a chance that snap-tool had quirks which a
  move to the snap CLI uncovers, where the result would be different snaps
  seeded from before the change. An example would be channel differences
  before and after this change. I haven't seen issues in my testing and I
  do think it's unlikely, mostly I'm suspicious of SRUs that don't list
  any regression potentials.
  
  [Other Info]
  
  * The snap-tool that is being removed is used only in livecd-rootfs through 
live-build/functions.   The replacement with the upstream snap cli is 
equivalent the 'info' and 'download' commands that are used.  The snap-tool 
code is using deprecated APIs which do not provide the data needed for 
pre-seeding.
  * The attached MP for Xenial is simpler as it never had snap-tool.  The 
Xenial MP is a minor change to give us parity between releases for use of the 
snap cohort key during download.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-03-03 Thread Brian Murray
Hello Robert, or anyone else affected,

Accepted livecd-rootfs into eoan-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/livecd-
rootfs/2.620.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-eoan to verification-done-eoan. If it does not fix
the bug for you, please add a comment stating that, and change the tag
to verification-failed-eoan. In either case, without details of your
testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: livecd-rootfs (Ubuntu Eoan)
   Status: Confirmed => Fix Committed

** Tags added: verification-needed verification-needed-eoan

** Changed in: livecd-rootfs (Ubuntu Bionic)
   Status: Confirmed => Fix Committed

** Tags added: verification-needed-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-02-28 Thread Robert C Jennings
** Merge proposal linked:
   
https://code.launchpad.net/~rcj/livecd-rootfs/+git/livecd-rootfs/+merge/380036

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-02-27 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~rcj/livecd-rootfs/+git/livecd-rootfs/+merge/379968

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1864252] Re: preseeded snap installs fail in images

2020-02-26 Thread Steve Langasek
On Wed, Feb 26, 2020 at 06:20:29PM -, corrado venturini wrote:
> On my Ubuntu 20.04 installed from Ubuntu 20.04 LTS "Focal Fossa" - Alpha 
> amd64 (20200220)
> doing update+upgrade the upgrade process hang with message
> snapd.failure.service is a disabled or a static unit, not starting it.
> snapd.snap-repair.service is a disabled or a static unit, not starting it.

That does not sound like it's related to this bug, but if it is, the remedy
would be for you to reinstall from a later image that has the fixed
preseeding behavior, or to manually fix the state of your snap installs.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-02-26 Thread Robert C Jennings
** Changed in: livecd-rootfs (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-02-26 Thread corrado venturini
On my Ubuntu 20.04 installed from Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 
(20200220)
doing update+upgrade the upgrade process hang with message
snapd.failure.service is a disabled or a static unit, not starting it.
snapd.snap-repair.service is a disabled or a static unit, not starting it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-02-25 Thread Launchpad Bug Tracker
** Merge proposal unlinked:
   
https://code.launchpad.net/~rcj/livecd-rootfs/+git/livecd-rootfs/+merge/379691

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-02-25 Thread Robert C Jennings
** Merge proposal linked:
   
https://code.launchpad.net/~rcj/livecd-rootfs/+git/livecd-rootfs/+merge/379863

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-02-25 Thread Mathew Hodson
** Changed in: livecd-rootfs (Ubuntu)
   Importance: Undecided => High

** Changed in: livecd-rootfs (Ubuntu Xenial)
   Importance: Undecided => High

** Changed in: livecd-rootfs (Ubuntu Bionic)
   Importance: Undecided => High

** Changed in: livecd-rootfs (Ubuntu Eoan)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-02-25 Thread Robert C Jennings
** Merge proposal linked:
   
https://code.launchpad.net/~rcj/livecd-rootfs/+git/livecd-rootfs/+merge/379858

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-02-24 Thread Brian Murray
** Also affects: livecd-rootfs (Ubuntu Eoan)
   Importance: Undecided
   Status: New

** Also affects: livecd-rootfs (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: livecd-rootfs (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Changed in: livecd-rootfs (Ubuntu Xenial)
   Status: New => In Progress

** Changed in: livecd-rootfs (Ubuntu Xenial)
 Assignee: (unassigned) => Brian Murray (brian-murray)

** Changed in: livecd-rootfs (Ubuntu Bionic)
   Status: New => Confirmed

** Changed in: livecd-rootfs (Ubuntu Eoan)
   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/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-02-24 Thread Robert C Jennings
** Description changed:

  [Impact]
  
  Images built with pre-seeded snaps contain insufficient assertion data
  causing boot to fail.
  
  The snaps for seeding are downloaded with a custom snap tool for an
  earlier cohort API (now deprecated).  The assertions that it pulls are
  incomplete.  We could update that list and move to the new API but at
  this time the snap-tool provides no value compared to use of the snap
  CLI (cohort support has moved to the cli as well).  The development
  overhead of maintaining snap-tool in livecd-rootfs are not warranted.
  
  This patch removes the bespoke snap-tool and relies on the snap CLI
  instead.
  
  [Test Case]
  
   * Produce images that include preseeded snaps (in
  /var/lib/snapd/seed/*)
  
   * Boot the resulting image and ensure that the snapd.seeded unit is
  successful and the snaps (from the correct channels) show up in 'snap
  list'
  
  [Regression Potential]
  
   * The interface for these two tools is consistent and the output should
  be the same.  There's always a chance that snap-tool had quirks which a
  move to the snap CLI uncovers, where the result would be different snaps
  seeded from before the change. An example would be channel differences
  before and after this change. I haven't seen issues in my testing and I
  do think it's unlikely, mostly I'm suspicious of SRUs that don't list
  any regression potentials.
  
  [Other Info]
  
- * The attached MP for Xenial is simpler as it never had snap-tool.  The
- Xenial MP is a minor change to give us parity between releases for use
- of the snap cohort key during download.
+ * The snap-tool that is being removed is used only in livecd-rootfs through 
live-build/functions.   The replacement with the upstream snap cli is 
equivalent the 'info' and 'download' commands that are used.  The snap-tool 
code is using deprecated APIs which do not provide the data needed for 
pre-seeding.
+ * The attached MP for Xenial is simpler as it never had snap-tool.  The 
Xenial MP is a minor change to give us parity between releases for use of the 
snap cohort key during download.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-02-24 Thread Robert C Jennings
Thank laney, I've fixed up the SRUs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-02-24 Thread Iain Lane
> so I think we just need to add --verbose.

(I've done that in focal now. Will trigger a rebuild if & when this
migrates out.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-02-24 Thread Iain Lane
After the dropping of snap-tool, Ubuntu desktop ISOs are failing to
build:

error: cannot validate seed:
- cannot use snap "gnome-3-28-1804": base "core18" is missing
- cannot use snap "gnome-calculator": base "core18" is missing
- cannot use snap "gnome-characters": base "core18" is missing
- cannot use snap "gnome-logs": base "core18" is missing
- cannot use snap "gtk-common-themes": base "core18" is missing

https://launchpadlibrarian.net/466333748/buildlog_ubuntu_focal_amd64_ubuntu_BUILDING.txt.gz

Ah, OK:

$ ./snap-tool info gnome-logs | egrep '^base:'
$ base:  core18
$ snap info gnome-logs | egrep '^base:'
$ 

but there is:

$ snap info --verbose gnome-logs | egrep '^base:'
$ base:core18

so I think we just need to add --verbose.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-02-22 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: livecd-rootfs (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/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-02-21 Thread Robert C Jennings
The merged code in focal has been tested in production and resolved this
issue.  We have images failing with this issue at least in eoan so a
short SRU cycle is desired.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-02-21 Thread Robert C Jennings
All of the MPs have been tested per the plan in the description.  For
eoan (where we have lxd seeded in the base image) the ubuntu-cpc project
was built and the qcow2 image booted in kvm to verify the snaps.  For
bionic and xenial (where no snaps are seeded in the image set) I tested
with the ubuntu-cpc project with a binary hook that seeded lxd.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-02-21 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~rcj/livecd-rootfs/+git/livecd-rootfs/+merge/379690

** Merge proposal linked:
   
https://code.launchpad.net/~rcj/livecd-rootfs/+git/livecd-rootfs/+merge/379691

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-02-21 Thread Robert C Jennings
** Description changed:

  [Impact]
  
  Images built with pre-seeded snaps contain insufficient assertion data
  causing boot to fail.
  
  The snaps for seeding are downloaded with a custom snap tool for an
  earlier cohort API (now deprecated).  The assertions that it pulls are
  incomplete.  We could update that list and move to the new API but at
  this time the snap-tool provides no value compared to use of the snap
  CLI (cohort support has moved to the cli as well).  The development
  overhead of maintaining snap-tool in livecd-rootfs are not warranted.
  
  This patch removes the bespoke snap-tool and relies on the snap CLI
  instead.
  
  [Test Case]
  
-  * Produce images that include preseeded snaps (in
+  * Produce images that include preseeded snaps (in
  /var/lib/snapd/seed/*)
  
-  * Boot the resulting image and ensure that the snapd.seeded unit is
+  * Boot the resulting image and ensure that the snapd.seeded unit is
  successful and the snaps (from the correct channels) show up in 'snap
  list'
  
  [Regression Potential]
  
-  * The interface for these two tools is consistent and the output should
+  * The interface for these two tools is consistent and the output should
  be the same.  There's always a chance that snap-tool had quirks which a
  move to the snap CLI uncovers, where the result would be different snaps
  seeded from before the change. An example would be channel differences
  before and after this change. I haven't seen issues in my testing and I
  do think it's unlikely, mostly I'm suspicious of SRUs that don't list
  any regression potentials.
+ 
+ [Other Info]
+ 
+ * The attached MP for Xenial is simpler as it never had snap-tool.  The
+ Xenial MP is a minor change to give us parity between releases for use
+ of the snap cohort key during download.

** Merge proposal linked:
   
https://code.launchpad.net/~rcj/livecd-rootfs/+git/livecd-rootfs/+merge/379689

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1864252] Re: preseeded snap installs fail in images

2020-02-21 Thread Robert C Jennings
** Description changed:

+ [Impact]
+ 
  Images built with pre-seeded snaps contain insufficient assertion data
- causing boot to fail.  The snaps for seeding are downloaded with a
- custom snap tool for an earlier cohort API (now deprecated).  The
- assertions that it pulls are incomplete.  We could update that list and
- move to the new API but at this time the snap-tool provides no value
- compared to use of the snap CLI (cohort support has moved to the cli as
- well).  The development overhead of maintaining snap-tool in livecd-
- rootfs are not warranted.
+ causing boot to fail.
+ 
+ The snaps for seeding are downloaded with a custom snap tool for an
+ earlier cohort API (now deprecated).  The assertions that it pulls are
+ incomplete.  We could update that list and move to the new API but at
+ this time the snap-tool provides no value compared to use of the snap
+ CLI (cohort support has moved to the cli as well).  The development
+ overhead of maintaining snap-tool in livecd-rootfs are not warranted.
+ 
+ This patch removes the bespoke snap-tool and relies on the snap CLI
+ instead.
+ 
+ [Test Case]
+ 
+  * Produce images that include preseeded snaps (in
+ /var/lib/snapd/seed/*)
+ 
+  * Boot the resulting image and ensure that the snapd.seeded unit is
+ successful and the snaps (from the correct channels) show up in 'snap
+ list'
+ 
+ [Regression Potential]
+ 
+  * The interface for these two tools is consistent and the output should
+ be the same.  There's always a chance that snap-tool had quirks which a
+ move to the snap CLI uncovers, where the result would be different snaps
+ seeded from before the change. An example would be channel differences
+ before and after this change. I haven't seen issues in my testing and I
+ do think it's unlikely, mostly I'm suspicious of SRUs that don't list
+ any regression potentials.

** Changed in: livecd-rootfs (Ubuntu)
 Assignee: (unassigned) => Robert C Jennings (rcj)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864252

Title:
  preseeded snap installs fail in images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1864252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs