[Openstack] [Pike][Neutron] ERROR neutron.plugins.ml2.drivers.agent._common_agent - AgentNotFoundByTypeHost
Eugen Block
eblock at nde.ag
Wed Mar 7 07:48:11 UTC 2018
Hi,
are all agents up and running? Can you paste the output of "openstack
network agent list"?
And could you post the output of "egrep -ve "^$|^#"
/etc/neutron/neutron.conf" from both compute and control node?
Probably also from
/etc/neutron/l3_agent.ini
/etc/neutron/plugins/ml2/linuxbridge_agent.ini
/etc/neutron/plugins/ml2/ml2_conf.ini
Of course you can/should replace sensitive data in the output.
Regards
Zitat von Torin Woltjer <torin.woltjer at granddial.com>:
> 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!
--
Eugen Block voice : +49-40-559 51 75
NDE Netzdesign und -entwicklung AG fax : +49-40-559 51 77
Postfach 61 03 15
D-22423 Hamburg e-mail : eblock at nde.ag
Vorsitzende des Aufsichtsrates: Angelika Mozdzen
Sitz und Registergericht: Hamburg, HRB 90934
Vorstand: Jens-U. Mozdzen
USt-IdNr. DE 814 013 983
More information about the Openstack
mailing list