Activity log for bug #1335023

Date Who What changed Old value New value Message
2014-06-27 09:02:55 Hoang Do bug added bug
2014-06-27 09:04:07 Hoang Do description Hi guys, I encountered a problem with neutron when trying to create external network with gateway in different subnet: neutron subnet-create ext-net --name ext-subnet \ --allocation-pool start=46.105.252.216,end=46.105.252.219\ --disable-dhcp --gateway 176.31.105.254 46.105.252.0/24 The external network has gateway in different subnet: 46.105.252.216/24 and 176.31.105.254 I need something like this due to the router configuration in DC. The problem is neutron show no error, and on dashboard, the ext-net also shows its gateway 176.31.105.254. However, in IP routing table of the router, no default gateway entry is added: sudo ip netns exec qrouter-f918cbb7-dc0c-4713-a6f5-3c66b46e12cf route -n Destination Gateway Genmask Flags Metric Ref Use Iface 46.105.252.0 0.0.0.0 255.255.255.0 U 0 0 0 qg-0103d6fa-31 192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 qr-343ab2cb-f5 I can work around by manually adding two line in routing table: Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 176.31.105.254 0.0.0.0 UG 0 0 0 qg-0103d6fa-31 46.105.252.0 0.0.0.0 255.255.255.0 U 0 0 0 qg-0103d6fa-31 176.31.105.254 0.0.0.0 255.255.255.255 UH 0 0 0 qg-0103d6fa-31 192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 qr-343ab2cb-f5 Then it worked fine! I believe this is a bug, due to adding gateway with different subnet in routing table will be rejected. In this case, we need to add this line first before adding gateway: 176.31.105.254 0.0.0.0 255.255.255.255 UH 0 0 0 qg-0103d6fa-31 So either we need to show users an error "not allow to add gateway in different subnet", or we should support adding gateway properly. Hi guys, I encountered a problem with neutron when trying to create external network with gateway in different subnet: neutron subnet-create ext-net --name ext-subnet \   --allocation-pool start=46.105.252.216,end=46.105.252.219\   --disable-dhcp --gateway 176.31.105.254 46.105.252.0/24 The external network has gateway in different subnet: 46.105.252.216/24 and 176.31.105.254 I need something like this due to the router configuration in DC. The problem is neutron show no error, and on dashboard, the ext-net also shows its gateway 176.31.105.254. However, packets are not routed because in IP routing table of the router, no default gateway entry is added: sudo ip netns exec qrouter-f918cbb7-dc0c-4713-a6f5-3c66b46e12cf route -n Destination Gateway Genmask Flags Metric Ref Use Iface 46.105.252.0 0.0.0.0 255.255.255.0 U 0 0 0 qg-0103d6fa-31 192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 qr-343ab2cb-f5 I can work around by manually adding two line in routing table: Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 176.31.105.254 0.0.0.0 UG 0 0 0 qg-0103d6fa-31 46.105.252.0 0.0.0.0 255.255.255.0 U 0 0 0 qg-0103d6fa-31 176.31.105.254 0.0.0.0 255.255.255.255 UH 0 0 0 qg-0103d6fa-31 192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 qr-343ab2cb-f5 Then it worked fine! I believe this is a bug, due to adding gateway with different subnet in routing table will be rejected. In this case, we need to add this line first before adding gateway: 176.31.105.254 0.0.0.0 255.255.255.255 UH 0 0 0 qg-0103d6fa-31 So either we need to show users an error "not allow to add gateway in different subnet", or we should support adding gateway properly.
2014-06-27 14:21:59 Eugene Nikanorov tags l3-ipam-dhcp
2014-06-30 14:34:27 Eugene Nikanorov neutron: importance Undecided Medium
2014-06-30 18:46:00 Vishal Agarwal neutron: assignee Vishal Agarwal (vishala)
2014-08-14 10:04:29 OpenStack Infra neutron: status New In Progress
2014-11-23 21:58:37 Eugene Nikanorov neutron: status In Progress Confirmed
2014-11-23 21:58:55 Eugene Nikanorov neutron: assignee Vishal Agarwal (vishala)
2015-09-29 14:36:12 Sreekumar S neutron: assignee Sreekumar S (sreesiv)
2015-10-09 21:53:08 OpenStack Infra neutron: status Confirmed In Progress
2015-10-12 06:52:03 Sreekumar S bug added subscriber Assaf Muller
2015-10-12 06:52:38 Sreekumar S bug added subscriber Eugene Nikanorov
2015-10-12 06:53:41 Sreekumar S bug added subscriber Salvatore Orlando
2015-10-17 10:09:39 Sreekumar S bug added subscriber Ryan Moats
2016-02-22 04:43:31 OpenStack Infra neutron: status In Progress Fix Released
2016-03-02 05:43:48 OpenStack Infra tags l3-ipam-dhcp in-stable-liberty l3-ipam-dhcp
2016-03-12 02:42:48 Armando Migliaccio tags in-stable-liberty l3-ipam-dhcp deprecation in-stable-liberty l3-ipam-dhcp
2016-03-12 02:49:33 Armando Migliaccio neutron: milestone mitaka-3