Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1380392 - openshift-jvm A-MQ console "Browse" doesn't show any messages
openshift-jvm A-MQ console "Browse" doesn't show any messages
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console (Show other bugs)
3.3.0
Unspecified Unspecified
medium Severity medium
: ---
: 3.3.1
Assigned To: Alexandre Kieling
Xia Zhao
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-09-29 08:58 EDT by Marek Schmidt
Modified: 2018-07-18 23:39 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Missing HawtIO UI data table configuration option Consequence: Data table component would not show up Fix: Added the primary key configuration option Result: Data table component started to appear
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-10-27 11:42:38 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2084 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.3.1.3 bug fix update 2016-10-27 15:41:25 EDT

  None (edit)
Description Marek Schmidt 2016-09-29 08:58:56 EDT
Description of problem:

The list of messages in the "Browse" tab in the A-MQ console is empty, with the following javascript error in the borwser logs:

libs-3d3f8220c5.js:5 Error: Missing primary key. Please add a property called 'id', '_id', '_key', or 'name' to your entities. Alternatively, set the 'primaryKeyFn' configuration option.
    at h (https://ose3-master.192.168.122.5.xip.io:8443/console/java/libs-3d3f8220c5.js:44:29003)
    at https://ose3-master.192.168.122.5.xip.io:8443/console/java/libs-3d3f8220c5.js:44:29981
    at Array.forEach (native)
    at y (https://ose3-master.192.168.122.5.xip.io:8443/console/java/libs-3d3f8220c5.js:44:29953)
    at f.$broadcast (https://ose3-master.192.168.122.5.xip.io:8443/console/java/libs-3d3f8220c5.js:6:4777)
    at f.l.sortBy (https://ose3-master.192.168.122.5.xip.io:8443/console/java/libs-3d3f8220c5.js:44:30996)
    at fn (eval at compile (https://ose3-master.192.168.122.5.xip.io:8443/console/java/libs-3d3f8220c5.js:7:20695), <anonymous>:4:230)
    at t (https://ose3-master.192.168.122.5.xip.io:8443/console/java/libs-3d3f8220c5.js:5:25276)
    at r (https://ose3-master.192.168.122.5.xip.io:8443/console/java/libs-3d3f8220c5.js:8:9016)
    at f.$eval (https://ose3-master.192.168.122.5.xip.io:8443/console/java/libs-3d3f8220c5.js:6:3391)(anonymous function) @ libs-3d3f8220c5.js:5

Version-Release number of selected component (if applicable):
openshift v3.3.0.32
kubernetes v1.3.0+52492b4
openshift-jvm Version: 1.0.47 Commit ID: fe68cabf7eb0f96c13dedbf56fae43b0248323d4

How reproducible:

Always (tried Firefox and Google Chrome)

Steps to Reproduce:
1. deploy amq62-basic template, fill MQ_USERNAME / MQ_PASSWORD as "admin" / "admin"
2. click on the "Open Java Console" link in the pod detail view
3. open the ActiveMQ tab
4. click on "Queue" item in the tree on the left and "+ Create"
5. create a queue named "foobar"
6. click on the "foobar" queue in the tree
7. click "Send"
8. Note the warning about amq password, follow the link and set "admin" / "admin" MQ username/password
9. go back to send, send a few plaintext messages
10. Click Browse

Actual results:

Notice no messages are shown. A JavaScript error is shown in the browser logs.

Expected results:

All our sent messages should be listed.

Additional info:
Comment 1 Alexandre Kieling 2016-10-05 11:10:35 EDT
Fixed version: v1.0.48
Comment 2 Jessica Forrester 2016-10-05 11:13:22 EDT
This can't go to MODIFIED until origin-web-console/enterprise-3.3 branch is updated to pull in v1.0.48
Comment 3 Jessica Forrester 2016-10-05 11:28:26 EDT
Vendor into origin-web-console/enterprise-3.3 is started here https://github.com/openshift/origin-web-console/pull/626
Comment 4 Alexandre Kieling 2016-10-05 16:22:11 EDT
A new version with only the bug fixes has been released: v1.0.49
Comment 6 Xia Zhao 2016-10-14 08:06:45 EDT
Checked against 

# openshift version
openshift v3.3.1.1
kubernetes v1.3.0+52492b4
etcd 2.3.0+git

The fix for this bug seems not merged in yet, and the bug is still reproduced. Need a new build containing the fix to verify the bug.

@yapei @yanpzhan please share test env with us if you have.
Comment 8 Peng Li 2016-10-17 01:46:52 EDT
verified on below version[1] and use Firefox, could successfully get the messages[2].

[1]
[root@qe-penli-master-1 ~]# openshift version
openshift v3.3.1.2
kubernetes v1.3.0+52492b4
etcd 2.3.0+git

[2]
Message ID
ID:broker-amq-1-q4z0w-36480-1476682647710-11:1:1:1:1
ID:broker-amq-1-q4z0w-36480-1476682647710-7:1:1:1:1
ID:broker-amq-1-q4z0w-36480-1476682647710-9:1:1:1:1
Comment 10 errata-xmlrpc 2016-10-27 11:42:38 EDT
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-2016:2084

Note You need to log in before you can comment on or make changes to this bug.