4

Running Ubuntu 22.04.3LTS.

I noticed that LivePatch suddenly failed this morning with the error:

"An error occurred when checking for LivePatch updates."

I searched around and discovered I could get the status of LivePatch with the following command-line:

$ canonical-livepatch status

It reports the following:

last check: 11 minutes ago kernel: 6.5.0-15.15~22.04.1-generic

server check-in: failed: livepatch check failed: error response with status 502 (Bad Gateway): "<html><body><h1>502 Bad Gateway</h1>\nThe server returned an invalid or incomplete response.\n</body></html>\n\n"

kernel state: ✗ kernel is not covered by Livepatch

patch state: ✓ no livepatches available for kernel 6.5.0-15.15~22.04.1-generic

tier: updates (Free usage; This machine beta tests new patches.)

machine id: [redacted]

Other Things I Tried I attempted to turn off the "Kernel LivePatch" so I could try to turn it on again to see if that would fix it but I got an error (shown in image) there too.

LivePatch settings

Right after I disabled LivePatch I tried to enable it again and that caused an error too, so it's in an unknown state:

LivePatch unknown state

I have not updated the kernel myself.

Is there some issue where the update system is out of sync or something?

Why is this problem with LiveUpdate occurring?

Is this happening for other people?

raddevus
  • 1,998

3 Answers3

4

There's an outage of some services hosted by Canonical.

https://status.snapcraft.io/

Screenshot of snapcraft status page

https://ubuntu.social/@launchpadstatus/111879418793860513

Screenshot of launchpad status at ubuntu social

popey
  • 24,549
2

Update 2024-02-15: It appears that livepatch is now supporting the 6.5 Kernels.

terrance@terrance-ubuntu:~$ canonical-livepatch status
last check: 8 minutes ago
kernel: 6.5.0-18.18~22.04.1-generic
server check-in: succeeded
kernel state: ✓ kernel series 6.5 is covered by Livepatch
patch state: ✓ no livepatches available for kernel 6.5.0-18.18~22.04.1-generic
tier: updates (Free usage; This machine beta tests new patches.)
machine id: <redacted>

I was able to download and install canonical-livepatch version 10.8.1 this morning by running sudo snap refresh.

$ canonical-livepatch --version
canonical-livepatch version 10.8.1

Livepatch is now showing that it is working, but it is still showing that the 6.5.0-15-generic Kernel is still not supported.

enter image description here

enter image description here

$ canonical-livepatch status
last check: 6 seconds ago
kernel: 6.5.0-15.15~22.04.1-generic
server check-in: succeeded
kernel state: ✗ kernel is not covered by Livepatch
patch state: ✓ no livepatches available for kernel 6.5.0-15.15~22.04.1-generic
tier: updates (Free usage; This machine beta tests new patches.)
machine id: <redacted>

However, as I have noticed through Livepatch -- plans to support official HWE kernels? that it seems that Canonical is only supporting every other HWE Kernel as it comes in. The new Kernel version of 6.8 that is slated for 24.04 when it is released will probably be covered.

Terrance
  • 43,712
1

Error can be resolved with: sudo canonical-livepatch refresh