This article speaks about the restrictions encountered on the SDDC manager UI when attempting to Add or decommission hosts in an imported cluster in the existing workload or management domain. Some of the related scenarios are:
Cluster is marked as imported. This operation is not allowed on imported clusters Remediation: This operation should be performed through vCenter for clusters imported in SDDC Manager.
REMOVE_HOST operation validation failed: Entity: <Cluster_Name> with failed check: Cluster not imported (Severity: CRITICAL) WLD > Cluster > Hosts on the SDDC Manager 9.x UI shows REMOVE SELECTED HOSTS button greyed out with below banner:REMOVE SELECTED HOSTS This operation is not allowed because this cluster was imported

"Next" button is greyed out on the host selection screen, and the resource summary displays: "Selected resources: 0 Cores, 0 GB Memory, 0 GB Storage."
/var/log/vmware/vcf/domainmanager/domainmanager.log will contain the following the traces flagging "Cluster is marked as imported".YYYY-MM-DDThh:mm:ss DEBUG [vcf_dm, ####, ####] [c.v.v.a.s.AssessmentLambdaServiceClient, dm-exec-8] Filtered check results are [class LambdaCheckResultRest {entityName: domain_nameentityType: clusterdescription: Checks whether the cluster has been imported in order to allow/deny cluster operationresultMessage: Cluster is marked as imported. This operation is not allowed on imported clustersseverity: CRITICALstatus: VALIDATION FAILEDremediation: This operation should be performed through vCenter for clusters imported in SDDC Managername: Cluster not imported}]
VMware Cloud Foundation 5.x
VMware Cloud Foundation 9.x
Standard host lifecycle management operations like Addition or Decommission are restricted within the SDDC Manager UI for clusters integrated via the Brownfield Import process and marked as "Imported" in the database.
To resolve this issue follow the below steps.
Log in to the vSphere Client for the associated vCenter Server.
Manually execute the required host operation:
To commission a new host:
Manually add the ESXi host to the target cluster.
Ensure the newly added host configuration (NTP, VMK, networking, NSX, and storage) matches the existing cluster members.Inconsistent storage configurations may cause issues documented in KB SDDC Manager UI failed to load Workload Domains with an error: "Failed to load all domains information".
To decommission a host:
Perform a WLD sync on the SDDC Manager reflect the inventory changes
For VCF 5.x:
Download the VCF Import Toolset (`vcf-brownfield-import-<version>.tar.gz`) and extract the archive onto the SDDC Manager VM /tmp directory
SSH to the SDDC Manager as vcf user ,elevate to root and navigate to the directory containing the VCF Import Toolset script vcf_brownfield.py.
Run the inventory synchronization script to reconcile the SDDC Manager database with the current vCenter state:python3 vcf_brownfield.py sync --domain-name '<domain-name>' --local-admin-password '<password>'
Note: Replace <domain-name> with the exact name of the target Workload Domain, and <password> with the admin@local user password for the SDDC Manager
Verify the script completes with a "SUCCESS" status.
For VCF 9.x
CLI method (via SSH on SDDC Manager):
Navigate to the directory containing the inbuilt VCF Import Toolset scriptcd /opt/vmware/vcf/domainmanager/scripts/vcf-import-tool
Run the inventory synchronization script to reconcile the SDDC Manager database with the current vCenter state:python vcf_brownfield.py sync --domain-name '<domain-name>' --local-admin-password '<password>'
Note: Replace <domain-name> with the exact name of the target Workload Domain, and <password> with the admin@local user password for the SDDC Manager
Verify the script completes with a "SUCCESS" status