Closed gberche-orange closed 4 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/174802358
The labels on this github issue will be updated when the story is started.
There are additionally the following issues with the behavior observed in capi 1.197.0
While orphan migitation seems triggered as a result of a failed async provisionning, CC does not poll the completion of the async deletion. Brokers than rely on the CC to poll their delete completion and receive the operation
field face the risk of leaking underlying broker resources (such as vms in the pivotal ODB broker).
when the user asks for a cf delete-service
, then a second DELETE request is sent to the broker.
Hi @gberche-orange, we will remove the orphan mitigation step for this scenario. We are working on the change. Thank you for raising this with us.
This issue is now fixed and will be included in the next capi-release. We'll close the issue once it's released
CAPI 1.99.0 is out š¢
Closing this issue as it should be fixed. Please reopen if that's not the case!
Issue
As a service broker author
As a service operator
Context
While OSB specifications provide general guidance on when orphan mitigation triggers at https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#orphan-mitigation it adds
In capi releases 1.192.0 and older, the orphan mitigation was applying behavior documented at https://docs.google.com/document/d/11iXxAciCIQpCvrnzmGoEqQIbIVxpn6VDYlm_SVuq9TU/edit
Steps to Reproduce
Expected result
No orphan mitigation triggered (i.e. no DELETE sent to broker on async provisionning failure)
Current result
Broker receives DELETE request in absence of user
cf delete-service
requestPossible Fix
Restore previous behavior and not trigger OM on failed deprovisionning.