Ask Your Question
1

devstack error Failure retrieving ROUTER_GW_IP

asked 2016-08-02 08:49:35 -0600

jckreddy gravatar image
 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
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-08-03 09:29:38 -0600

jckreddy gravatar image
Because of small typo i was getting this error

Q_FLOATING_ALLOCATION_POOL="start=10.130.98.190, end=10.130.98.197" 
In the above entry there was a gap betwwen start and end ips 
i corrected that 
Q_FLOATING_ALLOCATION_POOL="start=10.130.98.190,end=10.130.98.197"

Now it works fine
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-08-02 08:49:35 -0600

Seen: 155 times

Last updated: Aug 03 '16