Project

General

Profile

Bug #7412

Hammer Cli role info command missing

Added by Dominic Cleal almost 5 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Foreman commands (obsolete)
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

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:

Associated revisions

Revision 216cdd2f (diff)
Added by Ori Rabin over 3 years ago

Fixes #7412 - Addng info command to role

Revision 4ebe4a4a
Added by Tomas Strachota over 3 years ago

Merge pull request #205 from orrabin/7412

Fixes #7412 - Addng info command to role

History

#1 Updated by Dominic Cleal almost 5 years ago

  • Category set to Foreman commands (obsolete)
  • Priority changed from Normal to Low

#2 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ori Rabin
  • Target version set to hammer-cli 0.5.0
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/205 added

#3 Updated by Ori Rabin over 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF