Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Devstack install - Gateway is not valid on subnet

I am working my way through the installation of Devstack on Centos 6.5 and have a network configuration issue. This is a test system and I can have my way with it. My physical network is as follows:

10.0.0.1 - router / gateway to outside world,
10.0.0.2 - 99 - not used,
10.0.0.100 - 200 - dhcp address pool provided by router / gateway,
10.0.0.117 - dhcp address provided to Centos 6.5 system,
10.0.0.201 - 223 - not used,
10.0.0.224 - 255 - Selected for FLOATING_RANGE

I have made the following changes to local.conf:

HOST_IP=10.0.0.117 <-- this is the Centos 6.5 machine eth0
FLOATING_RANGE=10.0.0.224/27 <-- unused ip addresses on the existing network
FIXED_RANGE=172.16.0.0/24 <-- this is what I am hoping will be my virtual network
FIXED_NETWORK_SIZE=256
PUBLIC_INTERFACE=eth0
FLAT_INTERFACE=eth0

I ssh into the machine from a tablet execute ./stack.sh & as the user where I performed the git, etc. Amazing things happen for a while... and then the process terminates with the following error:

[ERROR] /home/gepetto/devstack/functions-common:433 Failure creating SUBNET_ID for 265da70366a142da9357d97af5ab254c

Above the error in the log I see the following statement:

neutron subnet-create --tenant-id 265da70366a142da9357d97af5ab254c --ip_version 4 --gateway 10.0.0.1 --name private-subnet 2cd403ce-70b5-406d-8bf8-32b0f44a1dd0 172.16.0.0/24

I'm not sure how to resolve my configuration issues at this point. Is it possible that I have a conflict between the existing physical router / gateway (also 10.0.0.1) and the virtual one being created? A possible dhcp conflict between the hardware and q-dhcp? I'm not sure what to try next. Do I understand the network parameters? Too much info, not enough info, what did I forget? Below are the last 13 lines of stack.sh.log.

This was a fresh install of Centos 6.5, updates applied, and Devstack installed. As I make my way through my errors, I execute clean.sh, reboot, make changes to local.conf, and re-execute stack.sh.

Thank you.

g

2014-08-08 06:50:37.120 | ++ neutron subnet-create --tenant-id 265da70366a142da9357d97af5ab254c --ip_version 4 --gateway 10.0.0.1 --name private-subnet 2cd403ce-70b5-406d-8bf8-32b0f44a1dd0 172.16.0.0/24
2014-08-08 06:50:37.120 | ++ read data
2014-08-08 06:50:37.123 | ++ grep ' id '
2014-08-08 06:50:38.956 | Invalid input for operation: Gateway is not valid on subnet. (HTTP 400) (Request-ID: req-d00c4f0f-2518-47fe-8d96-6ec2f45f4370)
2014-08-08 06:50:39.030 | + SUBNET_ID=
2014-08-08 06:50:39.030 | + die_if_not_set 433 SUBNET_ID 'Failure creating SUBNET_ID for 265da70366a142da9357d97af5ab254c'
2014-08-08 06:50:39.030 | + local exitcode=0
2014-08-08 06:50:39.037 | [Call Trace]
2014-08-08 06:50:39.037 | ./stack.sh:1231:create_neutron_initial_network
2014-08-08 06:50:39.037 | /home/gepetto/devstack/lib/neutron:433:die_if_not_set
2014-08-08 06:50:39.037 | /home/gepetto/devstack/functions-common:251:die
2014-08-08 06:50:39.044 | [ERROR] /home/gepetto/devstack/functions-common:433 Failure creating SUBNET_ID for 265da70366a142da9357d97af5ab254c
2014-08-08 06:50:40.089 | Error on exit

Devstack install - Gateway is not valid on subnet

I am working my way through the installation of Devstack on Centos 6.5 and have a network configuration issue. This is a test system and I can have my way with it. My physical network is as follows:

10.0.0.1 - router / gateway to outside world, 
<br> 10.0.0.2 - 99 - not used,
<br> 10.0.0.100 - 200 - dhcp address pool provided by router / gateway,
<br> 10.0.0.117 - dhcp address provided to Centos 6.5 system,
<br> 10.0.0.201 - 223 - not used,
<br> 10.0.0.224 - 255 - Selected for FLOATING_RANGE

