{"action":"created","issue":{"url":"https://api.github.com/repos/antirez/redis/issues/3375","repository_url":"https://api.github.com/repos/antirez/redis","labels_url":"https://api.github.com/repos/antirez/redis/issues/3375/labels{/name}","comments_url":"https://api.github.com/repos/antirez/redis/issues/3375/comments","events_url":"https://api.github.com/repos/antirez/redis/issues/3375/events","html_url":"https://github.com/antirez/redis/issues/3375","id":164135334,"node_id":"MDU6SXNzdWUxNjQxMzUzMzQ=","number":3375,"title":"Sentinels unable to reach quorum","user":{"login":"Axxiss","id":1160874,"node_id":"MDQ6VXNlcjExNjA4NzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1160874?v=4","gravatar_id":"","url":"https://api.github.com/users/Axxiss","html_url":"https://github.com/Axxiss","followers_url":"https://api.github.com/users/Axxiss/followers","following_url":"https://api.github.com/users/Axxiss/following{/other_user}","gists_url":"https://api.github.com/users/Axxiss/gists{/gist_id}","starred_url":"https://api.github.com/users/Axxiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Axxiss/subscriptions","organizations_url":"https://api.github.com/users/Axxiss/orgs","repos_url":"https://api.github.com/users/Axxiss/repos","events_url":"https://api.github.com/users/Axxiss/events{/privacy}","received_events_url":"https://api.github.com/users/Axxiss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-06T17:51:24Z","updated_at":"2018-08-20T14:25:46Z","closed_at":null,"author_association":"NONE","body":"We are setting up redis (3.2.0) with auto failover\n\nWe are using a three boxes setup as described in `Example 2` in [redis sentinel documentation](http://redis.io/topics/sentinel)\n\n```\n       +----+\n       | M1 |\n       | S1 |\n       +----+\n          |\n+----+    |    +----+\n| R2 |----+----| R3 |\n| S2 |         | S3 |\n+----+         +----+\n```\n\nRunning `info` on sentinels return\n\n```\n# Sentinel\nsentinel_masters:1\nsentinel_tilt:0\nsentinel_running_scripts:0\nsentinel_scripts_queue_length:0\nsentinel_simulate_failure_flags:0\nmaster0:name=mymaster,status=ok,address=x.x.x.53:6379,slaves=2,sentinels=3\n```\n\nEach sentinel detects the other two sentinels, here is the output of one of them\n<details>\n\n```\n1)  1) \"name\"\n    2) \"7bdf4cde1c84e10508982ff7afc87db7929ac043\"\n    3) \"ip\"\n    4) \"x.x.x.51\"\n    5) \"port\"\n    6) \"26379\"\n    7) \"runid\"\n    8) \"7bdf4cde1c84e10508982ff7afc87db7929ac043\"\n    9) \"flags\"\n   10) \"s_down,sentinel,disconnected\"\n   11) \"link-pending-commands\"\n   12) \"82793\"\n   13) \"link-refcount\"\n   14) \"1\"\n   15) \"last-ping-sent\"\n   16) \"85802368\"\n   17) \"last-ok-ping-reply\"\n   18) \"85802368\"\n   19) \"last-ping-reply\"\n   20) \"85802368\"\n   21) \"s-down-time\"\n   22) \"85797314\"\n   23) \"down-after-milliseconds\"\n   24) \"5000\"\n   25) \"last-hello-message\"\n   26) \"1472\"\n   27) \"voted-leader\"\n   28) \"?\"\n   29) \"voted-leader-epoch\"\n   30) \"0\"\n2)  1) \"name\"\n    2) \"e8a522e7c69458f30bd367b73fbb7be4eea39f4e\"\n    3) \"ip\"\n    4) \"x.x.x.53\"\n    5) \"port\"\n    6) \"26379\"\n    7) \"runid\"\n    8) \"e8a522e7c69458f30bd367b73fbb7be4eea39f4e\"\n    9) \"flags\"\n   10) \"s_down,sentinel,disconnected\"\n   11) \"link-pending-commands\"\n   12) \"82790\"\n   13) \"link-refcount\"\n   14) \"1\"\n   15) \"last-ping-sent\"\n   16) \"85802368\"\n   17) \"last-ok-ping-reply\"\n   18) \"85802368\"\n   19) \"last-ping-reply\"\n   20) \"85802368\"\n   21) \"s-down-time\"\n   22) \"85797314\"\n   23) \"down-after-milliseconds\"\n   24) \"5000\"\n   25) \"last-hello-message\"\n   26) \"301\"\n   27) \"voted-leader\"\n   28) \"?\"\n   29) \"voted-leader-epoch\"\n   30) \"0\"\n```\n\n</details>\n\nNot sure what I missing, since sentinels seems to detect each other and the master node.\n\nAny tips on how to proceed?\n"},"comment":{"url":"https://api.github.com/repos/antirez/redis/issues/comments/414334791","html_url":"https://github.com/antirez/redis/issues/3375#issuecomment-414334791","issue_url":"https://api.github.com/repos/antirez/redis/issues/3375","id":414334791,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDMzNDc5MQ==","user":{"login":"kun-g","id":1042091,"node_id":"MDQ6VXNlcjEwNDIwOTE=","avatar_url":"https://avatars2.githubusercontent.com/u/1042091?v=4","gravatar_id":"","url":"https://api.github.com/users/kun-g","html_url":"https://github.com/kun-g","followers_url":"https://api.github.com/users/kun-g/followers","following_url":"https://api.github.com/users/kun-g/following{/other_user}","gists_url":"https://api.github.com/users/kun-g/gists{/gist_id}","starred_url":"https://api.github.com/users/kun-g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kun-g/subscriptions","organizations_url":"https://api.github.com/users/kun-g/orgs","repos_url":"https://api.github.com/users/kun-g/repos","events_url":"https://api.github.com/users/kun-g/events{/privacy}","received_events_url":"https://api.github.com/users/kun-g/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T14:25:46Z","updated_at":"2018-08-20T14:25:46Z","author_association":"NONE","body":"Got the same issue and solved it.\r\nRedis is running in protected mode by default, so the sentinels can not talk to each other.\r\n\r\nI add 'bind xxxxxx' and it's working now"}}
{"actor":{"display_login":"kun-g"}}