Bug 1392550

Summary: Host Edit screen takes 2-5 minutes to load depending on # of vmware hosts
Product: Red Hat Satellite Reporter: Mike McCune <mmccune>
Component: Compute Resources - VMWareAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.2.0CC: bbuckingham, bkearney, jcallaha, mmccune, paji, sjagtap
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foreman-1.11.0.62-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1405507 (view as bug list) Environment:
Last Closed: 2017-01-26 10:44:53 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:    
Bug Blocks: 1405507    

Description Mike McCune 2016-11-07 17:52:50 UTC
Hi

Since the vmware properties are read-only after host creation, would it be possible to not automatically load them when editing a host?
Perhaps only load them after clicking on the 'virtual machine' tab?  The vmware API is *so* slow and editing a host can be really painful.

Comment 1 Mike McCune 2016-11-07 17:52:55 UTC
Created from redmine issue http://projects.theforeman.org/issues/15519

Comment 3 Mike McCune 2016-11-07 18:17:29 UTC
This was cloned from upstream but Satellite users are reporting that when there are a large # of virtual machines against VMWare compute resources the Host -> Edit screen may take a very long time to render.

Comment 4 Bryan Kearney 2016-11-07 19:15:49 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/15519 has been resolved.

Comment 6 Brad Buckingham 2016-11-08 19:33:16 UTC
*** Bug 1392537 has been marked as a duplicate of this bug. ***

Comment 8 Sanket Jagtap 2017-01-19 08:54:57 UTC
Build: Satellite 6.2.7 snap1 

Testing before the patch with 6.2.6 while editing the host it took around 15 secs to render the page.

Testing after the patch with 6.2.7 snap1 it took around 4 secs of time to render the Edit host page.

This patch has greatly reduced the time it takes to render the edit hosts page for vmware hosts.

Marking this as verified

Comment 10 errata-xmlrpc 2017-01-26 10:44:53 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-2017:0197