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

#4657 broke query -> sidecar communication #4688

Closed
sylr opened this issue Sep 21, 2021 · 6 comments
Closed

#4657 broke query -> sidecar communication #4688

sylr opened this issue Sep 21, 2021 · 6 comments

Comments

@sylr
Copy link
Contributor

sylr commented Sep 21, 2021

Thanos, Prometheus and Golang version used:

Thanos: HEAD
Go: 1.17.1

Object Storage Provider:

S3

What happened:

While testing #4667 I merged the main branch into it locally and it broke the communication between my thanos query and thanos sidecar.

I bisected and reverting #4657 resolved the issue.

I don't know if it is relevant but I have a traefik reverse proxy between thanos-query and the incriminated thanos-sidecar.

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Full logs to relevant components:

Thanos Query Logs

level=warn ts=2021-09-21T08:39:46.659306271Z caller=endpointset.go:511 component=endpointset msg="update of node failed" err="getting metadata: fallback fetching info from prometheus-thanos-grpc-eks-euc1-02.dev.company.com:9090 after err: rpc error: code = DeadlineExceeded desc = context deadline exceeded: rpc error: code = DeadlineExceeded desc = context deadline exceeded" address=prometheus-thanos-grpc-eks-euc1-02.dev.company.com:9090
level=warn ts=2021-09-21T08:39:51.660095416Z caller=endpointset.go:511 component=endpointset msg="update of node failed" err="getting metadata: fallback fetching info from prometheus-thanos-grpc-eks-euc1-02.dev.company.com:9090 after err: rpc error: code = DeadlineExceeded desc = context deadline exceeded: rpc error: code = DeadlineExceeded desc = context deadline exceeded" address=prometheus-thanos-grpc-eks-euc1-02.dev.company.com:9090
level=warn ts=2021-09-21T08:39:56.660884651Z caller=endpointset.go:511 component=endpointset msg="update of node failed" err="getting metadata: fallback fetching info from prometheus-thanos-grpc-eks-euc1-02.dev.company.com:9090 after err: rpc error: code = DeadlineExceeded desc = context deadline exceeded: rpc error: code = DeadlineExceeded desc = context deadline exceeded" address=prometheus-thanos-grpc-eks-euc1-02.dev.company.com:9090

Anything else we need to know:

@hanjm
Copy link
Member

hanjm commented Sep 21, 2021

address=prometheus-thanos-grpc-eks-euc1-02.dev.company.com:9090

9090 is the Prometheus port, not the thanos-sidecar port.
Could you provide the thanos-query and thanos-sidecar command args?

@sylr
Copy link
Contributor Author

sylr commented Sep 21, 2021

Ok so I don't reproduce anymore ...

I'm sorry for the annoyance.

@sylr sylr closed this as completed Sep 21, 2021
@GiedriusS
Copy link
Member

It's ok 👍 no worries 🤗

@hanjm
Copy link
Member

hanjm commented Sep 22, 2021

if the port 9090 is point to sidecar correctly. I think the error log is produced when sidecar is up but prometheus is not ready,so query timeout by context deadline exceeded.

@sylr
Copy link
Contributor Author

sylr commented Sep 22, 2021

9090 was the port on the reverse proxy which was forwarding on 10901. The mistery lies elsewhere ...

Sorry again to have wasted your time.

@bwplotka
Copy link
Member

No worries, good we found the issue and it's not a release blocker! 🤗

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

No branches or pull requests

4 participants