openstack 创建实例卡在调度上,花了很长时间才失败并出现错误

openstack 创建实例卡在调度上,花了很长时间才失败并出现错误

谁能帮忙,我无法创建实例。

构建环境

基于的 Hypervisor 是 ESXI(单节点)

两台虚拟机创建于:

操作系统 Centos 8 Steam 最新更新
Openstack Yoga
Network =
计算节点上的 Flat Bridged Hypervisor qemu

计算节点:8CPU(向启用的客户操作系统公开硬件辅助虚拟化)50GBRAM 50GB 用于操作系统,400GBvdisk 用于 Cinder 卷(厚配置,急切归零)

计算节点:8CPU(向启用的客户操作系统公开硬件辅助虚拟化)12GBRAM 50GBvdisk(厚配置,急切归零)

两个节点的 DNS 名称都可以从 DNS 服务器解析,并且可以 ping 通。

使用仪表板和命令行创建实例的结果相同

错误

BlockquoteTraceback(最近一次调用最后一次):文件“/usr/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py”,第 441 行,在 get 中返回 self._queues[msg_id].get(block=True, timeout=timeout)文件“/usr/lib/python3.6/site-packages/eventlet/queue.py”,第 322 行,在 get 中返回 waiter.wait()文件“/usr/lib/python3.6/site-packages/eventlet/queue.py”,第 141 行,在 wait 中返回 get_hub().switch()文件“/usr/lib/python3.6/site-packages/eventlet/hubs/hub.py”,第 313 行,在 switch 中返回 self.greenlet.switch()queue.Empty在处理上述异常期间,发生了另一个异常:Traceback(最近一次调用最后一次):文件“/usr/lib/python3.6/site-packages/nova/conductor/manager.py”,第 1549 行,在 schedule_and_build_instances 中 instance_uuids,return_alternates=True) 文件“/usr/lib/python3.6/site-packages/nova/conductor/manager.py”,第 910 行,在 _schedule_instances 中 return_alternates=return_alternates) 文件“/usr/lib/python3.6/site-packages/nova/scheduler/client/query.py”,第 42 行,在 select_destinations 中 instance_uuids、return_objects、return_alternates) 文件“/usr/lib/python3.6/site-packages/nova/scheduler/rpcapi.py”,第 160 行,在 select_destinations 中返回 cctxt.call(ctxt, 'select_destinations', **msg_args) 文件“/usr/lib/python3.6/site-packages/oslo_messaging/rpc/client.py”,第 192 行,在调用中 retry=self.retry,transport_options=self.transport_options) 文件“/usr/lib/python3.6/site-packages/oslo_messaging/transport.py”,第 128 行,在 _send transport_options=transport_options) 文件“/usr/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py”,第 691 行,在发送 transport_options=transport_options) 文件“/usr/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py”,第 679 行,在 _send call_monitor_timeout) 文件“/usr/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py”, 第 567 行,正在等待消息 = self.waiters.get(msg_id, timeout=timeout) 文件“/usr/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py”, 第 445 行,正在获取‘消息 ID %s’ % msg_id) oslo_messaging.exceptions.MessagingTimeout:等待消息 ID c4216d4a20dd47b5860e15b52d5e99c2 的回复超时 Blockquote

从控制节点:

journalctl -f SYSLOG_IDENTIFIER=nova-scheduler | grep -E “调试|警告|错误”

