Bug 1367713
Summary: | JMX/Threads console is blank | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Xia Zhao <xiazhao> | ||||||||||
Component: | Management Console | Assignee: | stlewis <stlewis> | ||||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Yadan Pei <yapei> | ||||||||||
Severity: | medium | Docs Contact: | |||||||||||
Priority: | medium | ||||||||||||
Version: | 3.3.0 | CC: | aileenc, aos-bugs, astefanu, chunchen, hchirino, jforrest, jokerman, mmccomas, pweil, spadgett, tdawson, xiazhao | ||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2016-09-19 13:07:48 UTC | Type: | Bug | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Attachments: |
|
Description
Xia Zhao
2016-08-17 09:34:36 UTC
Created attachment 1191538 [details]
screenshot of the blank mgmt console
Created attachment 1191539 [details]
s2i logs
since this is an OCP (enterprise) bug it will go to MODIFIED after the change is vendored into the origin repo later today Merging into origin in https://github.com/openshift/origin/pull/10495 This has been merged into ose and is in OSE v3.3.0.23 or newer. Verification work is blocked by upstream issue: https://github.com/fabric8io/ipaas-quickstarts/issues/1400 It's failed to deploy jvm pod due to "no main manifest attribute, in /deployments/cdi-camel-archetype.jar", please refer to below testing details: [chunchen@F17-CCY ~]$ mvn archetype:generate -DarchetypeCatalog=https://repo.fusesource.com/nexus/content/groups/public/archetype-catalog.xml -DarchetypeGroupId=io.fabric8.archetypes -DarchetypeVersion=2.2.164 -DarchetypeArtifactId=cdi-camel-archetype [chunchen@F17-CCY cdi-camel-archetype]$ oc new-app -f quickstart-template.json [chunchen@F17-CCY cdi-camel-archetype]$ oc get pod NAME READY STATUS RESTARTS AGE s2i-quickstart-cdi-camel-1-build 0/1 Completed 0 13m s2i-quickstart-cdi-camel-1-deploy 1/1 Running 0 8m s2i-quickstart-cdi-camel-1-lz060 0/1 CrashLoopBackOff 6 8m [chunchen@F17-CCY cdi-camel-archetype]$ oc logs s2i-quickstart-cdi-camel-1-build Pulling image "fabric8/s2i-java@sha256:843f1be826aef974c06731043d8ecaca258b53c417138d73260512b2edc3a1f0" ... Pulling image "fabric8/s2i-java@sha256:843f1be826aef974c06731043d8ecaca258b53c417138d73260512b2edc3a1f0" ... <------------snip----------> <------------snip----------> [INFO] Building jar: /tmp/src/target/cdi-camel-archetype.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 04:16 min [INFO] Finished at: 2016-08-23T07:01:47+00:00 [INFO] Final Memory: 39M/305M [INFO] ------------------------------------------------------------------------ Copying Maven artifacts from /tmp/src/target to /deployments ... Running: cp *.jar /deployments ... done Pushing image 172.30.212.66:5000/cproj/s2i-quickstart-cdi-camel:latest ... Pushed 0/21 layers, 0% complete Pushed 1/21 layers, 5% complete Pushed 2/21 layers, 10% complete Pushed 3/21 layers, 14% complete Pushed 4/21 layers, 19% complete Pushed 5/21 layers, 24% complete Pushed 6/21 layers, 29% complete Pushed 7/21 layers, 33% complete Pushed 8/21 layers, 38% complete Pushed 9/21 layers, 43% complete Pushed 10/21 layers, 48% complete Pushed 11/21 layers, 52% complete Pushed 12/21 layers, 57% complete Pushed 13/21 layers, 62% complete Pushed 14/21 layers, 67% complete Pushed 15/21 layers, 71% complete Pushed 16/21 layers, 76% complete Pushed 17/21 layers, 81% complete Pushed 18/21 layers, 86% complete Pushed 19/21 layers, 90% complete Pushed 20/21 layers, 95% complete Pushed 21/21 layers, 100% complete Push successful [chunchen@F17-CCY cdi-camel-archetype]$ oc logs s2i-quickstart-cdi-camel-1-lz060 Starting the Java application using /opt/run-java/run-java.sh ... I> No access restrictor found, access to any MBean is allowed Jolokia: Agent started with URL https://10.1.1.10:8778/jolokia/ no main manifest attribute, in /deployments/cdi-camel-archetype.jar It's still reproduced, please refer to screenshot named "jvm console screenshot". The messages in comment #9 can be ignored. oc v3.3.0.23-dirty kubernetes v1.3.0+507d3a7 features: Basic-Auth GSSAPI Kerberos SPNEGO Created attachment 1193275 [details]
jvm console screenshot
I can reproduce in origin. We're correctly pulling in the version 1.0.45, updated from Stan's commit. https://github.com/openshift/origin-web-console/pull/407 This is also the latest version of openshift-jvm, although it is from Mar 29. Stan, are you sure that release has the fix? The request from the JVM console to this URL is failing: https://openshiftdev.local:8443/api/v1/namespaces/java-console/pods/https:quickstart-java-simple-mainclass-cyotr:8778/proxy/jolokia/list?canonicalNaming=false&ignoreErrors=true&_=1472043217605 503 (Service Unavailable) I'm using quickstart-java-simple-mainclass to test. I couldn't deploy the s2i-quickstart-cdi-camel in the description because of an error creating the image stream. However, the problem with the proxy request -- at least with quickstart-java-simple-mainclass -- is we're connecting through the proxy using https to a port serving http content. I've just pushed https://github.com/openshift/origin-web-console/pull/469 that hopefully should fix the issue. Commit pushed to master at https://github.com/openshift/origin-web-console https://github.com/openshift/origin-web-console/commit/7e2bbafaebbbf6fbd9dad5619466e1265e2d3248 Fix bug #1367713 - JMX/Threads console is blank several fixes related to this are merged into the console and are merging into origin with https://github.com/openshift/origin/pull/10618 there is still some concern over comment 14 because the jolokia name should not show up on a port that doesn't support https, we only allow communicating with jolokia over https Bumped the jvm console again to fix issues with a number of missing assets, merging to origin in https://github.com/openshift/origin/pull/10650 @xiazhao can you verify in origin with PR 10650 that the Javascript runtime issue is resolved. You will still probably see an issue with actually connecting to the jvm using your example because of what is causing comment 14 which is not a problem in the jvm console but seems to be a problem with the base images being used in your example. The images need to be setting the env var AB_JOLOKIA_AUTH_OPENSHIFT=true If the jvm console JS runtime issue is resolved I want to transfer this to the Images component and to @hchirino Will verify it while the PR 10650 is merged. The issue is fixed in origin, checked with devenv-rhel7_4943. oc v1.3.0-alpha.3+4250e53 kubernetes v1.3.0+507d3a7 features: Basic-Auth GSSAPI Kerberos SPNEGO Verified with OSE version v3.3.0.26, this issue has been fixed. Please set back to ON_QA state for closure, thanks! # openshift version openshift v3.3.0.26 kubernetes v1.3.0+507d3a7 etcd 2.3.0+git moving to MODIFIED so it can get the errata details added, @tdawson its already confirmed to be fixed in 3.3.0.26 This has been merged into ose and is in OSE v3.3.0.27 or newer. Already in errata, so moving it manually to QE. Verified with OSE version v3.3.0.27, this issue has been fixed with the repro of https://bugzilla.redhat.com/show_bug.cgi?id=1371000, set to verified. # openshift version openshift v3.3.0.27 kubernetes v1.3.0+507d3a7 etcd 2.3.0+git |