subiquity does not detect snap refresh failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Medium
|
Canonical Foundations Team | ||
subiquity |
Fix Released
|
High
|
Unassigned |
Bug Description
While working on LP 1855127 I came across the situation that the current installer start I started (19.11.1) detected at some point in time that a newer version exists (19.12.1), and it triggered the download and (according to the UI) the download was successful (download started, took some time and ended in a reasonable amount of time), but subiquity failed to automatically restarted afterwards (like it should be, as indicated by the UI text: "The installer will restart automatically when the download is complete").
The only way to proceed was by selecting "Continue without updating".
Please see the screenshots and output in the attached file for more details.
For logs please see:
https:/
summary: |
- subiquity detected and downloded new version but didn't restart + subiquity detected and downloaded new version but didn't restart |
Hmm. From the logs
Dec 10 14:17:47 ubuntu-server snapd[1549]: store.go:1365: Cannot download or apply deltas for subiquity: Get https:/ /fastly. cdn.snapcraft. io/download- origin/ fastly/ ba2aj8guta0zSRl T3QM5aJNAUXPlBt f9_1333_ 1359_xdelta3. delta?token= 1576000800_ e13c05043adfe31 33b63790f24400d 86caeef3d4: dial tcp 199.232.58.217:443: i/o timeout
This smells like a few things going wrong: snapd should be doing autodetection of whether the CDN works and subiquity presumably should be getting some indication that the update has failed and reporting that to the user. Hmm, looks like subiquity does not actually check for failure here :(