Thanks for reporting this Shubham!
From the logs, it looks like the error is coming from canonical-
livepatch. Pasting the formatted stacktrace here:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/uaclient/livepatch.py", line 130, in
status
out, _ = system.subp(
^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/uaclient/system.py", line 708, in subp
out, err = _subp(
^^^^^^
File "/usr/lib/python3/dist-packages/uaclient/system.py", line 657, in _subp
raise exceptions.ProcessExecutionError(
uaclient.exceptions.ProcessExecutionError: Failed running command
'/snap/bin/canonical-livepatch status --verbose --format json' [exit(1)].
Message: error executing status: livepatchd error: daemon shutting down
So `/snap/bin/canonical-livepatch status --verbose --format json` is returning
an error with message:
error executing status: livepatchd error: daemon shutting down
I'm adding this bug to the livepatch client and marking incomplete for
ubuntu-advantage-tools
** Also affects: canonical-livepatch-client
Importance: Undecided
Status: New
** Changed in: ubuntu-advantage-tools (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068822
Title:
unable to detach live patch as I try to do it because I was unable to
see livepatch icon in top
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-livepatch-client/+bug/2068822/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs