Project

General

Profile

Actions

Bug #18195

closed

Foreman WebGUI times out on interfaces loading with lots of bonds/vlans (HyperVisor)

Added by Yama Kasi over 7 years ago. Updated about 7 years ago.

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

Description

When you have a host in Foreman which is a HyperVisor and it needs to load lots of interfaces because of the vlans that are hosted on this Hypervisor the webbrower times out on loading.

The hostpage itself loading actually works but it takes minutes!, when you try to edit the host the webgui finally times out on the Interfaces Tab with this as result in the production.log

2017-01-23 03:01:09 b9d8a62a [app] [I] Rendered nic/_provider_specific_form.html.erb (0.5ms)
2017-01-23 03:01:09 b9d8a62a [app] [I] Rendered nic/manageds/_managed.html.erb (74.5ms)
2017-01-23 03:01:09 b9d8a62a [app] [I] Rendered nic/_base_form.html.erb (68.1ms)
2017-01-23 03:01:09 b9d8a62a [app] [I] Rendered nic/_virtual_form.html.erb (3.2ms)
2017-01-23 03:01:09 b9d8a62a [app] [I] Rendered nic/_provider_specific_form.html.erb (0.4ms)
2017-01-23 03:01:09 b9d8a62a [app] [I] Rendered nic/manageds/_managed.html.erb (75.8ms)
2017-01-23 03:01:09 b9d8a62a [app] [I] Rendered nic/_base_form.html.erb (83.1ms)
2017-01-23 03:01:09 b9d8a62a [app] [I] Rendered nic/_virtual_form.html.erb (4.0ms)
2017-01-23 03:01:09 b9d8a62a [app] [I] Rendered nic/_provider_specific_form.html.erb (0.6ms)
2017-01-23 03:01:09 b9d8a62a [app] [I] Rendered nic/manageds/_managed.html.erb (93.0ms)
2017-01-23 03:01:09 b9d8a62a [app] [I] Rendered nic/_base_form.html.erb (80.6ms)
2017-01-23 03:01:09 b9d8a62a [app] [I] Rendered nic/_virtual_form.html.erb (4.0ms)
2017-01-23 03:01:09 b9d8a62a [app] [I] Rendered nic/_provider_specific_form.html.erb (0.6ms)
2017-01-23 03:01:09 b9d8a62a [app] [I] Rendered nic/manageds/_managed.html.erb (90.1ms)
2017-01-23 03:01:09 b9d8a62a [app] [I] Rendered nic/_base_form.html.erb (79.4ms)
2017-01-23 03:01:09 b9d8a62a [app] [I] Rendered nic/_virtual_form.html.erb (3.9ms)
2017-01-23 03:01:09 b9d8a62a [app] [I] Rendered nic/_provider_specific_form.html.erb (0.6ms)
2017-01-23 03:01:09 b9d8a62a [app] [I] Rendered nic/manageds/_managed.html.erb (89.0ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_base_form.html.erb (79.4ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_virtual_form.html.erb (3.9ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_provider_specific_form.html.erb (0.6ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/manageds/_managed.html.erb (89.0ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_base_form.html.erb (74.5ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_virtual_form.html.erb (3.3ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_provider_specific_form.html.erb (0.4ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/manageds/_managed.html.erb (82.8ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_base_form.html.erb (64.7ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_virtual_form.html.erb (3.1ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_provider_specific_form.html.erb (9.6ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/manageds/_managed.html.erb (81.8ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_base_form.html.erb (69.0ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_virtual_form.html.erb (3.1ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_provider_specific_form.html.erb (0.4ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/manageds/_managed.html.erb (76.7ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_base_form.html.erb (64.1ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_virtual_form.html.erb (3.0ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_provider_specific_form.html.erb (0.5ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/manageds/_managed.html.erb (71.4ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_base_form.html.erb (63.9ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_virtual_form.html.erb (3.1ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_provider_specific_form.html.erb (0.5ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/manageds/_managed.html.erb (71.3ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_base_form.html.erb (77.9ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_virtual_form.html.erb (3.3ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_provider_specific_form.html.erb (0.4ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/manageds/_managed.html.erb (86.0ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_base_form.html.erb (65.2ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_virtual_form.html.erb (3.1ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_provider_specific_form.html.erb (0.5ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/manageds/_managed.html.erb (72.6ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_base_form.html.erb (63.7ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_virtual_form.html.erb (3.0ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_provider_specific_form.html.erb (0.4ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/manageds/_managed.html.erb (70.9ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_base_form.html.erb (63.6ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_virtual_form.html.erb (3.1ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/_provider_specific_form.html.erb (0.4ms)
2017-01-23 03:01:10 b9d8a62a [app] [I] Rendered nic/manageds/_managed.html.erb (70.9ms)
etc...


Related issues 1 (1 open0 closed)

Is duplicate of Foreman - Refactor #7829: Improve rendering of nic formsNew10/07/2014Actions
Actions #1

Updated by Marek Hulán over 7 years ago

  • Priority changed from High to Normal
  • Difficulty deleted (easy)

How many interfaces do you have there?

Actions #2

Updated by Yama Kasi over 7 years ago

]# ls -A /sys/class/net | wc -l
*102 *

Actions #3

Updated by Dominic Cleal over 7 years ago

  • Is duplicate of Refactor #7829: Improve rendering of nic forms added
Actions #4

Updated by Dominic Cleal over 7 years ago

  • Status changed from New to Duplicate

Thanks for the report, I think the request to improve is tracked under existing issue #7829.

Actions #5

Updated by Yama Kasi over 7 years ago

Hi Dominic, OK I wil check there, I have no possibility to remove or unmanage the host as well so I hope we can find something there. I think this one can be closed then.

Actions #6

Updated by Yama Kasi over 7 years ago

What would be a temporary (DB) fix to remove hosts which have this behavior ?

Actions #7

Updated by Yama Kasi about 7 years ago

I'm having issues with this again on 1.14.2 described here:

https://groups.google.com/forum/#!topic/foreman-users/lirO4VLTkYM

Is it not an idea to create some --force option on remove of a host so all related attributes are removed as well. Proxies can be fixed manually if needed.

Actions

Also available in: Atom PDF