yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #58626
[Bug 1635355] Re: subnet host routes are not added to the lbaasv2 namespace
Reviewed: https://review.openstack.org/389282
Committed: https://git.openstack.org/cgit/openstack/neutron-lbaas/commit/?id=4a708bfce90e50018a74f3c69a5115458d4c7dcb
Submitter: Jenkins
Branch: master
commit 4a708bfce90e50018a74f3c69a5115458d4c7dcb
Author: Flávio Ramalho <flaviosr@xxxxxxxxxxxxxxx>
Date: Thu Oct 20 14:15:20 2016 -0300
HAProxy - Add host routes to the lbaas namespace
This change adds a loop through the subnet host routes and
if any of this routes have the destination different from
0.0.0.0/0, adds it to the lbaas namespace.
Change-Id: I08cd006faed2291d731768d71149d07592bce301
Closes-Bug: #1635355
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1635355
Title:
subnet host routes are not added to the lbaasv2 namespace
Status in neutron:
Fix Released
Bug description:
Using mitaka@3cf4a7cffd5f76b9f8a3eed649d04075714dcd9c.
LBaaSv2 with HAProxy driver.
Creating a network with a subnet with host routes and using this
network in the load balancer, the host routes are not being added to
the namespace created by the lbaas.
$ neutron subnet-show 6937f8fa-858d-4bc9-a3a5-18d2c957452a
+-------------------+---------------------------------------------------------+
| Field | Value |
+-------------------+---------------------------------------------------------+
| allocation_pools | {"start": "10.0.0.2", "end": "10.0.0.254"} |
| cidr | 10.0.0.0/16 |
| created_at | 2016-09-19T16:04:54 |
| description | |
| dns_nameservers | 10.20.6.1 |
| enable_dhcp | True |
| gateway_ip | 10.0.0.1 |
| host_routes | {"destination": "10.0.0.0/8", "nexthop": "10.0.1.1"} |
| id | 6937f8fa-858d-4bc9-a3a5-18d2c957452a |
| ip_version | 4 |
| ipv6_address_mode | |
| ipv6_ra_mode | |
| name | provider |
| network_id | 64ee4355-4d7f-4170-80b4-5e2348af6a61 |
| subnetpool_id | |
| tenant_id | 3f7a886d30404c22aee51f93b0d50e46 |
| updated_at | 2016-09-19T16:10:15 |
+-------------------+---------------------------------------------------------+
# ip netns exec qlbaas-df0db86b-b3fd-4538-bfeb-f79f3a812059 route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 qg-4cbe0b85-75
10.0.0.0 0.0.0.0 255.255.0.0 U 0 0 0 ns-e285ebec-71
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1635355/+subscriptions
References