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

Given the --web.enable-lifecycle prometheus, prometheus-config-reloader will still have failure logs #2358

Open
tjl-with-code opened this issue Feb 27, 2024 · 0 comments
Labels

Comments

@tjl-with-code
Copy link

  • environment:k8s version -> 1.18,1.24,prometheus-operator version -> 0.62.0,prometheus-config-reloader version -> 0.62.0

  • prometheus version -> 2.41.0
    logs:
    level=error ts=2024-02-27T06:54:56.669203009Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:55:01.665826086Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:55:06.664827358Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:55:11.668822581Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:55:16.66881128Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:55:21.668731898Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:55:26.665138413Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:55:31.669207027Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:55:36.669156825Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:55:41.669082053Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:55:46.667486132Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:55:51.669619723Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:55:56.668603295Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:56:01.665556184Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:56:06.664475166Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:56:11.669528246Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:56:16.669507555Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:56:21.668464686Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:56:26.669449591Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:56:31.6694677Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:56:36.669539578Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:56:41.66851047Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:56:46.669550155Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:56:51.668579207Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:56:56.668604976Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:57:01.668655775Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:57:06.668655133Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:57:11.665529792Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:57:16.668450138Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:57:21.669500204Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:57:26.668607056Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:57:31.665643856Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:57:36.668716044Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:57:41.668870103Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:57:46.668958682Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"
    level=error ts=2024-02-27T06:57:51.66581294Z caller=runutil.go:100 msg="function failed. Retrying in next tick" err="trigger reload: received non-200 response: 401 Unauthorized; have you set --web.enable-lifecycle Prometheus flag?"

  • prometheus startup parameter '--web.config.file=/etc/prometheus/web_config.yaml'
    - '--config.file=/etc/prometheus/config_out/prometheus.env.yaml'
    - '--web.enable-lifecycle'

This results in an OOM in prometheus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant