Description of problem: when starting new remote execution job via hammer, option "--async" is not being respected 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. # hammer --username admin --password changeme job-invocation create --async --description-format "TODO" --inputs command=date --job-template "Run Command - SSH Default" --search-query 'name ~ r630 AND name !~ c10-h31 AND name !~ c10-h32 AND name !~ c10-h33 AND name ~ container700' (I assume that search query is not part of the reproducer) Actual results: There is ID shown and then a progress bar, command does not return and I have to press Ctrl+C Expected results: Command should show ID and then exit.
Created redmine issue http://projects.theforeman.org/issues/19251 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/19251 has been resolved.
The fix is included in upstream release hammer_cli_foreman_remote_execution-0.0.6
Has hammer_cli_foreman_remote_execution-0.0.6 been released?
We will be releasing this version with Satellite 6.3.
Resetting the needinfo flag since it was provided in https://bugzilla.redhat.com/show_bug.cgi?id=1440962#c9
Checking on satellite-6.3.0-20.0.beta.el7sat.noarch, --async still not accepted, progress bar shown and blocking cli as described in problem description. Changes possibly not downstream yet? ~]# rpm -qa | grep remote tfm-rubygem-foreman_remote_execution_core-1.0.6-1.fm1_15.el7sat.noarch tfm-rubygem-hammer_cli_foreman_remote_execution-0.0.5-3.fm1_15.el7sat.noarch tfm-rubygem-foreman_remote_execution-1.3.6-1.fm1_15.el7sat.noarch rubygem-smart_proxy_remote_execution_ssh-0.1.6-1.el7sat.noarch
Verified on satellite-6.3.0-21.0.beta.el7sat.noarch
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