Description of problem: `... job-invocation info -h` says "--name" is a possible option, but it returns "Error: 400 Bad Request" Version-Release number of selected component (if applicable): tfm-rubygem-hammer_cli-0.5.1.13-2.el7sat.noarch tfm-rubygem-hammer_cli_foreman_remote_execution-0.0.5.3-1.el7sat.noarch How reproducible: always Steps to Reproduce: 1. Have job with description "rex-template-date.sh at 2017-04-10" 2. Check help for "job-invocation info" sub command: # hammer -d --username <user> --password <pass> job-invocation info --help 3. Try to use "--name": # hammer --username <admin> --password <pass> job-invocation info --name "rex-template-date.sh at 2017-04-10" Actual results: Error: 400 Bad Request Expected results: Either should work (and maybe "--name" should be renamed to "--description", or it should provide helpful error message.
Created redmine issue http://projects.theforeman.org/issues/19253 from this bug
Upstream bug assigned to aruzicka
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/19253 has been resolved.
According to PR name should not be accepted as a parameter, so removing BZ as a candidate for test automation
The fix is included in upstream release hammer_cli_foreman_remote_execution-0.0.6
On satellite-6.3.0-21.0.beta.el7sat.noarch ~]# hammer job-invocation info -h Usage: hammer job-invocation info [OPTIONS] Options: --id ID -h, --help print help
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0336