Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

devstack error Failure retrieving ROUTER_GW_IP

 While running devstack following error is displayed and installtion aborted 
it is happening in rerun aswell



2016-07-30 07:04:57.088 | + ext_gw_interface=br-ex
2016-07-30 07:04:57.088 | + [[ br-ex != \n\o\n\e ]]
2016-07-30 07:04:57.088 | + local cidr_len=24
2016-07-30 07:04:57.088 | + local 'testcmd=ip -o link | grep -q br-ex'
2016-07-30 07:04:57.088 | + test_with_retry 'ip -o link | grep -q br-ex' 'br-ex creation failed'
2016-07-30 07:04:57.088 | + local 'testcmd=ip -o link | grep -q br-ex'
2016-07-30 07:04:57.088 | + local 'failmsg=br-ex creation failed'
2016-07-30 07:04:57.088 | + local until=10
2016-07-30 07:04:57.088 | + local sleep=0.5
2016-07-30 07:04:57.088 | + timeout 10 sh -c 'while ! ip -o link | grep -q br-ex; do sleep 0.5; done'
2016-07-30 07:04:57.096 | ++ ip addr show dev br-ex
2016-07-30 07:04:57.097 | ++ grep -c
2016-07-30 07:04:57.098 | Usage: grep [OPTION]... PATTERN [FILE]...
2016-07-30 07:04:57.098 | Try 'grep --help' for more information.
2016-07-30 07:04:57.100 | + [[ '' == 0 ]]
2016-07-30 07:04:57.101 | ++ neutron port-list -c fixed_ips -c device_owner
2016-07-30 07:04:57.101 | ++ grep router_gateway
2016-07-30 07:04:57.101 | ++ awk -F '"' -v subnet_id= '$4 == subnet_id { print $8; }'
2016-07-30 07:04:58.429 | + ROUTER_GW_IP=
2016-07-30 07:04:58.429 | + die_if_not_set 1284 ROUTER_GW_IP 'Failure retrieving ROUTER_GW_IP'
2016-07-30 07:04:58.429 | + local exitcode=0
2016-07-30 07:04:58.433 | [Call Trace]
2016-07-30 07:04:58.433 | ./stack.sh:1242:create_neutron_initial_network
2016-07-30 07:04:58.434 | /home/stack/devstack/lib/neutron-legacy:594:_neutron_configure_router_v4
2016-07-30 07:04:58.434 | /home/stack/devstack/lib/neutron-legacy:1284:die_if_not_set
2016-07-30 07:04:58.434 | /home/stack/devstack/functions-common:114:die
2016-07-30 07:04:58.438 | [ERROR] /home/stack/devstack/functions-common:1284 Failure retrieving ROUTER_GW_IP
2016-07-30 07:04:59.442 | Error on exit