Closed anna-savchenko closed 2 months ago
Update
I redeployed COS and tried to add the integrations in the following order:
juju relate cos-grafana:grafana-dashboard grafana-agent:grafana-dashboards-provider wait for grafana status to change from executing to active juju relate cos-prometheus:receive-remote-write grafana-agent:send-remote-write wait for prometheus status to change from executing to active juju relate cos-loki:logging grafana-agent:logging-consumer
This approach worked but I'm not sure if it's actually related to the issue
This was most likely a queued event from a removal executed with --force
. Can you confirm?
Closing because I believe that was the issue, but pleas feel free to reopen if not! :)
Bug Description
After integrating grafana-agent in Charmed Kubernetes with Loki, loki breaks with
hook failed: "logging-relation-departed"
To Reproduce
juju consume foundations-openstack:admin/cos.grafana cos-grafana juju consume foundations-openstack:admin/cos.loki cos-loki juju consume foundations-openstack:admin/cos.prometheus cos-prometheus
juju relate cos-loki:logging grafana-agent:logging-consumer juju relate cos-prometheus:receive-remote-write grafana-agent:send-remote-write juju relate cos-grafana:grafana-dashboard grafana-agent:grafana-dashboards-provider
Additional context
No response