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 1305082 - [RFE] add fields to "hammer content-report content-host-status" for sat5 "spacewalk-report inventory" feature level
Summary: [RFE] add fields to "hammer content-report content-host-status" for sat5 "spa...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Reporting
Version: 6.1.6
Hardware: All
OS: Linux
medium
medium
Target Milestone: Unspecified
Assignee: Tom McKay
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: 1296845
TreeView+ depends on / blocked
 
Reported: 2016-02-05 14:44 UTC by Christian Horn
Modified: 2021-09-09 11:54 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-14 21:22:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-4961 0 None None None 2021-09-09 11:54:26 UTC
Red Hat Knowledge Base (Solution) 2153221 0 None None None 2016-02-05 14:50:35 UTC

Description Christian Horn 2016-02-05 14:44:55 UTC
Description of problem:

We would like to have a CSV report about our estate. On the old Satellite this is done via "spacewalk-report inventory" and then some simple post-processing of the output. The same is not possible in Satellite 6.1 easily.

There is "hammer content-report content-host-status"  which is affected by the following bugs:
 https://bugzilla.redhat.com/show_bug.cgi?id=1296009
 https://bugzilla.redhat.com/show_bug.cgi?id=1297742

But even after fixing/workaournding these (as I tried in my local setup), the output will only contain three columns: Hostname,Status,Date

This is not as detailed as the inventory report done by spacewalk. Especially it is missing the following fields:
ip adress, registration time, last checkin time, list of entitelements, virtual or physical, architecture

As such this is currently not useful to us. Most of the data can be fetched using the API directly, which we are going to implement as a workaround, but having it as a feature in the product would be great. Especially as it was present in Satellite 5.

Version-Release number of selected component (if applicable):
current 6.1.x

How reproducible:
always

Steps to Reproduce:
1. hammer content-report content-host-status

Actual results:
output is missing columns

Expected results:
Should contain fields
ip adress, registration time, last checkin time, list of entitelements, virtual or physical, architecture


Additional info:
bz1156582 requests other fields

Comment 1 Christian Horn 2016-02-05 14:46:19 UTC
API is a workaround, but much slower for this purpose, hammer would just do a single query to the underlying db.

Comment 5 Bryan Kearney 2016-07-08 20:37:51 UTC
Per 6.3 planning, moving out non acked bugs to the backlog

Comment 7 maneesh verma 2016-11-16 15:59:08 UTC
I have a customer looking for few features to be involved in this bug i.e listing the hostname with their last patching date. Customer is currently using satellite 6.2 and the feature of content-reports is not available in this version.

Comment 8 Tom McKay 2017-01-16 17:02:47 UTC
With Sat-6.2.7 custom reports can be exported that may satisfy the attached customer cases. See this comment: https://bugzilla.redhat.com/show_bug.cgi?id=1267445#c15

Comment 9 Ondřej Pražák 2017-06-21 07:25:05 UTC
Hi, what is the status here? Does the comment #8 help with your use case?

Comment 10 Christian Horn 2017-06-21 07:29:44 UTC
(In reply to Ondřej Pražák from comment #9)
> Hi, what is the status here? Does the comment #8 help with your use case?
Stefan, any comments?

Comment 12 Bryan Kearney 2017-12-14 21:22:34 UTC
Closing current release based on Comment 8.


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