keystone didnot start

asked 2013-11-10 05:18:43 -0500

Abhishek Kanike gravatar image

while i was stacking, i got the error for: (./stack.sh)

Waiting for keystone to start... + timeout 60 sh -c 'while ! curl --noproxy '\''*'\'' -s http://192.168.1.17:5000/v2.0/ >/dev/null; do sleep 1; done' + die 378 'keystone did not start' + local exitcode=0 + set +o xtrace [Call Trace] ./stack.sh:858:start_keystone /home/win7/devstack-master/lib/keystone:378:die [ERROR] /home/win7/devstack-master/lib/keystone:378 keystone did not start win7@ubuntu:~/devstack-master$

when i unstacked it: win7@ubuntu:~/devstack-master$ ./unstack.sh * Stopping web server apache2 [ OK ] tgtadm: can't send the request to the tgt daemon, Transport endpoint is not connected tgtd seems to be in a bad state, restarting... stop: Unknown instance: tgt start/running, process 22558 tgt stop/waiting Volume group "stack-volumes" not found Skipping volume group stack-volumes Volume group "stack-volumes" not found Skipping volume group stack-volumes /opt/stack/data/stack-volumes-backing-file: No such file or directory

i am getting the error keystone did not start when i did screen -x stack one screen showed the results as : win7@ubuntu:/opt/stack/tempest$ cd /opt/stack/keystone && /opt/stack/keystone/bin/keystone-all --config-file /etc/keystone/keystone.conf --log-config /etc/keystone/logging.conf -d --debug || echo "key failed to start" | tee "/opt/stack/status/stack/key.failure" Traceback (most recent call last): File "/opt/stack/keystone/bin/keystone-all", line 43, in <module> gettextutils.install('keystone') File "/opt/stack/keystone/keystone/openstack/common/gettextutils.py", line 114, in install if six.PY3: AttributeError: 'module' object has no attribute 'PY3' key failed to start</module>


FOR MORE REFERENCE


after the mysql setup in ./stack.sh mysql stop/waiting mysql start/running, process 24359 ++ trueorfalse True True ++ local default=True ++ local testval=True ++ [[ -z True ]] ++ [[ 0 no No NO false False FALSE =~ True ]] ++ [[ 1 yes Yes YES true True TRUE =~ True ]] ++ echo True ++ return + USE_SCREEN=True + [[ True == \T\r\u\e ]] + screen -d -m -S stack -t shell -s /bin/bash + sleep 1 + '[' -z '' ']' + SCREEN_HARDSTATUS='%{= .} %-Lw%{= .}%> %n%f %t%{= .}%+Lw%< %-=%{g}(%{d}%H/%l%{g})' + screen -r stack -X hardstatus alwayslastline '%{= .} %-Lw%{= .}%> %n%f %t%{= .}%+Lw%< %-=%{g}(%{d}%H/%l%{g})' + screen -r stack -X setenv PROMPT_COMMAND /bin/true + SCREENRC=/home/win7/devstack-master/stack-screenrc + [[ -e /home/win7/devstack-master/stack-screenrc ]] + rm -f /home/win7/devstack-master/stack-screenrc + init_service_check + SCREEN_NAME=stack + SERVICE_DIR=/opt/stack/status + [[ ! -d /opt/stack/status/stack ]] + rm -f /opt/stack/status/stack/key.failure + is_service_enabled sysstat + services=sysstat + for service in '${services}' + [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,sysstat, ]] + [[ sysstat == n-cell-* ]] + [[ sysstat == \n\o\v\a ]] + [[ sysstat == \c\i\n\d\e\r ]] + [[ sysstat == \c\e\i\l\o\m\e\t\e\r ]] + [[ sysstat == \g\l\a\n\c\e ]] + [[ sysstat == \n\e\u\t\r\o\n ]] + [[ sysstat == \t\r\o\v\e ]] + [[ sysstat == \s\w\i\f\t ]] + [[ sysstat == s-* ]] + return 1 + is_service_enabled key + services=key + for service in '${services}' + [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond ...

(more)
edit retag flag offensive close merge delete

Comments

It would really help to make the output more readable if you use the little button that looks like ones and zeros, ie. code, to format the results of commands and such. Thanks!

serverascode gravatar imageserverascode ( 2013-11-10 10:10:51 -0500 )edit