Project

General

Profile

Actions

Bug #26894

closed

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

Added by Oleh Fedorenko almost 5 years ago. Updated over 4 years ago.

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

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 1 (0 open1 closed)

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

Updated by Oleh Fedorenko almost 5 years ago

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

Updated by Oleh Fedorenko almost 5 years ago

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

Updated by The Foreman Bot almost 5 years ago

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

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases hammer-cli-foreman-0.18.0 added
Actions #5

Updated by Martin Bacovsky over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF