2023-07-04 08:16:15 |
Nathan Teodosio |
bug |
|
|
added bug |
2023-07-04 08:16:15 |
Nathan Teodosio |
attachment added |
|
ubuntu-advantage.log https://bugs.launchpad.net/bugs/2025731/+attachment/5683786/+files/ubuntu-advantage.log |
|
2023-07-06 12:15:55 |
Renan Rodrigo |
information type |
Private |
Public |
|
2023-07-06 12:17:35 |
Renan Rodrigo |
ubuntu-advantage-tools (Ubuntu): status |
New |
Triaged |
|
2023-07-06 12:24:10 |
Apport retracing service |
tags |
amd64 apport-bug bionic need-amd64-retrace |
amd64 apport-bug bionic |
|
2023-08-04 23:23:13 |
Launchpad Janitor |
ubuntu-advantage-tools (Ubuntu): status |
Triaged |
Fix Released |
|
2023-08-24 15:42:59 |
Ubuntu Archive Robot |
bug |
|
|
added subscriber Sergio Durigan Junior |
2023-08-31 12:39:36 |
Robie Basak |
ubuntu-advantage-tools (Ubuntu Lunar): status |
New |
Fix Committed |
|
2023-08-31 12:39:37 |
Robie Basak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2023-08-31 12:39:42 |
Robie Basak |
bug |
|
|
added subscriber SRU Verification |
2023-08-31 12:39:45 |
Robie Basak |
tags |
amd64 apport-bug bionic |
amd64 apport-bug bionic verification-needed verification-needed-lunar |
|
2023-08-31 12:40:10 |
Robie Basak |
ubuntu-advantage-tools (Ubuntu Jammy): status |
New |
Fix Committed |
|
2023-08-31 12:40:13 |
Robie Basak |
tags |
amd64 apport-bug bionic verification-needed verification-needed-lunar |
amd64 apport-bug bionic verification-needed verification-needed-jammy verification-needed-lunar |
|
2023-08-31 12:41:54 |
Robie Basak |
ubuntu-advantage-tools (Ubuntu Focal): status |
New |
Fix Committed |
|
2023-08-31 12:41:56 |
Robie Basak |
tags |
amd64 apport-bug bionic verification-needed verification-needed-jammy verification-needed-lunar |
amd64 apport-bug bionic verification-needed verification-needed-focal verification-needed-jammy verification-needed-lunar |
|
2023-08-31 12:43:33 |
Robie Basak |
ubuntu-advantage-tools (Ubuntu Bionic): status |
New |
Fix Committed |
|
2023-08-31 12:43:36 |
Robie Basak |
tags |
amd64 apport-bug bionic verification-needed verification-needed-focal verification-needed-jammy verification-needed-lunar |
amd64 apport-bug bionic verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-lunar |
|
2023-08-31 12:44:24 |
Robie Basak |
ubuntu-advantage-tools (Ubuntu Xenial): status |
New |
Fix Committed |
|
2023-08-31 12:44:27 |
Robie Basak |
tags |
amd64 apport-bug bionic verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-lunar |
amd64 apport-bug bionic verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-lunar verification-needed-xenial |
|
2023-09-11 21:42:57 |
Ubuntu Archive Robot |
bug |
|
|
added subscriber Andreas Hasenack |
2023-09-14 19:32:27 |
Lucas Albuquerque Medeiros de Moura |
description |
On Bionic, ua attach was successful, but a subsequent ua detach failed.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-advantage-tools 27.14.4~18.04
ProcVersionSignature: Ubuntu 5.4.0-84.94~18.04.1-generic 5.4.133
Uname: Linux 5.4.0-84-generic x86_64
NonfreeKernelModules: lkp_Ubuntu_5_4_0_84_94_generic_94
ApportVersion: 2.20.9-0ubuntu7.26
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Jul 4 10:12:41 2023
InstallationDate: Installed on 2023-06-28 (5 days ago)
InstallationMedia: Ubuntu 18.04.6 LTS "Bionic Beaver" - Release amd64 (20210915)
SourcePackage: ubuntu-advantage-tools
UpgradeStatus: No upgrade log present (probably fresh install)
cloud-id.txt-error: Invalid command specified 'cloud-id'.
livepatch-status.txt-error:
Failed running command '/snap/bin/canonical-livepatch status' [exit(1)]. Message: Machine is not enabled. Please run 'sudo canonical-livepatch enable' with the
token obtained from https://ubuntu.com/livepatch.
uaclient.conf:
contract_url: https://contracts.canonical.com
log_level: debug
ubuntu-advantage-timer.log:
["2023-06-30T12:59:12.159", "DEBUG", "__main__", "run", 51, "Running job: metering", {}]
["2023-06-30T12:59:12.162", "DEBUG", "__main__", "run", 51, "Running job: update_messaging", {}] |
[ Impact ]
Due to this race condition, user may seen unhanded exception when running a Pro command. Additionally, since the race condition is not obvious, users will be really confused on why the command failed in the first place
[ Test Plan ]
Because of the nature of this race condition, it is not straightforward to reproduce this issue. Our fix is basically trying to remove the file and handling the exception instead of checking if the file exists and then removing it. Since we call the function that generated this issue on several Pro commands that are covered in the integration test, we will assume that the full run will guarantee the we have not changed any behavior while addressing the race condition.
[ Where problems could occur ]
We don't believe any problems can occur here, as we are using a less error prone approach to deleting files in Python
[ Original Description ]
On Bionic, ua attach was successful, but a subsequent ua detach failed.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-advantage-tools 27.14.4~18.04
ProcVersionSignature: Ubuntu 5.4.0-84.94~18.04.1-generic 5.4.133
Uname: Linux 5.4.0-84-generic x86_64
NonfreeKernelModules: lkp_Ubuntu_5_4_0_84_94_generic_94
ApportVersion: 2.20.9-0ubuntu7.26
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Jul 4 10:12:41 2023
InstallationDate: Installed on 2023-06-28 (5 days ago)
InstallationMedia: Ubuntu 18.04.6 LTS "Bionic Beaver" - Release amd64 (20210915)
SourcePackage: ubuntu-advantage-tools
UpgradeStatus: No upgrade log present (probably fresh install)
cloud-id.txt-error: Invalid command specified 'cloud-id'.
livepatch-status.txt-error:
Failed running command '/snap/bin/canonical-livepatch status' [exit(1)]. Message: Machine is not enabled. Please run 'sudo canonical-livepatch enable' with the
token obtained from https://ubuntu.com/livepatch.
uaclient.conf:
contract_url: https://contracts.canonical.com
log_level: debug
ubuntu-advantage-timer.log:
["2023-06-30T12:59:12.159", "DEBUG", "__main__", "run", 51, "Running job: metering", {}]
["2023-06-30T12:59:12.162", "DEBUG", "__main__", "run", 51, "Running job: update_messaging", {}] |
|
2023-09-18 15:38:43 |
Lucas Albuquerque Medeiros de Moura |
tags |
amd64 apport-bug bionic verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-lunar verification-needed-xenial |
amd64 apport-bug bionic verification-done verification-done-bionic verification-done-focal verification-done-jammy verification-done-lunar verification-done-xenial |
|
2023-09-20 16:50:29 |
Launchpad Janitor |
ubuntu-advantage-tools (Ubuntu Lunar): status |
Fix Committed |
Fix Released |
|
2023-09-20 16:50:41 |
Robie Basak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2023-09-20 16:50:47 |
Launchpad Janitor |
ubuntu-advantage-tools (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|
2023-09-20 16:50:53 |
Launchpad Janitor |
ubuntu-advantage-tools (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2023-09-20 16:50:57 |
Launchpad Janitor |
ubuntu-advantage-tools (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2023-09-20 16:51:02 |
Launchpad Janitor |
ubuntu-advantage-tools (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|