-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asynchronous provisioning/deprovisioning and update of cf_service_instance #51
Comments
Thanks @samedguener for this contribution! The OSB specifications don't mandate a timeout for async operation which can then legitimately take up to several days for some brokers. Terraform docs suggests that resources can define standard per resource timeouts for the different phases May be the aws_db_instance resource can provide some inspiration to leverage standard timeout configuration support as well as built-in retries that might avoid blocking sleeps, I ran into this vault retry loop might may provide inspiration ? This enhancement request was also tracked into #35 @mevansam Do you see other UX changes to consider ? |
Thanks for the fast response! I would suggest that we use timeouts as they are used in If you are comfortable with this, I can edit the PR. Best, |
@samedguener +1 for using the same polling loop pattern than what the aws_db_instance does, leveraging the StateChangeConf helper |
@janosbinder the OSB API does support async service instance updates, see https://github.com/openservicebrokerapi/servicebroker/blob/v2.13/spec.md#updating-a-service-instance #52 seems to only acceptance test async provisionning and deprovisionning and not yet async updates. I'm therefore not yet closing it. Please feel free to open a new dedicated issue for "async service instance updates" to carry less history. Assigning to later milestone as this is not a prereq for 1.0. |
This feature is provided by #111 . Thank you @samedguener for your initial contribution. |
Dear contributors,
`
during deployment on our production environment, we faced the following issue:
While deployment of a mongodb instance using development service plans is successful, the deployment using production-grade service plans fails. This is due to the production-grade service plan, which disallow the usage of synchronous service instance instantiation at the service broker.
The Open Server Broker API offers more information regarding asynchronous and synchronous provisioning docs.
I proposed a solution for this in #52 In this solution we request the CF API for the status of the created service instance with
accepts_incomplete=true
enabled as proposed in CF API. We wait until the service instance is started.If there are any open questions, please free to ask.
Best,
Samed
The text was updated successfully, but these errors were encountered: