Red Hat Bugzilla – Bug 1226366
MIQ(MiqWidget.get_group) Unable to find group '' in evm.log
Last modified: 2015-12-08 08:12:56 EST
Description of problem: Multiple WARN -- : MIQ(MiqWidget.get_group) Unable to find group '' in evm.log Version-Release number of selected component (if applicable): 5.4.0.2.20150519003830_673f996 How reproducible: Unknown Steps to Reproduce: 1. Not able to reproduce so far 2. 3. Actual results: WARN -- : MIQ(MiqWidget.get_group) Unable to find group '' Expected results: No error Additional info: Low severity because cause is unknown Other possibly relevant messages: INFO -- : MIQ(MiqWidget.create_task) Created MiqTask ID: [7], Name: [Generate Widget: 'EVM: Recently Discovered Hosts'] for: [1] groups INFO -- : MIQ(MiqWidget.create_task) Created MiqTask ID: [7], Name: [Generate Widget: 'EVM: Recently Discovered Hosts'] for: [1] groups INFO -- : MIQ(MiqQueue.put) Message id: [8086], id: [], Zone: [], Role: [reporting], Server: [], Ident: [reporting], Target id: [], Instance id: [8], Task id: [], Command: [MiqWidget.generate_content], Timeout: [3600], Priority: [100], State: [ready], Deliver On: [], Data: [], Args: ["MiqGroup", "EvmGroup-super_administrator", nil, ["UTC"] ]
Lucy - Can you provide any insight into why we would see this warning message? In at least one path it looks like we end up using the current group for the user in this case.
Will try to reproduce after finishing up the high priority bugs.
Reproducer: 1) For new appliance, Cloud Intelligence > Dashboard 2) Plus symbol [upper right], add widget 3) Default Dashboard should refresh from "No data" to reports/graphs/charts 4) Check evm.log for 9 messages (1 per widget)
https://github.com/ManageIQ/manageiq/pull/3124
New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/145c5fb9f7b6c9cb6eeffb38d18bc78cecccb6a3 commit 145c5fb9f7b6c9cb6eeffb38d18bc78cecccb6a3 Author: Lucy Fu <lufu@redhat.com> AuthorDate: Wed Jun 10 17:12:28 2015 -0400 Commit: Lucy Fu <lufu@redhat.com> CommitDate: Wed Jun 10 17:13:34 2015 -0400 Let MiqWidget.get_group check for nil group. https://bugzilla.redhat.com/show_bug.cgi?id=1226366 vmdb/app/models/miq_widget.rb | 2 ++ 1 file changed, 2 insertions(+)
New commit detected on cfme/5.4.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=dafb7b77caf6842e1913457bd4fd070efd8e65ba commit dafb7b77caf6842e1913457bd4fd070efd8e65ba Author: Lucy Fu <lufu@redhat.com> AuthorDate: Wed Jun 10 17:12:28 2015 -0400 Commit: Lucy Fu <lufu@redhat.com> CommitDate: Mon Jun 15 12:43:56 2015 -0400 Let MiqWidget.get_group check for nil group. https://bugzilla.redhat.com/show_bug.cgi?id=1226366 vmdb/app/models/miq_widget.rb | 2 ++ 1 file changed, 2 insertions(+)
Verified in 5.5.0.5-beta1.1.20151007163855_ed40d96
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/RHSA-2015:2551