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

AttributeError: module 'rediscluster' has no attribute 'ClusterPipeline' errors with the latest chart (v15.2.1) #730

Closed
prasadkris opened this issue Sep 13, 2022 · 7 comments
Labels

Comments

@prasadkris
Copy link

prasadkris commented Sep 13, 2022

Greetings! 👋

I am getting the following errors while attempting to deploy sentry with the latest chart (v15.2.1) on our self hosted K8s cluster.

k logs sentry-web-7c44b7565d-pcpls | grep -i erro
AttributeError: module 'rediscluster' has no attribute 'ClusterPipeline'
05:39:34 [ERROR] sentry_sdk.errors: Error occurred while patching `rediscluster` library
AttributeError: module 'rediscluster' has no attribute 'ClusterPipeline'
05:39:37 [ERROR] sentry_sdk.errors: Error occurred while patching `rediscluster` library
AttributeError: module 'rediscluster' has no attribute 'ClusterPipeline'
05:39:37 [ERROR] sentry_sdk.errors: Error occurred while patching `rediscluster` library
AttributeError: module 'rediscluster' has no attribute 'ClusterPipeline'
05:39:37 [ERROR] sentry_sdk.errors: Error occurred while patching `rediscluster` library

k logs sentry-worker-8d8986879-62d64 -f
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/redis.py", line 123, in setup_once
    _patch_rediscluster()
  File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/redis.py", line 88, in _patch_rediscluster
    pipeline_cls = rediscluster.ClusterPipeline
AttributeError: module 'rediscluster' has no attribute 'ClusterPipeline'
06:15:49 [ERROR] sentry_sdk.errors: Error occurred while patching `rediscluster` library

This issue only exists with chart versions 15.2.x (15.2.0 and 15.2.1 - serving sentry 22.8.0), The older chart versions appears to work fine. I would greatly appreciate if someone could help me with this, Thanks! 🙏

@rajivmucheli
Copy link

which relay mode is being used ?

@prasadkris
Copy link
Author

managed.

@spectrogram
Copy link
Contributor

I believe this is due to getsentry/sentry-python#1565
The fix hasn't been cut into a release yet, but I was able to work around this issue for now by using the nightly image.

@prasadkris
Copy link
Author

Thank you, @spectrogram I tested the nightly image and it works without any errors. 👍 hopefully a new release will be available soon with this fix, thanks! 🙏

@schmidp
Copy link

schmidp commented Sep 20, 2022

@prasadkris did you just write:

images:
  sentry:
    tag: "nightly"
  snuba:
    tag: "nightly"
  relay:
    tag: "nightly"
  symbolicator:
    tag: 0.5.1
    imagePullSecrets: []

to get it working?

@Mokto
Copy link
Contributor

Mokto commented Oct 21, 2022

This issue is stale because it has been open for 30 days with no activity.

@Mokto Mokto added the stale label Oct 21, 2022
@Mokto
Copy link
Contributor

Mokto commented Nov 5, 2022

This issue was closed because it has been inactive for 14 days since being marked as stale.

@Mokto Mokto closed this as completed Nov 5, 2022
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

5 participants