本文主要是介绍虚拟机但无法power on报:Failed to establish transport connection (9),希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
问题描述
在Horizon GPU资源池,强反映某桌面虚拟机无法进行开机,报:已断开与虚拟机的连接(“Disconnected from virtual machine.”),无法建立传输连接(9)(Failed to establish transport connection (9)):there is no VMware process running for config file /vmx/volume/vsan:xxx.vmx
另外迁移所涉vm到群集的其他主机,显示已完成重新放置虚拟机,但是vc页面虚拟机显示主机地址还是原先主机IP。
二、分析处理
2.1、查看vm所在主机的vpxa.log日志:
日志内容类似如下:
2021-07-05T13:59:33.536Z info vpxd[7F609C958700] [Originator@6876 sub=Default opID=4a20be67] [VpxLRO] -- ERROR task-519360 -- vm-16985 -- vim.VirtualMachine.powerOn: vim.fault.GenericVmConfigFault:
--> Result:
--> (vim.fault.GenericVmConfigFault) {
--> faultCause = (vmodl.MethodFault) null,
--> faultMessage = (vmodl.LocalizableMessage) [
--> (vmodl.LocalizableMessage) {
--> key = "msg.vigor.transport.connection.error",
--> arg = ,
--> message = "Disconnected from virtual machine."
--> },
--> (vmodl.LocalizableMessage) {
--> key = "msg.vigor.transport.connection.fail",
--> arg = (vmodl.KeyAnyValue) [
--> (vmodl.KeyAnyValue) {
--> key = "1",
--> value = "9"
--> },
--> (vmodl.KeyAnyValue) {
--> key = "2",
--> value = "There is no VMware_test process running for config file /vmfs/volumes/vsan:5262e56b243ed0b1-fbadb4f39d648c18/2c4b515c-b81b-aeae-f87c-98f2b3240a48/VMware_test.vmx"
--> }
--> ],
--> message = "Failed to establish transport connection (9): There is no VMware_test process running for config file /vmfs/volumes/vsan:5262e56b243ed0b1-fbadb4f39d648c18/2c4b515c-b81b-aeae-f87c-98f2b3240a48/VMware_test.vmx."
--> },
--> (vmodl.LocalizableMessage) {
--> key = "msg.asyncsocket.remotedisconnect",
--> arg = ,
--> message = "Remote disconnected"
--> },
--> (vmodl.LocalizableMessage) {
--> key = "vpxd.vm.poweron.unexpectedfailure",
--> arg = (vmodl.KeyAnyValue) [
--> (vmodl.KeyAnyValue) {
--> key = "1",
--> value = "VMware_test"
--> }
--> ],
--> message = "An unexpected error was received from the ESX host while powering on VM VMware_test."
--> }
--> ],
--> reason = "Disconnected from virtual machine."
--> msg = "Disconnected from virtual machine."
另外,在 /var/core我们可看到vmx核心转储日志 vmx-zdump.000。
VMware官方解释说:出现此问题是由于命名空间数据库创建和迁移活动之间存在竞争条件。目前尚无解决办法,可尝试对所涉主机进行进入维护模式操作。
2.2、将相关主机置于维护模式,显示自动迁移失败,无法进入维护模式,但其上原先的vm的宿主机ip地址这时,确刷新过来了,对vm开机操作成功。
手动迁移相关虚拟机失败:报错与上同
这篇关于虚拟机但无法power on报:Failed to establish transport connection (9)的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!