Bug #7412
closedHammer Cli role info command missing
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1138553
Description of problem:
role info command missing
Version-Release number of selected component (if applicable):
foreman-gce-1.6.0.44-1.el7sat.noarch
rubygem-hammer_cli_foreman-0.1.1-16.el7sat.noarch
foreman-selinux-1.6.0.14-1.el7sat.noarch
ruby193-rubygem-foreman_hooks-0.3.5-2.el7sat.noarch
ruby193-rubygem-foreman_discovery-1.3.0-2.el7sat.noarch
foreman-ovirt-1.6.0.44-1.el7sat.noarch
ruby193-rubygem-foreman-redhat_access-0.0.4-2.el7sat.noarch
rubygem-hammer_cli_foreman_tasks-0.0.3-3.el7sat.noarch
qe-sat6-rhel7.usersys.redhat.com-foreman-client-1.0-1.noarch
foreman-compute-1.6.0.44-1.el7sat.noarch
ruby193-rubygem-foreman-tasks-0.6.9-1.1.el7sat.noarch
ruby193-rubygem-foreman_bootdisk-2.0.5-2.el7sat.noarch
foreman-libvirt-1.6.0.44-1.el7sat.noarch
foreman-proxy-1.6.0.30-1.el7sat.noarch
foreman-1.6.0.44-1.el7sat.noarch
foreman-vmware-1.6.0.44-1.el7sat.noarch
foreman-postgresql-1.6.0.44-1.el7sat.noarch
qe-sat6-rhel7.usersys.redhat.com-foreman-proxy-1.0-1.noarch
How reproducible:
everytime
Steps to Reproduce:
1.hammer -v -u admin -p *** role info --id='47'
Exception] Error: No such sub-command 'info'
See: 'hammer role --help'
Error: No such sub-command 'info'
See: 'hammer role --help'
[ERROR 2014-09-05 03:21:05 Exception]
Clamp::UsageError (No such sub-command 'info'):
/usr/share/gems/gems/clamp-0.6.2/lib/clamp/subcommand/execution.rb:28:in `find_subcommand_class'
/usr/share/gems/gems/clamp-0.6.2/lib/clamp/subcommand/execution.rb:17:in `instatiate_subcommand'
/usr/share/gems/gems/clamp-0.6.2/lib/clamp/subcommand/execution.rb:10:in `execute'
/usr/share/gems/gems/clamp-0.6.2/lib/clamp/command.rb:67:in `run'
/usr/share/gems/gems/hammer_cli-0.1.1/lib/hammer_cli/abstract.rb:22:in `run'
/usr/share/gems/gems/clamp-0.6.2/lib/clamp/subcommand/execution.rb:11:in `execute'
/usr/share/gems/gems/clamp-0.6.2/lib/clamp/command.rb:67:in `run'
/usr/share/gems/gems/hammer_cli-0.1.1/lib/hammer_cli/abstract.rb:22:in `run'
/usr/share/gems/gems/clamp-0.6.2/lib/clamp/command.rb:125:in `run'
/usr/share/gems/gems/hammer_cli-0.1.1/bin/hammer:102:in `<top (required)>'
/usr/bin/hammer:23:in `load'
/usr/bin/hammer:23:in `<main>'
2.
3.
Actual results:
role info not found
Expected results:
role info gives appropriate information
Additional info: