[openstack-dev] [magnum] Issue on going through the quickstart guide
Hongbin Lu
hongbin034 at gmail.com
Sun Feb 22 07:08:49 UTC 2015
Hi all,
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:
*$ docker exec -i -t $REDIS_ID redis-cli*
*Could not connect to Redis at 127.0.0.1:6379 <http://127.0.0.1:6379>:
Connection refused*
Here is the container log:
*$ docker logs $REDIS_ID*
*Error: Server closed the connection*
*Failed to find master.*
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.
*$ kubectl get pod*
*NAME IMAGE(S) HOST
LABELS STATUS*
*51c68981-ba20-11e4-84dc-fa163e318555 kubernetes/redis:v1 10.0.0.5/
<http://10.0.0.5/>
name=redis-sentinel,redis-sentinel=true,role=sentinel Pending*
*redis-master kubernetes/redis:v1 10.0.0.4/
<http://10.0.0.4/> name=redis,redis-sentinel=true,role=master
Pending*
* kubernetes/redis:v1*
*512cf350-ba20-11e4-84dc-fa163e318555 kubernetes/redis:v1 10.0.0.5/
<http://10.0.0.5/> name=redis
Pending*
*$ kubectl get pod*
*NAME IMAGE(S) HOST
LABELS STATUS*
*512cf350-ba20-11e4-84dc-fa163e318555 kubernetes/redis:v1 10.0.0.5/
<http://10.0.0.5/> name=redis
Running*
*51c68981-ba20-11e4-84dc-fa163e318555 kubernetes/redis:v1 10.0.0.5/
<http://10.0.0.5/>
name=redis-sentinel,redis-sentinel=true,role=sentinel Running*
*redis-master kubernetes/redis:v1 10.0.0.4/
<http://10.0.0.4/> name=redis,redis-sentinel=true,role=master
Running*
* kubernetes/redis:v1*
*$ kubectl get pod*
*NAME IMAGE(S) HOST
LABELS STATUS*
*redis-master kubernetes/redis:v1 10.0.0.4/
<http://10.0.0.4/> name=redis,redis-sentinel=true,role=master
Running*
* kubernetes/redis:v1*
*512cf350-ba20-11e4-84dc-fa163e318555 kubernetes/redis:v1 10.0.0.5/
<http://10.0.0.5/> name=redis
Failed*
*51c68981-ba20-11e4-84dc-fa163e318555 kubernetes/redis:v1 10.0.0.5/
<http://10.0.0.5/>
name=redis-sentinel,redis-sentinel=true,role=sentinel Running*
*233fa7d1-ba21-11e4-84dc-fa163e318555 kubernetes/redis:v1 10.0.0.5/
<http://10.0.0.5/> name=redis
Running*
*$ kubectl get pod*
*NAME IMAGE(S) HOST
LABELS STATUS*
*512cf350-ba20-11e4-84dc-fa163e318555 kubernetes/redis:v1 10.0.0.5/
<http://10.0.0.5/> name=redis
Running*
*51c68981-ba20-11e4-84dc-fa163e318555 kubernetes/redis:v1 10.0.0.5/
<http://10.0.0.5/>
name=redis-sentinel,redis-sentinel=true,role=sentinel Running*
*233fa7d1-ba21-11e4-84dc-fa163e318555 kubernetes/redis:v1 10.0.0.5/
<http://10.0.0.5/> name=redis
Running*
*3b164230-ba21-11e4-84dc-fa163e318555 kubernetes/redis:v1 10.0.0.4/
<http://10.0.0.4/>
name=redis-sentinel,redis-sentinel=true,role=sentinel Pending*
Is anyone able to reproduce the problem above? If yes, I am going to file a
bug.
Thanks,
Hongbin
[1]
https://github.com/stackforge/magnum/blob/master/doc/source/dev/dev-quickstart.rst#exercising-the-services-using-devstack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150222/004e119f/attachment.html>
More information about the OpenStack-dev
mailing list