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

Redis集群模式报错module 'redis' has no attribute 'cluster' #1997

Closed
wybug opened this issue Dec 15, 2022 · 2 comments · Fixed by #2311
Closed

Redis集群模式报错module 'redis' has no attribute 'cluster' #1997

wybug opened this issue Dec 15, 2022 · 2 comments · Fixed by #2311

Comments

@wybug
Copy link

wybug commented Dec 15, 2022

重现步骤

  1. 配置一个Redis集群模式实例, 配置其中一个节点的IP和端口
  2. 在实例列表中,选择新增加实例,点击测试

预期外的结果

无法连接实例, module 'redis' has no attribute 'cluster', 在https://demo.archerydms.com/instance/中也同样存在
图片

日志文本

无法连接实例, module 'redis' has no attribute 'cluster'

版本

1.9.1

部署方式

Docker

是否还有其他可以辅助定位问题的信息?比如数据库版本等

@nick2wang
Copy link
Collaborator

高版本redis-py与qcluster依赖冲突,可以先手动升级redis-py #1966

@chenglei96
Copy link

您说的手动升级redis-py是升级docker-compose里面的那个redis嘛,具体如何升级呢

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

Successfully merging a pull request may close this issue.

4 participants