之前在cloudos创建vlan模式的计算节点,后删除重新选择vxlan的主机overlay模式,现创建虚机不成功,状态异常,报以下错误:
在nova-controller容器内部查看日志 ,只有nova-conductor.log有错误,nova-api.log与nova-scheduler.log没有错误
ERROR nova.scheduler.utils [req-432ef8c0-9258-44df-bf92-c7cd3c3915e3 1df71957d770436493a84f24d9344853 9052ae85792143ff955c35c52e8e41bd - default default] [instance: 134696c3-4c29-4850-812e-5f9e48f69d90] Error from last host: cpn-host102rc (node cvknode(CVM)): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/origin_manager.py", line 2468, in _do_build_and_run_instance\n filter_properties)\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/origin_manager.py", line 2711, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledException: Build of instance 134696c3-4c29-4850-812e-5f9e48f69d90 was re-scheduled: CAS network fault.\n']
ERROR nova.scheduler.utils [req-432ef8c0-9258-44df-bf92-c7cd3c3915e3 1df71957d770436493a84f24d9344853 9052ae85792143ff955c35c52e8e41bd - default default] [instance: 134696c3-4c29-4850-812e-5f9e48f69d90] Error from last host: cpn-host102rc (node cvknode1(CVM)): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/origin_manager.py", line 2468, in _do_build_and_run_instance\n filter_properties)\n', u' File "/usr/lib/python2.7/site-packages/nova/compute/origin_manager.py", line 2711, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledException: Build of instance 134696c3-4c29-4850-812e-5f9e48f69d90 was re-scheduled: CAS network fault.\n']
WARNING nova.scheduler.utils [req-432ef8c0-9258-44df-bf92-c7cd3c3915e3 1df71957d770436493a84f24d9344853 9052ae85792143ff955c35c52e8e41bd - default default] Failed to compute_task_build_instances: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 134696c3-4c29-4850-812e-5f9e48f69d90.: MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 134696c3-4c29-4850-812e-5f9e48f69d90.
WARNING nova.scheduler.utils [req-432ef8c0-9258-44df-bf92-c7cd3c3915e3 1df71957d770436493a84f24d9344853 9052ae85792143ff955c35c52e8e41bd - default default] [instance: 134696c3-4c29-4850-812e-5f9e48f69d90] Setting instance to ERROR state.: MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 134696c3-4c29-4850-812e-5f9e48f69d90.
在nova-compute容器内部查看日志:
ERROR nova.virt.casapi.network [req-432ef8c0-9258-44df-bf92-c7cd3c3915e3 1df71957d770436493a84f24d9344853 9052ae85792143ff955c35c52e8e41bd - default default] fail to get domain uuid, uri:/cas/casrs/nova/domain 2021-04-19 18:28:35.213 5900 ERROR nova.virt.casapi.network [req-432ef8c0-9258-44df-bf92-c7cd3c3915e3 1df71957d770436493a84f24d9344853 9052ae85792143ff955c35c52e8e41bd - default default] fail to get domain uuid! resp.status_code:409,error-code:9500, error-message:REST资源不存在。
2021-04-19 18:28:35.213 5900 ERROR nova.compute.origin_manager [req-432ef8c0-9258-44df-bf92-c7cd3c3915e3 1df71957d770436493a84f24d9344853 9052ae85792143ff955c35c52e8e41bd - default default] [instance: 134696c3-4c29-4850-812e-5f9e48f69d90] Instance failed to spawn: CasNetworkException: CAS network fault. 2021-04-19 18:28:35.213 5900 ERROR nova.compute.origin_manager [instance: 134696c3-4c29-4850-812e-5f9e48f69d90] Traceback (most recent call last):
2021-04-19 18:28:35.213 5900 ERROR nova.compute.origin_manager [instance: 134696c3-4c29-4850-812e-5f9e48f69d90] File "/usr/lib/python2.7/site-packages/nova/compute/origin_manager.py", line 2817, in _build_resources
2021-04-19 18:28:35.213 5900 ERROR nova.compute.origin_manager [instance: 134696c3-4c29-4850-812e-5f9e48f69d90] yield resources 2021-04-19 18:28:35.213 5900 ERROR nova.compute.origin_manager [instance: 134696c3-4c29-4850-812e-5f9e48f69d90] File "/usr/lib/python2.7/site-packages/nova/compute/origin_manager.py", line 2632, in _build_and_run_instance
2021-04-19 18:28:35.213 5900 ERROR nova.compute.origin_manager [instance: 134696c3-4c29-4850-812e-5f9e48f69d90] block_device_info=block_device_info) 2021-04-19 18:28:35.213 5900 ERROR nova.compute.origin_manager [instance: 134696c3-4c29-4850-812e-5f9e48f69d90] File "/usr/lib/python2.7/site-packages/nova/virt/casapi/driver.py", line 344, in spawn
2021-04-19 18:28:35.213 5900 ERROR nova.compute.origin_manager [instance: 134696c3-4c29-4850-812e-5f9e48f69d90] self._vmops.spawn(context,instance,image_meta,injected_files,admin_password,network_info,block_devices,False) 2021-04-19 18:28:35.213 5900 ERROR nova.compute.origin_manager [instance: 134696c3-4c29-4850-812e-5f9e48f69d90] File "/usr/lib/python2.7/site-packages/nova/virt/casapi/vmops.py", line 1154, in spawn
2021-04-19 18:28:35.213 5900 ERROR nova.compute.origin_manager [instance: 134696c3-4c29-4850-812e-5f9e48f69d90] self._network.update_vif_name(vif)
2021-04-19 18:28:35.213 5900 ERROR nova.compute.origin_manager [instance: 134696c3-4c29-4850-812e-5f9e48f69d90] File "/usr/lib/python2.7/site-packages/nova/virt/casapi/network.py", line 164, in update_vif_name
2021-04-19 18:28:35.213 5900 ERROR nova.compute.origin_manager [instance: 134696c3-4c29-4850-812e-5f9e48f69d90] self._update_vif_name(vif) 2021-04-19 18:28:35.213 5900 ERROR nova.compute.origin_manager [instance: 134696c3-4c29-4850-812e-5f9e48f69d90] File "/usr/lib/python2.7/site-packages/nova/virt/casapi/network.py", line 428, in _update_vif_name
2021-04-19 18:28:35.213 5900 ERROR nova.compute.origin_manager [instance: 134696c3-4c29-4850-812e-5f9e48f69d90] 'port_extensions':{'domain':self._get_domain_uuid(),
2021-04-19 18:28:35.213 5900 ERROR nova.compute.origin_manager [instance: 134696c3-4c29-4850-812e-5f9e48f69d90] File "/usr/lib/python2.7/site-packages/nova/virt/casapi/network.py", line 391, in _get_domain_uuid
2021-04-19 18:28:35.213 5900 ERROR nova.compute.origin_manager [instance: 134696c3-4c29-4850-812e-5f9e48f69d90] raise cas_error.CasNetworkException()
2021-04-19 18:28:35.213 5900 ERROR nova.compute.origin_manager [instance: 134696c3-4c29-4850-812e-5f9e48f69d90] CasNetworkException: CAS network fault.
2021-04-19 18:28:35.213 5900 ERROR nova.compute.origin_manager [instance: 134696c3-4c29-4850-812e-5f9e48f69d90]
(0)
最佳答案
Failed to compute_task_build_instances: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 134696c3-4c29-4850-812e-5f9e48f69d90.: MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 134696c3-4c29-4850-812e-5f9e48f69d90.
cas侧连接数应该达上限了。可以在主cvm上执行netstat -anpt | grep tomcat | wc -l 查看tomcat连接数。如果着急恢复,可以在cas侧前台没任务的情况下,后台重启tomcat任务。
(0)
目前是第一次在cvm上创建虚机, 查看tomcat连接数为0,感觉和这个没有关系,之前选择vlan模式组网创建过成功了,后来删除计算节点,重新新建选择的vxlan模式的主机overlay,现在在创建就失败了,不清楚是不是需要什么配置
网络出口和经典网络什么的,是否都是在重新添加计算节点后,重新创建的呢?可以在计算节点容器里,执行nuetron agent-list 和nova service-list 看下服务是否正常
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
网络出口和经典网络什么的,是否都是在重新添加计算节点后,重新创建的呢?可以在计算节点容器里,执行nuetron agent-list 和nova service-list 看下服务是否正常