Bug 1426378

Summary: "Error: Request Timeout" from hammer when asked to show >400 content hosts
Product: Red Hat Satellite Reporter: Satellite Program <pm-sat>
Component: WebUIAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.4CC: abalakht, bbuckingham, bkearney, chorn, dlobatog, erinn.looneytriggs, inecas, jcallaha, jsherril, mhulan, mmccune, smeyer, sreber, sthirugn
Target Milestone: UnspecifiedKeywords: Performance, Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
URL: http://projects.theforeman.org/issues/16010
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1297683 Environment:
Last Closed: 2018-02-21 16:44:28 UTC Type: ---
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: 1297683, 1419667    
Bug Blocks: 1296845    

Comment 1 jcallaha 2017-08-04 16:08:20 UTC
*** Bug 1470736 has been marked as a duplicate of this bug. ***

Comment 2 jcallaha 2017-08-09 21:09:36 UTC
Verified in Satellite 6.3 Snap 10. 

The host list now completes on systems with over 400 hosts. I tested on a system with 551 and the truncated results are below.

-bash-4.2# time hammer host list --organization-id 1
----|-------------------------------------------------------------|------------------|------------|-------------|-------------------|--------------|----------------------
ID  | NAME                                                        | OPERATING SYSTEM | HOST GROUP | IP          | MAC               | CONTENT VIEW | LIFECYCLE ENVIRONMENT
----|-------------------------------------------------------------|------------------|------------|-------------|-------------------|--------------|----------------------
8   | flood1                                                      | RedHat 7.2       |            | 172.17.0.2  | 02:42:ac:11:00:02 | rhel7        | Library              
17  | flood10                                                     | RedHat 7.2       |            | 172.17.0.11 | 02:42:ac:11:00:0b | rhel7        | Library              
...
5   | virt-who-supermicro-2027gr-tr2-1.gsslab.rdu2.redhat.com-1   |                  |            |             |                   |              |                      
----|-------------------------------------------------------------|------------------|------------|-------------|-------------------|--------------|----------------------

real	0m36.534s
user	0m3.587s
sys	0m0.231s

Comment 3 Bryan Kearney 2018-02-21 16:41:19 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:0336

Comment 4 Bryan Kearney 2018-02-21 16:44:28 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:0336

Comment 5 Satellite Program 2018-02-21 16:49:54 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:0336