Closed nobuto-m closed 9 months ago
Fwiw, using latest/edge for both prometheus-k8s and traefik-k8s makes it work. But I haven't looked into details on why.
[overlay]
bundle: kubernetes
applications:
prometheus:
channel: latest/edge
traefik:
channel: latest/edge
Closing it since it appears to be solved.
This is not solved at all. I've seen an instance of it on a customer environment where they tried to follow the latest/stable track by refreshing the charms. As in the above example, a charm in stable and another charm in edge couldn't be mixed because of backward incompatibility in the traefix relation.
A hook execution error and /cos-prometheus-0: 404 Not Found
occurred during the upgrade since at one point multiple "generations" of charms co-exist in the model. As we are taking the rolling release model in COS, there is no announcement about incoming backward incompatibilities or any upgrade notes, the model was stuck with the error.
In the end, multiple iterations of ignoring the error by running juju resolved --no-retry
and bouncing back relations recovered the model state, but the UX in terms following the latest/stable track of COS wasn't great for the customer.
Bug Description
When deploying prometheus-k8s with the edge channel, the endpoint returns 404 page not found. And grafana-agent will see the following error as a remote write failure.
To Reproduce
Environment
Relevant log output
juju_debug-log_cos.log
Additional context
No response