2013-10-26 03:27:21 |
Stephen Ma |
bug |
|
|
added bug |
2013-10-26 03:28:21 |
Stephen Ma |
neutron: assignee |
|
Stephen Ma (stephen-ma) |
|
2013-10-26 03:36:48 |
Stephen Ma |
description |
On a network, "neutron port-list --network_id <net-id> --device_owner 'network:dhcp'" shows there are two ports. However, the "neutron dhcp-agent-list-hosting-net <net-id> shows only one DHCP-server running. This problem is observed in an environment with 4 nodes running dhcp-agents. The neutron API server and the DHCP agents are running on the same node.
What happened is that error occurred when the DHCP server is being "moved" from DHCP-agentA running on nodeA to DHCP-agentB running on nodeB. The sequence is
neutron dhcp-agent-network-remove <agentA> <net-id> (1)
neutron dhcp-agent-network-add <agentB> <net-id> (2)
Right before or during the time step 1 is done, nodeA was rebooted. So the DHCP-port ws never removed. When nodeA came back and the DHCP-agent restarted, it didn't do the unplug of the dhcp port device. THe DHCP agent also failed to make the release_dhcp_port RPC call to the API-server to have the port deleted from mysql. |
On a network, "neutron port-list --network_id <net-id> --device_owner 'network:dhcp'" shows there are two ports. However, the "neutron dhcp-agent-list-hosting-net <net-id> shows only one DHCP-server running. This problem is observed in an environment with 4 nodes running dhcp-agents. The neutron API server and the DHCP agents are NOT running on the same node.
What happened is that error occurred when the DHCP server is being "moved" from DHCP-agentA running on nodeA to DHCP-agentB running on nodeB. The sequence is
neutron dhcp-agent-network-remove <agentA> <net-id> (1)
neutron dhcp-agent-network-add <agentB> <net-id> (2)
Right before or during the time step 1 is done, nodeA was rebooted. So the DHCP-port ws never removed. When nodeA came back and the DHCP-agent restarted, it didn't do the unplug of the dhcp port device. THe DHCP agent also failed to make the release_dhcp_port RPC call to the API-server to have the port deleted from mysql. |
|
2013-10-27 05:12:49 |
Stephen Ma |
description |
On a network, "neutron port-list --network_id <net-id> --device_owner 'network:dhcp'" shows there are two ports. However, the "neutron dhcp-agent-list-hosting-net <net-id> shows only one DHCP-server running. This problem is observed in an environment with 4 nodes running dhcp-agents. The neutron API server and the DHCP agents are NOT running on the same node.
What happened is that error occurred when the DHCP server is being "moved" from DHCP-agentA running on nodeA to DHCP-agentB running on nodeB. The sequence is
neutron dhcp-agent-network-remove <agentA> <net-id> (1)
neutron dhcp-agent-network-add <agentB> <net-id> (2)
Right before or during the time step 1 is done, nodeA was rebooted. So the DHCP-port ws never removed. When nodeA came back and the DHCP-agent restarted, it didn't do the unplug of the dhcp port device. THe DHCP agent also failed to make the release_dhcp_port RPC call to the API-server to have the port deleted from mysql. |
On a network, "neutron port-list --network_id <net-id> --device_owner 'network:dhcp'" shows there are two ports. This is checked from the mysql database:
mysql> select * from ports where tenant_id='abcd' and device_owner='network:dhcp' and network_id='7d2e3d47-396d-4867-a2b0-0311465a8454';
+----------------+--------------------------------------+------+--------------------------------------+-------------------+----------------+--------+-------------------------------------------------------------------------------+--------------+
| tenant_id | id | name | network_id | mac_address | admin_state_up | status | device_id | device_owner |
+----------------+--------------------------------------+------+--------------------------------------+-------------------+----------------+--------+-------------------------------------------------------------------------------+--------------+
| abcd | 3d6a7627-6af9-4fb6-9cf6-591c1373d349 | | 7d2e3d47-396d-4867-a2b0-0311465a8454 | fa:16:3e:60:83:3f | 1 | ACTIVE | dhcp4fff1f08-9922-5c44-b6f8-fd9780f48512-7d2e3d47-396d-4867-a2b0-0311465a8454 | network:dhcp |
| abcd | a4c0eb19-407e-4970-90a8-0128259fb048 | | 7d2e3d47-396d-4867-a2b0-0311465a8454 | fa:16:3e:e1:1b:8f | 1 | ACTIVE | dhcpce80c236-6a89-571d-970b-a1d4bb787827-7d2e3d47-396d-4867-a2b0-0311465a8454 | network:dhcp |
+----------------+--------------------------------------+------+--------------------------------------+-------------------+----------------+--------+-------------------------------------------------------------------------------+--------------+
2 rows in set (0.00 sec)
However, the "neutron dhcp-agent-list-hosting-net 7d2e3d47-396d-4867-a2b0-0311465a8454 shows only one DHCP-server running.
This problem is observed in an environment with 4 nodes running dhcp-agents. The neutron API server and the DHCP agents are NOT running on the same node.
What happened is that error occurred when the DHCP server is being "moved" from DHCP-agentA running on nodeA to DHCP-agentB running on nodeB. The sequence is
neutron dhcp-agent-network-remove <agentA> <net-id> (1)
neutron dhcp-agent-network-add <agentB> <net-id> (2)
Right before or during the time step 1 is done, nodeA was rebooted. So the DHCP-port ws never removed. When nodeA came back and the DHCP-agent restarted, it didn't do the unplug of the dhcp port device. THe DHCP agent also failed to make the release_dhcp_port RPC call to the API-server to have the port deleted from mysql. |
|
2013-11-16 03:59:49 |
OpenStack Infra |
neutron: status |
New |
In Progress |
|
2014-02-10 04:29:43 |
OpenStack Infra |
neutron: assignee |
Stephen Ma (stephen-ma) |
Mark McClain (markmcclain) |
|
2014-02-23 02:01:05 |
OpenStack Infra |
neutron: assignee |
Mark McClain (markmcclain) |
Stephen Ma (stephen-ma) |
|
2014-05-28 04:19:40 |
OpenStack Infra |
neutron: status |
In Progress |
Fix Committed |
|
2014-06-12 14:47:14 |
Thierry Carrez |
neutron: status |
Fix Committed |
Fix Released |
|
2014-06-12 14:47:14 |
Thierry Carrez |
neutron: milestone |
|
juno-1 |
|
2014-10-09 14:58:50 |
OpenStack Infra |
tags |
|
in-stable-icehouse |
|
2014-10-16 09:03:16 |
Thierry Carrez |
neutron: milestone |
juno-1 |
2014.2 |
|
2015-03-12 23:22:49 |
Alan Pevec |
nominated for series |
|
neutron/icehouse |
|
2015-03-12 23:22:50 |
Alan Pevec |
bug task added |
|
neutron/icehouse |
|