Project

General

Profile

Actions

Bug #22132

open

[RFE] Addition of compliance status to hammer host info command

Added by Rahul Bajaj over 6 years ago. Updated about 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Steps to Reproduce:
1. Run hammer host info --id <id> against a host
2. There is no compliance status info , unlike the Web UI where we have compliance status of host.

Actual results:
No compliance status from hammer info

Expected results:
Compliance status should be provided for particular host

Additional info:

hammer> host info --id 3
Id:                       3
UUID:                     <uid>
Name:                     hazel-sagel.xyz.com
Organization:             Default Organization
Location:                 Default Location
Host Group:               rhel7_hstgrp
Compute Resource:         libvirt
Compute Profile:          2-Medium
Environment:              production
Puppet CA Id:             1
Puppet Master Id:         1
Cert name:                hazel-sagel.xyz.com
Managed:                  yes
Installed at:             2016/09/27 11:42:26
Last report:              2016/09/28 06:43:35
Network:
    IP:     192.168.100.4
    MAC:    52:54:00:b8:5b:b6
    Subnet: subnet192
    Domain: xyz.com
Network interfaces:
 1) Id:          7
    Identifier:  eth0
    Type:        interface (primary, provision)
    MAC address: 52:54:00:b8:5b:b6
    IP address:  192.168.100.4
    FQDN:
Operating system:
    Architecture:           x86_64
    Operating System:       RedHat 7.2
    Build:                  no
    Partition Table:        Kickstart default
    Custom partition table:
Parameters:

Additional info:
    Owner Id:   3
    Owner Type: User
    Enabled:    yes
    Model:      KVM
    Comment:
Content Information:
    Content View:          rhel7_cv
    Lifecycle Environment: Dev
    Applicable Errata:
        Enhancement: 0
        Bug Fix:     0
        Security:    0
Subscription Information:
    UUID:                          <uid>
    Last Checkin:                  2016-09-28 03:43:28 UTC
    Service Level:
    Release Version:
    Autoheal:                      true
    Registered At:                 2016-09-27 11:36:45 UTC
    Registered by Activation Keys:
     1) rhel_ak
Host Collections:

Actions #1

Updated by Tomáš Strachota over 6 years ago

  • Description updated (diff)
  • Category set to Hosts
Actions #2

Updated by Tomáš Strachota over 5 years ago

  • Project changed from Hammer CLI to OpenSCAP
  • Category deleted (Hosts)

I'm moving the issue to the Foreman OpenSCAP project as it should be implemented as an extension from hammer_cli_foreman_openscap.

The command extendability features which will allow that are on their way:
https://github.com/theforeman/hammer-cli/pull/275 and https://github.com/theforeman/hammer-cli/pull/291

Actions #3

Updated by Rahul Bajaj about 5 years ago

  • Assignee deleted (Rahul Bajaj)
Actions

Also available in: Atom PDF