pyhon版本是2.7
openstack版本是rocky
[root@controller ~]# openstack network agent list
+--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+
| ID | Agent Type | Host | Availability Zone | Alive | State | Binary |
+--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+
| 1a1cde20-a9df-4a87-96d4-8f7a3fea5657 | Linux bridge agent | controller | None | :-) | UP | neutron-linuxbridge-agent |
| 237161ec-3d90-4e21-ab81-ccfcfb0aed47 | Linux bridge agent | compute | None | :-) | UP | neutron-linuxbridge-agent |
| 89f08e2d-8d98-41da-9973-da3bb40b773b | Metadata agent | controller | None | :-) | UP | neutron-metadata-agent |
| a6cd2864-ebef-4e4a-af4b-7df64dd14794 | DHCP agent | controller | nova | :-) | UP | neutron-dhcp-agent |
+--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+
这个命令运行正常
# vim /var/log/neutron/l3-agent.log
2022-03-08 11:08:42.388 981 ERROR neutron.common.rpc [req-f26a738a-d8b6-404c-965a-196ffc8e68f9 - - - - -] Timeout in RPC method get_service_plugin_list. Waiting for 29 seconds before next attempt. If the server is not down, consider increasing the rpc_response_timeout option as Neutron server(s) may be overloaded and unable to respond quickly enough.: MessagingTimeout: Timed out waiting for a reply to message ID 67cb8cc398c648ff92b7c6233c2a396a
2022-03-08 11:09:11.524 981 WARNING neutron.agent.l3.agent [req-f26a738a-d8b6-404c-965a-196ffc8e68f9 - - - - -] l3-agent cannot contact neutron server to retrieve service plugins enabled. Check connectivity to neutron server. Retrying... Detailed message: Timed out waiting for a reply to message ID 67cb8cc398c648ff92b7c6233c2a396a.: MessagingTimeout: Timed out waiting for a reply to message ID 67cb8cc398c648ff92b7c6233c2a396a
这里面有个报错,不知怎么解决
vim linuxbridge-agent.log
2022-03-08 10:31:55.969 1058 ERROR neutron.plugins.ml2.drivers.agent._common_agent [-] Failed reporting state!: MessagingTimeout: Timed out waiting for a reply to message ID bc4c2ebdd0bd490a82a64d907de3e9aa
2022-03-08 10:31:55.969 1058 ERROR neutron.plugins.ml2.drivers.agent._common_agent Traceback (most recent call last):
2022-03-08 10:31:55.969 1058 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 129, in _report_state
2022-03-08 10:31:55.969 1058 ERROR neutron.plugins.ml2.drivers.agent._common_agent True)
2022-03-08 10:31:55.969 1058 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/neutron/agent/rpc.py", line 97, in report_state
2022-03-08 10:31:55.969 1058 ERROR neutron.plugins.ml2.drivers.agent._common_agent return method(context, 'report_state', **kwargs)
2022-03-08 10:31:55.969 1058 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 179, in call
2022-03-08 10:31:55.969 1058 ERROR neutron.plugins.ml2.drivers.agent._common_agent retry=self.retry)
2022-03-08 10:31:55.969 1058 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 133, in _send
2022-03-08 10:31:55.969 1058 ERROR neutron.plugins.ml2.drivers.agent._common_agent retry=retry)
2022-03-08 10:31:55.969 1058 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 645, in send
2022-03-08 10:31:55.969 1058 ERROR neutron.plugins.ml2.drivers.agent._common_agent call_monitor_timeout, retry=retry)
2022-03-08 10:31:55.969 1058 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 634, in _send
2022-03-08 10:31:55.969 1058 ERROR neutron.plugins.ml2.drivers.agent._common_agent call_monitor_timeout)
2022-03-08 10:31:55.969 1058 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 520, in wait
2022-03-08 10:31:55.969 1058 ERROR neutron.plugins.ml2.drivers.agent._common_agent message = self.waiters.get(msg_id, timeout=timeout)
2022-03-08 10:31:55.969 1058 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 397, in get
2022-03-08 10:31:55.969 1058 ERROR neutron.plugins.ml2.drivers.agent._common_agent 'to message ID %s' % msg_id)
2022-03-08 10:31:55.969 1058 ERROR neutron.plugins.ml2.drivers.agent._common_agent MessagingTimeout: Timed out waiting for a reply to message ID bc4c2ebdd0bd490a82a64d907de3e9aa
2022-03-08 10:31:55.969 1058 ERROR neutron.plugins.ml2.drivers.agent._common_agent
文章来源:https://www.toymoban.com/news/detail-656196.html
有没有人遇到同样的问题呢??求助求助 文章来源地址https://www.toymoban.com/news/detail-656196.html
到了这里,关于【求助】openstack可以创建实例,但是在旁边报不能连接到neutron的错误的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!