Adding vSphere cluster or create cluster validation with clusterCreationSpec API fails with below error:
"The attempted functionality CREATE_CLUSTER_VALIDATION is not supported in the current system state. {1}"
Below log entries we see in domainmanager logs:
yyyy-mm-ddThh:mm:ss:48.848+0000 ERROR [vcf_dm,9c1e1c4fbc294e44,723c] [c.v.v.d.f.h.ClustersPostHandler,http-nio-127.0.0.1-7200-exec-2] Exception thrown when reading request body to determine domain id for context.yyyy-mm-ddThh:mm:ss:48.848+0000 ERROR [vcf_dm,9c1e1c4fbc294e44,723c] [c.v.v.d.f.DMFunctionality,http-nio-127.0.0.1-7200-exec-2] Exception thrown when getting context id from request.yyyy-mm-ddThh:mm:ss:48.850+0000 ERROR [vcf_dm,9c1e1c4fbc294e44,723c] [c.v.v.f.t.i.FunctionalityToggleApiFilter,http-nio-127.0.0.1-7200-exec-2] Exception thrown when computing functionality:com.vmware.evo.sddc.common.core.error.InvalidInputException: Failed to retrieve the domain context id with request com.vmware.evo.sddc.rest.client.MultiReadRequestWrapper@65978103. at com.vmware.vcf.domainmanager.functionality.DMFunctionality.getDomainId(DMFunctionality.java:416)
Incorrect entries available in the .json of clusterCreationSpec
"datastoreSpec",":", { "vmfsDatastoreSpec": { "fcSpec": [ { "datastoreName": "*****-****-******" }] } "datastoreSpec": { "vmfsDatastoreSpec": { "fcSpec": [ { "datastoreName": "*****-****-******" }] }VCF 4.5
Provided .json is incorrectly parsed
Review the .json file again and make sure no incorrect entries or no empty values are provided for any of the part of the spec.