Bug 1842450

Summary: hammer -h shows config templates instead provisioning templates
Product: Red Hat Satellite Reporter: tstrych
Component: HammerAssignee: Shira Maximov <mshira>
Status: CLOSED ERRATA QA Contact: tstrych
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: apatel, ehelms, kgaikwad, mshira, ofedoren, rabajaj, tbrisker
Target Milestone: 6.8.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hammer-cli-foreman-2.1.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 13:32:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description tstrych 2020-06-01 09:45:33 UTC
Description of problem:

hammer -h | grep 'config templates'
>> template                      Manipulate config templates

Expected:
Manipulate provisioning templates

hammer packages versions:
tfm-rubygem-hammer_cli_foreman_tasks-0.0.14-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_discovery-1.0.2-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_virt_who_configure-0.0.6-1.el7sat.noarch
tfm-rubygem-hammer_cli-2.1.0-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_remote_execution-0.1.1-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_openscap-0.1.10-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman-2.1.0-2.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_docker-0.0.6.4-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_templates-0.2.0-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_ansible-0.3.2-1.el7sat.noarch
tfm-rubygem-hammer_cli_katello-0.22.0-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_azure_rm-0.1.2-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_bootdisk-0.3.0-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_admin-0.0.9-1.el7sat.noarch


How reproducible:
always

Comment 1 tstrych 2020-06-01 09:46:43 UTC
This happens in sat 6.8, where config templates are deprecated and replaced with provisioning templates.

Comment 2 Oleh Fedorenko 2020-06-01 10:50:00 UTC
Created redmine issue https://projects.theforeman.org/issues/29971 from this bug

Comment 3 Bryan Kearney 2020-06-29 16:01:37 UTC
Upstream bug assigned to mshira

Comment 4 Bryan Kearney 2020-06-29 16:01:39 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/29971 has been resolved.

Comment 5 tstrych 2020-07-16 14:44:00 UTC
Verified with sat 6.8 snap 9 with package tfm-rubygem-hammer_cli_foreman-2.1.2-1.

Comment 8 errata-xmlrpc 2020-10-27 13:32:10 UTC
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 (Satellite 6.8 Satellite Tools Release), 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/RHBA-2020:4367