Open
Description
How did you upgrade to 22.04? (Fresh install / Upgrade)
Upgrade from 21.10
Related Application and/or Package Version (run apt policy $PACKAGE NAME
):
Not sure
Issue/Bug Description:
I see the following error in the logs, indicating ua-timer cannot parse /etc/os-release
properly:
Apr 13 11:37:31 pop-os systemd[1]: Starting Ubuntu Advantage Timer for running repeated jobs...
░░ Subject: A start job for unit ua-timer.service has begun execution
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit ua-timer.service has begun execution.
░░
░░ The job identifier is 2634.
Apr 13 11:37:31 pop-os python3[12162]: Traceback (most recent call last):
Apr 13 11:37:31 pop-os python3[12162]: File "/usr/lib/ubuntu-advantage/timer.py", line 9, in <module>
Apr 13 11:37:31 pop-os python3[12162]: from uaclient.cli import setup_logging
Apr 13 11:37:31 pop-os python3[12162]: File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 22, in <module>
Apr 13 11:37:31 pop-os python3[12162]: from uaclient import (
Apr 13 11:37:31 pop-os python3[12162]: File "/usr/lib/python3/dist-packages/uaclient/security_status.py", line 11, in <module>
Apr 13 11:37:31 pop-os python3[12162]: series = get_platform_info()["series"]
Apr 13 11:37:31 pop-os python3[12162]: File "/usr/lib/python3/dist-packages/uaclient/util.py", line 303, in get_platform_info
Apr 13 11:37:31 pop-os python3[12162]: raise RuntimeError(
Apr 13 11:37:31 pop-os python3[12162]: RuntimeError: Could not parse /etc/os-release VERSION: 22.04 LTS (modified to 22.04 LTS)
Apr 13 11:37:31 pop-os systemd[1]: ua-timer.service: Main process exited, code=exited, status=1/FAILURE
... later ...
Apr 13 11:37:31 pop-os systemd[1]: Failed to start Ubuntu Advantage Timer for running repeated jobs.
Steps to reproduce (if you know):
I'm not sure what triggers this--perhaps a cron job?
Expected behavior:
No error in logs.
Metadata
Metadata
Assignees
Labels
No labels