-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
Description
Version: 3.3.8
Platform: Python 3.6.8 on RedHat 7.4
Description: Connecting to sentinel with password fails
I'm trying to connect to sentinel with password:
from redis.sentinel import Sentinel
sentinel = Sentinel([('',26379)],socket_timeout=0.1, password='')
sentinel.discover_master('mymaster')
I'm getting:
No Master found for 'mymaster'
When I comment the requirepass parameter in sentinel conf file and restart sentinel, I'm getting the master.
It seems to me that sentinel.py does not have support for passwords.
Thanks,
Moti