devstack stack failure with error during stack .sh :placement-api did not start

asked 2017-06-08 01:48:56 -0500

akhilesh gravatar image

updated 2017-06-08 06:52:05 -0500

2017-06-08 06:35:25.292 | +functions-common:time_stop:2519 _TIME_START[$name]=

2017-06-08 06:35:25.322 | +functions-common:time_stop:2520           _TIME_TOTAL[$name]=24
2017-06-08 06:35:25.355 | +lib/placement:start_placement_api:172     echo 'Waiting for placement-api to start...'
2017-06-08 06:35:25.356 | Waiting for placement-api to start...
2017-06-08 06:35:25.386 | +lib/placement:start_placement_api:173     wait_for_service 60 http://192.168.56.102/placement
2017-06-08 06:35:25.416 | +functions:wait_for_service:397            local timeout=60
2017-06-08 06:35:25.457 | +functions:wait_for_service:398            local url=http://192.168.56.102/placement
2017-06-08 06:35:25.478 | +functions:wait_for_service:399            local rval=0
2017-06-08 06:35:25.505 | +functions:wait_for_service:400            time_start wait_for_service
2017-06-08 06:35:25.522 | +functions-common:time_start:2489          local name=wait_for_service
2017-06-08 06:35:25.545 | +functions-common:time_start:2490          local start_time=
2017-06-08 06:35:25.564 | +functions-common:time_start:2491          [[ -n '' ]]
2017-06-08 06:35:25.641 | ++functions-common:time_start:2494          date +%s
2017-06-08 06:35:25.673 | +functions-common:time_start:2494          _TIME_START[$name]=1496903725
2017-06-08 06:35:25.742 | +functions:wait_for_service:401            timeout 60 bash -x
2017-06-08 06:35:25.865 | ++::                                        curl -g -k --noproxy '*' -s -o /dev/null -w '%{http_code}' http://192.168.56.102/placement
2017-06-08 06:36:33.413 | +functions:wait_for_service:401            rval=124
2017-06-08 06:36:44.683 | +functions:wait_for_service:406            time_stop wait_for_service
2017-06-08 06:36:59.580 | +functions-common:time_stop:2503           local name
2017-06-08 06:37:20.478 | +functions-common:time_stop:2504           local end_time
2017-06-08 06:37:39.925 | +functions-common:time_stop:2505           local elapsed_time
2017-06-08 06:37:56.993 | +functions-common:time_stop:2506           local total
2017-06-08 06:37:57.031 | +functions-common:time_stop:2507           local start_time
2017-06-08 06:37:57.052 | +functions-common:time_stop:2509           name=wait_for_service
2017-06-08 06:37:57.082 | +functions-common:time_stop:2510           start_time=1496903725
2017-06-08 06:37:57.119 | +functions-common:time_stop:2512           [[ -z 1496903725 ]]
2017-06-08 06:37:57.173 | ++functions-common:time_stop:2515           date +%s
2017-06-08 06:37:57.205 | +functions-common:time_stop:2515           end_time=1496903877
2017-06-08 06:37:57.246 | +functions-common:time_stop:2516           elapsed_time=152
2017-06-08 06:37:57.296 | +functions-common:time_stop:2517           total=70
2017-06-08 06:37:57.325 | +functions-common:time_stop:2519           _TIME_START[$name]=
2017-06-08 06:37:57.359 | +functions-common:time_stop:2520           _TIME_TOTAL[$name]=222
2017-06-08 06:37:57.382 | +functions:wait_for_service:407            return 124
2017-06-08 06:37:57.416 | +lib/placement:start_placement_api:174     die 174 'placement-api did not start'
2017-06-08 06:37:57.469 | +functions-common:die:186                  local exitcode=0
2017-06-08 06:37:57.506 | [Call Trace]
2017-06-08 06:37:57.507 | ./stack.sh:1307:start_placement
2017-06-08 06:37:57.507 | /opt/stack/devstack/lib/placement:179:start_placement_api
2017-06-08 06:37:57.509 | /opt/stack/devstack/lib/placement:174:die
2017-06-08 06:37:57.558 | [ERROR] /opt/stack/devstack/lib/placement:174 placement-api did not start
edit retag flag offensive close merge delete

Comments

It might help if you mentioned the DevStack version and shared the local.conf.

Bernd Bausch gravatar imageBernd Bausch ( 2017-06-08 06:54:04 -0500 )edit