Skip to content

Instantly share code, notes, and snippets.

│ 2025-03-13T22:54:50.612Z [container-agent] 2025-03-13 22:54:50 ERROR juju-log Uncaught exception while in charm code: │
│ 2025-03-13T22:54:50.612Z [container-agent] Traceback (most recent call last): │
│ 2025-03-13T22:54:50.612Z [container-agent] File "/var/lib/juju/agents/unit-hexanator-0/charm/venv/ops/model.py", line 3373, in _run │
│ 2025-03-13T22:54:50.612Z [container-agent] result = subprocess.run(args, **kwargs) # type: ig
class TracingEvents(Protocol):
@property
def request(self) -> EventSource: ...
def broken(self) -> EventSource: ...
class CertEvents(Protocol):
@property
def something(self) -> EventSource: ...
def other(self) -> EventSource: ...
2025-02-21T02:59:07.1894071Z Current runner version: '2.322.0'
2025-02-21T02:59:07.1921812Z ##[group]Operating System
2025-02-21T02:59:07.1922656Z Ubuntu
2025-02-21T02:59:07.1923194Z 24.04.1
2025-02-21T02:59:07.1923692Z LTS
2025-02-21T02:59:07.1924185Z ##[endgroup]
2025-02-21T02:59:07.1924733Z ##[group]Runner Image
2025-02-21T02:59:07.1925472Z Image: ubuntu-24.04
2025-02-21T02:59:07.1926052Z Version: 20250209.1.0
2025-02-21T02:59:07.1927083Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20250209.1/images/ubuntu/Ubuntu2404-Readme.md
@dataclass
class Status:
# important bits pulls from juju FullStatus
...
def check(full_status: juju.FullStatus, **kwargs) -> Status:
# simple, sync code here
...
diff --color=auto -ur juju-2.9.49.0/PKG-INFO juju-2.9.49.1/PKG-INFO
--- juju-2.9.49.0/PKG-INFO 2024-05-02 19:20:55
+++ juju-2.9.49.1/PKG-INFO 2024-11-29 16:15:21
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: juju
-Version: 2.9.49.0
+Version: 2.9.49.1
Summary: Python library for Juju
Home-page: https://github.com/juju/python-libjuju
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.