Netbox With Redis Cluster

463 views
Skip to first unread message

Aditya Vijjan

unread,
Aug 13, 2019, 2:32:03 AM8/13/19
to NetBox
Hi Team,

I have upgraded Netbox to latest version and integrated with Redis. Have first tried with remote Redis cluster but i got below error.


" The complete exception is provided below:

<class 'redis.exceptions.ResponseError'>

SELECT is not allowed in cluster mode "


Now i am using single node Redis (without cluster mode). and Netbox is fine.

So do netbox support the Redis cluster ?

Regards

Aditya Vijjan

Brian Candler

unread,
Aug 13, 2019, 4:49:26 AM8/13/19
to NetBox
https://redis.io/commands/select

"When using Redis Cluster, the SELECT command cannot be used, since Redis Cluster only supports database zero. In the case of Redis Cluster, having multiple databases would be useless, and a worthless source of complexity, because anyway commands operating atomically on a single database would not be possible with the Redis Cluster design and goals."

But Netbox uses SELECT so that you can use different databases for cache and webhooks.
Reply all
Reply to author
Forward
0 new messages