Fails to delete Spring Cloud Services tile due to error "Unable to remove service binding from mirror-svc"
search cancel

Fails to delete Spring Cloud Services tile due to error "Unable to remove service binding from mirror-svc"

book

Article ID: 297106

calendar_today

Updated On:

Products

Support Only for Spring

Issue/Introduction

When deleting the Spring Cloud Service tile, the errand destroy-broker fails and reports the following error:
An unbind operation for the service binding between app config-server and service instance mirror-svc failed: 
Service broker error: Service instance does not exist: id=f2922f37-c1ca-45d1-96a3-a770d2319321 


Resolution

The config-server service instance has another backend service instance, mirror-srv. The problem is caused by the orphaned mirror-srv instance which blocks the config-server deletion, then blocks the tile deletion. 
 

We can manually delete the mirror-srv and config-server instance: 
 

1. Set target:
cf target -o p-spring-cloud-services -s f2922f37-c1ca-45d1-96a3-a770d2319321 


2. Purge this service instance mirror-svc:

cf purge-service-instance mirror-svc


3. Delete the config-server app:

cf delete config-server
 
After the procedures above are done, please run the errand destroy-broker to delete the SCS tile again.