UNSTRECHING a cluster using SDDC Manager Developer Center API calls failed in preparation for deleting stage with error: "This operation is not allowed because cluster XXXXXX-XXX-XXXXX-XXX-XXXXXXXX is imported."
search cancel

UNSTRECHING a cluster using SDDC Manager Developer Center API calls failed in preparation for deleting stage with error: "This operation is not allowed because cluster XXXXXX-XXX-XXXXX-XXX-XXXXXXXX is imported."

book

Article ID: 435768

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

  •  UNSTRECHING a cluster using SDDC Manager Developer Center API calls failed in preparation for deleting stage with error:
    {
    "errorCode": "Forbidden",
    "message": "The attempted functionality UNSTRETCH is not supported in the current system state. This operation is not allowed because cluster xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx is imported."
    }

  • domainmanager.log

    YYYY-MM-DDThh:mm:ss.xxx+0000 DEBUG [vcf_dm,305cb43f7c31493c,fbf5] [c.v.v.f.t.i.FunctionalityToggleApiFilter,http-nio-127.0.0.1-7200-exec-5]  Found ESXi Host IDs: null for request body class: class com.vmware.vcf.rest.api.model.v1.clusters.ClusterUpdateSpec
    YY-MM-DDThh:mm:ss.962+0000 DEBUG [vcf_dm,mxxxxxxxxxxxxxxxx,xxxx] [c.v.v.f.t.i.FunctionalityToggleApiFilter,http-nio-127.0.0.1-7200-exec-5]  cluster id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, domain id: null, hosts ids: null
    YYYY-MM-DDThh:mm:ss.xxx+0000 INFO  [vcf_dm,xxxxxxxxxxxxxxxx,xxxx] [c.v.v.f.t.a.FunctionalityToggleAdapterImpl,http-nio-127.0.0.1-7200-exec-5]  Calling resource functionality api to check if UNSTRETCH is supported with clusterId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx , domainId null, host ids: null
    YY-MM-DDThh:mm:ss.xxx+0000 INFO  [vcf_dm,xxxxxxxxxxxxxxxx,xxxx] [c.v.v.f.t.u.ResourceFunctionalitiesApiHelper,http-nio-127.0.0.1-7200-exec-5]  Calling resource functionalities with resourceType: CLUSTER, taskType: UNSTRETCH, resourceIds: [xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx], isAllowed: false
    YYYY-MM-DDThh:mm:ss.xxx+0000 INFO  [vcf_dm,xxxxxxxxxxxxxxxx,xxxx] [c.v.v.f.t.u.ResourceFunctionalitiesApiHelper,http-nio-127.0.0.1-7200-exec-5]  Retrieved resource functionalities: [class ResourceFunctionalities {
        resourceType: CLUSTER
        resourceId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
        functionalities: [class Functionality {
            type: UNSTRETCH
            isAllowed: false
            errorMessage: This operation is not allowed because cluster xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx is imported.
        }]
    }]

Environment

VCF 9.x

Cause

  • The SDDC Manager Developer Center API blocks the UNSTRETCH operation because the target cluster was imported rather than natively deployed by SDDC Manager. This system state renders the automated UNSTRETCH workflow unsupported via standard API calls.

  • The error string explicitly identifies the cluster's imported state (cluster xxxxxxxxxxxxxxxx,xxxx is imported) as the condition triggering the Forbidden exception during the API operation.

Resolution

  1. Engage with the vSAN team regarding the permanent decommissioning of a node from the vSAN cluster:
    https://knowledge.broadcom.com/external/article?articleNumber=326861

  2. Synchronizing vCenter Manual Changes with SDDC Manager via VCF Operations 9.0:
    https://knowledge.broadcom.com/external/article?articleNumber=425835