Project

General

Profile

Bug #23722

output of hammer hostgroup info contains redundant info about operating systems

Added by Kavita Gaikwad 4 months ago. Updated 23 days ago.

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

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

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

Associated revisions

Revision 58ab9e75 (diff)
Added by Kavita Gaikwad 3 months ago

Fixes #23722 - removed redundant info about OS from hostgroup

History

#1 Updated by The Foreman Bot 3 months ago

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

#2 Updated by Kavita Gaikwad 3 months ago

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

#3 Updated by Martin Bacovsky 2 months ago

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

#4 Updated by Tomer Brisker 23 days ago

  • Fixed in Releases hammer-cli-foreman-0.14.0 added

#5 Updated by Tomáš Strachota 3 days ago

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

Also available in: Atom PDF