Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

On provision, service-catalog doesn't write the description or status code of an unexpected broker response #914

Closed
arschles opened this issue Jun 5, 2017 · 7 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.
Milestone

Comments

@arschles
Copy link
Contributor

arschles commented Jun 5, 2017

If a broker doesn't return an expected response code, it writes nothing into the status.conditions field of the newly created Instance. It should at least write the status code returned by the broker server.

Repro steps:

  1. Follow all steps in this demo repository through "View Service Classes"
  2. Follow steps in "Provision a New Service"
  3. Follow steps in "Provision a New Service" again
  4. Notice that the 2nd Instance has an empty conditions field, while the broker server failed and the controller logs showed an error response from the broker server

Note that service-catalog currently implements a proper client for the OSB API spec, but silently failing for brokers that are not 100% adherent to the spec presents a very difficult user experience. I'd like for at least the status code and the response body to be written into a condition in the failed Instance's status.conditions field.

@arschles arschles added the kind/bug Categorizes issue or PR as related to a bug. label Jun 5, 2017
@arschles arschles added this to the 0.0.10 milestone Jun 5, 2017
arschles added a commit to arschles/kubernetes-service-catalog that referenced this issue Jun 8, 2017
@MHBauer
Copy link
Contributor

MHBauer commented Jun 12, 2017

I read through #925 & #915 and I am missing some higher level understanding to get what is being addressed here.

arschles added a commit to arschles/kubernetes-service-catalog that referenced this issue Jun 13, 2017
@pmorie pmorie modified the milestones: 0.0.11, 0.0.10 Jun 14, 2017
arschles added a commit to arschles/kubernetes-service-catalog that referenced this issue Jun 20, 2017
arschles added a commit to arschles/kubernetes-service-catalog that referenced this issue Jun 20, 2017
@arschles arschles modified the milestones: 0.0.11, 0.0.12 Jun 21, 2017
arschles added a commit to arschles/kubernetes-service-catalog that referenced this issue Jun 23, 2017
arschles added a commit to arschles/kubernetes-service-catalog that referenced this issue Jun 23, 2017
arschles added a commit to arschles/kubernetes-service-catalog that referenced this issue Jun 26, 2017
@duglin duglin added this to the 1.0.0 milestone Jul 10, 2017
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 21, 2019
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels May 21, 2019
@jberkhahn jberkhahn removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label May 23, 2019
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 21, 2019
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 20, 2019
@k8s-ci-robot k8s-ci-robot added the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Sep 20, 2019
@mszostok
Copy link
Contributor

/remove-lifecycle rotten
/lifecycle frozen

@k8s-ci-robot k8s-ci-robot added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. labels Sep 20, 2019
@mrbobbytables
Copy link

This project is being archived, closing open issues and PRs.
Please see this PR for more information: kubernetes/community#6632

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.
Projects
None yet
Development

No branches or pull requests

9 participants