Module VM on power on failed. Failed to start the virtual machine. Failed to power on VM. Could not power on virtual machine: Failure. Failed to create swap file "/vmfs/volumes/vsan:################-################/########-####-####-####-############/#######-#####.vswp'vSAN: Basic (unicast) connectivity check vSAN : MTU check (ping with large packet size)vSAN cluster partitionvSAN object healthStats DB objectvSAN: Basic (unicast) connectivity check" confirms that the witness cannot communicate with one specific host in the cluster, though communication between the witness and the other host remains functional.VMware vSAN
To successfully power on a virtual machine, a healthy virtual machine swap file must be created. For this creation to succeed, all hosts required to satisfy the assigned storage RAID policy must have proper communication.
In this scenario
The witness host fails to communicate with one of the data nodes. This network partition prevents the virtual machine swap file creation, causing the VM power-on to fail. The witness communication failure occurs because vSAN witness traffic is not enabled on the affected data node's VMkernel adapter.esxcli vsan cluster unicastagent listNodeUuid IsWitness Supports Unicast IP Address Port Iface Name Cert Thumbprint SubClusterUuid------------------------------------ --------- ---------------- ------------ ----- ---------- ----------------------------------------------------------------------------------------------- --------------Host-1 UUID 0 true ###.##.#.AA ##### ##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:## ########-####-####-####-############Host-2 UUID 0 true ###.##.#.BB ##### ##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:## ########-####-####-####-############esxcfg-vmknic -l |grep -i "###.##.#.AA"Interface Port Group/DVPort/Opaque Network IP Family IP Address Netmask Broadcast MAC Address MTU TSO MSS Enabled Type NetStackvmk0 #### IPv4 ###.##.#.AA ###.###.###.### ###.##.#.### ##:##:##:##:##:## #### ##### true STATIC defaultTcpipStackvmk0), and only vSAN traffic is enabled (e.g., vmk2):esxcli vsan network listInterface VmkNic Name: vmk2 IP Protocol: IP Interface UUID: ########-####-####-####-############ Agent Group Multicast Address: ###.#.#.# Agent Group IPv6 Multicast Address: ####::#:#:# Agent Group Multicast Port: ##### Master Group Multicast Address: ###.#.#.# Master Group IPv6 Multicast Address: ####::#:#:# Master Group Multicast Port: ##### Host Unicast Channel Bound Port: ##### Data-in-Transit Encryption Key Exchange Port: 0 Multicast TTL: 5 Traffic Type: vsan
esxcli vsan network listInterface VmkNic Name: vmk2 IP Protocol: IP Interface UUID: ########-####-####-####-############ Agent Group Multicast Address: ###.#.#.# Agent Group IPv6 Multicast Address: ####::#:#:# Agent Group Multicast Port: ##### Master Group Multicast Address: ###.#.#.# Master Group IPv6 Multicast Address: ####::#:#:# Master Group Multicast Port: ##### Host Unicast Channel Bound Port: ##### Data-in-Transit Encryption Key Exchange Port: 0 Multicast TTL: 5 Traffic Type: vsan
Interface VmkNic Name: vmk0 IP Protocol: IP Interface UUID: ########-####-####-####-############ Agent Group Multicast Address: ###.#.#.# Agent Group IPv6 Multicast Address: ####::#:#:# Agent Group Multicast Port: ##### Master Group Multicast Address: ###.#.#.# Master Group IPv6 Multicast Address: ####::#:#:# Master Group Multicast Port: ##### Host Unicast Channel Bound Port: ##### Data-in-Transit Encryption Key Exchange Port: 0 Multicast TTL: 5 Traffic Type: witness
To resolve this issue, enable vSAN witness traffic on the appropriate VMkernel adapter for the affected host:
Configure > Networking > VMkernel adapters.