-
Notifications
You must be signed in to change notification settings - Fork 434
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
Part 2 of PR #579 #591
base: master
Are you sure you want to change the base?
Part 2 of PR #579 #591
Conversation
Hey duglin! Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA. |
thanks @duglin for this fix. Since the May be the table at https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#orphans should be updated to describe the status=failed response, and the following sentence would need to describe the update operation as well.
Maybe something like the following
|
@duglin before merging this, check out @gberche-orange comment. I think it's important enough to add a clarification for. |
@gberche-orange I agree we should add text so that async responses that fail follow the same orphan mitigation rules as sync failures - I'll work on that. Why are you suggesting that a failed update should not be automatically deleted? The spec right now is basically silent on this point as of now, so I'm curious to know why you want us to change that. |
As discussed into #579 (comment) the specs need such improvement to properly address #508 . The action decided in just #508 (comment) was insufficient, and I believe a explicit sentence is necessary
|
@gberche-orange I guess what you're suggesting is that we simply codify into the spec what existing platforms are probably doing today (meaning, "nothing" and leave it up to the end-user to decide). I'd like to think more about this... something about this feels odd to me but I can't put into words why... yet. |
Ping @openservicebrokerapi/osbapi-pmc |
Adding do-no-merge since I think I have a todo on this one |
ping @duglin do you think you'll be able to finish this one or should we find a new owner? |
Will try over xmas |
@mattmcneeney I think that #598 goes a long way to making a solution for this a lot easier, but it's missing a few things before we could close this one: @gberche-orange do I have that right? If so, @mattmcneeney would you want to add that to #598 (and close this one) or do you want this PR to just build on top of it? |
Let's keep them separate in an attempt to make reviews smaller and get them in quicker! |
b02c120
to
966d89d
Compare
@gberche-orange @mattmcneeney see if this looks ok now |
on it... |
Thank you @duglin ! I've also forgotten what this PR is actually for, so maybe you could update the description whilst you're at it :) |
dca2422
dca2422
to
53b594b
Compare
Updated changes and the description |
spec.md
Outdated
@@ -1691,6 +1691,7 @@ by the Platform: | |||
| _All_ | 200 | Success | No | No | | |||
| _All_ | 200 with malformed response | Failure | No | No | | |||
| [Polling Last Operation for Service Instances](#polling-last-operation-for-service-instances) for [Provisioning](#provisioning)/[Deprovisioning](#deprovisioning) | 200 with `"state": "failed"` | Failure | Yes | No | | |||
| [Polling Last Operation for Service Instances update](#polling-last-operation-for-service-instances)) | 200 with `"state": "failed"` | Failure | No | No | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consistency, could the first column be changed to:
[Polling Last Operation for Service Instances](#polling-last-operation-for-service-instances) for [Updating](#updating-a-service-instance)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch - done!
Signed-off-by: Doug Davis <[email protected]>
Do we still need this PR? |
I believe so, it clarifies that failed update should never trigger orphan management, which is otherwise still unspecified despites improvements brought by #661 around failed updates |
I missed this part of the spec that had similar text to what we edited
as part of #579.
So this is part 2 of that PR.
It makes it clear that upon a failed instance.update() operation, we should not do orphan mitigation.
thanks @gberche-orange
Signed-off-by: Doug Davis [email protected]