When attempting to add a new vSAN cluster to an existing VI Workload Domain via the SDDC Manager API, the task fails with the following error in the UI:
PUBLIC_INTERNAL_SERVER_ERRORKLMFDU (or similar)Review of the /var/log/vmware/vcf/domainmanager/domainmanager.log on the SDDC Manager appliance reveals:
DEBUG [vcf_dm] DomainsPatchHandler: Calculated handler as DomainsPatchHandler
INFO [vcf_dm] SKU: EMS, Operation type: CLUSTER_IMPORT
ERROR [vcf_dm] Failed to update Domain [ID]: SKUType with value: EMS is not supported for update
VCF 5.x
This issue occurs because the PATCH /v1/domains/{id} API endpoint, when used with a DomainUpdateSpec for cluster imports, is architecturally restricted to Dell VxRail environments.
PATCH domain workflow to import clusters managed by VxRail Manager into the SDDC Manager inventory.CLUSTER_IMPORT operation via the domain-level PATCH endpoint for EMS hardware.To resolve this issue, use the dedicated Clusters API instead of the Domain Patch API.
Instead of patching the domain, you must create the cluster directly using the POST method.
POST /v1/clustersClusterCreationSpec JSON body.vcenterId: The ID of the vCenter managing the domain.clusterSpecs: Details including the cluster name and host IDs.networkSpec: VDS and Port Group specifications.storageSpec: vSAN configuration details.