This article explains how to delete those orphaned service instances in Operations Manager.
Suppose that you delete service broker tiles (such as MySQL, Redis, etc.) before unbinding and deleting all the service instances derived from them.
In this case, you may not be able to delete those service instances with just the "
cf unbind-service" and the "
cf delete-service" commands because it failed to unbind these service instances originally.
Server error, status code: 502, error code: 10001, message: An unbind operation for the service binding between XXXXX and service instance YYYYY failed: The service broker could not be reached: http://192.168.100.163:8080/v2/service_instances/..../service_bindings/.....?accepts_incomplete=true&plan_id=.....&service_id=.....
This behavior happens in the following scenario:
1. Installing a certain service broker tile, such as MySQL.
2. Installing another service tile that requires service instances derived from the existing service broker installed at step 1 and then the service tile creates service instances automatically.
3. Deleting the service broker tile installed in step 1 without noticing the service tile has created service instances in step 2. Now those service instances get orphaned from the service broker.