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 1488150 - Unable to get host's content source via hammer
Summary: Unable to get host's content source via hammer
Keywords:
Status: CLOSED DUPLICATE of bug 1483252
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-04 13:07 UTC by Andrii Balakhtar
Modified: 2017-09-19 14:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-05 17:22:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1260697 0 high CLOSED [RFE] As a CLI user, I should be able to set the Content Source for a host and hostgroup. 2021-06-10 13:02:08 UTC

Internal Links: 1260697

Description Andrii Balakhtar 2017-09-04 13:07:05 UTC
Description of problem:
Bug #1260697 introduced ability to set content source for host via hammer. However, it's currently not possible to see what exactly was set, 'Content Source' field is not returned by 'host info' command.

Version-Release number of selected component (if applicable):
Satellite 6.3.0 Snap 13

How reproducible:
Always

Steps to Reproduce:
1. Create a host, specify content source:
hammer host create --medium-id="44" --ip="##.###.##.##" --location-id="2" --operatingsystem-id="2" --domain-id="1" --partition-table-id="87" --content-source-id="1" --mac="76:c6:19:18:42:87" --architecture-id="1" --organization="sRfrD2" --name="JidqoOmJgX" --root-password="uIBJLylU"
Message,Id,Name
Host created,37,jidqoomjgx.example.com

2. Attempt to verify whether content source was actually set by using 'host info' command
hammer host info --id="37"

Actual results:
Content source is absent in output:
Id:                       37
Name:                     jidqoomjgx.example.com
Organization:             sRfrD2
Location:                 Default Location
Puppet CA Id:             
Puppet Master Id:         
Cert name:                jidqoomjgx.example.com
Managed:                  yes
Installed at:             
Last report:              
Network:                  
    IP:     ##.###.##.##
    MAC:    76:c6:19:18:42:87
    Domain: example.com
Network interfaces:       
 1) Id:          39
    Identifier:  
    Type:        interface (primary, provision)
    MAC address: 76:c6:19:18:42:87
    IP address:  ##.###.##.##
    FQDN:
Operating system:         
    Architecture:           x86_64
    Operating System:       RedHat 7.3
    Build:                  yes
    Medium:                 hJGrRT
    Partition Table:        Kickstart default
    Custom partition table:
Parameters:               

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

Expected results:
Content source is present in output


Additional info:

Comment 2 Brad Buckingham 2017-09-05 17:22:15 UTC

*** This bug has been marked as a duplicate of bug 1483252 ***


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