Feature #14829
closed- "hammer content-host info" command should have information related to "Content Host Status"
Description
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
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:
Updated by Eric Helms almost 9 years ago
- Translation missing: en.field_release set to 114
Updated by Tomáš Strachota over 8 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
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Tomáš Strachota
- Translation missing: en.field_release deleted (
114) - Pull request https://github.com/Katello/hammer-cli-katello/pull/447 added
Updated by Anonymous over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-katello|29520f6448a9bf2f68e8e6373b25221a05624696.
Updated by Justin Sherrill over 8 years ago
- Translation missing: en.field_release set to 162