Project

General

Profile

Actions

Bug #29093

closed

Issue with hammer shell while using "--fields" parameter to display host info

Added by Oleh Fedorenko about 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Other commands
Target version:
-
Difficulty:
Triaged:
Yes
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

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

Description of problem:
Issue with hammer shell while using "--fields" parameter to display host info

Version-Release number of selected component (if applicable):
Red Hat Satellite Server 6.7

How reproducible:

Steps to Reproduce:
1. Login to hammer shell on the Satellite server
2. Get the information for any registered host. For the first time it will display complete information
3. Now try to pull information for a specific field.
4. Again try to pull information for the host. I will only display information for previously search field

Below is the actual output

===================================

hammer> host info --id 5
Id: 5
Name: vm252-147.gsslab.pnq2.redhat.com
Organization: Default Organization
Location: Default Location
Puppet Environment: production
Puppet CA Proxy: vm252-147.gsslab.pnq2.redhat.com
Puppet Master Proxy: vm252-147.gsslab.pnq2.redhat.com
Cert name: vm252-147.gsslab.pnq2.redhat.com
Managed: no
Installed at:
Last report: 2020/02/20 05:16:33
Uptime (seconds): 175439
Status:
Global Status: Error
Network:
IPv4 address: 10.74.252.147
IPv6 address: 2620:52:0:4af8:21a:4aff:fe00:2c6
MAC: 00:1a:4a:00:02:c6
Domain: gsslab.pnq2.redhat.com
Network interfaces:
1) Id: 5
Identifier: eth0
Type: interface (primary, provision)
MAC address: 00:1a:4a:00:02:c6
IPv4 address: 10.74.252.147
IPv6 address: 2620:52:0:4af8:21a:4aff:fe00:2c6
FQDN: vm252-147.gsslab.pnq2.redhat.com
Operating system:
Architecture: x86_64
Operating System: RedHat 7.7
Build: no
Custom partition table:
Parameters:

All parameters:
enable-puppet5 => true
enable-epel => false
Additional info:
Owner: Admin User
Owner Id: 4
Owner Type: User
Enabled: yes
Model: RHEV Hypervisor
Comment:
OpenSCAP Proxy:
Content Information:
Content View:
ID: 1
Name: Default Organization View
Lifecycle Environment:
ID: 1
Name: Library
Content Source:
ID:
Name:
Kickstart Repository:
ID:
Name:
Applicable Packages: 105
Upgradable Packages: 105
Applicable Errata:
Enhancement: 3
Bug Fix: 28
Security: 10
Subscription Information:
UUID: 984979c1-4fe1-4f82-9b95-92c0b82279ce
Last Checkin: 2020-02-20 05:25:04 UTC
Release Version:
Autoheal: true
Registered To: vm253-166.gsslab.pnq2.redhat.com
Registered At: 2020-02-18 05:58:01 UTC
System Purpose:
Service Level:
Purpose Usage:
Purpose Role:
Purpose Addons:
Host Collections:

hammer> host info --fields "Network/Domain" --id 5
Network:
Domain: gsslab.pnq2.redhat.com

hammer> host info --id 5
Id: 5
Name: vm252-147.gsslab.pnq2.redhat.com
Organization: Default Organization
Location: Default Location
Puppet Environment: production
Puppet CA Proxy: vm252-147.gsslab.pnq2.redhat.com
Puppet Master Proxy: vm252-147.gsslab.pnq2.redhat.com
Cert name: vm252-147.gsslab.pnq2.redhat.com
Managed: no
Installed at:
Last report: 2020/02/20 05:46:33
Uptime (seconds): 176711
Status:

Network:
Domain: gsslab.pnq2.redhat.com
Network interfaces:
1)
Operating system:

Parameters:

All parameters:

Additional info:

OpenSCAP Proxy:
Content Information:

Subscription Information:

Host Collections:

==============================

Actual results:
Display information for previously search field

Expected results:
It should display complete information for the host

Additional info:

Actions #1

Updated by Oleh Fedorenko about 4 years ago

  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Oleh Fedorenko
  • Pull request https://github.com/theforeman/hammer-cli/pull/341 added
Actions #3

Updated by Oleh Fedorenko about 3 years ago

  • Status changed from Ready For Testing to New
  • Assignee deleted (Oleh Fedorenko)
  • Pull request deleted (https://github.com/theforeman/hammer-cli/pull/341)
Actions #4

Updated by Adi Abramovitch almost 3 years ago

  • Assignee set to Adi Abramovitch
Actions #5

Updated by The Foreman Bot almost 3 years ago

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

Updated by The Foreman Bot almost 3 years ago

  • Fixed in Releases hammer-cli-3.0.0 added
Actions #7

Updated by Adi Abramovitch almost 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #8

Updated by Oleh Fedorenko almost 3 years ago

  • Status changed from Closed to Assigned
  • Pull request deleted (https://github.com/theforeman/hammer-cli/pull/345)
Actions #9

Updated by Oleh Fedorenko almost 3 years ago

  • Fixed in Releases deleted (hammer-cli-3.0.0)
Actions #10

Updated by The Foreman Bot over 2 years ago

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

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases hammer-cli-3.1.0 added
Actions #12

Updated by Anonymous over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF