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 1142996

Summary: Speed up katello-installer --help
Product: Red Hat Satellite Reporter: Matthew Davis <mdavis>
Component: InstallationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Roman Plevka <rplevka>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.4CC: chrobert, dcleal, ehelms, rplevka
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: All   
URL: http://projects.theforeman.org/issues/7530
Whiteboard:
Fixed In Version: rubygem-kafo-0.7.3-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:37:52 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 Matthew Davis 2014-09-17 17:00:34 UTC
# time katello-installer --help
<snip>
real    1m27.999s
user    0m16.075s
sys     0m0.998s

System is a virtual machine with 12G ram and 4 CPUs. Rather modern hardware. Running --help on an installer should not take 1.5 minutes. Expected time would be <5 sec (tops).

Comment 1 RHEL Program Management 2014-09-17 17:03:08 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Dominic Cleal 2014-09-18 17:21:07 UTC
Created redmine issue http://projects.theforeman.org/issues/7530 from this bug

Comment 4 Matthew Davis 2014-09-18 19:33:27 UTC
Reproduced on a less saturated hypervisor.

real    0m17.793s
user    0m16.503s
sys     0m1.247s

Still seems a bit excessive imo.

Comment 5 Bryan Kearney 2016-05-06 14:05:00 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/7530 has been closed

Comment 6 Roman Plevka 2016-05-16 09:25:54 UTC
VERIFIED

on sat 6.2.0 Beta (GA11)

-the average real time is ~7seconds, which is not really <5s, but the time has improved significantly. 

real	0m7.050s
user	0m5.207s
sys	0m1.603s

real	0m6.992s
user	0m5.165s
sys	0m1.593s

real	0m7.022s
user	0m5.150s
sys	0m1.682s

-note, tested with satellite-installer --help, since katello-installer has been branded.

Comment 7 Bryan Kearney 2016-07-27 11:37:52 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/RHBA-2016:1501