Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: mimir distributed smoke test job failing when nginx is disabled #9996

Open
radekg opened this issue Nov 22, 2024 · 2 comments
Open

Bug: mimir distributed smoke test job failing when nginx is disabled #9996

radekg opened this issue Nov 22, 2024 · 2 comments
Labels
bug Something isn't working helm

Comments

@radekg
Copy link

radekg commented Nov 22, 2024

What is the bug?

smoke test job is failing when nginx is disabled

Logs:

ts=2024-11-22T22:05:30.226594169Z caller=write_read_series.go:407 level=warn test=write-read-series query=sum(max_over_time(mimir_continuous_test_sine_wave_v2[1s])) start=2024-11-21T22:05:40Z end=2024-11-22T22:05:20Z step=20s msg="Failed to execute range query used to find previously written samples" query=sum(max_over_time(mimir_continuous_test_sine_wave_v2[1s])) err="Post \"http://mimir-system-nginx.core-monitoring-metrics.svc:80/prometheus/api/v1/query_range\": dial tcp: lookup mimir-system-nginx.core-monitoring-metrics.svc on 10.10.0.10:53: no such host"

which makes sense when nginx is not there.

Chart: mimir-distributed, version: 5.5.1.

How to reproduce it?

Configure the Helm chart with nginx diabled.

What did you think would happen?

If the smoke test job depends on nginx, if nginx is disabled, smoke test job should not be deployed.

What was your environment?

Kubernetes 1.31, chart: mimir-distributed, version 5.5.1 with app version 2.14.0.

Any additional context to share?

There should probably be a check here to deploy the smoke test job when nginx is disabled: https://github.com/grafana/mimir/blob/main/operations/helm/charts/mimir-distributed/templates/smoke-test/smoke-test-job.yaml#L1.

@radekg radekg added the bug Something isn't working label Nov 22, 2024
@cmitri-harris
Copy link

Set gateway.enabledNonEnterprise to true

@radekg
Copy link
Author

radekg commented Dec 1, 2024

What if I don’t want a gateway from mimir at all? Would be nice to have a switch to disable the smoke test job as it seems optional?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working helm
Projects
None yet
Development

No branches or pull requests

3 participants