Network adapter of restored VM cannot connect
Applies to
- SnapCenter Plug-in for VMware vSphere (SCV)
- VMware ESXI
- VMware vCenter Server
Issue
- When doing a restore of a VM the machine starts without any connected ethernet card.
- The Network Adapter's connected checkbox of the VM is unchecked .
- After starting VM restored by SCV, vSphere Client shows error:
Failed to connect virtual device 'Ethernet0'
- On the Event we can see a warning :
Warning message on <VM name> on <esxi> : Virtual device Ethernet0 will start disconnected
vpxd.log
in vCenter server reports error:
2023-05-16T01:45:20.903+00:00 info vpxd[04426] [Originator@6876 sub=Default opID=69126e69-01] [VpxLRO] -- ERROR lro-48630780 -- -- VmprovWorkflow: vim.fault.InvalidDeviceSpec:
--> Result:
--> (vim.fault.InvalidDeviceSpec) {
--> faultCause = (vmodl.MethodFault) null,
--> faultMessage = <unset>,
--> property = "virtualDeviceSpec.device.backing",
--> deviceIndex = 0
--> msg = "Invalid configuration for device '0'."
--> }
vmkernel.log
in ESXi reports error:
2023-05-16T01:45:20.280Z cpu47:3179109)WARNING: NetDVS: 1735: Connection ids don't match, port <PORT> (type 1), cid: 1773208950, *cidp: 952181939
2023-05-16T01:45:20.280Z cpu47:3179109)WARNING: NetDVS: 796: Connect to DVS port <PORT> failed Operation not permitted
2023-05-16T01:45:20.280Z cpu47:3179109)Net: 3480: DVS <ID> port 0 not associated: Operation not permitted.
- No errors are seen in SCV restore job.