Red Hat Bugzilla – Bug 1253339
Host Timeline results in infinite refresh with error in host and vm
Last modified: 2015-12-08 08:26:59 EST
Created attachment 1062593 [details] vm1 Description of problem: Host Timeline results in infinite refresh with error Version-Release number of selected component (if applicable): master.20150813094605_98b8bee How reproducible: Very Steps to Reproduce: 1. Configure provider say vsphere 55 and add host credentials 2. Enable the C&U feature, collect the Clusters and Datastores data 3. Navigate to Infrastructure ==> Hosts ==> Select a host ==> Monitoring ==> Timelines or Navigate to Infrastructure ==> Virtual Machines ==> Select a vm ==> Monitoring ==> Timelines Actual results: Infine loop of refresh happens with error in evm.log and web-ui. Refer the screenshots and evm.log file for more information Expected results: Infinite refresh should not happen and data should be displayed appropriately Additional info: evm.log: ======= [----] E, [2015-08-13T09:41:48.768220 #24702:121798c] ERROR -- : [NameError]: uninitialized constant ManageIQ::Providers::Vmware::InfraManager::RefreshParser::Filter::Parser Method:[rescue in block in refresh] [----] E, [2015-08-13T09:41:48.768343 #24702:121798c] ERROR -- : /var/www/miq/vmdb/lib/extensions/as_const_missing_with_sti.rb:109:in `block in const_missing_with_sti' /var/www/miq/vmdb/lib/extensions/as_const_missing_with_sti.rb:205:in `nest' /var/www/miq/vmdb/lib/extensions/as_const_missing_with_sti.rb:108:in `const_missing_with_sti' /var/www/miq/vmdb/app/models/manageiq/providers/vmware/infra_manager/refresh_parser/filter.rb:390:in `get_mors' /var/www/miq/vmdb/app/models/manageiq/providers/vmware/infra_manager/refresh_parser/filter.rb:232:in `block in storage_inv_by_vm_inv' /var/www/miq/vmdb/app/models/manageiq/providers/vmware/infra_manager/refresh_parser/filter.rb:231:in `each_value' /var/www/miq/vmdb/app/models/manageiq/providers/vmware/infra_manager/refresh_parser/filter.rb:231:in `storage_inv_by_vm_inv' /var/www/miq/vmdb/app/models/manageiq/providers/vmware/infra_manager/refresh_parser/filter.rb:138:in `filter_vc_data' /var/www/miq/vmdb/app/models/manageiq/providers/vmware/infra_manager/refresher.rb:92:in `block (2 levels) in get_and_filter_vc_data' /var/www/miq/vmdb/gems/pending/util/extensions/miq-benchmark.rb:12:in `realtime_store' /var/www/miq/vmdb/gems/pending/util/extensions/miq-benchmark.rb:31:in `realtime_block' /var/www/miq/vmdb/app/models/manageiq/providers/vmware/infra_manager/refresher.rb:92:in `block in get_and_filter_vc_data' /var/www/miq/vmdb/app/models/manageiq/providers/vmware/infra_manager/refresher.rb:91:in `collect' /var/www/miq/vmdb/app/models/manageiq/providers/vmware/infra_manager/refresher.rb:91:in `get_and_filter_vc_data' /var/www/miq/vmdb/app/models/manageiq/providers/vmware/infra_manager/refresher.rb:77:in `block in refresh_targets_for_ems' /var/www/miq/vmdb/gems/pending/util/extensions/miq-benchmark.rb:12:in `realtime_store' /var/www/miq/vmdb/gems/pending/util/extensions/miq-benchmark.rb:31:in `realtime_block' /var/www/miq/vmdb/app/models/manageiq/providers/vmware/infra_manager/refresher.rb:77:in `refresh_targets_for_ems' /var/www/miq/vmdb/app/models/manageiq/providers/vmware/infra_manager/refresher.rb:56:in `block (2 levels) in refresh' /var/www/miq/vmdb/gems/pending/util/extensions/miq-benchmark.rb:12:in `realtime_store' /var/www/miq/vmdb/gems/pending/util/extensions/miq-benchmark.rb:31:in `realtime_block' /var/www/miq/vmdb/app/models/manageiq/providers/vmware/infra_manager/refresher.rb:56:in `block in refresh' /var/www/miq/vmdb/app/models/manageiq/providers/vmware/infra_manager/refresher.rb:47:in `each' /var/www/miq/vmdb/app/models/manageiq/providers/vmware/infra_manager/refresher.rb:47:in `refresh' /var/www/miq/vmdb/app/models/manageiq/providers/base_manager/refresher.rb:12:in `refresh' /var/www/miq/vmdb/app/models/ems_refresh.rb:78:in `block in refresh' /var/www/miq/vmdb/app/models/ems_refresh.rb:77:in `each' /var/www/miq/vmdb/app/models/ems_refresh.rb:77:in `refresh' /var/www/miq/vmdb/app/models/miq_queue.rb:345:in `block in deliver' /opt/rubies/ruby-2.2.2/lib/ruby/2.2.0/timeout.rb:89:in `block in timeout' /opt/rubies/ruby-2.2.2/lib/ruby/2.2.0/timeout.rb:34:in `block in catch' /opt/rubies/ruby-2.2.2/lib/ruby/2.2.0/timeout.rb:34:in `catch' /opt/rubies/ruby-2.2.2/lib/ruby/2.2.0/timeout.rb:34:in `catch' /opt/rubies/ruby-2.2.2/lib/ruby/2.2.0/timeout.rb:104:in `timeout' /var/www/miq/vmdb/app/models/miq_queue.rb:341: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:328:in `block in do_work_loop' /var/www/miq/vmdb/lib/workers/worker_base.rb:325:in `loop' /var/www/miq/vmdb/lib/workers/worker_base.rb:325:in `do_work_loop' /var/www/miq/vmdb/lib/workers/worker_base.rb:146:in `run' /var/www/miq/vmdb/lib/workers/worker_base.rb:127:in `start' /var/www/miq/vmdb/lib/workers/worker_base.rb:24:in `start_worker' /var/www/miq/vmdb/lib/workers/bin/worker.rb:3:in `<top (required)>' /opt/rubies/ruby-2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/runner.rb:60:in `load' /opt/rubies/ruby-2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/runner.rb:60:in `<top (required)>' /opt/rubies/ruby-2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:123:in `require' /opt/rubies/ruby-2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:123:in `require_command!' /opt/rubies/ruby-2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:90:in `runner' /opt/rubies/ruby-2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:39:in `run_command!' /opt/rubies/ruby-2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/commands.rb:17:in `<top (required)>' /var/www/miq/vmdb/bin/rails:4:in `require' /var/www/miq/vmdb/bin/rails:4:in `<main>'
Created attachment 1062594 [details] vm2
Created attachment 1062595 [details] host1
Created attachment 1062596 [details] host2
Github related issue - https://github.com/ManageIQ/manageiq/issues/3845
Good to go. Verified and working fine in master.20150916012703_4e04cf0
Good to go. Verified and working fine in 5.5.0.2-alpha1.1.20150923081748_2e8e945
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