Data Services Manager standalone region is stuck in deleting state in VCF Automation
search cancel

Data Services Manager standalone region is stuck in deleting state in VCF Automation

book

Article ID: 458369

calendar_today

Updated On:

Products

VMware Data Services Manager

Issue/Introduction

Under VCF Automation Provider Portal > Data Services Manager > Regions, an unexpected or stale region appears in the region inventory. When attempting to disconnect or delete this standalone (also known as Integrated) type region, the operation fails to complete, and the region status becomes stuck indefinitely in the Deleting state.

 

Environment

  • VMware Cloud Foundation
  • VCFA Automation 9.1.1+
  • VMware Data Services Manager (DSM) 9.1.0 (Standalone Region Mode)

Cause

This issue could occur when the same DSM appliance is connected to two different regions simultaneously. While enabling the new region completes successfully, the old region becomes stuck in the Disconnecting state because VCFA's background reconciliation service (Configuration Handler) attempts to execute connect and disconnect workflows for the same underlying DSM appliance concurrently.

Resolution

To resolve this issue, System Administrator can directly delete the dsmBinding Defined Entity (RDE) corresponding to the unexpected/stale region from VCFA using the VCFA REST API.

Please note that the resolution doesn’t destroy the VCFA region or its workloads. Instead, the removal of a DSM Standalone region merely disconnects the existing DSM appliance from the VCFA.

 

  1. Obtain a VCFA Provider Administrator Access Token.

export VCFA_HOST="vcfa.example.com"

export VCFA_USER="admin@system"

export VCFA_PASS="YourPasswordHere"

export ACCESS_TOKEN=$(curl -s -k -X POST \

  "https://${VCFA_HOST}/cloudapi/1.0.0/sessions/provider" \

  -H "Accept: application/json;version=40.0" \

  -u "${VCFA_USER}:${VCFA_PASS}" \

  -i | grep -i "x-vmware-vcloud-access-token:" | awk '{print $2}' | tr -d '\r')

 

echo "Access Token retrieved: ${ACCESS_TOKEN:0:20}..."

 

  1. Locate the Stuck dsmBinding RDE(urn:vcloud:type:broadcom:dsmBinding:1.0.0) ID for the stuck region.

Option A: List All DSM Binding RDEs

curl -s -k -X GET \  "https://${VCFA_HOST}/cloudapi/1.0.0/entities/types/broadcom/dsmBinding/1.0.0" \

  -H "Accept: application/json;version=40.0" \

  -H "Authorization: Bearer ${ACCESS_TOKEN}" | jq .

 

Option B: Query by Specific Region Name

Replace region-1 with your affected region name:

export STUCK_REGION="region-1"

 

curl -s -k -X GET \  "https://${VCFA_HOST}/cloudapi/1.0.0/entities/types/broadcom/dsmBinding/1.0.0?filter=(entity.spec.region==${STUCK_REGION})" \

  -H "Accept: application/json;version=40.0" \

  -H "Authorization: Bearer ${ACCESS_TOKEN}" | jq .

Example API Response:

{

  "resultTotal": 1,

  "values": [

    {

      "id": "urn:vcloud:entity:xxxxx:dsmBinding:########-####-####-####-############",

      "name": "region-1",

      "entityType": "urn:vcloud:type:xxxxxxx:dsmBinding:1.0.0",

      "entity": {

        "spec": {

          "url": "https://###.##.##.##",

          "region": "region-1",

          "ca": "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----"

        },

        "status": {

          "version": "9.1.0.0.25367580",

          "configReady": true,

          "lastConfigTime": "2026-09-03T01:27:00.093Z",

          "usefulErrorMessage": ""

        }

      },

      "state": "RESOLVED"

    }

  ]

}

Copy the id field from the response (e.g., urn:vcloud:entity:broadcom:dsmBinding:########-####-####-####-############).

 

  1. Remove the Stuck dsmBinding RDE directly via HTTP DELETE:

export RDE_ID="urn:vcloud:entity:broadcom:dsmBinding:########-####-####-####-############"

 

curl -s -k -X DELETE \

  "https://${VCFA_HOST}/cloudapi/1.0.0/entities/${RDE_ID}" \

  -H "Accept: application/json;version=40.0" \

  -H "Authorization: Bearer ${ACCESS_TOKEN}" -v

An HTTP 204 No Content status confirms successful deletion.

    1. Verification
    1. Verify via deleted entity CloudAPI:

curl -s -k -X GET \

  "https://${VCFA_HOST}/cloudapi/1.0.0/entities/${RDE_ID}" \

  -H "Accept: application/json;version=40.0" \

  -H "Authorization: Bearer ${ACCESS_TOKEN}" | jq '{minorErrorCode, message}'

Expected Output:

{

  "minorErrorCode": "ACCESS_TO_RESOURCE_IS_FORBIDDEN",

  "message": "[ ########-####-####-####-############ ] This operation is denied."

}

Alternatively, query the region binding list to confirm resultTotal is 0:

curl -s -k -X GET \

"https://${VCFA_HOST}/cloudapi/1.0.0/entities/types/broadcom/dsmBinding/1.0.0?filter=(entity.spec.region==${STUCK_REGION})" \

  -H "Accept: application/json;version=40.0" \

  -H "Authorization: Bearer ${ACCESS_TOKEN}" | jq .

Expected Response:

{

  "resultTotal": 0,

  "pageCount": 0,

  "page": 1,

  "pageSize": 25,

  "values": []

}

    1. Verify via VCFA Provider Portal: Navigate to VCF Services > VMware Data Services Manager > Regions. Confirm that the region is no longer present in the inventory.

Next Step

If you need to re-add DSM as the Standalone region, you can now enable it freshly from VCFA without conflict.

Additional Information

If the DSM service is stuck in Uninstalling, consider KB article https://knowledge.broadcom.com/external/article/458379 (Data Services Manager VCF Service is Stuck in "Uninstalling" or "Unknown" State When Uninstalling the Service from VCF Automation) to forcibly release service resources.