From: <email address hidden> <email address hidden> On Behalf Of Kian Parvin
Sent: Wednesday, June 5, 2024 11:53 PM
To: Metts, Michael <email address hidden>
Subject: [Bug 2068100] Re: ran `pro detach` to i could then run `pro attach ...` but `pro detach` failed on livepatch
EXTERNAL SENDER
Hi,
Weighing in from the Livepatch team it looks like the Livepatch daemon
is potentially stuck or possibly restarting frequently.
Could you provide us with the logs from the following command, these are
most recent 200 log lines from the Livepatch daemon.
Title:
ran `pro detach` to i could then run `pro attach ...` but `pro detach`
failed on livepatch
Status in Canonical Livepatch Client:
New
Status in ubuntu-advantage-tools package in Ubuntu:
Incomplete
Bug description:
the problem is reported in /var/log/ubuntu-advantage.log but i'm not
sure how to fix it. i just want to detach and re-attached but i want
to make sure liveupdate is turned off.
Hi Kian,
The restart doesn’t work. I still can’t get `pro detach` to work. I’m getting no lines for the journalctl command (please see below). Thanks.
Mike
root@crcoubu2:~# journalctl -t canonical- livepatch. canonical- livepatchd -n 200 -r
-- No entries --
From: <email address hidden> <email address hidden> On Behalf Of Kian Parvin
Sent: Wednesday, June 5, 2024 11:53 PM
To: Metts, Michael <email address hidden>
Subject: [Bug 2068100] Re: ran `pro detach` to i could then run `pro attach ...` but `pro detach` failed on livepatch
EXTERNAL SENDER
Hi,
Weighing in from the Livepatch team it looks like the Livepatch daemon
is potentially stuck or possibly restarting frequently.
Could you provide us with the logs from the following command, these are
most recent 200 log lines from the Livepatch daemon.
- journalctl -t canonical- livepatch. canonical- livepatchd -n 200 -r
And you can also try the following to restart the snap
- sudo snap restart canonical-livepatch
After the restart, if the issue persists, it might be worth it to check
the logs again to try and spot anything noteworthy.
-- /bugs.launchpad .net/bugs/ 2068100<https:/ /bugs.launchpad .net/bugs/ 2068100>
You received this bug notification because you are subscribed to the bug
report.
https:/
Title:
ran `pro detach` to i could then run `pro attach ...` but `pro detach`
failed on livepatch
Status in Canonical Livepatch Client: advantage- tools package in Ubuntu:
New
Status in ubuntu-
Incomplete
Bug description: ubuntu- advantage. log but i'm not
the problem is reported in /var/log/
sure how to fix it. i just want to detach and re-attached but i want
to make sure liveupdate is turned off.
root@crcoubu2:~# lsb_release -rd
Description: Ubuntu 22.04.2 LTS
Release: 22.04
ProblemType: Bug advantage- tools 32.3~22.04 ature: Ubuntu 5.15.0- 91.101- generic 5.15.131 esult: pass ture: all DIR=<set> advantage- tools 05T05:47: 55.559250+ 00:00", "next_run": "2024-06- 05T09:47: 55.559250+ 00:00"} , "update_ contract_ info": null, "update_messaging": {"last_run": "2024-06- 05T01:01: 36+00:00" , "next_run": "2024-06- 05T07:01: 36+00:00" }} status. txt-error: Failed running command '/snap/ bin/canonical- livepatch status' [exit(1)]. Message: error executing status: livepatchd error: daemon shutting down /contracts. canonical. com<https:/ /contracts. canonical. com>
DistroRelease: Ubuntu 22.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 5.15.0-91-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.4
Architecture: amd64
CasperMD5CheckR
Date: Tue Jun 4 23:51:39 2024
InstallationDate: Installed on 2023-03-30 (432 days ago)
InstallationMedia: Ubuntu-Server 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230217.1)
PackageArchitec
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-
UpgradeStatus: No upgrade log present (probably fresh install)
cloud-id.txt: none
jobs-status.json: {"metering": {"last_run": "2024-06-
livepatch-
uaclient.conf:
contract_url: https:/
log_level: debug
To manage notifications about this bug go to: /bugs.launchpad .net/canonical- livepatch- client/ +bug/2068100/ +subscriptions<https:/ /bugs.launchpad .net/canonical- livepatch- client/ +bug/2068100/ +subscriptions> ******* ******* ******* ******* ******* ******* ******* **** ******* ******* ******* ******* ******* ******* ******* ***"
https:/
"******
Warning: This email may contain confidential or privileged information
intended only for the use of the individual or entity to whom it is
addressed. If you are not the intended recipient, please understand
that any disclosure, copying, distribution, or use of the contents
of this email is strictly prohibited.
*******