Project

General

Profile

Actions

Feature #15519

closed

Speed up host editing when using vmware compute resource

Added by Alex Fisher almost 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources - VMware
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.


Related issues 1 (1 open0 closed)

Related to Foreman - Tracker #18255: Speed up vmwareNew01/26/2017

Actions
Actions #1

Updated by Dominic Cleal almost 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).

Actions #2

Updated by Timo Goebel over 7 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 %>

Actions #3

Updated by The Foreman Bot over 7 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3964 added
Actions #4

Updated by Timo Goebel over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by Dominic Cleal over 7 years ago

  • translation missing: en.field_release set to 189
Actions #6

Updated by Timo Goebel about 7 years ago

Actions

Also available in: Atom PDF