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 1298348

Summary: The command "hammer content-host list" takes over 4 minutes to execute
Product: Red Hat Satellite Reporter: Freddy Wissing <fwissing>
Component: PerformanceAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.5CC: bbuckingham, bkearney, jsherril, sthirugn
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-14 14:36:25 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:

Description Freddy Wissing 2016-01-13 20:49:25 UTC
Description of problem:

Customer wants only a simple list of hosts.

The default action apparently calculates all installable errata counts for every host and takes way too long when I simply want a list of content hosts.  

Additionally, why try to calculate errata on ESX hypervisors?  there will never be any.  Also, can a filter be added to exclude hypervisors from the list?


Version-Release number of selected component (if applicable):

6.1.5

How reproducible:

Repeatably

Steps to Reproduce:
1.run # hammer content-host list and observe database and system activity


Actual results:

The command takes over four minutes to run.


Expected results:

Comes back with a simple list of content hosts.


Additional info:

Perhaps a flag could be added to allow just a simple list of hosts.

Comment 7 Bryan Kearney 2017-09-14 14:36:25 UTC
Marking this as a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1461194 which will be delivered in 6.2.12. This will address the performance concerns.

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