- "hammer content-host info" command should have information related to "Content Host Status"
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1317614
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):
Steps to Reproduce:
1. Execute "hammer content-host info" command
hammer content-host info --id ab449a97-805b-448e-b5c5-ea859445e9e9
Katello Agent Installed: yes
Description: Initial Registration Params
Lifecycle Environment: Library
Content View: Default Organization View
Entitlement Status: valid
Security Errata: 25
Bugfix Errata: 40
Enhancement Errata: 10
It doesn't display some useful information such as registered time, registered either with a username/password or activation key so on.
we could extract some useful registration info with hammer would nice.
#2 Updated by Tomáš Strachota almost 3 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
#5 Updated by Anonymous almost 3 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-katello|29520f6448a9bf2f68e8e6373b25221a05624696.