Activity log for bug #2015241

Date Who What changed Old value New value Message
2023-04-04 13:19:42 Andreas Hasenack bug added bug
2023-04-04 13:19:53 Andreas Hasenack nominated for series Ubuntu Focal
2023-04-04 13:19:53 Andreas Hasenack bug task added ubuntu-advantage-tools (Ubuntu Focal)
2023-04-04 13:19:53 Andreas Hasenack nominated for series Ubuntu Jammy
2023-04-04 13:19:53 Andreas Hasenack bug task added ubuntu-advantage-tools (Ubuntu Jammy)
2023-04-04 13:19:53 Andreas Hasenack nominated for series Ubuntu Xenial
2023-04-04 13:19:53 Andreas Hasenack bug task added ubuntu-advantage-tools (Ubuntu Xenial)
2023-04-04 13:19:53 Andreas Hasenack nominated for series Ubuntu Bionic
2023-04-04 13:19:53 Andreas Hasenack bug task added ubuntu-advantage-tools (Ubuntu Bionic)
2023-04-04 13:24:05 Andreas Hasenack description 27.14.3 on arm64: ubuntu@j-uat:~$ sudo pro attach <redacted> Enabling default service esm-apps Updating package lists Ubuntu Pro: ESM Apps enabled Enabling default service esm-infra Updating package lists Ubuntu Pro: ESM Infra enabled Enabling default service livepatch Installing canonical-livepatch snap Stderr: error: snap "canonical-livepatch" is not available on latest/stable but other tracks exist. Please be mindful that different tracks may include different features. Get more information with 'snap info canonical-livepatch'. Stdout: Stderr: error: snap "canonical-livepatch" is not available on latest/stable but other tracks exist. Please be mindful that different tracks may include different features. Get more information with 'snap info canonical-livepatch'. Stdout: Stderr: error: snap "canonical-livepatch" is not available on latest/stable but other tracks exist. Please be mindful that different tracks may include different features. Get more information with 'snap info canonical-livepatch'. Stdout: Stderr: error: snap "canonical-livepatch" is not available on latest/stable but other tracks exist. Please be mindful that different tracks may include different features. Get more information with 'snap info canonical-livepatch'. Stdout: Failed to enable default services, check: sudo pro status 27.14.3 on jammy arm64: ubuntu@j-uat:~$ sudo pro attach <redacted> Enabling default service esm-apps Updating package lists Ubuntu Pro: ESM Apps enabled Enabling default service esm-infra Updating package lists Ubuntu Pro: ESM Infra enabled Enabling default service livepatch Installing canonical-livepatch snap Stderr: error: snap "canonical-livepatch" is not available on latest/stable but other        tracks exist.        Please be mindful that different tracks may include different features.        Get more information with 'snap info canonical-livepatch'. Stdout: Stderr: error: snap "canonical-livepatch" is not available on latest/stable but other        tracks exist.        Please be mindful that different tracks may include different features.        Get more information with 'snap info canonical-livepatch'. Stdout: Stderr: error: snap "canonical-livepatch" is not available on latest/stable but other        tracks exist.        Please be mindful that different tracks may include different features.        Get more information with 'snap info canonical-livepatch'. Stdout: Stderr: error: snap "canonical-livepatch" is not available on latest/stable but other        tracks exist.        Please be mindful that different tracks may include different features.        Get more information with 'snap info canonical-livepatch'. Stdout: Failed to enable default services, check: sudo pro status
2023-04-04 20:43:12 Renan Rodrigo description 27.14.3 on jammy arm64: ubuntu@j-uat:~$ sudo pro attach <redacted> Enabling default service esm-apps Updating package lists Ubuntu Pro: ESM Apps enabled Enabling default service esm-infra Updating package lists Ubuntu Pro: ESM Infra enabled Enabling default service livepatch Installing canonical-livepatch snap Stderr: error: snap "canonical-livepatch" is not available on latest/stable but other        tracks exist.        Please be mindful that different tracks may include different features.        Get more information with 'snap info canonical-livepatch'. Stdout: Stderr: error: snap "canonical-livepatch" is not available on latest/stable but other        tracks exist.        Please be mindful that different tracks may include different features.        Get more information with 'snap info canonical-livepatch'. Stdout: Stderr: error: snap "canonical-livepatch" is not available on latest/stable but other        tracks exist.        Please be mindful that different tracks may include different features.        Get more information with 'snap info canonical-livepatch'. Stdout: Stderr: error: snap "canonical-livepatch" is not available on latest/stable but other        tracks exist.        Please be mindful that different tracks may include different features.        Get more information with 'snap info canonical-livepatch'. Stdout: Failed to enable default services, check: sudo pro status [ Impact ] `pro attach` fails on non-amd64 systems because it attempts to enable livepatch, which is only built for amd64, and errors. The fix is to honor the existing "architecture" affordance which specifies which architectures livepatch can be enabled on. [ Test Plan ] `pro attach` on an arm64 system. Before the fix, it will fail while enabling Livepatch. After the fix, it will not attempt to enable livepatch. [ Where problems could occur ] The affordance checking code now runs before enabling livepatch. This is well-tested, but if there is an error, then the bug could reoccur in some situation. More likely, is that we forget to add a supported architecture to the list of supported architectures in the future - which would prevent livepatch from getting enabled on that future supported architecture. [ Other Info ] This bug occurred because we were relaxing our affordance checking before enabling livepatch - in order to allow livepatch client to be the source of truth for whether a certain kernel is supported or not. This is generally good and works for kernel versions and flavors, but interim releases and non-amd64 architectures are not supported at all, so they need to be treated specially. [ Original Description ] 27.14.3 on jammy arm64: ubuntu@j-uat:~$ sudo pro attach <redacted> Enabling default service esm-apps Updating package lists Ubuntu Pro: ESM Apps enabled Enabling default service esm-infra Updating package lists Ubuntu Pro: ESM Infra enabled Enabling default service livepatch Installing canonical-livepatch snap Stderr: error: snap "canonical-livepatch" is not available on latest/stable but other        tracks exist.        Please be mindful that different tracks may include different features.        Get more information with 'snap info canonical-livepatch'. Stdout: Stderr: error: snap "canonical-livepatch" is not available on latest/stable but other        tracks exist.        Please be mindful that different tracks may include different features.        Get more information with 'snap info canonical-livepatch'. Stdout: Stderr: error: snap "canonical-livepatch" is not available on latest/stable but other        tracks exist.        Please be mindful that different tracks may include different features.        Get more information with 'snap info canonical-livepatch'. Stdout: Stderr: error: snap "canonical-livepatch" is not available on latest/stable but other        tracks exist.        Please be mindful that different tracks may include different features.        Get more information with 'snap info canonical-livepatch'. Stdout: Failed to enable default services, check: sudo pro status
2023-04-04 21:50:30 Launchpad Janitor merge proposal linked https://code.launchpad.net/~renanrodrigo/ubuntu/+source/ubuntu-advantage-tools/+git/ubuntu-advantage-tools/+merge/440353
2023-04-06 14:09:37 Launchpad Janitor ubuntu-advantage-tools (Ubuntu): status New Fix Released
2023-04-06 21:33:05 Andreas Hasenack ubuntu-advantage-tools (Ubuntu Kinetic): status New Fix Committed
2023-04-06 21:33:07 Andreas Hasenack bug added subscriber Ubuntu Stable Release Updates Team
2023-04-06 21:33:09 Andreas Hasenack bug added subscriber SRU Verification
2023-04-06 21:33:14 Andreas Hasenack tags verification-needed verification-needed-kinetic
2023-04-06 21:37:35 Andreas Hasenack ubuntu-advantage-tools (Ubuntu Jammy): status New Fix Committed
2023-04-06 21:37:42 Andreas Hasenack tags verification-needed verification-needed-kinetic verification-needed verification-needed-jammy verification-needed-kinetic
2023-04-06 21:42:27 Andreas Hasenack ubuntu-advantage-tools (Ubuntu Focal): status New Fix Committed
2023-04-06 21:42:35 Andreas Hasenack tags verification-needed verification-needed-jammy verification-needed-kinetic verification-needed verification-needed-focal verification-needed-jammy verification-needed-kinetic
2023-04-06 21:48:24 Andreas Hasenack ubuntu-advantage-tools (Ubuntu Bionic): status New Fix Committed
2023-04-06 21:48:31 Andreas Hasenack tags verification-needed verification-needed-focal verification-needed-jammy verification-needed-kinetic verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-kinetic
2023-04-06 21:54:04 Andreas Hasenack ubuntu-advantage-tools (Ubuntu Xenial): status New Fix Committed
2023-04-06 21:54:12 Andreas Hasenack tags verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-kinetic verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-kinetic verification-needed-xenial
2023-04-11 12:23:07 Christian Ehrhardt  tags verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-kinetic verification-needed-xenial verification-done-xenial verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-kinetic
2023-04-11 12:32:30 Christian Ehrhardt  tags verification-done-xenial verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-kinetic verification-done-bionic verification-done-xenial verification-needed verification-needed-focal verification-needed-jammy verification-needed-kinetic
2023-04-11 12:33:30 Christian Ehrhardt  tags verification-done-bionic verification-done-xenial verification-needed verification-needed-focal verification-needed-jammy verification-needed-kinetic verification-done-bionic verification-done-focal verification-done-xenial verification-needed verification-needed-jammy verification-needed-kinetic
2023-04-11 12:33:53 Renan Rodrigo tags verification-done-bionic verification-done-focal verification-done-xenial verification-needed verification-needed-jammy verification-needed-kinetic verification-done-bionic verification-done-jammy verification-done-xenial verification-needed verification-needed-focal verification-needed-kinetic
2023-04-11 12:34:36 Christian Ehrhardt  tags verification-done-bionic verification-done-jammy verification-done-xenial verification-needed verification-needed-focal verification-needed-kinetic verification-done-bionic verification-done-focal verification-done-kinetic verification-done-xenial verification-needed verification-needed-jammy
2023-04-11 12:35:37 Christian Ehrhardt  tags verification-done-bionic verification-done-focal verification-done-kinetic verification-done-xenial verification-needed verification-needed-jammy verification-done verification-done-bionic verification-done-focal verification-done-jammy verification-done-kinetic verification-done-xenial
2023-04-19 01:31:25 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Xenial): status Fix Committed Fix Released
2023-04-19 01:32:30 Chris Halse Rogers removed subscriber Ubuntu Stable Release Updates Team
2023-04-19 01:32:48 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Bionic): status Fix Committed Fix Released
2023-04-19 01:33:17 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Focal): status Fix Committed Fix Released
2023-04-19 01:33:44 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Jammy): status Fix Committed Fix Released
2023-04-19 01:34:12 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Kinetic): status Fix Committed Fix Released