stack.sh fails becuse c-api doesn't start [closed]

asked 2015-11-04 15:38:56 -0500

Hania gravatar image

2015-11-04 20:49:20.592 | + [[ -n /opt/stack/logs ]] 2015-11-04 20:49:20.592 | + screen -S stack -p c-api -X logfile /opt/stack/logs/c-api.log.2015-11-04-202216 2015-11-04 20:49:20.595 | + screen -S stack -p c-api -X log on 2015-11-04 20:49:20.597 | + ln -sf /opt/stack/logs/c-api.log.2015-11-04-202216 /opt/stack/logs/c-api.log 2015-11-04 20:49:21.078 | + [[ -n '' ]] 2015-11-04 20:49:21.078 | + sleep 3 2015-11-04 20:49:24.190 | ++ echo -ne '\015' 2015-11-04 20:49:24.190 | + NL=$'\r' 2015-11-04 20:49:24.190 | + [[ -n '' ]] 2015-11-04 20:49:24.190 | + screen_rc c-api '/usr/local/bin/cinder-api --config-file /etc/cinder/cinder.conf' 2015-11-04 20:49:24.190 | + SCREEN_NAME=stack 2015-11-04 20:49:24.190 | + SCREENRC=/home/hifza/devstack/stack-screenrc 2015-11-04 20:49:24.190 | + [[ ! -e /home/hifza/devstack/stack-screenrc ]] 2015-11-04 20:49:24.379 | + grep c-api /home/hifza/devstack/stack-screenrc 2015-11-04 20:49:24.986 | ++ echo -ne '\015' 2015-11-04 20:49:24.986 | + NL=$'\r' 2015-11-04 20:49:24.986 | + echo 'screen -t c-api bash' "'15-11-04 20:49:24.986 | + echo 'stuff "/usr/local/bin/cinder-api --config-file /etc/cinder/cinder.conf 2015-11-04 20:49:24.986 | + [[ -n /opt/stack/logs ]] 2015-11-04 20:49:24.986 | + echo 'logfile /opt/stack/logs/c-api.log.2015-11-04-202216' 2015-11-04 20:49:24.986 | + echo 'log on' 2015-11-04 20:49:24.986 | + screen -S stack -p c-api -X stuff '/usr/local/bin/cinder-api --config-file /etc/cinder/cinder.conf & echo $! >/opt/s'ack/status/stack/c-api.pid; fg || echo "c-api failed to start" | tee "/opt/stack/status/stack/c-api.failure" 2015-11-04 20:49:25.250 | + echo 'Waiting for Cinder API to start...' 2015-11-04 20:49:25.251 | Waiting for Cinder API to start... 2015-11-04 20:49:25.251 | + wait_for_service 60 http://192.168.15.15:8776 2015-11-04 20:49:25.848 | + local timeout=60 2015-11-04 20:49:25.848 | + local url=http://192.168.15.15:8776 2015-11-04 20:49:25.848 | + timeout 60 sh -c 'while ! curl -g -k --noproxy '\''*'\'' -s http://192.168.15.15:8776 >/dev/null; do sleep 1; done' 2015-11-04 20:50:26.007 | + die 512 'c-api did not start' 2015-11-04 20:50:26.369 | + local exitcode=0 2015-11-04 20:50:26.735 | [Call Trace] 2015-11-04 20:50:26.735 | ./stack.sh:1256:start_cinder 2015-11-04 20:50:26.735 | /home/hifza/devstack/lib/cinder:512:die 2015-11-04 20:50:29.472 | [ERROR] /home/hifza/devstack/lib/cinder:512 c-api did not start 2015-11-04 20:50:30.699 | Error on exit

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by Bernd Bausch
close date 2015-11-07 02:10:46.394802

Comments

Bernd Bausch gravatar imageBernd Bausch ( 2015-11-07 02:10:40 -0500 )edit