DescriptionVladimí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.
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
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.