<div dir="ltr">Hi all,<div><br></div><div>I tried to go through the new redis example at the quickstart guide [1], but was not able to go through. I was blocked by connecting to the redis slave container:</div><div><div><br></div><div><font face="arial, helvetica, sans-serif"><i>$ docker exec -i -t $REDIS_ID redis-cli</i></font></div><div><font face="arial, helvetica, sans-serif"><i>Could not connect to Redis at <a href="http://127.0.0.1:6379">127.0.0.1:6379</a>: Connection refused</i></font></div><div><br></div><div>Here is the container log:</div><div><br></div><div><font face="arial, helvetica, sans-serif"><i>$ docker logs $REDIS_ID</i></font></div><div><font face="arial, helvetica, sans-serif"><i>Error: Server closed the connection</i></font></div><div><font face="arial, helvetica, sans-serif"><i>Failed to find master.</i></font></div><div><br></div><div>It looks like the redis master disappeared at some point. I tried to check the status in about every one minute. Below is the output.</div><div><br></div><div><i>$ kubectl get pod</i></div><div><i>NAME                                   IMAGE(S)              HOST                LABELS                                                  STATUS</i></div><div><i>51c68981-ba20-11e4-84dc-fa163e318555   kubernetes/redis:v1   <a href="http://10.0.0.5/">10.0.0.5/</a>           name=redis-sentinel,redis-sentinel=true,role=sentinel   Pending</i></div><div><i>redis-master                           kubernetes/redis:v1   <a href="http://10.0.0.4/">10.0.0.4/</a>           name=redis,redis-sentinel=true,role=master              Pending</i></div><div><i>                                       kubernetes/redis:v1</i></div><div><i>512cf350-ba20-11e4-84dc-fa163e318555   kubernetes/redis:v1   <a href="http://10.0.0.5/">10.0.0.5/</a>           name=redis                                              Pending</i></div><div><i><br></i></div><div><i>$ kubectl get pod</i></div><div><i>NAME                                   IMAGE(S)              HOST                LABELS                                                  STATUS</i></div><div><i>512cf350-ba20-11e4-84dc-fa163e318555   kubernetes/redis:v1   <a href="http://10.0.0.5/">10.0.0.5/</a>           name=redis                                              Running</i></div><div><i>51c68981-ba20-11e4-84dc-fa163e318555   kubernetes/redis:v1   <a href="http://10.0.0.5/">10.0.0.5/</a>           name=redis-sentinel,redis-sentinel=true,role=sentinel   Running</i></div><div><i>redis-master                           kubernetes/redis:v1   <a href="http://10.0.0.4/">10.0.0.4/</a>           name=redis,redis-sentinel=true,role=master              Running</i></div><div><i>                                       kubernetes/redis:v1</i></div><div><i><br></i></div><div><i>$ kubectl get pod</i></div><div><i>NAME                                   IMAGE(S)              HOST                LABELS                                                  STATUS</i></div><div><i>redis-master                           kubernetes/redis:v1   <a href="http://10.0.0.4/">10.0.0.4/</a>           name=redis,redis-sentinel=true,role=master              Running</i></div><div><i>                                       kubernetes/redis:v1</i></div><div><i>512cf350-ba20-11e4-84dc-fa163e318555   kubernetes/redis:v1   <a href="http://10.0.0.5/">10.0.0.5/</a>           name=redis                                              Failed</i></div><div><i>51c68981-ba20-11e4-84dc-fa163e318555   kubernetes/redis:v1   <a href="http://10.0.0.5/">10.0.0.5/</a>           name=redis-sentinel,redis-sentinel=true,role=sentinel   Running</i></div><div><i>233fa7d1-ba21-11e4-84dc-fa163e318555   kubernetes/redis:v1   <a href="http://10.0.0.5/">10.0.0.5/</a>           name=redis                                              Running</i></div><div><i><br></i></div><div><i>$ kubectl get pod</i></div><div><i>NAME                                   IMAGE(S)              HOST                LABELS                                                  STATUS</i></div><div><i>512cf350-ba20-11e4-84dc-fa163e318555   kubernetes/redis:v1   <a href="http://10.0.0.5/">10.0.0.5/</a>           name=redis                                              Running</i></div><div><i>51c68981-ba20-11e4-84dc-fa163e318555   kubernetes/redis:v1   <a href="http://10.0.0.5/">10.0.0.5/</a>           name=redis-sentinel,redis-sentinel=true,role=sentinel   Running</i></div><div><i>233fa7d1-ba21-11e4-84dc-fa163e318555   kubernetes/redis:v1   <a href="http://10.0.0.5/">10.0.0.5/</a>           name=redis                                              Running</i></div><div><i>3b164230-ba21-11e4-84dc-fa163e318555   kubernetes/redis:v1   <a href="http://10.0.0.4/">10.0.0.4/</a>           name=redis-sentinel,redis-sentinel=true,role=sentinel   Pending</i></div></div><div><br></div><div>Is anyone able to reproduce the problem above? If yes, I am going to file a bug.</div><div><br></div><div>Thanks,</div><div>Hongbin</div><div><br></div><div>[1] <a href="https://github.com/stackforge/magnum/blob/master/doc/source/dev/dev-quickstart.rst#exercising-the-services-using-devstack">https://github.com/stackforge/magnum/blob/master/doc/source/dev/dev-quickstart.rst#exercising-the-services-using-devstack</a></div></div>