[Openstack] [Pike][Neutron] ERROR neutron.plugins.ml2.drivers.agent._common_agent - AgentNotFoundByTypeHost

Torin Woltjer torin.woltjer at granddial.com
Tue Mar 6 18:53:08 UTC 2018


My virtual machines do not get their IP addresses, the dashboard does show the address they should have, but when using the console to access the virtual machine, it shows that no address is assigned to its interface. What kind of misconfiguration could've occured?

The following two line repeat in /var/log/nova/nova-compute.log on the compute node:

2018-03-06 13:34:15.051 32084 WARNING nova.compute.manager [req-cc5ee519-111f-4b70-b77f-b6607c5e611e ffe5adfe1f7c40a5b5d0a8f89e65a452 358008d2e1a6428ab2abcf51b10d0a50 - default default] [instance: 7249d430-743e-4463-8d28-d13cdb8cfddc] Received unexpected event network-vif-plugged-87e7138e-9e29-4e67-a181-077b3f6ea09b for instance
2018-03-06 13:34:17.563 32084 WARNING nova.compute.manager [req-512ef7b6-0936-4dd6-a7e0-0044cee7e9cf ffe5adfe1f7c40a5b5d0a8f89e65a452 358008d2e1a6428ab2abcf51b10d0a50 - default default] [instance: 7249d430-743e-4463-8d28-d13cdb8cfddc] Received unexpected event network-vif-unplugged-87e7138e-9e29-4e67-a181-077b3f6ea09b for instance

These errors repeat in /var/log/neutron/neutron-linuxbridge-agent.log

