When users remove the dead hosts directly from vCenter instead of using VCF remove domain workflows, issues may arise later down the road when attempting to remove the host from VCF.
Currently, no resolution is available.
Workaround
There is already support (from VCF 4.5 release) in domain workflows (remove host from cluster) to remove of the stale hosts, if its removed from
unstandardized procedures out of VCF workflows.
From VCF 5.0 release onwards in decommission workflow, there will be a flag (default disabled) which needs to be passed to decommission workflow API in-case the Domain-workflow (remove host from cluster) fails to remove the stale host.
Steps:
This is supported from only API.
Note: Please be cautious while providing the FQDN, provide only those FQDN's(stale hosts FQDN's) which are actually to be removed from VCF inventory, force flag will not do any check whether the host is part of any cluster or not, it will just cleanup inventory and host related configurations in SDDC-Manger.