来自主机“nova-compute01”的实例。 sync_instance_info /usr/lib/python3.6/site-packages/nova/scheduler/host_manager.py:957 5月 4 日 08:22:21 openstack.ad.local nova-scheduler[3142]: 2022-05-04 08:22:21.777 3142 DEBUG oslo_concurrency.lockutils [req-2402ad44-ecfa-4b7a-a8c1-8aff6b4d8c20 - - - - -] 锁“host_instance”由“nova.scheduler.host_manager.HostManager.sync_instance_info”“发布”:: 持有 0.001 秒内部 /usr/lib/python3.6/site-packages/oslo_concurrency/lockutils.py:405 5月 4 日 08:22:21 openstack.ad.local nova-scheduler[3144]:2022-05-04 08:22:21.777 3144 DEBUG oslo_concurrency.lockutils [req-2402ad44-ecfa-4b7a-a8c1-8aff6b4d8c20 - - - - -] 锁“host_instance”由“nova.scheduler.host_manager.HostManager.sync_instance_info”“发布”:: 持有 0.001 秒内部 /usr/lib/python3.6/site-packages/oslo_concurrency/lockutils.py:405 5 月 4 日 08:22:21 openstack.ad.local nova-scheduler[3139]:2022-05-04 08:22:21.777 3139 DEBUG oslo_concurrency.lockutils [req-2402ad44-ecfa-4b7a-a8c1-8aff6b4d8c20 - - - - -] 锁定“host_instance”由“nova.scheduler.host_manager.HostManager.sync_instance_info”“发布”:: 持有 0.001 秒内部 /usr/lib/python3.6/site-packages/oslo_concurrency/lockutils.py:405 5 月 4 日 08:22:21 openstack.ad.local nova-scheduler[3137]: 2022-05-04 08:22:21.777 3137 DEBUG nova.scheduler.host_manager [req-2402ad44-ecfa-4b7a-a8c1-8aff6b4d8c20 - - - - -] 已成功同步来自主机“nova-compute01”的实例。sync_instance_info /usr/lib/python3.6/site-packages/nova/scheduler/host_manager.py:957 5 月 4 日 08:22:21 openstack.ad.local nova-scheduler[3138]: 2022-05-04 08:22:21.777 3138 DEBUG nova.scheduler.host_manager [req-2402ad44-ecfa-4b7a-a8c1-8aff6b4d8c20 - - - - -] 已成功从主机“nova-compute01”同步实例。 sync_instance_info /usr/lib/python3.6/site-packages/nova/scheduler/host_manager.py:957 5月 4 日 08:22:21 openstack.ad.local nova-scheduler[3136]: 2022-05-04 08:22:21.777 3136 DEBUG oslo_concurrency.lockutils [req-2402ad44-ecfa-4b7a-a8c1-8aff6b4d8c20 - - - - -] 锁 “host_instance” 由 “nova.scheduler.host_manager.HostManager.sync_instance_info” 获取::等待 0.000 秒内部 /usr/lib/python3.6/site-packages/oslo_concurrency/lockutils.py:390 5月 4 日 08:22:21 openstack.ad.local nova-scheduler[3143]:2022-05-04 08:22:21.777 3143 DEBUG oslo_concurrency.lockutils [req-2402ad44-ecfa-4b7a-a8c1-8aff6b4d8c20 - - - - -] 锁“host_instance”由“nova.scheduler.host_manager.HostManager.sync_instance_info”“发布”:: 持有 0.001 秒内部 /usr/lib/python3.6/site-packages/oslo_concurrency/lockutils.py:405 5 月 4 日 08:22:21 openstack.ad.local nova-scheduler[3137]:2022-05-04 08:22:21.777 3137 DEBUG oslo_concurrency.lockutils [req-2402ad44-ecfa-4b7a-a8c1-8aff6b4d8c20 - - - - -] 锁定“host_instance”,由“nova.scheduler.host_manager.HostManager”“释放”。sync_instance_info”:: 持有 0.001 秒内部 /usr/lib/python3.6/site-packages/oslo_concurrency/lockutils.py:405 5 月 4 日 08:22:21 openstack.ad.local nova-scheduler[3138]: 2022-05-04 08:22:21.777 3138 DEBUG oslo_concurrency.lockutils [req-2402ad44-ecfa-4b7a-a8c1-8aff6b4d8c20 - - - - -] 锁“host_instance”由“nova.scheduler.host_manager.HostManager.sync_instance_info”“发布”:: 持有 0.001 秒内部 /usr/lib/python3.6/site-packages/oslo_concurrency/lockutils.py:405 5 月 4 日08:22:21 openstack.ad.local nova-scheduler[3136]: 2022-05-04 08:22:21.777 3136 DEBUG nova.scheduler.host_manager [req-2402ad44-ecfa-4b7a-a8c1-8aff6b4d8c20 - - - - -] 已成功从主机“nova-compute01”同步实例。sync_instance_info /usr/lib/python3.6/site-packages/nova/scheduler/host_manager.py:957 5月 04 08:22:21 openstack.ad.local nova-scheduler[3136]: 2022-05-04 08:22:21.777 3136 DEBUG oslo_concurrency.lockutils [req-2402ad44-ecfa-4b7a-a8c1-8aff6b4d8c20 - - - - -] 锁“host_instance”由“nova.scheduler.host_manager.HostManager.sync_instance_info”“发布”::持有 0.001 秒内部 /usr/lib/python3.6/site-packages/oslo_concurrency/lockutils.py:405

从计算节点

journalctl -f SYSLOG_IDENTIFIER=nova-compute | grep -E “调试|警告|错误”

