← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1192610] Re: [Havana] SNAT rules in Router are not updated on router_add_interface/router_delete_interface

 

** Changed in: neutron
       Status: Fix Committed => 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/1192610

Title:
  [Havana] SNAT rules in Router are not updated on
  router_add_interface/router_delete_interface

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  SNAT rules in Router are not applied for all subnets

  ubuntu@nimx:~/devstack$ quantum router-list
  +--------------------------------------+---------+-----------------------------------------------------------------------------+
  | id                                   | name    | external_gateway_info                                                       |
  +--------------------------------------+---------+-----------------------------------------------------------------------------+
  | a91ee7b8-a376-407b-9d6e-a70a5d308e88 | router1 | {"network_id": "6cdf384f-2b10-418e-aa77-54ceec0bebc8", "enable_snat": true} |
  +--------------------------------------+---------+-----------------------------------------------------------------------------+

  ubuntu@nimx:~/devstack$ quantum router-port-list router1
  +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+
  | id                                   | name | mac_address       | fixed_ips                                                                       |
  +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+
  | 31fa5771-4838-4263-80b6-5288680e682c |      | fa:16:3e:f7:0f:0a | {"subnet_id": "94ce0c3b-530c-4c46-b7e6-a7b2bdee9384", "ip_address": "10.0.0.1"} |
  | 66c0f9f9-da7c-4cf6-96ef-24d2913e7775 |      | fa:16:3e:f2:5a:3a | {"subnet_id": "eb71f264-ceb5-4462-b1b0-fe8627efde17", "ip_address": "20.0.0.1"} |
  +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+

  iptables rule in router namespace
  http://paste.openstack.org/show/38952/

  -A quantum-l3-agent-snat -j quantum-l3-agent-float-snat
  -A quantum-l3-agent-snat -s 10.0.0.0/24 -j SNAT --to-source 172.24.4.226

  After Restert l3-agent

  -A quantum-l3-agent-snat -s 10.0.0.0/24 -j SNAT --to-source 172.24.4.226
  -A quantum-l3-agent-snat -s 20.0.0.0/24 -j SNAT --to-source 172.24.4.226
  http://paste.openstack.org/show/38953/

  I'll keep investiation

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1192610/+subscriptions