canonical / grafana-agent-k8s-operator

https://charmhub.io/grafana-agent-k8s
Apache License 2.0
8 stars 18 forks source link

"Missing incoming ('requires') relation" is confusing. #218

Closed dstathis closed 6 months ago

dstathis commented 1 year ago

Bug Description

I saw "Missing incoming ('requires') relation" in a blocked status. I just added random relations until I finally looked in the source code to figure out what it means. This message is not really meaningful.

Additionally "requires" means something completely different for charms.

To Reproduce

-

Environment

-

Relevant log output

-

Additional context

No response

lucabello commented 1 year ago

The message to clarify is here

lucabello commented 6 months ago

The message has been improved by explicitly mentioning the relations needed, in https://github.com/canonical/grafana-agent-k8s-operator/pull/286