Project

General

Profile

Actions

Bug #23722

closed

output of hammer hostgroup info contains redundant info about operating systems

Added by Kavita Gaikwad almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Host groups
Target version:
-
Difficulty:
Triaged:
No
Team Backlog:
Found in Releases:
In Kanboard:

Description

Description of problem:

hammer -v -u admin -p changeme hostgroup info --id="60"
2018-05-27 16:49:01 - robottelo.ssh - INFO - <<< stdout
Id: 60
Name: 5B6GEF
Title: 5B6GEF
Operating System: jWBpIa 10.5
Network:

Operating system:
Operating System: jWBpIa 10.5
Puppetclasses:

Parameters:

OpenSCAP Proxy:
Content View:
ID:
Name:
Lifecycle Environment:
ID:
Name:
Content Source:
ID:
Name:
Kickstart Repository:
ID:
Name:

The second, structured section is new and started to cause our automation to fail.

Version-Release number of selected component (if applicable):

Steps to Reproduce:
1. just assigns some os to a HG and list its details using hammer

Actual results:
multiple sections for OS

Expected results:
only a single OS section.
Possibly loose the first one.

Additional info:


Related issues 1 (0 open1 closed)

Has duplicate Hammer CLI - Bug #23238: hammer hostgroup info --output json returns json including non unique keysDuplicateActions
Actions #1

Updated by The Foreman Bot almost 6 years ago

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

Updated by Kavita Gaikwad almost 6 years ago

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

Updated by Martin Bacovsky almost 6 years ago

  • Triaged set to No
  • Fixed in Releases hammer-cli-foreman-0.13.1 added
Actions #4

Updated by Tomer Brisker over 5 years ago

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

Updated by Tomáš Strachota over 5 years ago

  • Has duplicate Bug #23238: hammer hostgroup info --output json returns json including non unique keys added
Actions

Also available in: Atom PDF