Comment 6 for bug 1179223

Revision history for this message
Miguel Angel Ajo (mangelajo) wrote : Re: Retired GRE tunnels persists in quantum db

Still an issue in icehouse, confirmed:

1) Starting with a network node + compute node

MariaDB [neutron]> select * from ml2_vxlan_endpoints;
+----------------+----------+
| ip_address | udp_port |
+----------------+----------+
| 192.168.111.27 | 4789 |
| 192.168.111.8 | 4789 |
+----------------+----------+
2 rows in set (0.00 sec)

2) Adding a 2nd compute node at 192.168.111.29

MariaDB [neutron]> select * from ml2_vxlan_endpoints;
+----------------+----------+
| ip_address | udp_port |
+----------------+----------+
| 192.168.111.27 | 4789 |
| 192.168.111.29 | 4789 |
| 192.168.111.8 | 4789 |
+----------------+----------+
3 rows in set (0.00 sec)

3) Stopping the openvswitch-agent at compute "2"

[root@compute02]# service neutron-openvswitch-agent stop

4) Deleting the compute02 agent from neutron

[root@controller ~(openstack_admin)]# neutron agent-delete f6833f2e-6e98-45f8-ad38-2ab3ca7201b2

5) The endpoint is not gone

MariaDB [neutron]> select * from ml2_vxlan_endpoints;
+----------------+----------+
| ip_address | udp_port |
+----------------+----------+
| 192.168.111.27 | 4789 |
| 192.168.111.29 | 4789 |
| 192.168.111.8 | 4789 |
+----------------+----------+
3 rows in set (0.00 sec)