Public bug reported: With the LXD packaging switch to snaps, upgrades will fail if access to the snap store is not available. This is an issue for servers in a controlled environment. Obviously, firewalls or proxies can be updated to allow access but no mention is made of this new requirement in the Cosmic release notes.
In this case the lxd crash file will report: - Download snap "core" (5660) from channel "stable" (Get https://fastly.cdn.snapcraft.io/download- origin/fastly/99T7MUlRhtI3U0QFgl5mXXESAiSwt776_5660.snap?token=1540332000_de45014d5c69cad996b998125368c26c3605f982: dial tcp 151.101.62.217:443: i/o timeout) When this fails during a system wide upgrade the solution is to run 'sudo apt --fix-broken install', after updating firewall rules or restarting snapd (i.e. sudo systemctl restart snapd) with appropriate http[s]_proxy values set. One way to set proxy values would be to update /etc/environment with: http_proxy="http://squid.YOUR_DOMAIN:3128" https_proxy="http://squid.YOUR_DOMAIN:3128" ** Affects: lxd (Ubuntu) Importance: Undecided Status: New ** Tags: s390x ** Attachment added: "lxd.0.crash" https://bugs.launchpad.net/bugs/1799754/+attachment/5204998/+files/s5lp8_18.10_dist-upgrade_lxd.0.crash -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1799754 Title: Failed lxd upgrade to 18.10 if snap store access is blocked To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1799754/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
