install fails on focal

Bug #1863900 reported by Tom Haddon
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Livepatch Charm
Fix Released
Critical
Unassigned

Bug Description

Install fails on focal with the following (using a modified version of the charm that adds "focal" to supported series in metadata.yaml): https://paste.ubuntu.com/p/23jks6vHDS/

I believe there are some layer updates needed for this to work.

Related branches

Tom Haddon (mthaddon)
Changed in charm-canonical-livepatch:
status: New → Confirmed
importance: Undecided → Critical
Revision history for this message
Tom Haddon (mthaddon) wrote :

With a recently built version of livepatch we're seeing:

2020-02-20 00:05:40 DEBUG install 2020/02/20 00:05:40 error executing enable: Livepatchd error: The platform Ubuntu 20.04 is not supported. exiting.

Will follow up with this...

Revision history for this message
Tom Haddon (mthaddon) wrote :

Tested this using the edge snap channel as suggested by the devs.

In Juju status I was seeing:

livepatch/0* active idle 10.25.63.235 Running kernel unknown, patchState: unknown

And the nagios checks were failing with:

2020-02-20 13:45:04 [ERROR] 1 FAIL on ubuntu/0:
+ /usr/lib/nagios/plugins/check_canonical-livepatch.py
<function check_serious_errors at 0x7f5d3cedd9d0> raised unknown exception '<class 'KeyError'>'
============================================================
Traceback (most recent call last):
File "/usr/lib/nagios/plugins/nagios_plugin3.py", line 32, in try_check
function(*args, **kwargs)
File "/usr/lib/nagios/plugins/check_canonical-livepatch.py", line 48, in check_serious_errors
livepatch_yaml['status']
KeyError: 'status'
============================================================

Revision history for this message
Tom Haddon (mthaddon) wrote :

This has been fixed in cs:canonical-livepatch-35

Changed in charm-canonical-livepatch:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.