Comment 10 for bug 2004650

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi Ken, as discussed in #desktop.
There isn't enough to act on in the bug yet.
The logs have nothing to further analyze, trying to reproduce in various ways fails, ...

What we got in the chat discussion was

```
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 1903, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 2016, in main
    return_value = args.action(args, cfg=cfg)
  File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 1708, in action_status
    output = ua_status.format_tabular(status)
  File "/usr/lib/python3/dist-packages/uaclient/status.py", line 659, in format_tabular
    pairs.append(("Valid until", format_expires(status["expires"])))
  File "/usr/lib/python3/dist-packages/uaclient/status.py", line 574, in format_expires
    return expires.strftime("%c %Z")
AttributeError: 'NoneType' object has no attribute 'strftime'
```

And

```
 Retrying 2 more times.
2023-02-03 11:06:35,238 - system.py:(505) [DEBUG]: Failed running command '/snap/bin/canonical-livepatch status' [exit(1)]. Message: error executing status: livepatchd error: The platform Ubuntu 22.10 is not supported. exiting.
 Retrying 1 more times.
2023-02-03 11:06:36,375 - livepatch.py:(298) [DEBUG]: Livepatch not enabled. Failed running command '/snap/bin/canonical-livepatch status' [exit(1)]. Message: error executing status: livepatchd error: The platform Ubuntu 22.10 is not supported. exiting.

2023-02-03 11:06:36,376 - system.py:(355) [DEBUG]: Reading file: /var/lib/ubuntu-advantage/notices.json
2023-02-03 11:06:36,376 - files.py:(56) [DEBUG]: File does not exist: /var/lib/ubuntu-advantage/notices.json
2023-02-03 11:06:36,377 - system.py:(381) [DEBUG]: Writing file /var/lib/ubuntu-advantage/status.json atomically via tempfile /var/lib/ubuntu-advantage/tmpe37cl4pm
2023-02-03 11:06:36,377 - system.py:(355) [DEBUG]: Reading file: /var/lib/ubuntu-advantage/notices.json
2023-02-03 11:06:36,377 - files.py:(56) [DEBUG]: File does not exist: /var/lib/ubuntu-advantage/notices.json
```