Description of problem:
In the openshift-jvm OSGi console, the internal links to packages/bundles/etc are broken by pointing to OPENSHIFT_URL/osgi/... instead of OPENSHIFT_URL/console/java/osgi/...
e.g. generates a link to
instead of the working
Following the borken links lead to an error page.
Version-Release number of selected component (if applicable):
Commit ID: 80441ef1187ce1807e5ce5ea994d869a2c272fcc
Steps to Reproduce:
1. Deploy a version of karaf2-camel-amq FIS quickstart, e.g.
oc create -f https://raw.githubusercontent.com/maschmid/karaf2-camel-amq/bz1393711/karaf2-camel-amq-template.json
oc process s2i-karaf2-camel-amq | oc create -f -
and wait for the build and deployment
2. open the openshift console and find the s2i-karaf2-camel-amq-1-xxxx pod
3. open the "Java Console" on the pod
4. open the OSGi tab
5. open the Packages sub-tab
6. notice the links on the packages or versions, try to follow some
An error page occurs, such as
"message": "User \"system:anonymous\" cannot \"get\" on \"/osgi/package/com.ctc.wstx.osgi/4.4.1\"",
User is redirected to the selected package or version inside the console
Fixes available in openshift-jvm 1.0.60
PR is here https://github.com/openshift/origin-web-console/pull/1101
Fix for master branch is in https://github.com/openshift/origin-web-console/pull/1102
both PRs have merged
Verified on v184.108.40.206 followed steps in "Steps to Reproduce" in comment 0
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.