From c99c48b84e20925b4f4b728e9b103d6c8bcb3d11 Mon Sep 17 00:00:00 2001 From: Arx Cruz Date: Mon, 24 Oct 2016 16:27:11 +0200 Subject: Increasing neutron timeout for low memory usage We are noticing several tests failing in our low memory environment because of timeout in neutron requests. As an example the test tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON fails because it requests to plug a vif, and send request to neutron, which responds in more than neutron_url_timeout, and since the option vif_plugging_is_fatal is set to True as default, the test fails. Shortly thereafter, checking in neutron log you can see the request, returning with the proper status, after more than neutron_url_timeout, however, it's already too late once nova already marked the instance with error status, and so the test fails. Closes-Bug: #1641135 Change-Id: If0991c114f199490ac0deb71eb569a42d4711359 --- environments/low-memory-usage.yaml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'environments/low-memory-usage.yaml') diff --git a/environments/low-memory-usage.yaml b/environments/low-memory-usage.yaml index ad428686..47b2003d 100644 --- a/environments/low-memory-usage.yaml +++ b/environments/low-memory-usage.yaml @@ -13,3 +13,6 @@ parameter_defaults: ApacheMaxRequestWorkers: 32 ApacheServerLimit: 32 + + ControllerExtraConfig: + 'nova::network::neutron::neutron_url_timeout': '60' -- cgit 1.2.3-korg