Hide Forgot
It seems that hammer_cli_import requires too old hammer_cli_katello: <pre> [ERROR 2016-09-16 08:14:00 Modules] Error while loading module hammer_cli_import Warning: An error occured while loading module hammer_cli_import [ERROR 2016-09-16 08:14:00 Modules] <Gem::LoadError> Could not find 'hammer_cli_katello' (~> 0.0.6) - did find: [hammer_cli_katello-0.1.0] </pre>
Created from redmine issue http://projects.theforeman.org/issues/16581
Connecting redmine issue http://projects.theforeman.org/issues/16581 from this bug
issue is appearing with sat6.3 snap1 tfm-rubygem-hammer_cli-0.8.0-1.el7.noarch tfm-rubygem-hammer_cli_katello-0.1.0-1.el7.noarch tfm-rubygem-hammer_cli_csv-2.1.0-1.el7sat.noarch satellite-cli-6.3.0-1.0.git.7.fb12bf2.el7sat.noarch satellite-6.3.0-1.0.git.7.fb12bf2.el7sat.noarch satellite-installer-6.3.0.0-1.git.12.695b530.el7sat.noarch ~]# hammer -v -u admin -p changeme --output=csv location create --name="GjTkhRsKfv" [ERROR 2016-09-20 05:26:04 Modules] Error while loading module hammer_cli_import Warning: An error occured while loading module hammer_cli_import [ERROR 2016-09-20 05:26:04 Modules] <Gem::ConflictError> Unable to activate hammer_cli_import-0.11.2, because hammer_cli_katello-0.1.0 conflicts with hammer_cli_katello (~> 0.0.6) /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/specification.rb:2112:in `raise_if_conflicts' /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/specification.rb:1280:in `activate' /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems.rb:198:in `rescue in try_activate' /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems.rb:195:in `try_activate' /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:126:in `rescue in require' /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:39:in `require' /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.8.0/lib/hammer_cli/modules.rb:78:in `require_module' /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.8.0/lib/hammer_cli/modules.rb:57:in `load!' /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.8.0/lib/hammer_cli/modules.rb:72:in `load' /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.8.0/lib/hammer_cli/modules.rb:83:in `block in load_all' /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.8.0/lib/hammer_cli/modules.rb:82:in `each' /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.8.0/lib/hammer_cli/modules.rb:82:in `load_all' /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-0.8.0/bin/hammer:112:in `<top (required)>' /usr/bin/hammer:23:in `load' /usr/bin/hammer:23:in `<main>' Message,Id,Name Location created,3,GjTkhRsKfv
Upstream bug component is Uncategorized
This looks like the fix is just rebasing this gem, Eric is that correct?
Yes, Verified with Sat6.3 snap2. I don't see this issue anymore. ~]# hammer -v -u admin -p changeme --output=csv location create --name='test' Message,Id,Name Location created,3,test