Bug 1907807

Summary: 'hammer host puppetrun' (deprecated) not marked as deprecated in hammer
Product: Red Hat Satellite Reporter: Vladimír Sedmík <vsedmik>
Component: HammerAssignee: Dominik Matoulek <dmatoule>
Status: CLOSED ERRATA QA Contact: Vladimír Sedmík <vsedmik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: apatel, dmatoule, egolov, gtalreja, kgaikwad, mshira, ofedoren, rabajaj, tbrisker
Target Milestone: 6.9.0Keywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: tfm-rubygem-hammer_cli_foreman-2.3.1,foreman-2.3.1.5-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-21 14:10:49 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:
Bug Depends On:    
Bug Blocks: 1905096    

Description Vladimír Sedmík 2020-12-15 09:48:22 UTC
Description of problem:
The puppetrun functionality was deprecated in 6.9.0. However, hammer still shows original help for the puppetrun subcommand and 'not implemented' for invocation.


Version-Release number of selected component (if applicable):
6.9.0 snap 5


How reproducible:
always


Steps to Reproduce:
1. # hammer host puppetrun --help
Usage:
    hammer host puppetrun [OPTIONS]

Options:
 --id ID                                  
 --location[-id|-title]                  Set the current location context for the request. Name/Title/Id can be used
 --name NAME                             Name to search by
 --organization[-id|-title]              Set the current organization context for the request. Name/Title/Id can be used
 -h, --help                              Print help

2. # hammer host puppetrun --organization-id 1 --location-id 1 --id 2
Error: 501 Not Implemented


Actual results:
1. shows original help
2. shows 'Not implemented'


Expected results:
1. and 2. should show information about deprecation.

Comment 2 Dominik Matoulek 2020-12-21 12:38:33 UTC
Created redmine issue https://projects.theforeman.org/issues/31536 from this bug

Comment 3 Bryan Kearney 2020-12-24 21:38:47 UTC
Upstream bug assigned to dmatoule

Comment 4 Bryan Kearney 2020-12-24 21:38:49 UTC
Upstream bug assigned to dmatoule

Comment 5 Bryan Kearney 2021-01-19 14:35:57 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/31536 has been resolved.

Comment 12 errata-xmlrpc 2021-04-21 14:10:49 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.9 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-2021:1314