Bug #26894
closed"hammer full-help" command asks for credentials in the middle of command execution.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1712923
Description of problem:
"hammer full-help" command asks for credentials in the middle of command execution.
Version-Release number of selected component (if applicable):
@satellite-6.5.0-11.el7sat.noarch
@tfm-rubygem-hammer_cli-0.15.1.2-1.el7sat.noarch
How reproducible:
always
Steps to Reproduce:
1. run # hammer full-help
- hammer full-help
Hammer CLI help ===============
hammer
------- output omited **
hammer > global-parameter > list
--------------------------------
List all global parameters
Usage:
hammer > global-parameter > list [OPTIONS]
Options:
--location LOCATION_NAME Location name
--location-id LOCATION_ID
--location-title LOCATION_TITLE Location title
--order ORDER Sort field and order, eg. ‘id DESC’
--organization ORGANIZATION_NAME Organization name
--organization-id ORGANIZATION_ID Organization ID
--organization-title ORGANIZATION_TITLE Organization title
--page PAGE Paginate results
--per-page PER_PAGE Number of entries per request
--search SEARCH Filter results
--show-hidden SHOW_HIDDEN Display hidden values
One of true/false, yes/no, 1/0.
-h, --help Print help
[Foreman] Username: admin
[Foreman] Password for admin:
- command continues after providing credentials **
Expected results:
- command should not ask for credentials.
Additional info:
- In Satellite 6.4 it works as expected and does not ask for credentials.