Bug #7699
closedcompute resource info Error: can't convert nil into Array
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1129262
Description of problem:
cannot get Ovirt, GCE, Openstack compute-resource info
(# hammer -p changeme compute-resource create --name rhev-cr2 --provider Ovirt --url https://localhost --user user --password testing)
- hammer -v compute-resource info --name rhev-cr2
[ERROR 2014-08-12 08:15:02 Exception] Error: can't convert nil into Array
Error: can't convert nil into Array
[ERROR 2014-08-12 08:15:02 Exception]
TypeError (can't convert nil into Array):
/usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.1.1/lib/hammer_cli_foreman/compute_resource.rb:52:in `concat'
/usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.1.1/lib/hammer_cli_foreman/compute_resource.rb:52:in `print_data'
/usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.1/lib/hammer_cli/./apipie/command.rb:34:in `execute'
/usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:67:in `run'
/usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.1/lib/hammer_cli/./apipie/../abstract.rb:22:in `run'
/usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/subcommand/execution.rb:11:in `execute'
/usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:67:in `run'
/usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.1/lib/hammer_cli/./apipie/../abstract.rb:22:in `run'
/usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/subcommand/execution.rb:11:in `execute'
/usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:67:in `run'
/usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.1/lib/hammer_cli/./apipie/../abstract.rb:22:in `run'
/usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:125:in `run'
/usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.1/bin/hammer:102
/usr/bin/hammer:19:in `load'
/usr/bin/hammer:19
Version-Release number of selected component (if applicable):
Satellite-6.0.4-RHEL-6-20140806.0