Hide Forgot
Description of problem: scanning a azure vm results in failure [----] I, [2016-10-26T12:50:01.119680 #13666:bdd148] INFO -- : MIQ(ManageIQ::Providers::Azure::CloudManager::Vm#scan_metadata) category=[["vmconfig", "accounts", "software", "services" , "system"]] [Array] [----] I, [2016-10-26T12:50:01.135756 #1521:bdd148] INFO -- : MIQ(MiqQueue.put) Message id: [23000000010456], id: [], Zone: [], Role: [database_operations], Server: [], Ident: [generi c], Target id: [], Instance id: [], Task id: [], Command: [VmdbMetric.purge_all_timer], Timeout: [600], Priority: [90], State: [ready], Deliver On: [], Data: [], Args: [] [----] E, [2016-10-26T12:50:01.143525 #13666:bdd148] ERROR -- : [NoMethodError]: undefined method `key?' for nil:NilClass Method:[rescue in scan_metadata] [----] E, [2016-10-26T12:50:01.143738 #13666:bdd148] 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' /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:311:in `visit_Psych_Nodes_Document' /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/nodes/node.rb:38:in `to_ruby' Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Forgot the version Version 5.7.0.7-beta1.20161025153249_9376fbd
This appears to be the same problem as: https://bugzilla.redhat.com/show_bug.cgi?id=1378447 and https://bugzilla.redhat.com/show_bug.cgi?id=1388982
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 ***