Skip to content

Improvement error messages on secret not granted for config option #189

@javierdelapuente

Description

@javierdelapuente

Enhancement Proposal

Suggestion from @cbartz , a secret in a config option without granting the permission will put the charm in error state, with ops.model.ModelError: ERROR permission denied.

Improve the error log to avoid  the need of reading the stack trace , so there is a error log line indicating what the operator should do? "Not able to access the secret <secret-name>. Operator should run a grant command" 

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