The Attempted Workflow CREATE_CLUSTER_VALIDATION is Not Supported in the current system state. {1} - VCF
search cancel

The Attempted Workflow CREATE_CLUSTER_VALIDATION is Not Supported in the current system state. {1} - VCF

book

Article ID: 385604

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

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 

 

 

for example we have below incorrect configuration spec
 
 "datastoreSpec",":", {
          "vmfsDatastoreSpec": {
            "fcSpec": [
              {
                "datastoreName": "*****-****-******"
              }]
          }
 
Instead correct configuration spec would be as below,
 
 "datastoreSpec": {
          "vmfsDatastoreSpec": {
            "fcSpec": [
              {
                "datastoreName": "*****-****-******"
              }]
          }
  
Note : On correct spec we are replacing <"datastoreSpec",":", {>  with  <"datastoreSpec": {>

Environment

VCF 4.5

Cause

Provided .json is incorrectly parsed

Resolution

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.