** Description changed: [SRU] 2.71: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/2118396 [ Impact ] - ... + In the the case where snapd shuts down while there are API requests in flight, + the requests context are immediately cancelled which results in the reported + "context cancelled" error message. + + Please also read the diagnosis and fix. [ Test Plan ] - ... + This issue is very difficult to reproduce because of its racy nature. + Run snapd 2.71 in the environment where the reported issue was detected + and ensure no more occurrences are detected. ---original--- I started to see the following error frequently in Canonical's CI infrastructure. However, it's hard to tell what's wrong from the output. It would be nice if more use facing message is surfaced. e.g. if it's about rate limiting, getting something like Too Many Requests message would be helpful. $ sudo snap install openstack --channel 2024.1/edge error: cannot install "openstack": Post "https://api.snapcraft.io/v2/snaps/refresh": context canceled Command exited with non-zero status 1
** Description changed: [SRU] 2.71: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/2118396 [ Impact ] In the the case where snapd shuts down while there are API requests in flight, the requests context are immediately cancelled which results in the reported "context cancelled" error message. - - Please also read the diagnosis and fix. + + Please also read the diagnosis and fix. [ Test Plan ] This issue is very difficult to reproduce because of its racy nature. Run snapd 2.71 in the environment where the reported issue was detected - and ensure no more occurrences are detected. + and ensure no more occurrences are detected. + + After discussion with the reporter, the environment is based on Noble, + so verification will be limited to Noble. ---original--- I started to see the following error frequently in Canonical's CI infrastructure. However, it's hard to tell what's wrong from the output. It would be nice if more use facing message is surfaced. e.g. if it's about rate limiting, getting something like Too Many Requests message would be helpful. $ sudo snap install openstack --channel 2024.1/edge error: cannot install "openstack": Post "https://api.snapcraft.io/v2/snaps/refresh": context canceled Command exited with non-zero status 1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2104066 Title: More details should be provided than v2/snaps/refresh: context canceled To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/2104066/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
