Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1317614 - [RFE] - "hammer info" command should have information related to "Host Status"
[RFE] - "hammer info" command should have information related to "Host Status"
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Hammer - Content (Show other bugs)
6.1.7
All All
medium Severity medium (vote)
: GA
: Unused
Assigned To: Tomas Strachota
Peter Ondrejka
: FutureFeature, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-14 12:41 EDT by Nagoor Shaik
Modified: 2018-03-08 02:28 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-02-21 07:34:46 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 14829 None None None 2016-04-26 13:49 EDT
Red Hat Product Errata RHSA-2018:0336 normal SHIPPED_LIVE Important: Satellite 6.3 security, bug fix, and enhancement update 2018-02-21 17:43:42 EST

  None (edit)
Description Nagoor Shaik 2016-03-14 12:41:34 EDT
Description of problem:
"hammer content-host info" command should have information related to "Content Host Status" such as below

Registered 12/4/15 12:29 PM
Registered By Activation Key
    RHEL7-key
Checkin 12/4/15 12:33 PM 

Version-Release number of selected component (if applicable):
Satellite 6.1.7
foreman-1.7.2.53-1.el7sat.noarch
katello-2.2.0.18-1.el7sat.noarch

Steps to Reproduce:
1. Execute "hammer content-host info" command

hammer content-host info --id ab449a97-805b-448e-b5c5-ea859445e9e9
Name:                    capsule.example.com
ID:                      ab449a97-805b-448e-b5c5-ea859445e9e9
Katello Agent Installed: yes
Description:             Initial Registration Params
Location:                None
Lifecycle Environment:   Library
Content View:            Default Organization View
Entitlement Status:      valid
Release Version:         
Autoheal:                true
Security Errata:         25
Bugfix Errata:           40
Enhancement Errata:      10

Actual results:
It doesn't display some useful information such as registered time, registered either with a username/password or activation key so on.

Expected results:
we could extract some useful registration info with hammer would nice.

Additional info:
Comment 1 Bryan Kearney 2016-04-26 13:49:08 EDT
Created redmine issue http://projects.theforeman.org/issues/14829 from this bug
Comment 2 Justin Sherrill 2016-06-02 11:43:28 EDT
Note that 'hammer content-host *' is going away, so this should be added to 'hammer host info' or 'hammer host status'
Comment 4 Bryan Kearney 2016-08-10 12:13:48 EDT
Upstream bug component is Content Management
Comment 5 Bryan Kearney 2016-08-10 15:15:00 EDT
Upstream bug component is Hammer - Content
Comment 6 Bryan Kearney 2016-08-10 16:16:05 EDT
Upstream bug component is Content Management
Comment 7 Bryan Kearney 2016-08-10 18:15:43 EDT
Upstream bug component is Hammer - Content
Comment 8 Bryan Kearney 2016-08-26 06:14:38 EDT
Upstream bug assigned to tstrachota@redhat.com
Comment 9 Bryan Kearney 2016-08-26 06:14:41 EDT
Upstream bug assigned to tstrachota@redhat.com
Comment 10 Bryan Kearney 2016-09-08 10:14:02 EDT
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/14829 has been resolved.
Comment 16 errata-xmlrpc 2018-02-21 07:34:46 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0336

Note You need to log in before you can comment on or make changes to this bug.