Restarting neutron l3-agent

asked 2020-02-26 11:49:15 -0600

GrantMorley_85 gravatar image

Hi all,

We are currently having an issue where new instances are not working correctly. It appears to be because neutron is not assigning a port to a router correctly ( the port reports as down ) and we are thinking that we may need to restart the "neutron-l3-agent" service.

However I was wondering if doing so that it would affect instances that are currently running fine? I am a little nervous to restart the service if it is going to cause an entire outage whilst the service re-balances over our neutron nodes.

What we are seeing is:

| status | DOWN

For any new port that is added to a router.

I can provide more logs if needed.

Any help is greatly appreciated.

edit retag flag offensive close merge delete


A status of DOWN doesn't necesserily mean that there is a problem. Are there other symptoms?

Restarting the agent should not interrupt anything, except that you won't be able to create or modify routers for a few milliseconds.

Bernd Bausch gravatar imageBernd Bausch ( 2020-02-26 16:15:39 -0600 )edit

Thanks for getting back to me. The only symptoms we are currently seeing is that when a new router is created or any new ports being assigned to routers, they are not coming up. I have seen a few RabbitMQ message time outs, however the ports seemingly get created but are always in a DOWN status.

GrantMorley_85 gravatar imageGrantMorley_85 ( 2020-02-27 03:50:28 -0600 )edit

We have also noticed that if we do a "ip netns exec qrouter-9a1f0459-014e-4dc4-a643-047ac7cbbc92 ip addr | grep 185.136.x.x the port / IP is never on the router.

GrantMorley_85 gravatar imageGrantMorley_85 ( 2020-02-27 04:20:26 -0600 )edit

Does the router route traffic?

Bernd Bausch gravatar imageBernd Bausch ( 2020-02-27 07:37:03 -0600 )edit

Check also on DHCP , we have this error sometime when the process on network node are down. Restart the dhcp service correct the problem. Restart a L3 agent on a network node affect temporaly traffic so do it during the night :)

chalans gravatar imagechalans ( 2020-02-28 15:57:53 -0600 )edit