Description of problem: in hammer, report template schedule doesn't work with unique parameter --name when parameters wait and path are provided Version-Release number of selected component (if applicable): Satellite 6.6 snap 7 How reproducible: Always Steps to Reproduce: 1. create test report template 2. report-template schedule --name test --wait --path /tmp/ Actual results: Missing arguments for 'id' with id it works correctly hammer report-template schedule --id <test-id> --wait --path /tmp/ The response has been saved to /tmp/test-<date>.txt Expected results: hammer report-template schedule --name test --wait --path /tmp/ The response has been saved to /tmp/test-<date>.txt Additional info: Not sure if this is bug for hammer, but I found it here, please if I should choose another component please let me know. (future improvement)
Created redmine issue https://projects.theforeman.org/issues/27339 from this bug
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/27339 has been resolved.
I test this with sat6.7 snap 13 (fixed in: hammer-cli-foreman-0.18.0, my sat 6.7 has hammer_cli_foreman-0.19.6) hammer report-template schedule --name test --wait --path /tmp/ The response has been saved to /tmp/test-2020-02-27.text. As I can see there was a change in suffix from .txt to .text (this change do not affect this bz in any way) Verified
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-2020:1454