Ask Your Question
0

neutron-server high CPU usage L3 try find compute node agent. neutron: Error, "AgentNotFoundByTypeHost:

asked 2018-01-08 07:09:49 -0500

gsic-emic gravatar image

updated 2018-01-09 06:25:40 -0500

Hello everyone,

I ask this question, to see if someone can help me ...

I have a controller node and a compute node.

The controller node also acts as a network node. I have used the following installation guide, for ubuntu and Pike version.

https://docs.openstack.org/pike/install/

The problem is the following:

When someone performs simulations and in this case auto-scaling with heat 30 instances. After a while in the controller node the neutron-server service reaches almost 100% of CPU usage.

In that case there is a slowdown in the cloud and when launching instances.


To get back down CPU usage I have to restart the neutron-linuxbridge-agent service of the compute node. But before that I see that the following appears in the logs of the compute node.

ERROR neutron.plugins.ml2.drivers.agent._common_agent Traceback (most recent call last):
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 336, in treat_devices_removed
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent     cfg.CONF.host)
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/rpc.py", line 139, in update_device_down
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent     agent_id=agent_id, host=host)
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/neutron/common/rpc.py", line 162, in call
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent     return self._original_context.call(ctxt, method, **kwargs)
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 169, in call
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent     retry=self.retry)
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 123, in _send
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent     timeout=timeout, retry=retry)
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 578, in send
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent     retry=retry)
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 569, in _send
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent     raise result
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent RemoteError: Remote error: AgentNotFoundByTypeHost Agent with agent_type=L3 agent and host=urano could not be found
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent [u'Traceback (most recent call last):\n', u'  File ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-01-12 19:54:02 -0500

dreamer.zzp gravatar image

I saw you comment in my question

https://ask.openstack.org/en/question/111750/neutron-error-agentnotfoundbytypehost-agent-with-agent_typel3-agent-and-hostcompute1examplecom-could-not-be-found-caused-by-l2population/ (https://ask.openstack.org/en/question...)

thanks for your attention.

From the log messages you put, I think your issue is the same as mine though I don't run so many instances.

Continuous large number of error log printing consumed your CPU. Error logs are not only generated in your compute node, controller node either.

You can try to disable l2population mechanism like what I have done. This may help you.

Right now, I still have no idea about how to solve this issue with "l2population" enabled.

I will continue to pay attention.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2018-01-08 07:09:49 -0500

Seen: 760 times

Last updated: Jan 09