Speed up host editing when using vmware compute resource
|Assigned To:||Timo Goebel|
|Category:||Compute resources - VMware|
|Found in release:||1.11.3||Pull request:||https://github.com/theforeman/foreman/pull/3964|
|Velocity based estimate||-|
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.
fixes #15519 - speed up host edit page rendering on vmware
This commit speeds up the rendering of the host edit page for hosts on
VMWare. The API calls to list networks and datastores are expensive.
When editing a host, these information is never showed to a user and
furthermore CR editing on VMWare is not supported.
So instead of displaying a select box, this commit shows a textbox.
#2 Updated by Timo Goebel over 1 year ago
- Status changed from New to Assigned
- Assigned To set to Timo Goebel
The reason for this is that in the host edit views select boxes are rendered with all available volumes or networks. This is a very expensive call with VMWare. In addition, this is completely unnecessary as they are disabled the whole time.
What they need:
<% if new_host >
< end %>