Removing the certificates relation leaves the coordinator stuck in error:
pyroscope/0 error hook failed: "certificates-relation-broken"
Running the hook by hand gives:
Uncaught SecretNotFoundError in charm code
It's deterministic. The unit errors again on juju resolved, and again when the hook is dispatched manually, so it isn't a transient blip.
Found while unskipping the integration tests in #435. test_profiling_tls passes everything except its teardown, which is what surfaced this. That teardown has since been removed, since each module gets a throwaway model anyway, so nothing is currently covering this path.
Removing the
certificatesrelation leaves the coordinator stuck inerror:Running the hook by hand gives:
It's deterministic. The unit errors again on
juju resolved, and again when the hook is dispatched manually, so it isn't a transient blip.Found while unskipping the integration tests in #435.
test_profiling_tlspasses everything except its teardown, which is what surfaced this. That teardown has since been removed, since each module gets a throwaway model anyway, so nothing is currently covering this path.