Project

General

Profile

Bug #18337

Duplicate options "--root-pass" and "--root-password" in `hammer host create`

Added by Tomáš Strachota over 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1246989

Description of problem:
There are possibly duplicate options "--root-pass" and "--root-password" in `hammer host create`. Their "--help" message do not explain whay there should be two of them.

Version-Release number of selected component (if applicable):
mmer-cli-foreman 0.9.0

Steps to Reproduce:
1. # hammer host create --help | grep -- "--root"

Actual results:
There are two options for one password (or if these options differ, docs is not sufficient):
--root-pass ROOT_PASS required if host is managed and value is not inherited from host group or
--root-password ROOT_PW

Expected results:
There should be only one option for one password.


Related issues

Related to Hammer CLI - Refactor #18636: Remove deprecation warning from --root-password in host create/updateClosed2017-02-23
Related to Hammer CLI - Refactor #22573: Add deprecation warning to --root-pass in hostgroupClosed

Associated revisions

Revision a4048084 (diff)
Added by Tomas Strachota over 3 years ago

Fixes #18337 - skip generating option --root-pass for host create

History

#1 Updated by Tomáš Strachota over 3 years ago

  • Subject changed from Duplicate options "--root-pass" and "--root-password" in `hammer host create` to Duplicate options "--root-pass" and "--root-password" in `hammer host create`
  • Category changed from Other commands to Hosts
  • Status changed from New to Assigned
  • Assignee set to Tomáš Strachota
  • Target version set to 1.11.2

#2 Updated by The Foreman Bot over 3 years ago

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

#3 Updated by Marek Hulán over 3 years ago

  • Target version changed from 1.11.2 to 1.11.4

#4 Updated by Marek Hulán over 3 years ago

  • Target version changed from 1.11.4 to 1.12.1

#5 Updated by Tomáš Strachota over 3 years ago

  • Related to Refactor #18636: Remove deprecation warning from --root-password in host create/update added

#6 Updated by Anonymous over 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#7 Updated by Tomáš Strachota over 3 years ago

  • Legacy Backlogs Release (now unused) set to 234

#8 Updated by Oleh Fedorenko 7 months ago

  • Related to Refactor #22573: Add deprecation warning to --root-pass in hostgroup added

Also available in: Atom PDF