5月4日 08:26:21 nova-compute01 nova-compute[2137]: 2022-05-04 08:26:21.661 2137 DEBUG oslo_concurrency.lockutils [req-584789e4-2699-48bc-81f6-1fa6f3e2045e - - - - -] 锁“compute_resources”由“nova.compute.resource_tracker.ResourceTracker._update_available_resource”“发布”:: 持有 0.031 秒内部 /usr/lib/python3.6/site-packages/oslo_concurrency/lockutils.py:405 5月4日 08:26:26 nova-compute01 nova-compute[2137]: 2022-05-04 08:26:26.657 2137 DEBUG oslo_service.periodic_task [req-584789e4-2699-48bc-81f6-1fa6f3e2045e - - - - -] 正在运行定期任务 ComputeManager._sync_scheduler_instance_info run_periodic_tasks /usr/lib/python3.6/site-packages/oslo_service/periodic_task.py:211 5月 04 08:26:37 nova-compute01 nova-compute[2137]: 2022-05-04 08:26:37.567 2137 DEBUG oslo_service.periodic_task [req-584789e4-2699-48bc-81f6-1fa6f3e2045e - - - - -] 正在运行定期任务 ComputeManager._heal_instance_info_cache run_periodic_tasks /usr/lib/python3.6/site-packages/oslo_service/periodic_task.py:211 5月 4日 08:26:37 nova-compute01 nova-compute[2137]: 2022-05-04 08:26:37.567 2137 DEBUG nova.compute.manager [req-584789e4-2699-48bc-81f6-1fa6f3e2045e - - - - -] 正在启动修复实例信息缓存 _heal_instance_info_cache /usr/lib/python3.6/site-packages/nova/compute/manager.py:9444 5月 4日 08:26:37 nova-compute01 nova-compute[2137]: 2022-05-04 08:26:37.567 2137 DEBUG nova.compute.manager [req-584789e4-2699-48bc-81f6-1fa6f3e2045e - - - - -] 重建要修复的实例列表 _heal_instance_info_cache /usr/lib/python3.6/site-packages/nova/compute/manager.py:9448 5月 4日 08:26:37 nova-compute01 nova-compute[2137]: 2022-05-04 08:26:37.573 2137 DEBUG nova.compute.manager [req-584789e4-2699-48bc-81f6-1fa6f3e2045e - - - - -] 没有找到任何网络信息缓存更新的实例。 _heal_instance_info_cache /usr/lib/python3.6/site-packages/nova/compute/manager.py:9530 5月 4日 08:27:04 nova-compute01 nova-compute[2137]: 2022-05-04 08:27:04.566 2137 DEBUG oslo_service.periodic_task [req-584789e4-2699-48bc-81f6-1fa6f3e2045e - - - - -] 正在运行定期任务 ComputeManager._instance_usage_audit run_periodic_tasks /usr/lib/python3.6/site-packages/oslo_service/periodic_task.py:211 5月 4日 08:27:07 nova-compute01 nova-compute[2137]: 2022-05-04 08:27:07.568 2137 DEBUG oslo_service.periodic_task [req-584789e4-2699-48bc-81f6-1fa6f3e2045e - - - - -] 正在运行定期任务 ComputeManager._heal_instance_info_cache run_periodic_tasks /usr/lib/python3.6/site-packages/oslo_service/periodic_task.py:211 5月 04 08:27:07 nova-compute01 nova-compute[2137]: 2022-05-04 08:27:07.568 2137 DEBUG nova.compute.manager [req-584789e4-2699-48bc-81f6-1fa6f3e2045e - - - - -] 开始修复实例信息缓存 _heal_instance_info_cache /usr/lib/python3.6/site-packages/nova/compute/manager.py:9444 5月 4日 08:27:07 nova-compute01 nova-compute[2137]: 2022-05-04 08:27:07.569 2137 DEBUG nova.compute。管理器 [req-584789e4-2699-48bc-81f6-1fa6f3e2045e - - - - -] 重建实例列表以修复 _heal_instance_info_cache /usr/lib/python3.6/site-packages/nova/compute/manager.py:9448 5 月 4 日 08:27:07 nova-compute01 nova-compute[2137]: 2022-05-04 08:27:07.574 2137 DEBUG nova.compute.manager [req-584789e4-2699-48bc-81f6-1fa6f3e2045e - - - - -] 没有找到任何用于网络信息缓存更新的实例。 _heal_instance_info_cache /usr/lib/python3.6/site-packages/nova/compute/manager.py:9530 5月 4日 08:27:08 nova-compute01 nova-compute[2137]: 2022-05-04 08:27:08.568 2137 DEBUG oslo_service.periodic_task [req-584789e4-2699-48bc-81f6-1fa6f3e2045e - - - - -] 正在运行定期任务 ComputeManager._poll_volume_usage run_periodic_tasks /usr/lib/python3.6/site-packages/oslo_service/periodic_task.py:211 5月 4日 08:27:09 nova-compute01 nova-compute[2137]: 2022-05-04 08:27:09.568 2137 DEBUG oslo_service.periodic_task [req-584789e4-2699-48bc-81f6-1fa6f3e2045e - - - - -] 正在运行定期任务 ComputeManager._poll_rebooting_instances run_periodic_tasks /usr/lib/python3.6/site-packages/oslo_service/periodic_task.py:211

相关内容