On 08/22/2016 04:30 PM, Brent Troge wrote:
Thanks Brian for your reply and your contributions.
No problem. Devstack patch is at https://review.openstack.org/#/c/358848/ -Brian
On Aug 22, 2016 2:09 PM, "Brian Haley" <brian.ha...@hpe.com <mailto:brian.ha...@hpe.com>> wrote: Yes, it uses the lowest for the gateway, I was using ".1" to denote this but realize it might not have been the best example. I'm testing a patch now to remove the '--gateway a.b.c.d' if it's not explicitly set since it isn't necessary. -Brian On 08/22/2016 01:57 PM, Brent Troge wrote: Doesn't neutron use the first available host address in the subnet as the gateway? So if your cidr is 128/25 then neutron would default to 129 as the gateway. On Aug 22, 2016 9:54 AM, "Brian Haley" <brian.ha...@hpe.com <mailto:brian.ha...@hpe.com> <mailto:brian.ha...@hpe.com <mailto:brian.ha...@hpe.com>>> wrote: 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 <http://10.4.128.0/20> <http://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 _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack> <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>> Post to : openstack@lists.openstack.org <mailto:openstack@lists.openstack.org> <mailto:openstack@lists.openstack.org <mailto:openstack@lists.openstack.org>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack> <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>>
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack