Project

General

Profile

Actions

Feature #14829

closed

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

Added by Bryan Kearney almost 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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:

Actions #1

Updated by Eric Helms almost 8 years ago

  • translation missing: en.field_release set to 114
Actions #2

Updated by Tomáš Strachota over 7 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
Actions #3

Updated by The Foreman Bot over 7 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
Actions #4

Updated by Marek Hulán over 7 years ago

  • Target version set to 1.5.3
Actions #5

Updated by Anonymous over 7 years ago

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

Updated by Justin Sherrill over 7 years ago

  • translation missing: en.field_release set to 162
Actions

Also available in: Atom PDF