Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1464219

Summary: [RFE] Export list of content host with operating system from satellite 6 server into a csv file
Product: Red Hat Satellite Reporter: Ganesh <gnaik>
Component: Hosts - ContentAssignee: Tomer Brisker <tbrisker>
Status: CLOSED ERRATA QA Contact: Nikhil Kathole <nkathole>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bkearney, bmidwood, hshukla, jcallaha, mhulan, nkathole, sgraessl, tbrisker, wlehman
Target Milestone: 6.4.0Keywords: FutureFeature
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-16 15:27:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1615800    
Bug Blocks: 1146867    

Description Ganesh 2017-06-22 16:55:21 UTC
We can export a list of content host with operating system from satellite 6 server using below steps 

Login to satellite webui --> Content --> Errata --> search for errata --> Click on Content Hosts --> you will get list of content host profiles on which the selected errata is applicable.


RFE :- export list of content host with operating system from satellite 6 server into a csv file.

Comment 1 Satellite Program 2017-06-22 18:05:33 UTC
Upstream bug assigned to tbrisker

Comment 2 Satellite Program 2017-06-22 18:05:37 UTC
Upstream bug assigned to tbrisker

Comment 5 Satellite Program 2017-07-03 16:05:41 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/19954 has been resolved.

Comment 9 Nikhil Kathole 2018-08-14 12:18:04 UTC
Verification of this RFE is blocked by https://bugzilla.redhat.com/show_bug.cgi?id=1615800 (Export list of content host do not honour search filter)

Comment 10 Nikhil Kathole 2018-09-20 12:42:23 UTC
VERIFIED

Version tested:
Satellite 6.4 snap 22

Content host page export button exported hosts with operating system info. 

2018-09-20T08:37:38 [I|app|] Started GET "/hosts/content_hosts.csv?organization_id=1&search=&sort_by=name&sort_order=ASC" for IP at 2018-09-20 08:37:38 -0400
2018-09-20T08:37:38 [I|app|3833f] Processing by HostsController#content_hosts as CSV
2018-09-20T08:37:38 [I|app|3833f]   Parameters: {"organization_id"=>"1", "search"=>"", "sort_by"=>"name", "sort_order"=>"ASC"}
2018-09-20T08:37:38 [I|app|3833f] Current user: admin (administrator)
2018-09-20T08:37:38 [I|app|3833f] Completed 200 OK in 16ms (ActiveRecord: 2.1ms)

BZ1615800 is tracked for search filter search.

Comment 12 errata-xmlrpc 2018-10-16 15:27:35 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:2927