20.10 to 21.04: snap does not upgrade channel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Bionic |
Fix Released
|
Undecided
|
Brian Murray | ||
Focal |
Fix Released
|
Undecided
|
Brian Murray | ||
Groovy |
Fix Released
|
Undecided
|
Brian Murray | ||
Hirsute |
Fix Released
|
High
|
Brian Murray |
Bug Description
[Impact]
Snaps tracking a stable/
Per LP: #1827951 and LP: #1748581, it would appear that if a snap is tracking a release channel (e.g. latest/
# Expected result
After a do-release-upgrade, the snap channel for google-cloud-sdk should be updated from "latest/
# Actual result
After install, the snap continues to track "latest/
[Test Plan]
GCE image test
--------------
1. Boot 20.04 GCE image
2. snap info google-cloud-sdk --> "latest/
3. do-release-upgrade
4. accept defaults and reboot
5. snap info google-cloud-sdk --> "latest/
With the version from -proposed the snap will be tracking "latest/
Ubuntu (18.04, 20.04) Desktop test (regression test)
-------
1. Create an Ubuntu 20.04 installation (w/ ubuntu-desktop)
2. Run 'do-release-upgrade -p' to upgrade to Groovy
3. Ensure that the gtk-common-themes (and gnome-3-34-1804) snap is now tracking "latest/
With the version from -proposed all installed snaps which track "latest/
Ubuntu (16.04) Desktop test plan (new feature)
-------
1. Create an Ubuntu 16.04 installation w/ ubuntu-desktop
2. Run 'do-release-
3. Run snap list and verify that no snaps are installed
With the version of the release upgrader in -proposed you will have a set of snaps installed which are equivalent to the snaps that are preseeded in Ubuntu 18.04. That list of snaps is:
gnome-3-34-1804, gnome-calculator, gnome-characters, gnome-logs, gnome-system-
[Where Problems could occur]
This could regress the upgrading of snaps for Ubuntu desktop images but we've identified that and created a regression test for that scenario.
# Logs
main.log https:/
screenlog.0 https:/
apt-term.log https:/
description: | updated |
tags: | added: rls-hh-incoming |
tags: | added: fr-1270 |
tags: | removed: rls-hh-incoming |
Changed in ubuntu-release-upgrader (Ubuntu Hirsute): | |
assignee: | nobody → Brian Murray (brian-murray) |
status: | New → In Progress |
importance: | Undecided → High |
description: | updated |
description: | updated |
Changed in ubuntu-release-upgrader (Ubuntu Groovy): | |
status: | New → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
Changed in ubuntu-release-upgrader (Ubuntu Focal): | |
status: | New → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
Changed in ubuntu-release-upgrader (Ubuntu Bionic): | |
assignee: | nobody → Brian Murray (brian-murray) |
status: | New → In Progress |
description: | updated |
tags: |
added: verification-done verification-done-bionic verification-done-focal verification-done-groovy removed: verification-needed verification-needed-bionic verification-needed-focal verification-needed-groovy |
The snap handling is only done on systems where 'ubuntu-desktop' and 'snapd' are installed on the system being upgraded this is actually sort of documented in LP: #1748581.