Project

General

Profile

Actions

Bug #12603

open

Host edit slow to load with many network interfaces

Added by Sergio Traldi about 9 years ago. Updated almost 9 years ago.

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

Description

Hi,
we have foreman 1.7.5-1 and about 100 hosts magaged by foreman.
The Database is in a cluster percona of three hosts dedicated. We have some hosts managed by foreman which are compute nodes of a openstack cloud.
Each host (compute node) has libvit (kvm) installed and has one or more bridges and openstack creates many vitual interfaces. When I try to Edit one host in foreman gui, many time it takes about 5 minutes or more, and sometimes a javascrit stuck and firefox ask me to continue or sto script.
In the porduction log I see a lot of:
....
Rendered nic/manageds/_managed.html.erb (8.9ms)
Rendered nic/_base_form.html.erb (6.7ms)
Rendered nic/_virtual_form.html.erb (0.9ms)
Rendered nic/manageds/_managed.html.erb (8.8ms)
Rendered nic/_base_form.html.erb (6.5ms)
Rendered nic/_virtual_form.html.erb (0.8ms)
Rendered nic/manageds/_managed.html.erb (8.7ms)
Rendered nic/_base_form.html.erb (6.4ms)
Rendered nic/_virtual_form.html.erb (0.8ms)
....

The best think shoud be if I can choose to wait a lot of time or setting some parameter o facter to disable the rendering of virtual nics. (I don't need their)

Can someone help?

I have a look to bug or performance issue, and I found:
http://projects.theforeman.org/issues/7259
http://projects.theforeman.org/issues/3145
http://projects.theforeman.org/issues/11657

But one of the bug is for parameter issue, the other is for database caching, and the last is an aggregate of multiple performance issues.

Cheers
Sergio

Actions

Also available in: Atom PDF