Project

General

Profile

Bug #26894

"hammer full-help" command asks for credentials in the middle of command execution.

Added by Oleh Fedorenko 5 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
Other commands
Target version:
-
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

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

Actual results:
  1. 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.


Related issues

Has duplicate Hammer CLI - Bug #26893: "hammer full-help" command asks for credentials in the middle of command execution.Duplicate

Associated revisions

Revision 6d0731d6 (diff)
Added by Oleh Fedorenko 3 months ago

Fixes #26894 - full-help doesn't asks for credentials

History

#1 Updated by Oleh Fedorenko 5 months ago

  • Has duplicate Bug #26893: "hammer full-help" command asks for credentials in the middle of command execution. added

#2 Updated by Oleh Fedorenko 5 months ago

  • Triaged changed from No to Yes
  • Assignee set to Oleh Fedorenko
  • Status changed from New to Assigned

#3 Updated by The Foreman Bot 5 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/422 added

#4 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases hammer-cli-foreman-0.18.0 added

#5 Updated by Martin Bacovsky 3 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF