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:
Fixed version: v1.0.48
This can't go to MODIFIED until origin-web-console/enterprise-3.3 branch is updated to pull in v1.0.48
Vendor into origin-web-console/enterprise-3.3 is started here https://github.com/openshift/origin-web-console/pull/626
A new version with only the bug fixes has been released: v1.0.49
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.
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
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