Actions
Bug #3964
closedTypeError (can't convert String into Integer)
Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman commands (obsolete)
Target version:
Description
[root@qetello02 ~]# LANG=en_US hammer -u admin -p changeme -v global_parameter set --name='opt-b22cp06a' --value='val-n5t0qeg9xhxf o9y89ek7' Error: can't convert String into Integer [root@qetello02 ~]# LANG=en_US hammer -v -u admin -p changeme global_parameter set --name='opt-b22cp06a' --value='val-n5t0qeg9xhxf o9y89ek7' [ERROR 2014-01-07 15:05:15 Exception] Error: can't convert String into Integer Error: can't convert String into Integer [ERROR 2014-01-07 15:05:15 Exception] TypeError (can't convert String into Integer): /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.0.15/lib/hammer_cli_foreman/common_parameter.rb:44:in `[]' /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.0.15/lib/hammer_cli_foreman/common_parameter.rb:44:in `parameter_exist?' /usr/lib/ruby/gems/1.8/gems/logging-1.8.1/lib/logging/logger.rb:435:in `find' /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.0.15/lib/hammer_cli_foreman/common_parameter.rb:44:in `each' /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.0.15/lib/hammer_cli_foreman/common_parameter.rb:44:in `find' /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.0.15/lib/hammer_cli_foreman/common_parameter.rb:44:in `parameter_exist?' /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.0.15/lib/hammer_cli_foreman/common_parameter.rb:34:in `action' /usr/lib/ruby/gems/1.8/gems/hammer_cli_foreman-0.0.15/lib/hammer_cli_foreman/commands.rb:34:in `send_request' /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.0.14/lib/hammer_cli/./apipie/write_command.rb:10: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.0.14/lib/hammer_cli/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.0.14/lib/hammer_cli/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.0.14/lib/hammer_cli/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.0.14/bin/hammer:61 /usr/bin/hammer:19:in `load' /usr/bin/hammer:19
Environment:
- foreman-release-1.4.0-0.develop.201401071212git9ef39dd.el6.noarch
- foreman-postgresql-1.4.0-0.develop.201401071212git9ef39dd.el6.noarch
- foreman-selinux-1.4.0-0.develop.201311220906gite342a0b.el6.noarch
- foreman-libvirt-1.4.0-0.develop.201401071212git9ef39dd.el6.noarch
- foreman-proxy-1.4.0-0.develop.201401031522gitd3509e6.el6.noarch
- rubygem-hammer_cli_foreman-0.0.15-1.el6.noarch
- foreman-compute-1.4.0-0.develop.201401071212git9ef39dd.el6.noarch
- rubygem-foreman_api-0.1.9-1.el6.noarch
- foreman-installer-1.4.0-0.develop.201401031335gitf3eee21.el6.noarch
- foreman-1.4.0-0.develop.201401071212git9ef39dd.el6.noarch
Files
Actions