Hide Forgot
Description of problem: Running Smart State analysis for a RHEVM-3.6 VM with NFS disk fail on timeout: "job timed out after 3056.727610352 seconds of inactivity. Inactivity threshold [3000 seconds]" Version-Release number of selected component (if applicable): CFME-5.7.0.1.20160913164703_66caf07 RHEVM-3.6.8-0.1 How reproducible: failed for 3 VM SSA trials. Steps to Reproduce: 1.Perform all steps that should allow VM SSA 2.Try to run SSA for the VM Actual results: Under Settings->Tasks, Task fail after timeout of 51 min. Expected results: VM SSA should succeed. Additional info: For the same RHEVM-setup, VM SSA work fine.
From CFME appliance evm.log: [----] I, [2016-09-22T08:08:43.767937 #3193:fab144] INFO -- : EVM SmartState Analysis Initiated for VM [cfme-rhevm-5.7.0.1-1] [----] W, [2016-09-22T08:08:43.768006 #3193:fab144] WARN -- : User event logging is not available on [ManageIQ::Providers::Redhat::InfraManager] Name:[rhevm-36] [----] I, [2016-09-22T08:08:43.772508 #3193:fab144] INFO -- : MIQ(VmScan#call_scan) Enter [----] I, [2016-09-22T08:08:43.802340 #3193:fab144] INFO -- : MIQ(ManageIQ::Providers::Redhat::InfraManager::Vm#scan_metadata) category=[["accounts", "services", "software", "system", "vmconfig", "vmevents", "profiles"]] [Array] [----] E, [2016-09-22T08:08:43.818152 #3193:fab144] ERROR -- : [NoMethodError]: undefined method `key?' for nil:NilClass Method:[rescue in scan_metadata] [----] E, [2016-09-22T08:08:43.818259 #3193:fab144] 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' . . .
Ilanit - does it work well for VMWare? What about 5.6.2?
Ilanit, Please attach the evm.log to the bug.
Created attachment 1204174 [details] evm.log SSA in this log starts with "EVM SmartState Analysis Initiated for VM [cfme-rhevm-5.7.0.1-1"
Created attachment 1204175 [details] rhevm.log
Created attachment 1204189 [details] automation.log
(In reply to Oved Ourfali from comment #3) > Ilanit - does it work well for VMWare? > What about 5.6.2? Additional info: For the same RHEVM-setup, VM SSA work fine - This is for CFME-5.6.2 (missed mentioning it in the description. I didn't test it on VMWare. Dave, Do you know if VM SSA for VMWare, on CFME-5.7.0.1 work please?
This appears to be the same problem as: https://bugzilla.redhat.com/show_bug.cgi?id=1389026 and https://bugzilla.redhat.com/show_bug.cgi?id=1388982
All these BZs are caused by a ruby bug: https://bugs.ruby-lang.org/issues/11884. We will prepare a solution for this.
*** Bug 1389026 has been marked as a duplicate of this bug. ***
*** Bug 1390581 has been marked as a duplicate of this bug. ***
*** Bug 1386741 has been marked as a duplicate of this bug. ***
*** Bug 1388982 has been marked as a duplicate of this bug. ***
The issue is proved to be solved by the CFME-5.7.0.9 build. Changed STATUS into POST.
The build doesn't have Ruby update yet. Changed status back to ON_DEV.
Assign to Satoe for build to pack ruby of version 2.3.1.
ruby 2.3.1 is released and will be included in today's build.
SmartState Analysis is working fine now. Verified Version:- 5.7.0.11-rc1.20161115160629_46cf4f1