Hide Forgot
Description of problem: When a rhev smart state fails the tasks screen does not display the failed smart state scan. The status will still reflect that its "running" [----] I, [2016-10-26T03:21:25.069576 #4268:c23148] INFO -- : MIQ(VmScan#call_snapshot_create) Enter [----] I, [2016-10-26T03:21:25.080370 #4268:c23148] INFO -- : EVM SmartState Analysis Initiated for VM [cfme001] [----] W, [2016-10-26T03:21:25.080760 #4268:c23148] WARN -- : User event logging is not available on [ManageIQ::Providers::Redhat::InfraManager] Name:[skynet-rhev] [----] I, [2016-10-26T03:21:25.106239 #4268:c23148] INFO -- : MIQ(VmScan#call_scan) Enter [----] I, [2016-10-26T03:21:25.464324 #4268:c23148] INFO -- : MIQ(ManageIQ::Providers::Redhat::InfraManager::Vm#scan_metadata) category=[["vmconfig", "accounts", "software", "services", "system"]] [Array] [----] E, [2016-10-26T03:21:25.523048 #4268:c23148] ERROR -- : [NoMethodError]: undefined method `key?' for nil:NilClass Method:[rescue in scan_metadata] [----] E, [2016-10-26T03:21:25.523363 #4268:c23148] ERROR -- : /opt/rh/rh-ruby23/root/usr/share/ruby/ostruct.rb:176:in `respond_to_missing?' /opt/rh/rh-ruby23/root/usr/share/gems/gems/psych-2.0.17/lib/psych/visitors/to_ruby.rb:381:in `respond_to?' /opt/rh/rh-ruby23/root/usr/share/gems/gems/psych-2.0.17/lib/psych/visitors/to_ruby.rb:381:in `init_with' /opt/rh/rh-ruby23/root/usr/share/gems/gems/psych-2.0.17/lib/psych/visitors/to_ruby.rb:374:in `revive' /opt/rh/rh-ruby23/root/usr/share/gems/gems/psych-2.0.17/lib/psych/visitors/to_ruby.rb:208:in `visit_Psych_Nodes_Mapping' /opt/rh/rh-ruby23/root/usr/share/gems/gems/psych-2.0.17/lib/psych/visitors/visitor.rb:16:in `visit' /opt/rh/rh-ruby23/root/usr/share/gems/gems/psych-2.0.17/lib/psych/visitors/visitor.rb:6:in `accept' /opt/rh/rh-ruby23/root/usr/share/gems/gems/psych-2.0.17/lib/psych/visitors/to_ruby.rb:32:in `accept' /opt/rh/rh-ruby23/root/usr/share/gems/gems/psych-2.0.17/lib/psych/visitors/to_ruby.rb:330:in `block in register_empty' /opt/rh/rh-ruby23/root/usr/share/gems/gems/psych-2.0.17/lib/psych/visitors/to_ruby.rb:330:in `each' /opt/rh/rh-ruby23/root/usr/share/gems/gems/psych-2.0.17/lib/psych/visitors/to_ruby.rb:330:in `register_empty' /opt/rh/rh-ruby23/root/usr/share/gems/gems/psych-2.0.17/lib/psych/visitors/to_ruby.rb:141:in `visit_Psych_Nodes_Sequence' Version-Release number of selected component (if applicable): Version 5.7.0.7-beta1.20161025153249_9376fbd How reproducible: very Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
It appears this may be the same problem as: https://bugzilla.redhat.com/show_bug.cgi?id=1378447 and https://bugzilla.redhat.com/show_bug.cgi?id=1389026 so the problem probably a more general problem. I'll assign it to someone on my team to make the determination.
This issue is caused by a ruby bug: https://bugs.ruby-lang.org/issues/11884. Ruby version of 2.3.1 will solve the problem. *** This bug has been marked as a duplicate of bug 1378447 ***