Verification complete for jammy:

#######################################################################################
################## Logs from instance running snapd=2.71+ubuntu22.04 
##################
#######################################################################################
ubuntu@jammy-dlalaj-snapd-271:~$ snap list
No snaps are installed yet. Try 'snap install hello-world'.

ubuntu@jammy-dlalaj-snapd-271:~$ apt list --installed | grep snapd

WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.

snapd/jammy-updates,now 2.71+ubuntu22.04 amd64 [installed,automatic]

ubuntu@jammy-dlalaj-snapd-271:~$ time sudo snap install lxd
2025/10/22 17:59:55.366905 tool_linux.go:199: DEBUG: re-exec disabled by user
2025-10-22T18:04:24Z INFO Waiting for automatic snapd restart...
lxd (5.21/stable) 5.21.4-7b6bd68 from Canonical✓ installed

real    13m39.363s
user    0m0.091s
sys     0m0.304s

ubuntu@jammy-dlalaj-snapd-271:~$ snap list
Name    Version         Rev    Tracking       Publisher   Notes
core22  20250923        2139   latest/stable  canonical✓  base
lxd     5.21.4-7b6bd68  36153  5.21/stable    canonical✓  -
snapd   2.72            25577  latest/stable  canonical✓  snapd

REPORTED INSTALLATION TIME: 13m39.363s
#######################################################################################

#######################################################################################
################# Logs from instance running snapd=2.72+ubuntu22.04 
###################
#######################################################################################
ubuntu@jammy-dlalaj-snapd-272:~$ snap list
No snaps are installed yet. Try 'snap install hello-world'.

ubuntu@jammy-dlalaj-snapd-272:~$ apt list --installed | grep snapd

WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.

snapd/jammy-proposed,now 2.72+ubuntu22.04 amd64 [installed,automatic]

ubuntu@jammy-dlalaj-snapd-272:~$ time sudo snap install lxd
2025/10/22 18:00:02.529019 tool_linux.go:199: DEBUG: re-exec disabled by user
2025-10-22T18:00:07Z INFO Waiting for automatic snapd restart...
lxd (5.21/stable) 5.21.4-7b6bd68 from Canonical✓ installed

real    0m24.875s
user    0m0.002s
sys     0m0.014s

ubuntu@jammy-dlalaj-snapd-272:~$ snap list
Name    Version         Rev    Tracking       Publisher   Notes
core22  20250923        2139   latest/stable  canonical✓  base
lxd     5.21.4-7b6bd68  36153  5.21/stable    canonical✓  -
snapd   2.72            25577  latest/stable  canonical✓  snapd

REPORTED INSTALLATION TIME: 0m24.875s
#######################################################################################

See attached logile for similar reasoning as questing. Pay attention to
the retry timing on the icon download as that verifies the slow
installation is related to that. For more context; to ensure that the
icon download issue manifested itself, the lxd, core, and snapd snaps
which come pre-installed in jammy were removed before this verification
was complete. Additionally to disallow the 2.72 snapd snap to reexec and
run the later snap installations (for core and lxd), SNAP_REEXEC=0 was
set in /etc/environment.


** Attachment added: "jammy_journalctl_logs"
   
https://bugs.launchpad.net/snapd/+bug/2122054/+attachment/5919794/+files/jammy_journalctl_logs

** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy

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

Title:
  Snapd installation is very slow during cloud-init

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/2122054/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to