Project

General

Profile

Actions

Bug #18337

closed

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

Added by Tomáš Strachota about 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Difficulty:
Triaged:
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 2 (0 open2 closed)

Related to Hammer CLI - Refactor #18636: Remove deprecation warning from --root-password in host create/updateClosedOleh Fedorenko02/23/2017Actions
Related to Hammer CLI - Refactor #22573: Add deprecation warning to --root-pass in hostgroupClosedOleh FedorenkoActions
Actions #1

Updated by Tomáš Strachota about 7 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
Actions #2

Updated by The Foreman Bot about 7 years ago

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

Updated by Marek Hulán about 7 years ago

  • Target version changed from 1.11.2 to 1.11.4
Actions #4

Updated by Marek Hulán about 7 years ago

  • Target version changed from 1.11.4 to 1.12.1
Actions #5

Updated by Tomáš Strachota about 7 years ago

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

Updated by Anonymous about 7 years ago

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

Updated by Tomáš Strachota about 7 years ago

  • translation missing: en.field_release set to 234
Actions #8

Updated by Oleh Fedorenko about 4 years ago

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

Also available in: Atom PDF