/vmfs/volumes/<datastore location>/<VM Name>/vmware.log it shows that the VM was booted with the network name set to None. <timestamps> In(05) vmx - DICT ethernet0.allowGuestConnectionControl = "FALSE"
<timestamps> In(05) vmx - DICT ethernet0.virtualDev = "vmxnet3"
<timestamps> In(05) vmx - DICT ethernet0.networkName = "none"
<timestamps> In(05) vmx - DICT ethernet0.addressType = "vpx"
<timestamps> In(05) vmx - DICT ethernet0.generatedAddress = "00:50:56:##:##:##"
<timestamps> In(05) vmx - DICT ethernet0.uptCompatibility = "TRUE"
<timestamps> In(05) vmx - DICT ethernet0.present = "TRUE"
....
<timestamps> In(05) vcpu-0 - VMXNET3 user: failed to connect 'Ethernet0' to vSwitch portgroup 'none'.
<timestamps> In(05) vcpu-0 - VMXNET3 user: Ethernet0 Driver Info: version = 19932667 gosBits = 2 gosType = 2, gosVer = 25344, gosMisc = 212
<timestamps> In(05) vcpu-0 - [msg.device.startdisconnected] Virtual device 'Ethernet0' will start disconnected.
/var/run/log/hostd.log shows that failure is due to being unable to get the network none.<timestamps> Db(167) Hostd[12796883] [Originator@6876 sub=Vigor.Vmsvc.vm:/vmfs/volumes/<datastore location>/<VM Name>.vmx opID=#####-TxId: ########-####-####-####-############# sid=######## user=vpxuser:VSPHERE.LOCAL\Administrator] NIC: is present message: Device 'ethernet0' does not exist.
<timestamps> Wa(164) Hostd[12796883] [Originator@6876 sub=Vigor.Vmsvc.vm:/vmfs/volumes/<datastore location>/<VM Name>.vmx opID=#####-TxId: ########-####-####-####-############# sid=######## user=vpxuser:VSPHERE.LOCAL\Administrator] Unable to get network object for network none
/var/run/log/vmkernel.log shows failed to connect to a nonexistent switch.
<timestamps> In(182) vmkernel: cpu2:########)World: vm ########: 6916: Starting world vmm0:<VM Name> of type 8The following compares the working and nonworking VMs - ESXi logs -
<timestamps> In(182) vmkernel: cpu2:########)Migrate: 312: vmotion: Dest vmmLeaderID = ########, ts = ############, srcIP = <##.##.##.##> dstIP = <##.##.##.##> Dest wid = 0 using UNSHARED swap, unencrypted
<timestamps> Wa(180) vmkwarning: cpu41:########)WARNING: Net: 2559: connect to vswitch none from world ######## failed: Not found
/var/run/log/hostd.log.
--> backing = (vim.vm.device.VirtualEthernetCard.NetworkBackingInfo) {
--> deviceName = "none",
--> useAutoDetect = <unset>,
--> network = <unset>,
--> inPassthroughMode = <unset>
--> backing = (vim.vm.device.VirtualEthernetCard.OpaqueNetworkBackingInfo) {
--> opaqueNetworkId = "########-####-####-####-#############",
--> opaqueNetworkType = "nsx.LogicalSwitch"
VMware HCX
Follow the HCX - PowerCli operations and best practices, and validate the PowerCLI script.