[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
@snapd team This is automated, unattended deployments, which have no ability to "stop snapd.seeding, and run it again". That's not an acceptable solution. The unit is pulled into the initial transaction, failing or stopping it, will make the transaction fail, and will fail to complete the boot correctly and finish cloud-init on first boot, which needs to install snaps and have operation snapd which has completed seeding. It sounds like we must remove seeded snaps from our LXD images, and not install any seeded snaps inside our container. And like only install the lxd stub deb. Cause it looks like seeding snaps is not supported inside classic lxd containers. ** Changed in: snapd (Ubuntu) Importance: High => Critical ** Also affects: snapd Importance: Undecided Status: New ** Also affects: cloud-images Importance: Undecided Status: New ** Summary changed: - snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 + Please remove lxd.snap from lxd images, as it fails to seed thus failing the first boot - snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 ** Changed in: autopkgtest (Ubuntu) Status: New => Invalid ** Changed in: auto-package-testing Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: Please remove lxd.snap from lxd images, as it fails to seed thus failing the first boot - snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/auto-package-testing/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
AppArmor mount rules have had a lot of issues in the past (and still do) depending on the version of kernel, the parser and the exact rule. If you want an easy way out of this, setting `raw.apparmor=mount,` on your container will almost certainly get such issues to disappear. LXD 4.0 has a number of tweaks in the rules to workaround a bunch of those issues. It's a trick we can do on unprivileged containers as we don't rely on apparmor for security there, for privileged containers, we don't get to do the same and so our policy is quite a bit more strict. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/auto-package-testing/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
``` root@bos02-s390x-01:~# uname -a Linux bos02-s390x-01 5.4.0-37-generic #41~18.04.1-Ubuntu SMP Mon Jun 8 13:36:31 UTC 2020 s390x s390x s390x GNU/Linux root@bos02-s390x-01:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 18.04.4 LTS Release:18.04 Codename: bionic root@bos02-s390x-01:~# lxc launch ubuntu-daily:groovy gg2 Creating gg2 Error: Failed instance creation: Unable to fetch https://cloud-images.ubuntu.com/daily/server/groovy/20200619/groovy-server-cloudimg-s390x-lxd.tar.xz: 404 Not Found root@bos02-s390x-01:~# systemctl reload snap.lxd.daemon root@bos02-s390x-01:~# lxc launch ubuntu-daily:groovy gg2 Creating gg2 Starting gg2 root@bos02-s390x-01:~# lxc shell gg2 root@gg2:~# service snapd.seeded status ● snapd.seeded.service - Wait until snapd is fully seeded Loaded: loaded (/lib/systemd/system/snapd.seeded.service; enabled; vendor preset: enabled) Active: active (exited) since Fri 2020-06-26 03:11:52 UTC; 1min 11s ago Process: 395 ExecStart=/usr/bin/snap wait system seed.loaded (code=exited, status=0/SUCCESS) Main PID: 395 (code=exited, status=0/SUCCESS) Jun 26 03:11:43 gg2 systemd[1]: Starting Wait until snapd is fully seeded... Jun 26 03:11:52 gg2 systemd[1]: Finished Wait until snapd is fully seeded. root@gg2:~# systemctl list-jobs No jobs running. root@gg2:~# logout root@bos02-s390x-01:~# ``` That's your reproducer running on 18.04 s390x. Can we please get clear, reliable instructions on how to reproduce this? ** Changed in: lxd (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/auto-package-testing/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
Please ignore the juju reproducer then and focus on the failure on autopkgtest infra. The system set up by juju was upgraded from 18.04 as I wrote and the failure is not that interesting for me. I'm interested in making the systemd autopkgtest not failing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/auto-package-testing/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
** Changed in: lxd (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/auto-package-testing/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
""" ubuntu@juju-d7a408-generic-21:~$ lxc --version 3.0.4 """ Ubuntu 20.04 does not contain that version of LXD, so there's something wrong with your system. ** Changed in: lxd (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/auto-package-testing/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
On s390x running 20.04 (upgraded from 18.04 and not rebooting after that) as host: ubuntu@juju-d7a408-generic-21:~$ lxc launch ubuntu-daily:groovy gg2 Creating gg2 Starting gg2 ubuntu@juju-d7a408-generic-21:~$ lxc shell gg2 root@gg2:~# service snapd.seeded status ● snapd.seeded.service - Wait until snapd is fully seeded Loaded: loaded (/lib/systemd/system/snapd.seeded.service; enabled; vendor preset: enabled) Active: activating (start) since Tue 2020-06-23 12:14:41 UTC; 53s ago Main PID: 247 (snap) Tasks: 7 (limit: 4782) Memory: 19.7M CGroup: /system.slice/snapd.seeded.service └─247 /usr/bin/snap wait system seed.loaded Jun 23 12:14:41 gg2 systemd[1]: Starting Wait until snapd is fully seeded... root@gg2:~# systemctl list-jobs JOB UNIT TYPE STATE 122 cloud-final.service start waiting 118 cloud-config.service start waiting 137 systemd-update-utmp-runlevel.service start waiting 115 cloud-init.targetstart waiting 123 snapd.seeded.service start running 1 graphical.target start waiting 112 snapd.autoimport.service start waiting 2 multi-user.targetstart waiting 8 jobs listed. root@gg2:~# uname -a Linux gg2 5.4.0-14-generic #17-Ubuntu SMP Thu Feb 6 22:46:43 UTC 2020 s390x s390x s390x GNU/Linux root@gg2:~# logout ubuntu@juju-d7a408-generic-21:~$ lxc --version 3.0.4 Latest systemd in groovy has tests-in-lxd autopkgtest which fails in autopkgtest-build-lxd (hence the SKIP) on the autopkgtest infra but passes locally in qemu. I've added a bit of debugging when it fails to speed up triaging going forward in: https://code.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/+git/systemd/+ref/ubuntu-groovy The failure can be observed with this change at: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-groovy-rbalint-scratch/groovy/amd64/s/systemd/20200624_210145_882ea@/log.gz ... 1 loaded units listed. JOB UNIT TYPE STATE 144 snapd.autoimport.service start waiting 2 multi-user.targetstart waiting 110 systemd-update-utmp-runlevel.service start waiting 1 graphical.target start waiting 124 cloud-config.service start waiting 123 cloud-final.service start waiting 108 snapd.seeded.service start running 122 cloud-init.targetstart waiting ... ** Also affects: autopkgtest (Ubuntu) Importance: Undecided Status: New ** Also affects: auto-package-testing Importance: Undecided Status: New ** Changed in: lxd (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/auto-package-testing/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
What's the actual reproducer for this? ``` stgraber@castiana:~/data/code/lxc/lxd (stgraber/master)$ lxc launch ubuntu-daily:groovy gg-test Creating gg-test Starting gg-test stgraber@castiana:~/data/code/lxc/lxd (stgraber/master)$ lxc shell gg-test root@gg-test:~# service snapd.seeded status ● snapd.seeded.service - Wait until snapd is fully seeded Loaded: loaded (/lib/systemd/system/snapd.seeded.service; enabled; vendor preset: enabled) Active: activating (start) since Mon 2020-06-22 22:27:16 UTC; 4s ago Main PID: 277 (snap) Tasks: 6 (limit: 18806) Memory: 22.3M CGroup: /system.slice/snapd.seeded.service └─277 /usr/bin/snap wait system seed.loaded Jun 22 22:27:16 gg-test systemd[1]: Starting Wait until snapd is fully seeded... root@gg-test:~# systemctl list-jobs No jobs running. root@gg-test:~# service snapd.seeded status ● snapd.seeded.service - Wait until snapd is fully seeded Loaded: loaded (/lib/systemd/system/snapd.seeded.service; enabled; vendor preset: enabled) Active: active (exited) since Mon 2020-06-22 22:27:29 UTC; 6s ago Process: 277 ExecStart=/usr/bin/snap wait system seed.loaded (code=exited, status=0/SUCCESS) Main PID: 277 (code=exited, status=0/SUCCESS) Jun 22 22:27:16 gg-test systemd[1]: Starting Wait until snapd is fully seeded... Jun 22 22:27:29 gg-test systemd[1]: Finished Wait until snapd is fully seeded. root@gg-test:~# ``` ** Changed in: lxd (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
@stgraber the simplest case failing is starting a not privileged container and snapd.seeded.service is stuck in "running". As the plan I'd like to fix both privileged and non-privileged containers to let systemd enter non-degraded mode: https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/tree/debian/tests/tests-in-lxd?h=ubuntu-groovy As of now autopkgtest-build-lxd ubuntu-daily: groovy fails on multiple architectures in this test. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
Looks like a privileged container without nesting enabled. This gets some pretty strict apparmor rules to prevent trivial privilege escalation. I'm not sure that there's really much that can be done here especially considering the many issues with apparmor and its mount rules. We allow a lot more in unprivileged containers because we don't really rely on apparmor there for security and so can relax rules quite a bit to make systemd and others happy. This relaxing makes bypass of mount rules trivial but the user namespace is the enforcement mechanism in that case and will prevent you from escaping. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
@jdstrand It can be reproduced without autopkgtest being used. Adding the lxd package per your comment because @stgraber man not monitor snapd bugs. ** Also affects: lxd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
@xnox - I took a look at the paste from Balint and all the denials seem to be coming from lxd's policy. I don't know how the autopkgtest's lxd apparmor policy is setup, but it may need adjusting. Perhaps @stgraber can comment? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
@jdstrand it sounds odd to have snapd seeding failing with apparmor denials on s390x/arm64, can you take a look? ** Changed in: snapd (Ubuntu) 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/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
** Tags added: id-5ebd4319f41bed3faf85e184 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
OK, so for anyone hitting this error until there may be a fix: For cases where snapd is not needed (and perhaps purged later), and orchestration relies on cloud-init to finish, the workaround in the container is: systemctl stop snapd.seeded.service or on the host: lxc exec $CONTAINERNAME -- systemctl stop snapd.seeded.service -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
I believe this is really the bug that snapd cannot install "core" or "core18" inside a container without failing on udev. The well-known workaround is to do it twice. I think we should sit down and discuss this but I think this can only be done after core20 beta is out as we simply have no time for another topic. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
Have you tested this on amd64? I am seeing the same outputs on amd64 and trying to find out if it is a regression or something in my config. A similar report has suggestions it may be due to faulty network setup for the container: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1806070 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
# dmesg | grep DENIED | pastebinit https://paste.ubuntu.com/p/5DXJb9RbWS/ root@clean-lacewing:~# ls -ld /snap drwxr-xr-x 1 root root 46 May 12 13:37 /snap It is a vanilla LXD container instance (on s390x), I have not done any changes to it to trigger the issue apart from 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/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
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/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
The udev error is the well-known problem that of snapd pulling udev into containers. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
In the arm64 oops the error is: """ change "seed": "Initialize system state" prerequisites: Undo snap-setup: "snapd" (7267) "" prepare-snap: Undoing mount-snap: Undone copy-snap-data: Undone setup-profiles: Error ERROR cannot reload udev rules: exit status 1 udev output: Failed to send reload request: No such file or directory """ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
We've retrieved the OOPS from the ID mentioned in the log you've attached. It seems the error is ERROR run hook "install": cannot perform operation: mount --rbind /snap /snap: Permission denied Can you provide the output of "dmesg | grep DENIED" please? In addition, can you please add "ls -ld /snap" (mainly to check if it's a directory or something else). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
# cat /var/lib/snapd/seed/seed.yaml snaps: - name: core18 channel: stable file: core18_1756.snap - name: snapd channel: stable file: snapd_7262.snap - name: lxd channel: stable/ubuntu-20.10 file: lxd_14953.snap # find /var/lib/snapd/seed/ /var/lib/snapd/seed/ /var/lib/snapd/seed/assertions /var/lib/snapd/seed/assertions/account /var/lib/snapd/seed/assertions/account-key /var/lib/snapd/seed/assertions/core18_1756.assert /var/lib/snapd/seed/assertions/lxd_14953.assert /var/lib/snapd/seed/assertions/model /var/lib/snapd/seed/assertions/snapd_7262.assert /var/lib/snapd/seed/seed.yaml /var/lib/snapd/seed/snaps /var/lib/snapd/seed/snaps/core18_1756.snap /var/lib/snapd/seed/snaps/lxd_14953.snap /var/lib/snapd/seed/snaps/snapd_7262.snap -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
This looks like a problem in the seed used to create this image. Can you please attach: /var/lib/snapd/seed/seed.yaml as well as find /var/lib/snapd/seed please? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64
This prevents creating LXD autopkgtest images on the affected architectures, see latest systemd autopkgtest logs. ** Tags added: rls-gg-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878225 Title: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1878225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs