[Openstack] [neutron][devstack]subnet created with wrong gateway

Brian Haley brian.haley at hpe.com
Mon Aug 22 14:47:48 UTC 2016


On 08/21/2016 08:40 PM, Tony Breeds wrote:
> On Sun, Aug 21, 2016 at 05:28:44PM +0530, Akilesh K wrote:
>> Hi,
>> I am using devstack for the first time and I see that it has created a
>> subnet like below. The cidr and gateway do not match. Because of this
>> devstack fails to run completely and fails while attaching a router to this
>> subnet. Why is devstack doing this??
>
> You also need to specify NETWORK_GATEWAY in your local.conf:
>     NETWORK_GATEWAY=10.4.128.1
> should match:
>     FIXED_RANGE=10.4.128.0/20
>
> Our docs need updating as we recently switched from nova to neutron as the
> default network provider.

What devstack should really be doing is defaulting the gateway to "", neutron 
will automatically use the ".1" of the subnet for the gateway if not told otherwise.

I'll try and get a quick patch out today.

-Brian




More information about the Openstack mailing list