Skip to content

Coordinator errors on certificates-relation-broken with an uncaught SecretNotFoundError #438

Description

@iamsharduld

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions