A general system error occurred: vDS host error: see faultCause Cannot create DVPort ### of VDS <DISTRIBUTED SWITCH NAME> on the host <hostname.example.com>".VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
VMware vCenter Server 7.x
VMware vCenter Server 8.x
Stale virtual machines or templates remain registered to the vCenter through the ESXi host that is being removed.
To verify this:
Review the following documentation for the correct process to remove an ESXi host from a vCenter environment: How to Remove an ESXi Host from Your vCenter Server Instance.