Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1483252 - unable to view the content-source information from hammer host info
Summary: unable to view the content-source information from hammer host info
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts - Content
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
: 1488150 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-19 16:32 UTC by Kedar Bidarkar
Modified: 2021-07-21 08:05 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 17:06:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 21057 0 None None None 2017-10-10 16:10:26 UTC

Description Kedar Bidarkar 2017-08-19 16:32:45 UTC
Description of problem:

Unable to view the content-source information from hammer host info


~]# hammer -u admin -p changeme host info --id 3
Id:                       3
UUID:                     b81f8c0d-6622-43a0-acc1-7c5228f9ed4b
Name:                     sara-volking.domain.redhat.com
Organization:             Default Organization
Location:                 Default Location
Host Group:               RHEL 7 Server 64-bit HG
Compute Resource:         libvirt
Environment:              production
Puppet CA Id:             1
Puppet Master Id:         1
Cert name:                sara-volking.domain.redhat.com
Managed:                  yes
Installed at:             
Last report:              
Network:                  
    IP:     10.x.x.x
    MAC:    52:54:xx:yy:zz:aa
    Subnet: katello_latest
    Domain: satqe.lab.eng.rdu2.redhat.com
Network interfaces:       
 1) Id:          3
    Identifier:  
    Type:        interface (primary, provision)
    MAC address: 52:54:xx:yy:zz:aa
    IP address:  10.x.x.x
    FQDN:
Operating system:         
    Architecture:           x86_64
    Operating System:       RedHat 7.3
    Build:                  yes
    Partition Table:        Kickstart default
    Custom partition table:
Parameters:               

Additional info:          
    Owner Id:   3
    Owner Type: User
    Enabled:    yes
    Comment:
Content Information:      
    Content View:          RHEL 7 CV
    Lifecycle Environment: DEV
    Applicable Packages:   0
    Upgradable Packages:   0
    Applicable Errata:     
        Enhancement: 
        Bug Fix:     
        Security:
Subscription Information: 
    UUID:            
    Last Checkin:    
    Service Level:   
    Release Version: 
    Autoheal:        
    Registered At:
Host Collections:         
 1) Id:   1
    Name: Test_bug_Dev


Version-Release number of selected component (if applicable):
Satellite 6.3.0-snap11.0

How reproducible:


Steps to Reproduce:
1. create a host
2. run hammer host info --id <hostid>
3.

Actual results:

No content-source information from "hammer host info --id <host-id>"


Expected results:

Should list content-source information from "hammer host info --id <host-id>"



Additional info:

Comment 4 Brad Buckingham 2017-09-05 17:22:15 UTC
*** Bug 1488150 has been marked as a duplicate of this bug. ***

Comment 10 Tomas Strachota 2017-10-02 11:33:26 UTC
Created redmine issue http://projects.theforeman.org/issues/21165 from this bug

Comment 11 Roman Plevka 2017-10-23 08:53:22 UTC
FAILED QA
looks like the upstream issue got closed (they probably wanted to close it as a duplicate of http://projects.theforeman.org/issues/21057)

however, this BZ now misses the fix downstream.


2017-10-20 13:32:29 - robottelo.ssh - INFO - >>> LANG=en_US.UTF-8  hammer -v -u admin -p changeme --output=csv host update --id="5" --content-source-id="13"
2017-10-20 13:32:31 - robottelo.ssh - INFO - <<< stdout
Message,Id,Name
Host updated,5,engxhblzru

2017-10-20 13:32:31 - robottelo.ssh - INFO - >>> LANG=en_US.UTF-8  hammer -v -u admin -p changeme  host info --id="5"
2017-10-20 13:32:34 - robottelo.ssh - INFO - <<< stdout
Id:                       5
Name:                     engxhblzru
Organization:             SzUm47
Location:                 Default Location
Puppet CA Id:             
Puppet Master Id:         
Cert name:                engxhblzru
Managed:                  yes
Installed at:             
Last report:              
Network:                  
    IP:     200.157.25.60
    MAC:    00:d0:e1:ba:ad:36
    Domain: <censored>
Network interfaces:       
 1) Id:          5
    Identifier:  
    Type:        interface (primary, provision)
    MAC address: 00:d0:e1:ba:ad:36
    IP address:  200.157.25.60
    FQDN:
Operating system:         
    Architecture:           x86_64
    Operating System:       RedHat 7.4
    Build:                  yes
    Medium:                 llnzn7
    Partition Table:        Kickstart default
    Custom partition table:
Parameters:               

All parameters:           

Additional info:          
    Owner Id:   3
    Owner Type: User
    Enabled:    yes
    Comment:
OpenSCAP Proxy:           
Content Information:      
    Content View:          Default Organization View
    Lifecycle Environment: Library
    Content Source:        Mr8AYiYE1c
    Applicable Packages:   0
    Upgradable Packages:   0
    Applicable Errata:     
        Enhancement: 0
        Bug Fix:     0
        Security:    0
Subscription Information: 
    UUID:            
    Last Checkin:    
    Service Level:   
    Release Version: 
    Autoheal:        
    Registered To:   
    Registered At:
Host Collections:

Comment 12 Andrew Kofink 2017-10-23 14:36:21 UTC
Roman,

http://projects.theforeman.org/issues/21057 does fix this BZ. Take a look at the hammer output, and you'll see the 'Content Information' => 'Content Source' field. That's the field in question, and it is displayed to the user.

I'm not quite sure why this is marked as FailedQA. Could you please explain?

Comment 13 Roman Plevka 2017-10-26 06:36:05 UTC
Andrew, i'm terribly sorry. I don't know how I could miss this!

Obviously, the fix is there and this should inderd go to VERIFIED.

Comment 14 Bryan Kearney 2018-02-21 17:06:45 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.

For information on the advisory, and where to find the updated files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0336


Note You need to log in before you can comment on or make changes to this bug.