After ESXi hosts have been brought back up after a power outage, or from a maintenance task, VMs still show as unknown or invalid in client view:
vSAN Datastore view may not show any VMs:
Characteristics of the issue:
"invalid" or "unknown" in the ESXi host client.esxcli vsan debug object health summary get command output."Maintenance Mode State: On" in esxcli vsan cluster get command output.
If assistance is required, please open a Ticket with VMware by Broadcom Support.
For more information, please refer to: A node is in vSAN Maintenance Mode, even though the UI shows the ESXi host is not.