grafana agent config not rendered completely
Bug #2052140 reported by
Nishant Dash
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kubernetes Control Plane Charm |
Fix Released
|
High
|
Mateo Florido |
Bug Description
when deployed charmed k8s control plane, we notice that after adding the grafana-agent and k-c-p integration, grafana agent gets properly rendered only on some units. (sometimes 1/3, or sometimes 2/3).
The mterics config section is missing a lot information. The authorization section is not present. The charm seems to only do [1] once? Or rather, there no clear retry logic for that/ So if it ever gets an invalid token from cos or cos token isnt ready, it never gets to a point where it seems to retry rendering that config.
Workaround is to just remove and re-add the integration until all 3 k-c-p unit's grafana-agent.yaml are configured.
Changed in charm-kubernetes-master: | |
milestone: | none → 1.29+ck1 |
tags: | added: backport-needed |
Changed in charm-kubernetes-master: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
KCP PR: https:/ /github. com/charmed- kubernetes/ charm-kubernete s-control- plane/pull/ 338 /github. com/charmed- kubernetes/ charm-kubernete s-worker/ pull/167
KW PR: https:/