[Bug 1878225] Re: snapd.seeded.service waits forever (?) to have snaps seeded in LXD on s390x and arm64

Stéphane Graber 1878225 at bugs.launchpad.net
Fri Jun 26 03:13:58 UTC 2020


```
root at 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 at 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 at 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 at bos02-s390x-01:~# systemctl reload snap.lxd.daemon
root at bos02-s390x-01:~# lxc launch ubuntu-daily:groovy gg2
Creating gg2
Starting gg2                                
root at bos02-s390x-01:~# lxc shell gg2
root at 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 at gg2:~# systemctl list-jobs
No jobs running.
root at gg2:~# logout
root at 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
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1878225

Title:
  snapd.seeded.service waits forever (?) to have snaps seeded in LXD on
  s390x and arm64

Status in Auto Package Testing:
  New
Status in autopkgtest package in Ubuntu:
  New
Status in lxd package in Ubuntu:
  Incomplete
Status in snapd package in Ubuntu:
  Confirmed

Bug description:
  lxc launch ubuntu-daily:groovy gg-test
  lxc shell gg-test
  root at 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 Tue 2020-05-12 14:14:52 UTC; 30min ago
     Main PID: 249 (snap)
        Tasks: 10 (limit: 4704)
       Memory: 11.3M
       CGroup: /system.slice/snapd.seeded.service
               └─249 /usr/bin/snap wait system seed.loaded

  May 12 14:14:52 gg-test systemd[1]: Starting Wait until snapd is fully
  seeded...

  root at gg-test:~# systemctl list-jobs 
  JOB UNIT                                 TYPE  STATE  
  132 systemd-update-utmp-runlevel.service start waiting
  119 cloud-config.service                 start waiting
  122 snapd.seeded.service                 start running
  2   multi-user.target                    start waiting
  115 cloud-init.target                    start waiting
  1   graphical.target                     start waiting
  138 snapd.autoimport.service             start waiting
  121 cloud-final.service                  start waiting

  8 jobs listed.

  root at gg-test:~# journalctl -a | pastebinit
  https://paste.ubuntu.com/p/PtdcvvdKCM/

To manage notifications about this bug go to:
https://bugs.launchpad.net/auto-package-testing/+bug/1878225/+subscriptions



More information about the foundations-bugs mailing list