Description of problem:Widget report messages that have a final argument (4th argument) of nil fail with get-timezone error for customer who has migrated to 5.3.4.2 from 5.2.4.2. Version-Release number of selected component (if applicable): 5.3.4.2 BUILD 20150415125246_f5d5c91 How reproducible: Customer has provided a copy of their database currently running on the appliance at appliance 'vm-65.gsslab.fab.redhat.com'. the behaviors about which the customer is complaining are reproduced in that environment. Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: I have distilled and attached two sets of materials: one showing the commands which work and the other showing the commands that fail. Notice in the commands that work, the final argument on the ".get" log line each has a time_profile identified by name but for each of the widgets that fail the final argument is the string 'nil'. I suspect that 'nil' was treated differently in prior releases but in the new release results in the get_timezone error.
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 ***