Project

General

Profile

Actions

Refactor #7829

open

Improve rendering of nic forms

Added by Marek Hulán about 10 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Form rendering can be improved. Some helpers may be cached. This is the output from some slower server

Started GET "/hosts/.../edit" for ... at Tue Oct 07 08:50:54 +0100 2014
Processing by HostsController#edit as HTML
  Parameters: {"id"=>"h01.sat.lab.tlv.redhat.com"}
  Rendered hosts/_progress.html.erb (1.5ms)
  Rendered config_groups/_config_group.html.erb (259.0ms)
  Rendered config_groups/_config_groups_selection.html.erb (532.8ms)
  Rendered puppetclasses/_selectedClasses.html.erb (0.0ms)
  Rendered puppetclasses/_classes_in_groups.html.erb (0.0ms)
  Rendered puppetclasses/_classes.html.erb (1454.8ms)
  Rendered puppetclasses/_class_selection.html.erb (2781.1ms)
  Rendered common/_domain.html.erb (703.4ms)
  Rendered nic/_base_form.html.erb (507.1ms)
  Rendered nic/_virtual_form.html.erb (6.3ms)
  Rendered nic/manageds/_managed.html.erb (743.1ms)
  Rendered nic/_base_form.html.erb (483.6ms)
  Rendered nic/_virtual_form.html.erb (218.0ms)
  Rendered nic/manageds/_managed.html.erb (707.5ms)
  Rendered nic/_base_form.html.erb (485.7ms)
  Rendered nic/_virtual_form.html.erb (4.1ms)
  Rendered nic/manageds/_managed.html.erb (708.7ms)
  Rendered nic/_base_form.html.erb (482.6ms)
  Rendered nic/_virtual_form.html.erb (4.4ms)
  Rendered nic/manageds/_managed.html.erb (492.8ms)
  Rendered nic/_base_form.html.erb (485.2ms)
  Rendered nic/_virtual_form.html.erb (5.0ms)
  Rendered nic/manageds/_managed.html.erb (711.9ms)
  Rendered nic/_base_form.html.erb (483.2ms)
  Rendered nic/_virtual_form.html.erb (217.9ms)
  Rendered nic/manageds/_managed.html.erb (707.1ms)
  Rendered nic/_base_form.html.erb (487.2ms)
  Rendered nic/_virtual_form.html.erb (4.2ms)
  Rendered nic/manageds/_managed.html.erb (497.0ms)
  Rendered nic/_base_form.html.erb (698.1ms)
  Rendered nic/_virtual_form.html.erb (4.7ms)
  Rendered nic/manageds/_managed.html.erb (709.3ms)
  Rendered nic/_base_form.html.erb (484.9ms)
  Rendered nic/bmcs/_bmc.html.erb (710.0ms)
  Rendered nic/_base_form.html.erb (485.0ms)
  Rendered nic/_virtual_form.html.erb (4.1ms)
  Rendered nic/manageds/_managed.html.erb (708.1ms)
  Rendered nic/_base_form.html.erb (481.7ms)
  Rendered nic/_virtual_form.html.erb (4.4ms)
  Rendered nic/manageds/_managed.html.erb (491.7ms)
  Rendered nic/_base_form.html.erb (482.9ms)
  Rendered nic/_virtual_form.html.erb (5.1ms)
  Rendered nic/manageds/_managed.html.erb (709.4ms)
  Rendered common/os_selection/_architecture.html.erb (939.6ms)
  Rendered common/os_selection/_operatingsystem.html.erb (506.0ms)
  Rendered hosts/_operating_system.html.erb (1492.7ms)
  Rendered hosts/_unattended.html.erb (11785.4ms)
  Rendered puppetclasses/_class_parameters.html.erb (1558.3ms)
  Rendered puppetclasses/_classes_parameters.html.erb (1806.2ms)
  Rendered common_parameters/_inherited_parameters.html.erb (233.6ms)
  Rendered common_parameters/_puppetclass_parameter.html.erb (6.5ms)
  Rendered common_parameters/_puppetclasses_parameters.html.erb (16.3ms)
  Rendered common_parameters/_parameter.html.erb (7.0ms)
  Rendered common_parameters/_parameters.html.erb (243.5ms)
  Rendered hosts/_form.html.erb (17953.6ms)
  Rendered hosts/edit.html.erb within layouts/application (17960.1ms)
  Rendered home/_user_dropdown.html.erb (4.3ms)
Read fragment views/tabs_and_title_records-1 0.7ms
  Rendered home/_topbar.html.erb (220.7ms)
  Rendered layouts/base.html.erb (223.1ms)
Completed 200 OK in 18450.6ms (Views: 17963.2ms | ActiveRecord: 228.0ms)

Related issues 2 (1 open1 closed)

Related to Foreman - Tracker #2409: NetworkingNew

Actions
Has duplicate Foreman - Bug #18195: Foreman WebGUI times out on interfaces loading with lots of bonds/vlans (HyperVisor)Duplicate01/22/2017Actions
Actions #1

Updated by Marek Hulán about 10 years ago

Actions #2

Updated by Dominic Cleal over 7 years ago

  • Has duplicate Bug #18195: Foreman WebGUI times out on interfaces loading with lots of bonds/vlans (HyperVisor) added
Actions #3

Updated by Chris Baldwin over 7 years ago

I'm running in to this (or something that looks very similar to this) as well. The delay is noticeable with as little as 10 NICs, resulting in timeouts when you have 100's of NICs (

Actions

Also available in: Atom PDF