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

Query-frontend: Fix connection to Redis cluster with TLS. #7674

Merged
merged 14 commits into from
Nov 28, 2024

Conversation

didukh86
Copy link
Contributor

Issue: #7672

Signed-off-by: didukh86 didukh86@gmail.com

Changes

Added EnableTLS and InsecureSkipVerify to Redis config

Verification

After build I was able to connect to Redis cluster with TLS enabled

@didukh86 didukh86 force-pushed the query_frontend_tls_redis_fix branch 2 times, most recently from c96aaa8 to cfdf1b7 Compare August 28, 2024 13:56
@didukh86 didukh86 changed the title Query-frontend: Fix connection to Redis with TLS. Query-frontend: Fix connection to Redis cluster with TLS. Aug 28, 2024
Copy link
Contributor

@pedro-stanaka pedro-stanaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG - remember to add changelog

saswatamcode
saswatamcode previously approved these changes Sep 2, 2024
Copy link
Member

@saswatamcode saswatamcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, could you add a changelog?

@didukh86
Copy link
Contributor Author

didukh86 commented Sep 2, 2024

Added

@didukh86 didukh86 force-pushed the query_frontend_tls_redis_fix branch from e2479b9 to 1a59739 Compare September 2, 2024 10:12
@saswatamcode
Copy link
Member

@didukh86 you would need to sign the changelog commit as well. Could you do that, happy to merge then 🙂

didukh86 and others added 7 commits September 4, 2024 17:58
Issue: thanos-io#7672

Signed-off-by: didukh86 <didukh86@gmail.com>
Signed-off-by: didukh86 <78904472+didukh86@users.noreply.github.com>
Signed-off-by: didukh86 <didukh86@gmail.com>
Signed-off-by: Taras Didukh <taras.didukh@advancedmd.com>
Signed-off-by: Taras Didukh <taras.didukh@advancedmd.com>
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
…tlptracehttp (thanos-io#7666)

Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp](https://github.com/open-telemetry/opentelemetry-go) from 1.27.0 to 1.29.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go@v1.27.0...v1.29.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Taras Didukh <taras.didukh@advancedmd.com>
Signed-off-by: milinddethe15 <milinddethe15@gmail.com>
Signed-off-by: Taras Didukh <taras.didukh@advancedmd.com>
…io#7667)

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.2 to 3.26.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@429e197...2c779ab)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Taras Didukh <taras.didukh@advancedmd.com>
Bumps [golang.org/x/time](https://github.com/golang/time) from 0.5.0 to 0.6.0.
- [Commits](golang/time@v0.5.0...v0.6.0)

---
updated-dependencies:
- dependency-name: golang.org/x/time
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Taras Didukh <taras.didukh@advancedmd.com>
@didukh86 didukh86 force-pushed the query_frontend_tls_redis_fix branch from 4888af1 to 75f0328 Compare September 4, 2024 15:00
@pull-request-size pull-request-size bot added size/L and removed size/S labels Sep 4, 2024
Signed-off-by: Taras Didukh <didukh86@gmail.com>
@pull-request-size pull-request-size bot added size/S and removed size/L labels Sep 4, 2024
@didukh86
Copy link
Contributor Author

@saswatamcode all commits are signed and all looks fine now. Thank you for reviewing.

@kaiohenricunha
Copy link

Is there anything else missing for this PR to be merged?

@didukh86
Copy link
Contributor Author

didukh86 commented Oct 17, 2024

@saswatamcode is there something else preventing this PR from approval?

@elvishsu66
Copy link

It would be great if we could release this patch soon, please 🙇🏻‍♂️ We desperately need this fixed

@EhsanLunar
Copy link

@saswatamcode
Would really like to see this merged if possible

@fpetkovski fpetkovski enabled auto-merge November 28, 2024 16:36
@fpetkovski fpetkovski merged commit e4d8234 into thanos-io:main Nov 28, 2024
22 checks passed
saswatamcode pushed a commit to saswatamcode/thanos that referenced this pull request Dec 3, 2024
…dis_fix

Query-frontend: Fix connection to Redis cluster with TLS.
saswatamcode pushed a commit to saswatamcode/thanos that referenced this pull request Dec 3, 2024
…dis_fix

Query-frontend: Fix connection to Redis cluster with TLS.
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
saswatamcode added a commit that referenced this pull request Dec 4, 2024
* Merge pull request #7674 from didukh86/query_frontend_tls_redis_fix

Query-frontend: Fix connection to Redis cluster with TLS.
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>

* Capnp: Use segment from existing message (#7945)

* Capnp: Use segment from existing message

Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>

* Downgrade capnproto

Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>

---------

Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>

* [Receive] Fix race condition when adding multiple new tenants at once (#7941)

* [Receive] fix race condition

Signed-off-by: Yi Jin <yi.jin@databricks.com>

* add a change log

Signed-off-by: Yi Jin <yi.jin@databricks.com>

* memorize tsdb local clients without race condition

Signed-off-by: Yi Jin <yi.jin@databricks.com>

* fix data race in testing with some concurrent safe helper functions

Signed-off-by: Yi Jin <yi.jin@databricks.com>

* address comments

Signed-off-by: Yi Jin <yi.jin@databricks.com>

---------

Signed-off-by: Yi Jin <yi.jin@databricks.com>
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>

* Cut patch release v0.37.1

Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>

* Update promql-engine for subquery fix (#7953)

Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>

* Sidecar: Ensure limit param is positive for compatibility with older Prometheus (#7954)

Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>

* Update changelog

Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>

* Fix changelog

Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>

---------

Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
Signed-off-by: Yi Jin <yi.jin@databricks.com>
Co-authored-by: Filip Petkovski <filip.petkovsky@gmail.com>
Co-authored-by: Yi Jin <96499497+jnyi@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants