getsentry / self-hosted

Sentry, feature-complete and packaged up for low-volume deployments and proofs-of-concept
https://develop.sentry.dev/self-hosted/
Other
7.84k stars 1.76k forks source link

sentry queues list doesn't work when Redis has SSL enabled #2589

Closed lluczaj closed 10 months ago

lluczaj commented 11 months ago

Environment

self-hosted (https://develop.sentry.dev/self-hosted/)

Steps to Reproduce

  1. Run self-hosted Sentry on Kubernetes
  2. Enable SSL on redis
  3. All Sentry features work properly
  4. Run sentry queues list from sentry-worker pod - this will fail

Expected Result

Get queues list

Actual Result

Error: unknown broker type

Does Sentry CLI expect to get rediss backend ? It seems that queues code hasn't been updated for a long time even though Redis TLS is now officially supported.

https://github.com/getsentry/sentry/blame/master/src/sentry/monitoring/queues.py#L91

Product Area

Issues

Link

No response

DSN

No response

Version

23.6.2

getsantry[bot] commented 11 months ago

Assigning to @getsentry/support for routing ⏲️

hubertdeng123 commented 11 months ago

Hmmm, you're heading into uncharted territory here. The Sentry CLI does not expect the rediss backend, so that's something you'd have to try yourself.

getsantry[bot] commented 10 months ago

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

lluczaj commented 10 months ago

Since TLS in Redis is officially supported in Sentry don't you have any plans to fix the CLI ? I must say I tried to workaround it but apparently I am missing knowledge about Sentry/Celery and struggle with it a lot 🤔

azaslavsky commented 10 months ago

We don't support kubernetes-based setups - this repository is built around docker-compose only, and tooling (to some degree) works on that assumption. While there are other unaffiliated open-source projects floating around which provide some sample k8s setups, these are not officially supported by this project. Good luck!

lluczaj commented 10 months ago

@azaslavsky I may not know other Sentry setups good enough but to me this problem is not related to Kubernetes itself. 2 questions to you: