Feature #15519
closedSpeed up host editing when using vmware compute resource
Description
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.
Updated by Dominic Cleal over 8 years ago
- Category set to Compute resources - VMware
Some option to keep showing them is probably required, people do rely on it (we get bug reports when it's broken).
Updated by Timo Goebel about 8 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.
Affected views:
app/views/compute_resources_vms/form/vmware/_network.html.erb
app/views/compute_resources_vms/form/vmware/_volume.html.erb
What they need:
<% if new_host >
< end %>
Updated by The Foreman Bot about 8 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3964 added
Updated by Timo Goebel about 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 0d851b1d8b401f77c099fb9aed8a3d6bb6be00b7.
Updated by Dominic Cleal about 8 years ago
- Translation missing: en.field_release set to 189
Updated by Timo Goebel almost 8 years ago
- Related to Tracker #18255: Speed up vmware added