Open PietroPasotti opened 3 weeks ago
It's easier to see even without the whole setup-on-setup:
jhack imatrix fill
It works if you deploy coordinator and worker first and relate them, then add cos-lite and jhack imatrix fill
.
It might be an issue with the shared coordinator-worker object.
yes, the underlying issue is that tempo will not set up ingress until s3 is related and configured, and the _external_url
property makes some incorrect assumptions about what TraefikRouteRequirer.is_ready
means.
This should fix it:
@property
def _external_url(self) -> str:
"""Return the external url."""
# traefik-route's is_ready() doesn't mean that there is data in the databags, hence the explicit checks.
if self.ingress.is_ready() and self.ingress.scheme and self.ingress.external_host:
ingress_url = f"{self.ingress.scheme}://{self.ingress.external_host}"
Bug Description
tempo coordinator errors out on relation to prometheus if s3 isn't integrated, because of an issue on how the external url is calculated.
To Reproduce
juju deploy cos-lite --channel edge
juju deploy tempo-coordinator-k8s --channel edge tempo
juju relate tempo prometheus
Environment
microk8s on top of openstack on top of multipass
(good luck)
Relevant log output
Additional context
No response