Project

General

Profile

Actions

Bug #6755

closed

Parent host groups not shown clearly in hammer hostgroup list

Added by Dominic Cleal almost 10 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Foreman commands (obsolete)
Target version:
-
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1122656
Description of problem:
When running "hammer hostgroup list" with nested host groups, it's unclear which groups are children of which others.

The "label" column is blank (it's now "title" in APIv2) and the ancestry column only shows IDs.

Version-Release number of selected component (if applicable):
rubygem-hammer_cli_foreman-0.1.1-1.201407071351git6be75b7.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. hammer hostgroup create --name test
2. hammer hostgroup create --parent-id 1 --name test2
3. hammer hostgroup create --parent-id 2 --name test3

Actual results:

---|-------|-------|------------------|-------------|-------|---------
ID | NAME  | LABEL | OPERATING SYSTEM | ENVIRONMENT | MODEL | ANCESTRY
---|-------|-------|------------------|-------------|-------|---------
1  | test  |       |                  |             |       |         
2  | test2 |       |                  |             |       | 1       
3  | test3 |       |                  |             |       | 1/2     
---|-------|-------|------------------|-------------|-------|---------

Expected results:

---|-------------|-------|------------------|-------------|-------|
ID | PARENT      | NAME  | OPERATING SYSTEM | ENVIRONMENT | MODEL |
---|-------------|-------|------------------|-------------|-------|
1  |             | test  |                  |             |       |
2  | test/       | test2 |                  |             |       |
3  | test/test2/ | test3 |                  |             |       |
---|-------------|-------|------------------|-------------|-------|

or similar, taking inspiration from the UI. Maybe the separate parent column is superfluous. I've no idea why model is here.

Additional info:


Related issues 1 (0 open1 closed)

Related to Hammer CLI - Bug #6975: Hammer does not work with nested hostgroups with same nameDuplicate08/07/2014Actions
Actions #1

Updated by Dominic Cleal almost 10 years ago

  • Category set to Foreman commands (obsolete)
Actions #2

Updated by Dominic Cleal almost 10 years ago

  • Description updated (diff)
Actions #3

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #6975: Hammer does not work with nested hostgroups with same name added
Actions #4

Updated by Bryan Kearney over 8 years ago

  • Status changed from New to Rejected

Downstream is reporting this as fixed in 6.1.1. Closing this out.

Actions

Also available in: Atom PDF