Timing out in nova-api requests to neutron

Bug #1641135 reported by Arx Cruz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Arx Cruz

Bug Description

On low memory usage environment nova-api is timing out when make requests to neutron, because the default 30 seconds isn't enough to neutron send the response.

Arx Cruz (arxcruz)
Changed in tripleo:
importance: Undecided → Medium
assignee: nobody → Arx Cruz (arxcruz)
Changed in tripleo:
status: New → In Progress
Revision history for this message
John Trowbridge (trown) wrote :

added newton backport potential as this is environment is mainly for CI and developer environments so backport is very low risk.

Changed in tripleo:
milestone: none → ocata-1
milestone: ocata-1 → ocata-2
tags: added: newton-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/390361
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=c99c48b84e20925b4f4b728e9b103d6c8bcb3d11
Submitter: Jenkins
Branch: master

commit c99c48b84e20925b4f4b728e9b103d6c8bcb3d11
Author: Arx Cruz <email address hidden>
Date: Mon Oct 24 16:27:11 2016 +0200

    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

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/396768

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/newton)

Reviewed: https://review.openstack.org/396768
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=7b58cbe226c2b1f6ec85111a485596aa0e24bbfe
Submitter: Jenkins
Branch: stable/newton

commit 7b58cbe226c2b1f6ec85111a485596aa0e24bbfe
Author: Arx Cruz <email address hidden>
Date: Mon Oct 24 16:27:11 2016 +0200

    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
    (cherry picked from commit c99c48b84e20925b4f4b728e9b103d6c8bcb3d11)

tags: added: in-stable-newton
Steven Hardy (shardy)
Changed in tripleo:
milestone: ocata-2 → ocata-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 6.0.0.0b1

This issue was fixed in the openstack/tripleo-heat-templates 6.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.2.0

This issue was fixed in the openstack/tripleo-heat-templates 5.2.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.