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

errors during getting pods from kube. #13

Open
kborup-redhat opened this issue Jul 4, 2017 · 4 comments
Open

errors during getting pods from kube. #13

kborup-redhat opened this issue Jul 4, 2017 · 4 comments

Comments

@kborup-redhat
Copy link

Im no Jboss expert, so lets not go there, however i see this error in the logs when ever i use the project which is quite nice for a demo.

Are there a permission this project needs to run, or do you want to have a sa with access to some special settings for running it.

06:37:50,719 WARN [org.jgroups.protocols.openshift.KUBE_PING] (Timer-3,shared=tcp) Problem getting Pod json from Kubernetes Client[masterUrl=https://10.244.0.1:443/api/v1, headers={Authorization=#MASKED:845#}, connectTimeout=5000, readTimeout=30000, operationAttempts=3, operationSleep=1000, streamProvider=org.openshift.ping.common.stream.InsecureStreamProvider@d6ee295] for cluster [hornetq-channel], namespace [demo], labels [application=tasks]; encountered [java.lang.Exception: 3 attempt(s) with a 1000ms sleep to execute [OpenStream] failed. Last failure was [java.io.IOException: Server returned HTTP response code: 403 for URL: https://10.244.0.1:443/api/v1/namespaces/demo/pods?labelSelector=application%3Dtasks]]

@emre141
Copy link

emre141 commented Oct 6, 2017

Hello

I am als having the same problem

[root@ansible ~]# oc get secret
NAME TYPE DATA AGE
builder-dockercfg-xrlmf kubernetes.io/dockercfg 1 2h
builder-token-l6m9c kubernetes.io/service-account-token 4 2h
builder-token-r2bw1 kubernetes.io/service-account-token 4 2h
default-dockercfg-5ds3s kubernetes.io/dockercfg 1 2h
default-token-8t4qd kubernetes.io/service-account-token 4 2h
default-token-pmwgn kubernetes.io/service-account-token 4 2h
deployer-dockercfg-dc5kf kubernetes.io/dockercfg 1 2h
deployer-token-25xt9 kubernetes.io/service-account-token 4 2h
deployer-token-gc1d4 kubernetes.io/service-account-token 4 2h
eap-app-secret Opaque 2 2h
eap-service-account-dockercfg-7h09q kubernetes.io/dockercfg 1 2h
eap-service-account-token-3zk7c kubernetes.io/service-account-token 4 2h
eap-service-account-token-bp77r kubernetes.io/service-account-token 4 2h

19:47:33,113 WARNING [org.jgroups.protocols.openshift.KUBE_PING] (Timer-3,shared=tcp) Problem getting Pod json from Kubernetes Client[masterUrl=https://172.30.0.1:443/api/v1, headers={Authorization=#MASKED:911#}, connectTimeout=5000, readTimeout=30000, operationAttempts=3, operationSleep=1000, streamProvider=org.openshift.ping.common.stream.InsecureStreamProvider@635afc39] for cluster [hornetq-channel], namespace [wkocpappdev], labels [application=bookstore]; encountered [java.lang.Exception: 3 attempt(s) with a 1000ms sleep to execute [OpenStream] failed. Last failure was [java.io.IOException: Server returned HTTP response code: 403 for URL: https://172.30.0.1:443/api/v1/namespaces/wkocpappdev/pods?labelSelector=application%3Dbookstore]]

@swvajanyatek
Copy link

I'm seeing this too. Is there a resolution or workaround?
WARNING [org.jgroups.protocols.openshift.KUBE_PING] (Timer-2,shared=tcp) Problem getting Pod json from Kubernetes Client[masterUrl=https://172.30.0.1:443/api/v1, headers={}, connectTimeout=5000, readTimeout=30000, operationAttempts=3, operationSleep=1000, streamProvider=org.openshift.ping.common.stream.TokenStreamProvider@49c9f1a9] for cluster [$TEIID_BM$], namespace [ss-jdv], labels [application=datavirt-app]; encountered [java.lang.Exception: 3 attempt(s) with a 1000ms sleep to execute [OpenStream] failed. Last failure was [java.io.IOException: Server returned HTTP response code: 403 for URL: https://172.30.0.1:443/api/v1/namespaces/ss-jdv/pods?labelSelector=application%3Ddatavirt-app]]

@venkat566
Copy link

Similar error... Any updates ?

@siamaksade
Copy link
Collaborator

The logs just show a warning. Are there any errors as a result in the demo flow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants