Bug 1232913
| Summary: | Widget reports create with first argument of 'MiqGroup' and last (4th) argument of 'nil' fail with error in 'get_timezone' method | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Thomas Hennessy <thenness> | ||||||||
| Component: | Insight | Assignee: | Lucy Fu <lufu> | ||||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Dave Johnson <dajohnso> | ||||||||
| Severity: | high | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 5.3.0 | CC: | dclarizi, fdewaley, gblomqui, gmccullo, jdeubel, jocarter, mfeifer | ||||||||
| Target Milestone: | GA | ||||||||||
| Target Release: | 5.5.0 | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2015-06-18 15:08:48 UTC | Type: | Bug | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Thomas Hennessy
2015-06-17 19:46:18 UTC
Created attachment 1040061 [details]
distilled messages for widget generations that fail
Created attachment 1040062 [details]
dstille mesages and logs for widget generations that work
Created attachment 1040521 [details]
original process log
the log file for pid 2222 just submitted contains widget failures for 'USER' type widget generation, so the observation about being restricted to 'MiqGroup' is in question. see the following extracted from that log: ===== [----] I, [2015-06-01T13:59:44.182586 #2222:1164008] INFO -- : MIQ(MiqQueue.get_via_drb) Message id: [1000111321540], MiqWorker id: [1000000189618], Zone: [], Role: [reporting], Server: [], Ident: [reporting], Target id: [], Instance id: [1000000000006], Task id: [], Command: [MiqWidget.generate_content], Timeout: [3600], Priority: [100], State: [dequeue], Deliver On: [], Data: [], Args: ["User", "Spider Eng Vsphere", [nil, nil, nil, "si001po.pvt", nil, nil, nil], nil], Dequeued in: [3.107771349] seconds [----] I, [2015-06-01T13:59:44.182802 #2222:1164008] INFO -- : MIQ(MiqQueue.deliver) Message id: [1000111321540], Delivering... [----] I, [2015-06-01T13:59:44.225430 #2222:1164008] INFO -- : MIQ(MiqWidget.generate_one_content_for_user) Widget: [Top Memory Consumers (weekly)] ID: [1000000000006] for group: [Spider Eng Vsphere] users: []... [----] E, [2015-06-01T13:59:44.225997 #2222:1164008] ERROR -- : MIQ(MiqQueue.deliver) Message id: [1000111321540], Error: [undefined method `get_timezone' for nil:NilClass] [----] E, [2015-06-01T13:59:44.226205 #2222:1164008] ERROR -- : [NoMethodError]: undefined method `get_timezone' for nil:NilClass Method:[rescue in deliver] [----] E, [2015-06-01T13:59:44.226313 #2222:1164008] ERROR -- : /var/www/miq/vmdb/app/models/miq_widget.rb:334:in `generate_one_content_for_user' [----] I, [2015-06-01T13:59:44.226562 #2222:1164008] INFO -- : MIQ(MiqQueue.delivered) Message id: [1000111321540], State: [error], Delivered in [0.043760441] seconds ===== *** This bug has been marked as a duplicate of bug 1227426 *** |