Activity log for bug #2060732

Date Who What changed Old value New value Message
2024-04-09 20:32:46 Lucas Albuquerque Medeiros de Moura bug added bug
2024-05-03 01:14:42 Nobuto Murata bug added subscriber Nobuto Murata
2024-05-10 21:16:11 Andreas Hasenack ubuntu-advantage-tools (Ubuntu Noble): status New Fix Committed
2024-05-10 21:16:14 Andreas Hasenack bug added subscriber Ubuntu Stable Release Updates Team
2024-05-10 21:16:16 Andreas Hasenack bug added subscriber SRU Verification
2024-05-10 21:16:19 Andreas Hasenack tags verification-needed verification-needed-noble
2024-05-10 21:19:03 Andreas Hasenack ubuntu-advantage-tools (Ubuntu Mantic): status New Fix Committed
2024-05-10 21:19:09 Andreas Hasenack tags verification-needed verification-needed-noble verification-needed verification-needed-mantic verification-needed-noble
2024-05-10 21:20:00 Andreas Hasenack ubuntu-advantage-tools (Ubuntu Jammy): status New Fix Committed
2024-05-10 21:20:07 Andreas Hasenack tags verification-needed verification-needed-mantic verification-needed-noble verification-needed verification-needed-jammy verification-needed-mantic verification-needed-noble
2024-05-10 21:20:59 Andreas Hasenack ubuntu-advantage-tools (Ubuntu Focal): status New Fix Committed
2024-05-10 21:21:05 Andreas Hasenack tags verification-needed verification-needed-jammy verification-needed-mantic verification-needed-noble verification-needed verification-needed-focal verification-needed-jammy verification-needed-mantic verification-needed-noble
2024-05-10 21:22:00 Andreas Hasenack ubuntu-advantage-tools (Ubuntu Bionic): status New Fix Committed
2024-05-10 21:22:09 Andreas Hasenack tags verification-needed verification-needed-focal verification-needed-jammy verification-needed-mantic verification-needed-noble verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-mantic verification-needed-noble
2024-05-10 21:23:59 Andreas Hasenack ubuntu-advantage-tools (Ubuntu Xenial): status New Fix Committed
2024-05-10 21:24:03 Andreas Hasenack tags verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-mantic verification-needed-noble verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-mantic verification-needed-noble verification-needed-xenial
2024-05-18 12:43:46 Launchpad Janitor ubuntu-advantage-tools (Ubuntu): status New Fix Released
2024-05-28 15:58:01 Lucas Albuquerque Medeiros de Moura description [ Impact ] This release brings both bug-fixes and new features for the Pro Client, and we would like to make sure all of our supported customers have access to these improvements on all releases. The most important changes are: - d/apparmor:introduce new ubuntu_pro_esm_cache apparmor policy - api: + u.pro.attac.token.full_token_attach.v1: add suppport for attach with token + u.pro.services.disable.v1: add support for disable operation + u.pro.services.enable.v1: add support for enable operation + u.pro.detach.v1: add support for detach operation + u.pro.status.is_attached.v1: add extra fields to API response + u.pro.services.dependencies.v1: add support for service dependencies + u.pro.security.fix.*.plan.v1: update ESM cache during plan API if needed - config: create public and private config (GH: #2809) - messaging: add consistent messaging for end-of-contract See the changelog entry below for a full list of changes and bugs. [ Test Plan ] The following development and SRU process was followed: https://wiki.ubuntu.com/UbuntuAdvantageToolsUpdates The Pro Client developers will be in charge of attaching the artifacts of the appropriate test runs to the bug, and will not mark ‘verification-done’ until this has happened. Additionally, we will perform manual tests for the public/private config feature that will be better discussed in the next section [ Discussion] This release will be introducing a split on our config for public and private information. This is to be explicit in the behavior a non-root and root user will see when running pro config show. For example, we believe that a non-root user should not see proxy data in pro config show. This information is now stored in a private config file. We need a mechanism to ensure that old versions of the Pro client would also get that split. To do that, we have created a script to run on postinst to adapt the existing pro config into this new setting. However, we have recently introduced the new ubuntu-pro-client package. That means that we cannot know beforehand from which package the user would be upgrading from, ubuntu-advantage-tools or ubuntu-pro-client. If the system already has ubuntu-pro-client and is upgrading to a new version of ubuntu-pro-client, that means all migrations present in ubuntu-advantage-tools.postinst must have already run at the time the system upgraded to the renamed ubuntu-pro-client. That mean this config migration should happen on ubuntu-pro-client.postinst If upgrading from before the rename to the current version (from before version 31), then not necessarily all migrations inside of ubuntu-advantage-tools.postinst will have already run. Because the migrations present in this file may depend on those previous migrations, then we need to make the migration on ubuntu-advantage-tools.postinst That is because there might be users running an old version of ubuntu-advantage-tools that have not yet upgraded to version 27.14. This version is the one that introduces the /var/lib/ubuntu-advantage/user-config.json. Therefore, we need to ensure to this migration happens first, before our public/private migration. Because of that, we are coordinating which postinst script will execute the migration. A more detailed explanation of this logic can be found on the script itself, lib/postinst-migrations.sh [ Changelog ] [ Impact ] This release brings both bug-fixes and new features for the Pro Client, and we would like to make sure all of our supported customers have access to these improvements on all releases. The most important changes are:  - d/apparmor:introduce new ubuntu_pro_esm_cache apparmor policy  - api:    + u.pro.attac.token.full_token_attach.v1: add suppport for attach with token    + u.pro.services.disable.v1: add support for disable operation    + u.pro.services.enable.v1: add support for enable operation    + u.pro.detach.v1: add support for detach operation    + u.pro.status.is_attached.v1: add extra fields to API response    + u.pro.services.dependencies.v1: add support for service dependencies    + u.pro.security.fix.*.plan.v1: update ESM cache during plan API if needed  - config: create public and private config (GH: #2809)  - messaging: add consistent messaging for end-of-contract See the changelog entry below for a full list of changes and bugs. [ Test Plan ] The following development and SRU process was followed: https://wiki.ubuntu.com/UbuntuAdvantageToolsUpdates The Pro Client developers will be in charge of attaching the artifacts of the appropriate test runs to the bug, and will not mark ‘verification-done’ until this has happened. Additionally, we will perform manual tests for the public/private config feature that will be better discussed in the next section Finally, we will also perform another verification for an apparmor issue that is described here: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2067319 We will run the full test suite for version 32.2 and run only again only the affected scenarios for this apparmor issue that is fixed on 32.3. Please refer to the apparmor bug for the full plan regarding the verification of this SRU [ Discussion] This release will be introducing a split on our config for public and private information. This is to be explicit in the behavior a non-root and root user will see when running pro config show. For example, we believe that a non-root user should not see proxy data in pro config show. This information is now stored in a private config file. We need a mechanism to ensure that old versions of the Pro client would also get that split. To do that, we have created a script to run on postinst to adapt the existing pro config into this new setting. However, we have recently introduced the new ubuntu-pro-client package. That means that we cannot know beforehand from which package the user would be upgrading from, ubuntu-advantage-tools or ubuntu-pro-client. If the system already has ubuntu-pro-client and is upgrading to a new version of ubuntu-pro-client, that means all migrations present in ubuntu-advantage-tools.postinst must have already run at the time the system upgraded to the renamed ubuntu-pro-client. That mean this config migration should happen on ubuntu-pro-client.postinst If upgrading from before the rename to the current version (from before version 31), then not necessarily all migrations inside of ubuntu-advantage-tools.postinst will have already run. Because the migrations present in this file may depend on those previous migrations, then we need to make the migration on ubuntu-advantage-tools.postinst That is because there might be users running an old version of ubuntu-advantage-tools that have not yet upgraded to version 27.14. This version is the one that introduces the /var/lib/ubuntu-advantage/user-config.json. Therefore, we need to ensure to this migration happens first, before our public/private migration. Because of that, we are coordinating which postinst script will execute the migration. A more detailed explanation of this logic can be found on the script itself, lib/postinst-migrations.sh [ Changelog ]
2024-05-28 20:20:51 Lucas Albuquerque Medeiros de Moura attachment added test-result-32.2.tar.xz https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2060732/+attachment/5783669/+files/test-result-32.2.tar.xz
2024-05-29 02:44:06 Lucas Albuquerque Medeiros de Moura tags verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-mantic verification-needed-noble verification-needed-xenial verification-done verification-done-bionic verification-done-focal verification-done-jammy verification-done-mantic verification-done-noble verification-done-xenial
2024-05-29 15:05:10 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Noble): status Fix Committed Fix Released
2024-05-29 15:05:33 Andreas Hasenack removed subscriber Ubuntu Stable Release Updates Team
2024-05-29 15:06:08 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Mantic): status Fix Committed Fix Released
2024-05-29 15:06:34 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Jammy): status Fix Committed Fix Released
2024-05-29 15:06:56 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Focal): status Fix Committed Fix Released
2024-05-29 15:07:19 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Bionic): status Fix Committed Fix Released
2024-05-29 15:07:43 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Xenial): status Fix Committed Fix Released