-
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
capi 1.97.0 breaking change: "cf set-label service-instance" swallows service instance status and message #1847
Comments
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/174825537 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)
This issue is now fixed and will be included in the next capi-release. We'll close the issue once it's released. Thanks for bringing it to our attention @gberche-orange ! |
CAPI 1.99.0 is out 🚀 Closing this issue as it should be fixed. Please re-open if that's not the case! |
Issue
As a cf-user
Rationale: labels and annotations can be assigned to service instances by different personas such as automated tooling (for use cases such as recharging, alarming, etc...) which should be independent of the service instance resource lifecycle (which is kept in sync with the vision exposed by the associated service broker)
Context
Support for attaching metadata has been around for a while now, and enable users and tooling to attach metadata to cloudfoundry resources, including service instances.
Starting with recent capi version (likely 1.93.0) with work on service instances in v3 api, the equivalent of a
cf set-label service-instance
has the side effect of resetting the service instance status and message fields.Steps to Reproduce
then update metadata for this service
Expected result
The service instance should still remain on the failed state
Current result
The service instance is unexpectedly observed to be in the success state and its associated message got lost
Possible Fix
Likely related to https://github.com/cloudfoundry/capi-release/issues/183 distinguish metadata-only update on a service instance (which should not lead to locking or status update), from a general service instance update which should indeed trigger locking and status update.
name of issue
screenshot[if relevant, include a screenshot]
The text was updated successfully, but these errors were encountered: