Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1317614

Summary: [RFE] - "hammer info" command should have information related to "Host Status"
Product: Red Hat Satellite Reporter: Nagoor Shaik <nshaik>
Component: Hammer - ContentAssignee: Tomas Strachota <tstrachota>
Status: CLOSED ERRATA QA Contact: Peter Ondrejka <pondrejk>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.7CC: akarimi, bkearney, jcallaha, jsherril, xdmoon
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 12:34:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nagoor Shaik 2016-03-14 16:41:34 UTC
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 17:49:08 UTC
Created redmine issue http://projects.theforeman.org/issues/14829 from this bug

Comment 2 Justin Sherrill 2016-06-02 15:43:28 UTC
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 16:13:48 UTC
Upstream bug component is Content Management

Comment 5 Bryan Kearney 2016-08-10 19:15:00 UTC
Upstream bug component is Hammer - Content

Comment 6 Bryan Kearney 2016-08-10 20:16:05 UTC
Upstream bug component is Content Management

Comment 7 Bryan Kearney 2016-08-10 22:15:43 UTC
Upstream bug component is Hammer - Content

Comment 8 Bryan Kearney 2016-08-26 10:14:38 UTC
Upstream bug assigned to tstrachota

Comment 9 Bryan Kearney 2016-08-26 10:14:41 UTC
Upstream bug assigned to tstrachota

Comment 10 Bryan Kearney 2016-09-08 14:14:02 UTC
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 12:34:46 UTC
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