After manually re-adding the ESXi hosts to the vSAN cluster, the Quick Start workflow state was impacted and now appears as shown below:
The vSAN health appears with below alert,
The current Issue shows error with distributed port group missing on the DvSwitch.
VMware vSAN 8.x
This issue occurs when port groups that were initially configured via vSAN Quick Start are deleted or recreated.
/var/log/vmware/vpxd/vpxd.log:####-##-##T07:25:14.189Z error vpxd[2141808] [Originator@6876 sub=MoCluster opID=21989934-eb] Managed object not found for DVPG {vim.dvs.DistributedVirtualPortgroup:dvportgroup-##83}####-##-##T07:25:14.189Z error vpxd[2141808] [Originator@6876 sub=MoCluster opID=21989934-eb] Managed object not found for DVPG {vim.dvs.DistributedVirtualPortgroup:dvportgroup-##82}From the vCenters database in the Quickstart settings table vpx_hci_nw_settings for network configuration the below is seen,
$select * from vpx_hci_nw_settings;
dvpg_id, service_type, dvs_id, cluster_id
##83 vsan #### ####
##82 vmotion #### ####
The dvpg_id {##82,##83} belong to the original vSAN and vMotion port group that was created using Quickstart.
Since these two port groups are not deleted the Quickstart service fails to find these port groups and appears broken in the UI.
Run the below steps to resolve the issue,
Capture vCenter snapshot or take vCenter db backup.
Stop vpxd service, using
$service-control --stop vmware-vpxd
Login to vCenter database use,
$/opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres
To get distributed port group information for clusters that was configured using Quickstart use below query,
$select * from vpx_hci_nw_settings;
Ensure that the dvpg_id from the above table matches the dvpg_id from vpxd.log
The stale entries needs to be removed, run below delete command. The dvpg_id will be the id as seen in the vpxd log and the cluster_id will be MOID of the impacted cluster,
$DELETE FROM TABLE_NAME (VPX_HCI_NW_SETTINGS) where DVPG_ID = <value> AND CLUSTER_ID = <value>;
Start vpxd service, use
$service-control --start vmware-vpxd
Re-Launch the vCenter session again and re-login to vCenter UI.
Validate Quickstart, vSAN cluster -> Configure -> Configuration -> Quickstart