You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.
Describe the bug
Thanks for the great work. Testing how to return a custom failed error message, I never see it being returned in SFServiceInstance (and hence nor by the service broker)
To Reproduce
Steps to reproduce the behavior:
Given a SFPlan with the following status template
templates:
- action: statuscontent: |- # Status template for provision call provision: state: failed description: a custom error message
When the SFServiceInstance gets provisionned, then its status does not contain the description or error field
However, when the status template is missing, then a proper error message is returned
status: │
│ appliedSpec: │
│ planId: "" │
│ serviceId: "" │
│ description: sources template not found for plan 24d7d4c8-6fe2-4c2a-a5ca-b826937d5a88 │
│ error: |- │
│ Retry threshold reached for 930f66eb-3311-4aa2-8037-16ad164b1384. │
│ sources template not found for plan 24d7d4c8-6fe2-4c2a-a5ca-b826937d5a88 │
│ state: failed │
The provisionner logs include the following trace provisioner-6c44c77565-8l7rt2021-12-13T17:12:39.649Z INFO provisioners.instance Updating provision status from template {"instanceID": "5a29d700-3c08-4d5e-a68a-3e6cae710ab4", "state": "in progress", "lastOperation": "in_queue", "newState": "failed"}
gberche-orange
changed the title
service instance custom error message in status template are not returned
service instance custom error message in status template is not returned
Dec 13, 2021
Describe the bug
Thanks for the great work. Testing how to return a custom failed error message, I never see it being returned in SFServiceInstance (and hence nor by the service broker)
To Reproduce
Steps to reproduce the behavior:
Given a SFPlan with the following status template
When the SFServiceInstance gets provisionned, then its status does not contain the description or error field
However, when the status template is missing, then a proper error message is returned
The provisionner logs include the following trace
provisioner-6c44c77565-8l7rt2021-12-13T17:12:39.649Z INFO provisioners.instance Updating provision status from template {"instanceID": "5a29d700-3c08-4d5e-a68a-3e6cae710ab4", "state": "in progress", "lastOperation": "in_queue", "newState": "failed"}
Expected behavior
The SFServiceInstance and service broker should return the description to the osb client, as documented in the OSB specs at https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#body-1
Additional context
Reproduced with helm chart version: 0.19.0
Possibly related to #1305
The text was updated successfully, but these errors were encountered: