question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OAuthProxy Pod deployment fails - using latest OpenShift Templates

See original GitHub issue

Attempt to install the latest Syndesis app (using syndesis-restricted template on the master branch) - results in failure, the OAuthProxy Pod fails to spin up. This error does not occur with branch 1.2.2-fix, in fact, with the code in that branch the app installs smoothly.

Error in OAuthproxy pod, due to the code in master branch, is "Container: syndesis-oauthproxy — Crash loop back off" on the web console.

The log file for the pod is :

2018/02/05 08:14:33 main.go:134: Invalid configuration:

  | unable to load OpenShift configuration: unable to retrieve authentication information for tokens: User "system:serviceaccount:fuse-7234:syndesis-oauth-client" cannot create tokenreviews.authentication.k8s.io at the cluster scope: User "system:serviceaccount:fuse-7234:syndesis-oauth-client" cannot create tokenreviews.authentication.k8s.io at the cluster scope (post tokenreviews.authentication.k8s.io)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
paoloantinoricommented, Feb 5, 2018

you should either use official provisioning steps, as described here:

https://doc.syndesis.io/#syndesis-install

or add the missing step in your workflow that is:

add_auth_delegator_role() {
    local currentUser=$(oc whoami)
    oc login -u system:admin
    oc adm policy add-cluster-role-to-user system:auth-delegator -z syndesis-oauth-client
    oc login -u $currentUser
}

add_auth_delegator_role
0reactions
zregvartcommented, Mar 6, 2018

I think we can close this now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

1779388 – container oauth-proxy has crashlooping
Cause: the oauth-proxy container exits with an error when there is an error ... Managed cluster should have no crashlooping pods in core...
Read more >
openshift/oauth-proxy - GitHub
A reverse proxy that provides authentication with OpenShift via OAuth and Kubernetes ... This proxy is best used as a sidecar container in...
Read more >
OpenShift Container Platform 4.7 release notes
Red Hat OpenShift Container Platform provides developers and IT organizations with a hybrid cloud application platform for deploying both new and existing ...
Read more >
Operator for Kubernetes — Jaeger documentation
When a new Jaeger CR is detected, an operator will attempt to set itself as the ... <1> This creates the namespace used...
Read more >
Using OpenShift OAuth Proxy to secure your Applications on ...
Published on July 30, 2019 · Last updated on August 31, ... In this blog post we are going to deploy OAuth Proxy...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found