Public bug reported:

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

** Affects: neutron
     Importance: Undecided
     Assignee: Flávio Ramalho (flaviosr)
         Status: In Progress


** Tags: lbaas

-- 
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:
  In Progress

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to