Feature #14829

- "hammer content-host info" command should have information related to "Content Host Status"

Added by Bryan Kearney about 4 years ago. Updated almost 2 years ago.

Target version:
Bugzilla link:
Fixed in Releases:
Found in Releases:


Cloned from
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
Checkin 12/4/15 12:33 PM

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

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

hammer content-host info --id ab449a97-805b-448e-b5c5-ea859445e9e9
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:

Associated revisions

Revision 29520f64 (diff)
Added by Tomas Strachota over 3 years ago

Fixes #14829 - Add activation keys to host info (#447)


#1 Updated by Eric Helms about 4 years ago

  • Legacy Backlogs Release (now unused) set to 114

#2 Updated by Tomáš Strachota almost 4 years ago

I checked with the current master and it seems that only the activation key information is missing. The API sends necessary data so it's just matter of adding it to the CLI oputput.

> hammer host info --id 3
Content Information:      
    Content View:          Default Organization View
    Lifecycle Environment: Library
    Applicable Errata:     
        Enhancement: 0
        Bug Fix:     0
        Security:    0
Subscription Information: 
    UUID:            5346d24b-a2de-41f6-b0e0-e3454a9a9c7d
    Last Checkin:    2016-08-25 15:00:32 UTC
    Service Level:   
    Release Version: 
    Autoheal:        true
    Registered At:   2016-08-25 15:00:27 UTC

#3 Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Tomáš Strachota
  • Legacy Backlogs Release (now unused) deleted (114)
  • Pull request added

#4 Updated by Marek Hulán over 3 years ago

  • Target version set to 1.5.3

#5 Updated by Anonymous over 3 years ago

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

#6 Updated by Justin Sherrill over 3 years ago

  • Legacy Backlogs Release (now unused) set to 162

Also available in: Atom PDF