FLOATING_RANGE

I have made the following changes to local.conf:

HOST_IP=10.0.0.117       <--  this is the Centos 6.5 machine eth0
eth0<br> FLOATING_RANGE=10.0.0.224/27 <-- unused ip addresses on the existing network
network<br> FIXED_RANGE=172.16.0.0/24 <-- this is what I am hoping will be my virtual network
FIXED_NETWORK_SIZE=256
PUBLIC_INTERFACE=eth0
FLAT_INTERFACE=eth0

network<br> FIXED_NETWORK_SIZE=256<br> PUBLIC_INTERFACE=eth0<br> FLAT_INTERFACE=eth0<br>

I ssh into the machine from a tablet execute ./stack.sh & as the user where I performed the git, etc. Amazing things happen for a while... and then the process terminates with the following error:

[ERROR] /home/gepetto/devstack/functions-common:433 Failure creating SUBNET_ID for 265da70366a142da9357d97af5ab254c

265da70366a142da9357d97af5ab254c<br>

Above the error in the log I see the following statement:

neutron subnet-create --tenant-id 265da70366a142da9357d97af5ab254c --ip_version 4 --gateway 10.0.0.1 --name private-subnet 2cd403ce-70b5-406d-8bf8-32b0f44a1dd0 172.16.0.0/24

172.16.0.0/24<br>

I'm not sure how to resolve my configuration issues at this point. Is it possible that I have a conflict between the existing physical router / gateway (also 10.0.0.1) and the virtual one being created? A possible dhcp conflict between the hardware and q-dhcp? I'm not sure what to try next. Do I understand the network parameters? Too much info, not enough info, what did I forget? Below are the last 13 lines of stack.sh.log.

This was a fresh install of Centos 6.5, updates applied, and Devstack installed. As I make my way through my errors, I execute clean.sh, reboot, make changes to local.conf, and re-execute stack.sh.

Thank you.

g

2014-08-08 06:50:37.120 | ++ neutron subnet-create --tenant-id 265da70366a142da9357d97af5ab254c --ip_version 4 --gateway 10.0.0.1 --name private-subnet 2cd403ce-70b5-406d-8bf8-32b0f44a1dd0 172.16.0.0/24
172.16.0.0/24<br> 2014-08-08 06:50:37.120 | ++ read data
data<br> 2014-08-08 06:50:37.123 | ++ grep ' id '
'<br> 2014-08-08 06:50:38.956 | Invalid input for operation: Gateway is not valid on subnet. (HTTP 400) (Request-ID: req-d00c4f0f-2518-47fe-8d96-6ec2f45f4370)
req-d00c4f0f-2518-47fe-8d96-6ec2f45f4370)<br> 2014-08-08 06:50:39.030 | + SUBNET_ID=
SUBNET_ID=<br> 2014-08-08 06:50:39.030 | + die_if_not_set 433 SUBNET_ID 'Failure creating SUBNET_ID for 265da70366a142da9357d97af5ab254c'
265da70366a142da9357d97af5ab254c'<br> 2014-08-08 06:50:39.030 | + local exitcode=0
exitcode=0<br> 2014-08-08 06:50:39.037 | [Call Trace]
Trace]<br> 2014-08-08 06:50:39.037 | ./stack.sh:1231:create_neutron_initial_network
./stack.sh:1231:create_neutron_initial_network<br> 2014-08-08 06:50:39.037 | /home/gepetto/devstack/lib/neutron:433:die_if_not_set
/home/gepetto/devstack/lib/neutron:433:die_if_not_set<br> 2014-08-08 06:50:39.037 | /home/gepetto/devstack/functions-common:251:die
/home/gepetto/devstack/functions-common:251:die<br> 2014-08-08 06:50:39.044 | [ERROR] /home/gepetto/devstack/functions-common:433 Failure creating SUBNET_ID for 265da70366a142da9357d97af5ab254c
265da70366a142da9357d97af5ab254c<br> 2014-08-08 06:50:40.089 | Error on exit

exit<br>