dhcp-agent can not interact with neutron-server after neutron-server restarted

Bug #2039553 reported by LIU Yulong

This bug report was marked for expiration 342 days ago. (find out why)

14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Incomplete
Undecided
Unassigned

Bug Description

Recently we meet a strange issue between neutron-server and neutron-dhcp-agents. In a long run deployment, we just restart all neutron-servers, then we failed to boot VM. Yes, it is vif-plug-timeout!!! We noticed that the DHCP provisioningblock was not deleted.

Our operator gives the recover steps:
1. stop the network's scheduled dhcp-agents
2. delete the related Queues in rabbitMQ of these dhcp-agents
3. start dhcp-agents.

Then everything works fine.

So, do you have any idea about such issue?

Revision history for this message
Brian Haley (brian-haley) wrote :

Can you give any more info on the issue? Version being used? Traceback? etc.

I will try and recreate this on master, but cannot say I have seen this before.

Changed in neutron:
status: New → Incomplete
LIU Yulong (dragon889)
description: updated
Revision history for this message
LIU Yulong (dragon889) wrote (last edit ):

These is no traceback no ERROR log at all. After restart neutron-servers, the agent list shows all dhcp-agents are active. That means some queues of the agents can work as normal, but some not.

"dhcp_ready_on_ports" is the final RPC call of the dhcp-agent to neutron-server which will remove the provisioningblock finally. The issue is that neutron-server can not get this message. Or the DHCP-agent can not send message to the related queue.

So, I guess this issue may reside in oslo-messaging or rabbitMQ itself.

Our rabbitMQ is a 3-nodes cluster. The rabbitMQ release version is rabbitmq-server-3.6.16-1.el7.

oslo-messaging is 8.1.4-1.el7.noarch.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.