openshift / origin-web-console

Web Console for the OpenShift Application Platform
https://www.openshift.org/
Apache License 2.0
123 stars 230 forks source link

Cannot access cluster console 3.11 #3158

Closed freeeflyer closed 4 years ago

freeeflyer commented 4 years ago

The "cluster console" does not work..

Version
# oc version
oc v3.11.0+62803d0-1
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://tataouine:8443
openshift v3.11.0+bd0bee4-337
kubernetes v1.11.0+d4cacc0
Steps To Reproduce
  1. Install OKD (with ansible, see attached inventory file here : inventory.txt)
  2. Connect to web console console and login (you now see the app catalog)
  3. Click on "Application console" dropdown, then choose "Cluster console"
Current Result

"server console.apps.okd.xxx.xxx.xxx does not accept connections"

Expected Result

I don't know, I've never seen it work, Maybe something about nodes and all stuff about the cluster ?

Additional Information

see the result of command oc adm diagnostics > /tmp/oc_adm_diagnostics.txt here: oc_adm_diagnostics.txt

freeeflyer commented 4 years ago

Well I think it may be a router problem.. my pod "router-2-deploy" is in error..

spadgett commented 4 years ago

Right, the 3.11 cluster console is only accessible behind a route, and it looks like your router is broken:

ERROR: [DClu2007 from diagnostic ClusterRouter@openshift/origin/pkg/oc/cli/admin/diagnostics/diagnostics/cluster/router.go:162]
       The "router" DeploymentConfig exists but has no running pods, so it
       is not available. Apps will not be externally accessible via the router.
freeeflyer commented 4 years ago

Right, the 3.11 cluster console is only accessible behind a route, and it looks like your router is broken:

I came to this conclusion too.. I'm stuck and I don't know how to diagnose my router (or router deployment pod) problem All I have as a diagnosis stuff is that :

# oc logs pod/router-2-deploy
--> Scaled older deployment router-1 down
--> Scaling router-2 to 1
error: update acceptor rejected router-2: pods for rc 'default/router-2' took longer than 600 seconds to become available

When it is trying to launch the actual router pod the only thing I have is that:

# oc logs pod/router-2-29vg7
I1115 17:33:15.874559       1 template.go:297] Starting template router (v3.11.0+bd0bee4-337)
I1115 17:33:15.878996       1 metrics.go:147] Router health and metrics port listening at 0.0.0.0:1936 on HTTP and HTTPS
E1115 17:33:15.890563       1 haproxy.go:392] can't scrape HAProxy: dial unix /var/lib/haproxy/run/haproxy.sock: connect: no such file or directory

I'm a bit lost.

spadgett commented 4 years ago

cc @ironcladlou

freeeflyer commented 4 years ago

As it seems to be a router issue, I've put it there : https://github.com/openshift/router/issues/63

spadgett commented 4 years ago

Thanks, closing in favor of openshift/router#63

/close

openshift-ci-robot commented 4 years ago

@spadgett: Closing this issue.

In response to [this](https://github.com/openshift/origin-web-console/issues/3158#issuecomment-555011292): >Thanks, closing in favor of openshift/router#63 > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.