Description of problem: openshift-jvm OSGi: Bundles tab shows 'TypeError: t.bundles.sortBy is not a function' in JavaScript console (Webconsole in Firefox) Version-Release number of selected component (if applicable): openshift-jvm version: 1.0.50 How reproducible: always Steps to Reproduce: 1. Deploy some camel route to OCP (for example https://github.com/jboss-fuse/application-templates/blob/application-templates-2.0.fuse-000008/quickstarts/karaf2-camel-amq-template.json) 2. Open Java console from s2i-karaf2-camel-amq-xxx pod page 3. OSGi tab -> Bundles 4. See JavaScript console in browser Actual results: 'TypeError: t.bundles.sortBy is not a function' in JavaScript console (Webconsole in Firefox)
Fix ready for testing. Please use openshift-jvm v1.0.52
in web console in https://github.com/openshift/origin-web-console/pull/858
This has been merged into ocp and is in OCP v3.4.0.25 or newer.
@Libor Is OSGi tab only available when test karaf2?I tried karaf-camel-amq and karaf-camel-rest-sql archetype, haven't seen such a tab. If so, can you give the steps to deploy karaf2-camel-amq? I use below steps to deploy karaf-camel-rest-sql 1. instantiate a FIS maven archetype, mvn archetype:generate \ -DarchetypeCatalog=https://repo.fusesource.com/nexus/content/groups/public/io/fabric8/archetypes/archetypes-catalog/2.2.0.redhat-079/archetypes-catalog-2.2.0.redhat-079-archetype-catalog.xml \ -DarchetypeGroupId=io.fabric8.archetypes \ -DarchetypeVersion=2.2.0.redhat-079 \ -DarchetypeArtifactId=karaf-camel-rest-sql-archetype 2. process and apply the template (from the file in the archetype) oc process -f quickstart-template.json -v GIT_REPO=. | oc create -f - # start a binary build oc start-build s2i-quickstart-karaf-camel-rest-sql --from-dir=.
You need to use https://github.com/jboss-fuse/application-templates/blob/application-templates-2.0.redhat-000026/quickstarts/karaf2-camel-amq-template.json. This should be enough for building and deploying amq karaf2 quickstart. Other steps like mvn should not be needed.
verified OpenShift v3.4.0.26+f7e109e
Created attachment 1222624 [details] screenshot
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. https://access.redhat.com/errata/RHBA-2017:0066