← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1582739] [NEW] [DVR][L3 HA] Unable to ping 8.8.8.8 from VM without floating ip

 

Public bug reported:

On the environment with L3 HA and DVR enabled all pings from VM without
floating ip to 8.8.8.8 were lost.

This happened because router_centralized_snat port was binded to the
wrong host were l3 agent was in standby state.

root@node-4:~# neutron l3-agent-list-hosting-router a1de4263-08af-48cb-a9b5-400ebcd3ac1a
+--------------------------------------+-------------------+----------------+-------+----------+
| id                                   | host              | admin_state_up | alive | ha_state |
+--------------------------------------+-------------------+----------------+-------+----------+
| ae474016-48ee-4121-88b7-71b65f2a4244 | node-4.domain.tld | True           | :-)   | standby  |
| b93959c3-51da-45ae-8af7-aa90671953b4 | node-5.domain.tld | True           | :-)   | active   |
| ca082545-5c1a-4eb5-882b-b35bf76f9350 | node-2.domain.tld | True           | :-)   | standby  |
+--------------------------------------+-------------------+----------------+-------+----------+
root@node-4:~# neutron port-show cd1e7af6-0aa7-444b-b0b3-37d04325655f                                                                                                                
+-----------------------+-----------------------------------------------------------------------------------+
| Field                 | Value                                                                             |
+-----------------------+-----------------------------------------------------------------------------------+
| admin_state_up        | True                                                                              |
| allowed_address_pairs |                                                                                   |
| binding:host_id       | node-2.domain.tld                                                                 |
| binding:profile       | {}                                                                                |
| binding:vif_details   | {"port_filter": true, "ovs_hybrid_plug": true}                                    |
| binding:vif_type      | ovs                                                                               |
| binding:vnic_type     | normal                                                                            |
| created_at            | 2016-05-17T08:55:58                                                               |
| description           |                                                                                   |
| device_id             | a1de4263-08af-48cb-a9b5-400ebcd3ac1a                                              |
| device_owner          | network:router_centralized_snat                                                   |
| dns_name              |                                                                                   |
| extra_dhcp_opts       |                                                                                   |
| fixed_ips             | {"subnet_id": "fe4e6901-f5ce-41b1-a7ce-582d70fe310e", "ip_address": "10.100.0.4"} |
| id                    | cd1e7af6-0aa7-444b-b0b3-37d04325655f                                              |
| mac_address           | fa:16:3e:f4:1d:6a                                                                 |
| name                  |                                                                                   |
| network_id            | 7e9e27d7-d331-4b09-8b28-04a0d5173af7                                              |
| port_security_enabled | False                                                                             |
| security_groups       |                                                                                   |
| status                | DOWN                                                                              |
| tenant_id             |                                                                                   |
| updated_at            | 2016-05-17T11:12:50                                                               |
+-----------------------+-----------------------------------------------------------------------------------+

** Affects: neutron
     Importance: Undecided
     Assignee: Ann Kamyshnikova (akamyshnikova)
         Status: New


** Tags: l3-dvr-backlog l3-ha

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1582739

Title:
  [DVR][L3 HA] Unable to ping 8.8.8.8 from VM without floating ip

Status in neutron:
  New

Bug description:
  On the environment with L3 HA and DVR enabled all pings from VM
  without floating ip to 8.8.8.8 were lost.

  This happened because router_centralized_snat port was binded to the
  wrong host were l3 agent was in standby state.

  root@node-4:~# neutron l3-agent-list-hosting-router a1de4263-08af-48cb-a9b5-400ebcd3ac1a
  +--------------------------------------+-------------------+----------------+-------+----------+
  | id                                   | host              | admin_state_up | alive | ha_state |
  +--------------------------------------+-------------------+----------------+-------+----------+
  | ae474016-48ee-4121-88b7-71b65f2a4244 | node-4.domain.tld | True           | :-)   | standby  |
  | b93959c3-51da-45ae-8af7-aa90671953b4 | node-5.domain.tld | True           | :-)   | active   |
  | ca082545-5c1a-4eb5-882b-b35bf76f9350 | node-2.domain.tld | True           | :-)   | standby  |
  +--------------------------------------+-------------------+----------------+-------+----------+
  root@node-4:~# neutron port-show cd1e7af6-0aa7-444b-b0b3-37d04325655f                                                                                                                
  +-----------------------+-----------------------------------------------------------------------------------+
  | Field                 | Value                                                                             |
  +-----------------------+-----------------------------------------------------------------------------------+
  | admin_state_up        | True                                                                              |
  | allowed_address_pairs |                                                                                   |
  | binding:host_id       | node-2.domain.tld                                                                 |
  | binding:profile       | {}                                                                                |
  | binding:vif_details   | {"port_filter": true, "ovs_hybrid_plug": true}                                    |
  | binding:vif_type      | ovs                                                                               |
  | binding:vnic_type     | normal                                                                            |
  | created_at            | 2016-05-17T08:55:58                                                               |
  | description           |                                                                                   |
  | device_id             | a1de4263-08af-48cb-a9b5-400ebcd3ac1a                                              |
  | device_owner          | network:router_centralized_snat                                                   |
  | dns_name              |                                                                                   |
  | extra_dhcp_opts       |                                                                                   |
  | fixed_ips             | {"subnet_id": "fe4e6901-f5ce-41b1-a7ce-582d70fe310e", "ip_address": "10.100.0.4"} |
  | id                    | cd1e7af6-0aa7-444b-b0b3-37d04325655f                                              |
  | mac_address           | fa:16:3e:f4:1d:6a                                                                 |
  | name                  |                                                                                   |
  | network_id            | 7e9e27d7-d331-4b09-8b28-04a0d5173af7                                              |
  | port_security_enabled | False                                                                             |
  | security_groups       |                                                                                   |
  | status                | DOWN                                                                              |
  | tenant_id             |                                                                                   |
  | updated_at            | 2016-05-17T11:12:50                                                               |
  +-----------------------+-----------------------------------------------------------------------------------+

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


Follow ups