2018-03-06 13:38:49.403 1978 INFO neutron.agent.securitygroups_rpc [req-262cb010-9068-4ad9-b93d-bd0875fc66e1 - - - - -] Preparing filters for devices set(['tap87e7138e-9e'])
2018-03-06 13:38:52.286 1978 INFO neutron.agent.securitygroups_rpc [req-262cb010-9068-4ad9-b93d-bd0875fc66e1 - - - - -] Security group member updated [u'04a877fe-f6bc-445c-9e03-204a0cae9d32']
2018-03-06 13:38:52.289 1978 INFO neutron.plugins.ml2.drivers.agent._common_agent [req-262cb010-9068-4ad9-b93d-bd0875fc66e1 - - - - -] Port tap87e7138e-9e updated. Details: {u'profile': {}, u'network_qos_policy_id': None, u'qos_policy_id': None, u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'a06ac367-fe14-4bcd-96f3-8c8081a874ad', u'segmentation_id': None, u'mtu': 1500, u'device_owner': u'compute:nova', u'physical_network': u'provider', u'mac_address': u'fa:16:3e:23:49:97', u'device': u'tap87e7138e-9e', u'port_security_enabled': True, u'port_id': u'87e7138e-9e29-4e67-a181-077b3f6ea09b', u'fixed_ips': [{u'subnet_id': u'4dc26826-49f3-4cb9-8490-e4cc5e82853d', u'ip_address': u'216.109.195.245'}], u'network_type': u'flat'}
2018-03-06 13:38:55.392 1978 INFO neutron.agent.securitygroups_rpc [req-262cb010-9068-4ad9-b93d-bd0875fc66e1 - - - - -] Security group member updated [u'04a877fe-f6bc-445c-9e03-204a0cae9d32']
2018-03-06 13:38:55.810 1978 INFO neutron.agent.securitygroups_rpc [req-262cb010-9068-4ad9-b93d-bd0875fc66e1 - - - - -] Remove device filter for set(['tap87e7138e-9e'])
2018-03-06 13:38:57.468 1978 INFO neutron.plugins.ml2.drivers.agent._common_agent [req-262cb010-9068-4ad9-b93d-bd0875fc66e1 - - - - -] Attachment tap87e7138e-9e removed
2018-03-06 13:38:57.909 1978 INFO neutron.agent.securitygroups_rpc [req-262cb010-9068-4ad9-b93d-bd0875fc66e1 - - - - -] Security group member updated [u'04a877fe-f6bc-445c-9e03-204a0cae9d32']
2018-03-06 13:38:58.199 1978 ERROR neutron.plugins.ml2.drivers.agent._common_agent [req-262cb010-9068-4ad9-b93d-bd0875fc66e1 - - - - -] Error occurred while removing port tap87e7138e-9e: RemoteError: Remote error: AgentNotFoundByTypeHost Agent with agent_type=L3 agent and host=UBNTU-OSTACK-COMPUTE1 could not be found
[u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 160, in _process_incoming\n    res = self.dispatcher.dispatch(message)\n', u'  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 213, in dispatch\n    return self._do_dispatch(endpoint, method, ctxt, args)\n', u'  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 183, in _do_dispatch\n    result = func(ctxt, **new_args)\n', u'  File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/rpc.py", line 234, in update_device_down\n    n_const.PORT_STATUS_DOWN, host)\n', u'  File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/rpc.py", line 331, in notify_l2pop_port_wiring\n    l2pop_driver.obj.update_port_down(port_context)\n', u'  File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/l2pop/mech_driver.py", line 253, in update_port_down\n    admin_context, agent_host, [port[\'device_id\']]):\n', u'  File "/usr/lib/python2.7/dist-packages/neutron/db/l3_agentschedulers_db.py", line 303, in list_router_ids_on_host\n    context, constants.AGENT_TYPE_L3, host)\n', u'  File "/usr/lib/python2.7/dist-packages/neutron/db/agents_db.py", line 291, in _get_agent_by_type_and_host\n    host=host)\n', u'AgentNotFoundByTypeHost: Agent with agent_type=L3 agent and host=UBNTU-OSTACK-COMPUTE1 could not be found\n'].
2018-03-06 13:38:58.199 1978 ERROR neutron.plugins.ml2.drivers.agent._common_agent Traceback (most recent call last):
2018-03-06 13:38:58.199 1978 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
2018-03-06 13:38:58.199 1978 ERROR neutron.plugins.ml2.drivers.agent._common_agent     cfg.CONF.host)
2018-03-06 13:38:58.199 1978 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
2018-03-06 13:38:58.199 1978 ERROR neutron.plugins.ml2.drivers.agent._common_agent     agent_id=agent_id, host=host)
2018-03-06 13:38:58.199 1978 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/neutron/common/rpc.py", line 162, in call
2018-03-06 13:38:58.199 1978 ERROR neutron.plugins.ml2.drivers.agent._common_agent     return self._original_context.call(ctxt, method, **kwargs)
2018-03-06 13:38:58.199 1978 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 169, in call
2018-03-06 13:38:58.199 1978 ERROR neutron.plugins.ml2.drivers.agent._common_agent     retry=self.retry)
2018-03-06 13:38:58.199 1978 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 123, in _send
2018-03-06 13:38:58.199 1978 ERROR neutron.plugins.ml2.drivers.agent._common_agent     timeout=timeout, retry=retry)
2018-03-06 13:38:58.199 1978 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 578, in send
2018-03-06 13:38:58.199 1978 ERROR neutron.plugins.ml2.drivers.agent._common_agent     retry=retry)
2018-03-06 13:38:58.199 1978 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 569, in _send
2018-03-06 13:38:58.199 1978 ERROR neutron.plugins.ml2.drivers.agent._common_agent     raise result
2018-03-06 13:38:58.199 1978 ERROR neutron.plugins.ml2.drivers.agent._common_agent RemoteError: Remote error: AgentNotFoundByTypeHost Agent with agent_type=L3 agent and host=UBNTU-OSTACK-COMPUTE1 could not be found
2018-03-06 13:38:58.199 1978 ERROR neutron.plugins.ml2.drivers.agent._common_agent [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 160, in _process_incoming\n    res = self.dispatcher.dispatch(message)\n', u'  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 213, in dispatch\n    return self._do_dispatch(endpoint, method, ctxt, args)\n', u'  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 183, in _do_dispatch\n    result = func(ctxt, **new_args)\n', u'  File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/rpc.py", line 234, in update_device_down\n    n_const.PORT_STATUS_DOWN, host)\n', u'  File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/rpc.py", line 331, in notify_l2pop_port_wiring\n    l2pop_driver.obj.update_port_down(port_context)\n', u'  File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/l2pop/mech_driver.py", line 253, in update_port_down\n    admin_context, agent_host, [port[\'device_id\']]):\n', u'  File "/usr/lib/python2.7/dist-packages/neutron/db/l3_agentschedulers_db.py", line 303, in list_router_ids_on_host\n    context, constants.AGENT_TYPE_L3, host)\n', u'  File "/usr/lib/python2.7/dist-packages/neutron/db/agents_db.py", line 291, in _get_agent_by_type_and_host\n    host=host)\n', u'AgentNotFoundByTypeHost: Agent with agent_type=L3 agent and host=UBNTU-OSTACK-COMPUTE1 could not be found\n'].
2018-03-06 13:38:58.199 1978 ERROR neutron.plugins.ml2.drivers.agent._common_agent
2018-03-06 13:38:59.216 1978 INFO neutron.plugins.ml2.drivers.agent._common_agent [req-262cb010-9068-4ad9-b93d-bd0875fc66e1 - - - - -] Linux bridge agent Agent out of sync with plugin!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20180306/e90f3907/attachment-0001.html>


More information about the Openstack mailing list