Comment 8 for bug 1479090

Revision history for this message
Ihor Kalnytskyi (ikalnytskyi) wrote :

I've found the reason why it works slow -

        6 0.000 0.000 6.323 1.054 /home/ikalnitsky/devel/fuel-web/nailgun/nailgun/orchestrator/neutron_serializers.py:951(network_provider_node_attrs)
      216 0.007 0.000 6.222 0.029 /home/ikalnitsky/devel/fuel-web/nailgun/nailgun/network/manager.py:701(get_node_networks)
      210 0.001 0.000 6.027 0.029 /home/ikalnitsky/devel/fuel-web/nailgun/nailgun/network/manager.py:665(get_node_network_by_netname)

On 6 nodes the "get_node_networks" function is called 216 times. For 5 nodes - it's 155, and for 4 - 104. Obviously, we have an algebraic progression here. I'm thinking how to remove the call numbers.

Meantime, we have a mule.. I don't understand why our API is unresponsive. The logs you have provided doesn't contain a lot of information. For instance, uwsgi.log and nginx_access.log are empty.