-
Notifications
You must be signed in to change notification settings - Fork 363
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
[sapi] 1.93.0 regression. Unable to update meta-data to a service instance being async provisionned #1848
Comments
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/174775179 The labels on this github issue will be updated when the story is started. |
This is raised previously here #1781 Felisia |
thanks @FelisiaM for your prompt response! Yes, embedding the metadata in the V3 service instance creation will address my use case. Sorry for creating this issue on wrong repo, and missing the existing issue on cc_ng. |
@FelisiaM what would be the CF CLI UX / workflow to attach metadata to a service instance being provisionned ? I understand the CF7 create-service-instance does not support specifying metadata as arguments, and that rather a distinct As a result, users won't be able to attach metadata to long async service instances until their provisionning completion. |
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/174776441 The labels on this github issue will be updated when the story is started. |
In response to #1781 (comment)
Have you considered allowing only updates of metadata while there is an operation in progress ? What risks would there be of allowing metadata updates while an operation is in progress ? Potential benefits of this approach:
The previously suggested usage of PUT V3/service_instances/guid with service-instance and metadata is hard to apply by the community because:
|
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/174825693 The labels on this github issue will be updated when the story is started. |
…ess (#1850) Solves #1847 Solves #1848 [#174825693](https://www.pivotaltracker.com/story/show/174825693) [#174825537](https://www.pivotaltracker.com/story/show/174825537)
Thanks @gberche-orange! This issue is now fixed and will be included in the next capi-release. We'll close the issue once it's released |
Thanks a lot @kirederik for the prompt fix, I'll watch the capi release repo to test it. |
CAPI 1.99.0 is released and should contain the fix for this! I'll close it for now but please reopen it if you find any other issues! |
Issue
As a cf user
PATCH /v3/service_instances/guid
endpoint to accept update to metadata although the service instance is still in progressThis behavior regressed with capi 1.93.0
Context
This scenario also affects tooling that provision service instances and need to attach metadata to them (this issue was detected through orange-cloudfoundry/osb-cmdb#65 )
Steps to Reproduce
Expected result
HTTP/1.1 200 OK
Current result
starting with 1.93.0 (and likely related support for async brokers at https://www.pivotaltracker.com/n/projects/2105761/stories/171649250 ) this fails with
CF-AsyncServiceInstanceOperationInProgress(60016): An operation for service instance f0a8f886-76a2-49d8-80eb-5f7230e5f8fe is in progress.
Possible Fix
Allow metadata-only update to a service instance (or service binding) despite the status "in progress"
The text was updated successfully, but these errors were encountered: