On-Demand service instance deletion not completing in Data Services Suite
search cancel

On-Demand service instance deletion not completing in Data Services Suite

book

Article ID: 293416

calendar_today

Updated On:

Products

Operations Manager

Issue/Introduction

When deleting an on-demand service instance, the deletion process takes a long time or never completes.

Running the command cf service <instance_name> shows the following:
Showing status of last operation from service <instance_name>... 

status: delete in progress


Resolution

Run cf service <instance_name> --guid. This will retrieve the GUID for the service instance, which we will use in the below steps to check on the deletion process.
 
  1. Run bosh -e <env> tasks. If there is a deletion task ongoing, run bosh -e <env> task <task_number> and check on the status.
  2. Run bosh -e <env> deployments | grep <GUID>, where <GUID> is for your service instance. If this does not return a value, we can infer that the deployment was deleted successfully.
  3. Finally, if you have verified that there are no current deletion tasks, and that the deployment has been deleted, run cf purge-service-instance <instance_name> to remove the service instance and child objects from the VMware Tanzu Application Service for VMs database. Please ensure that you are in the right org/space, and are targeting the correct service name.