No data found / No record found in Widget


#1

Hi

I’m having some troubles with the widgets in the dashboards. They aren’t working and i dont know why.
Widgets like “Top CPU Consumers” “Top Memory Consumers” “Guest OS Information”.

The C&U Data Collection and Smart State Analysis are working fine

:::::::

For example, Guest OS Information throws this error
Widget Generation for 3 groups complete (3 in Error)

In the other side, Top Cpu Consumers always run OK but the results is the same= No data found.

Im using the pre-build appliance for rhevm.


Error for GUEST OS Information Report

[----] E, [2015-03-11T23:47:35.225016 #2151:371810] ERROR -- : MIQ(MiqWidget.generate_one_content_for_group) Widget: [Guest OS Information] ID: [1] Failed for [MiqGroup] [test_manage] with error: [NoMethodError] [undefined method `<<' for nil:NilClass]
[----] E, [2015-03-11T23:47:35.225322 #2151:371810] ERROR -- : [NoMethodError]: undefined method `<<' for nil:NilClass  Method:[rescue in generate_one_content_for_group]
[----] E, [2015-03-11T23:47:35.225433 #2151:371810] ERROR -- : /var/www/miq/vmdb/lib/report_formatter/jqplot.rb:21:in `add_series_label'
[----] E, [2015-03-11T23:47:35.225573 #2151:371810] ERROR -- : MIQ(MiqWidget.generate_content) Widget: [Guest OS Information] ID: [1] Expected 1 contents, received 0 contents for Group: test_manage
[----] E, [2015-03-11T23:47:35.225918 #2151:371810] ERROR -- : MIQ(MiqQueue.deliver)    Message id: [1107953], Error: [Expected 1 contents, received 0 contents for Group: test_manage]
[----] E, [2015-03-11T23:47:35.393742 #2155:7e8010] ERROR -- : MIQ(MiqWidget.generate_one_content_for_group) Widget: [Guest OS Information] ID: [1] Failed for [MiqGroup] [admins-so] with error: [NoMethodError] [undefined method `<<' for nil:NilClass]
[----] E, [2015-03-11T23:47:35.394071 #2155:7e8010] ERROR -- : [NoMethodError]: undefined method `<<' for nil:NilClass  Method:[rescue in generate_one_content_for_group]
[----] E, [2015-03-11T23:47:35.394181 #2155:7e8010] ERROR -- : /var/www/miq/vmdb/lib/report_formatter/jqplot.rb:21:in `add_series_label'
[----] E, [2015-03-11T23:47:35.394316 #2155:7e8010] ERROR -- : MIQ(MiqWidget.generate_content) Widget: [Guest OS Information] ID: [1] Expected 1 contents, received 0 contents for Group: admins-so
[----] E, [2015-03-11T23:47:35.394650 #2155:7e8010] ERROR -- : MIQ(MiqQueue.deliver)    Message id: [1107954], Error: [Expected 1 contents, received 0 contents for Group: admins-so]
[----] E, [2015-03-11T23:47:36.703827 #2151:371810] ERROR -- : MIQ(MiqWidget.generate_one_content_for_group) Widget: [Guest OS Information] ID: [1] Failed for [MiqGroup] [EvmGroup-super_administrator] with error: [NoMethodError] [undefined method `<<' for nil:NilClass]
[----] E, [2015-03-11T23:47:36.704009 #2151:371810] ERROR -- : [NoMethodError]: undefined method `<<' for nil:NilClass  Method:[rescue in generate_one_content_for_group]
[----] E, [2015-03-11T23:47:36.704106 #2151:371810] ERROR -- : /var/www/miq/vmdb/lib/report_formatter/jqplot.rb:21:in `add_series_label'
[----] E, [2015-03-11T23:47:36.704209 #2151:371810] ERROR -- : MIQ(MiqWidget.generate_content) Widget: [Guest OS Information] ID: [1] Expected 1 contents, received 0 contents for Group: EvmGroup-super_administrator
[----] E, [2015-03-11T23:47:36.704574 #2151:371810] ERROR -- : MIQ(MiqQueue.deliver)    Message id: [1107955], Error: [Expected 1 contents, received 0 contents for Group: EvmGroup-super_administrator]

And the evm.log related to guest_os - any os

[----] I, [2015-03-12T13:17:26.862663 #2159:11c3008]  INFO -- : MIQ(MiqReport-build_create_results) Finished creating report result with id [143] for report id: [], name: [Guest OS Information - any OS]
[----] E, [2015-03-12T13:17:26.865369 #2159:11c3008] ERROR -- : MIQ(MiqWidget.generate_one_content_for_group) Widget: [Guest OS Information] ID: [23] Failed for [MiqGroup] [admins-so] with error: [NoMethodError] [undefined method `<<' for nil:NilClass]
[----] E, [2015-03-12T13:17:26.865583 #2159:11c3008] ERROR -- : [NoMethodError]: undefined method `<<' for nil:NilClass  Method:[rescue in generate_one_content_for_group]
[----] E, [2015-03-12T13:17:26.865754 #2159:11c3008] ERROR -- : /var/www/miq/vmdb/lib/report_formatter/jqplot.rb:21:in `add_series_label'
/var/www/miq/vmdb/lib/report_formatter/jqplot.rb:14:in `add_series'
/var/www/miq/vmdb/lib/report_formatter/chart_common.rb:389:in `build_reporting_chart_other'
/var/www/miq/vmdb/lib/report_formatter/jqplot.rb:96:in `build_reporting_chart_other'
/var/www/miq/vmdb/lib/report_formatter/chart_common.rb:409:in `build_reporting_chart'
/var/www/miq/vmdb/lib/report_formatter/chart_common.rb:63:in `call'
/var/www/miq/vmdb/lib/report_formatter/chart_common.rb:63:in `build_document_body'
/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/ruport-3ba69305f42e/lib/ruport/controller.rb:598:in `maybe'
/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/ruport-3ba69305f42e/lib/ruport/controller.rb:584:in `block in execute_stages'
/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/ruport-3ba69305f42e/lib/ruport/controller.rb:583:in `each'
/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/ruport-3ba69305f42e/lib/ruport/controller.rb:583:in `execute_stages'
/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/ruport-3ba69305f42e/lib/ruport/controller.rb:574:in `_run_'
/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/ruport-3ba69305f42e/lib/ruport/controller.rb:520:in `run'
/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/ruport-3ba69305f42e/lib/ruport/controller.rb:436:in `render'
/var/www/miq/vmdb/app/models/miq_report/formatters/graph.rb:68:in `to_chart'
/var/www/miq/vmdb/app/models/miq_widget/chart_content.rb:8:in `generate'
/var/www/miq/vmdb/app/models/miq_widget.rb:305:in `generate_one_content_for_group'
/var/www/miq/vmdb/app/models/miq_widget/content_generator.rb:24:in `block in determine_content'
/var/www/miq/vmdb/app/models/miq_widget/content_generator.rb:24:in `collect'
/var/www/miq/vmdb/app/models/miq_widget/content_generator.rb:24:in `determine_content'
/var/www/miq/vmdb/app/models/miq_widget/content_generator.rb:6:in `generate'
/var/www/miq/vmdb/app/models/miq_widget.rb:285:in `generate_content'
/var/www/miq/vmdb/app/models/miq_queue.rb:361:in `block in deliver'
/opt/rh/ruby193/root/usr/share/ruby/timeout.rb:69:in `timeout'
/var/www/miq/vmdb/app/models/miq_queue.rb:357:in `deliver'
/var/www/miq/vmdb/lib/workers/queue_worker_base.rb:107:in `deliver_queue_message'
/var/www/miq/vmdb/lib/workers/queue_worker_base.rb:135:in `deliver_message'
/var/www/miq/vmdb/lib/workers/queue_worker_base.rb:152:in `block in do_work'
/var/www/miq/vmdb/lib/workers/queue_worker_base.rb:146:in `loop'
/var/www/miq/vmdb/lib/workers/queue_worker_base.rb:146:in `do_work'
/var/www/miq/vmdb/lib/workers/worker_base.rb:317:in `block in do_work_loop'
/var/www/miq/vmdb/lib/workers/worker_base.rb:314:in `loop'
/var/www/miq/vmdb/lib/workers/worker_base.rb:314:in `do_work_loop'
/var/www/miq/vmdb/lib/workers/worker_base.rb:135:in `run'
/var/www/miq/vmdb/lib/workers/worker_base.rb:123:in `start'
/var/www/miq/vmdb/lib/workers/worker_base.rb:23:in `start_worker'
/var/www/miq/vmdb/lib/workers/bin/worker.rb:5:in `<top (required)>'
/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/rails-f9749c2ef83b/railties/lib/rails/commands/runner.rb:52:in `eval'
/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/rails-f9749c2ef83b/railties/lib/rails/commands/runner.rb:52:in `<top (required)>'
/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/rails-f9749c2ef83b/railties/lib/rails/commands.rb:64:in `require'
/opt/rh/ruby193/root/usr/local/share/gems/bundler/gems/rails-f9749c2ef83b/railties/lib/rails/commands.rb:64:in `<top (required)>'
script/rails:6:in `require'
script/rails:6:in `<main>'
[----] E, [2015-03-12T13:17:26.865915 #2159:11c3008] ERROR -- : MIQ(MiqWidget.generate_content) Widget: [Guest OS Information] ID: [23] Expected 1 contents, received 0 contents for Group: admins-so

#2

Hello,

Even I am getting some kind of this.
“Widget Generation for 1 groups complete (1 in Error)”

how did you solve the errror you faced? Could you please share this?

Thanking you,
Venesh.