upgrade_lts_contract.py exception on impish and later
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-advantage-tools (Ubuntu) |
Fix Released
|
High
|
Lucas Albuquerque Medeiros de Moura | ||
Impish |
Fix Released
|
High
|
Lucas Albuquerque Medeiros de Moura | ||
Jammy |
Fix Released
|
High
|
Lucas Albuquerque Medeiros de Moura |
Bug Description
[Impact]
When users are upgrading their machines, we run the upgrade_
Currently, if the user upgrades directly from Focal to Jammy, the script will error out because we are missing the entries for Focal and Impish on that script.
Therefore, even though we might not have full support for some services in Jammy yet, we should not error out on that script and allow it to complete;
[Test Case]
To reproduce the bug: follow these steps:
1. Launch a jammy machine
2. Attach to a valid UA token
3. run `sudo python3 /usr/lib/
And to verify that the fix works:
1. Upgrade UA to version 27.8
2. re-run `sudo python3 /usr/lib/
[Regression Potential]
We are just adding the new releases into our support dict and providing better error messages if that problem happens again in the future. Therefore, we don't believe we have a big regression issue here.
[Original Description]
See this error https:/
When upgrading from focal -> impish or from impish -> jammy, a KeyError will occur in the upgrade_
We plan to fix this bug in our next release of ubuntu-
Changed in ubuntu-advantage-tools (Ubuntu Impish): | |
importance: | Undecided → High |
Changed in ubuntu-advantage-tools (Ubuntu Jammy): | |
importance: | Undecided → High |
Changed in ubuntu-advantage-tools (Ubuntu Impish): | |
status: | New → In Progress |
Changed in ubuntu-advantage-tools (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in ubuntu-advantage-tools (Ubuntu Impish): | |
assignee: | nobody → Lucas Albuquerque Medeiros de Moura (lamoura) |
Changed in ubuntu-advantage-tools (Ubuntu Jammy): | |
assignee: | nobody → Lucas Albuquerque Medeiros de Moura (lamoura) |
description: | updated |
description: | updated |
We have a PR up fixing this issue: /github. com/canonical/ ubuntu- advantage- client/ pull/2028
https:/