Skip to content
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

Bindable APB Provision fails if credentials are not created #847

Closed
djzager opened this issue Mar 22, 2018 · 5 comments
Closed

Bindable APB Provision fails if credentials are not created #847

djzager opened this issue Mar 22, 2018 · 5 comments
Assignees
Labels
3.12 | release-1.4 Kubernetes 1.12 | Openshift 3.12 | Broker release-1.4 kind/bug Categorizes issue or PR as related to a bug. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@djzager
Copy link
Member

djzager commented Mar 22, 2018

Bug:

If an APB (or more generically a Service Bundle) is bindable, but does not encode bind credentials as part of the provision step (ie. asb_encode_binding) then the Broker will look for credentials that do not exist and fail.

The error message:

Provision APB error: Unable to retrieve secret [ apb-7facd926-565f-4439-adaf-f47edb46fc5f ] - secrets "apb-7facd926-565f-4439-adaf-f47edb46fc5f" not found

How to reproduce it:

Create an APB with bindable: True, do not encode bind credentials on provision, provision the APB.

@pb82
Copy link
Contributor

pb82 commented Mar 22, 2018

When this happens you will get an error in your service instance that says: Provision call failed: Error occurred during provision. Please contact administrator if it persists.. This is not correct because provision did succeed. You will see this error even when you choose not to bind at provision-time.

The errors in the asb logs were:

[2018-03-22T09:45:44.447Z] [ERROR] - Unable to load secret 'apb-5cf1a88b-7e8f-4644-b2a6-2ce942726fc1' from namespace 'localregistry-unifiedpush-apb-prov-d5f9s'
[2018-03-22T09:45:44.448Z] [ERROR] - apb::provision error occurred - Unable to retrieve secret [ apb-5cf1a88b-7e8f-4644-b2a6-2ce942726fc1 ] - secrets "apb-5cf1a88b-7e8f-4644-b2a6-2ce942726fc1" not found

@rthallisey rthallisey added tech-debt 3.11 | release-1.3 Kubernetes 1.11 | Openshift 3.11 | Broker release-1.3 and removed 3.11 | release-1.3 Kubernetes 1.11 | Openshift 3.11 | Broker release-1.3 tech-debt labels Apr 10, 2018
@jmrodri jmrodri added bug 3.11 | release-1.3 Kubernetes 1.11 | Openshift 3.11 | Broker release-1.3 labels Jul 23, 2018
@jmrodri jmrodri self-assigned this Aug 7, 2018
@jmrodri
Copy link
Contributor

jmrodri commented Aug 28, 2018

Moving this to release-1.4 because this is not a trivial fix.

@jmrodri jmrodri added 3.12 | release-1.4 Kubernetes 1.12 | Openshift 3.12 | Broker release-1.4 and removed 3.11 | release-1.3 Kubernetes 1.11 | Openshift 3.11 | Broker release-1.3 labels Aug 28, 2018
@openshift-ci-robot openshift-ci-robot added kind/bug Categorizes issue or PR as related to a bug. and removed bug labels Apr 14, 2019
@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

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

/lifecycle stale

@openshift-ci-robot openshift-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 6, 2020
@jmrodri
Copy link
Contributor

jmrodri commented Sep 20, 2020

/close

@openshift-ci-robot
Copy link

@jmrodri: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.12 | release-1.4 Kubernetes 1.12 | Openshift 3.12 | Broker release-1.4 kind/bug Categorizes issue or PR as related to a bug. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

6 participants