Speed up host editing when using vmware compute resource
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 2 years ago
- Status changed from New to Assigned
- Assignee 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 %>