VMware vSAN 7.x
VMware vSAN 8.x
The vSAN data nodes will communicate with the witness nodes using the management network. On the management network, we need to configure the vSAN witness tag.
Since the tag was not configured on the management network, the communication is failing.
Configured the vSAN witness tag on the management network of the data nodes using the below command:
esxcli vsan network ip add -i vmkx -T=witness
Refer the following kb for more information on how to configure network for the data and the witness nodes, How to configure a witness appliance for use with a direct connect 2-node vSAN cluster.
Post that the communication to the witness node was happening without issues.
The cluster partition issue will be resolved after that.