]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Decrease rpc timeout after agent receives SIGTERM
authorJakub Libosvar <libosvar@redhat.com>
Fri, 30 Jan 2015 17:30:22 +0000 (18:30 +0100)
committerJakub Libosvar <libosvar@redhat.com>
Tue, 3 Feb 2015 11:38:09 +0000 (12:38 +0100)
commitd3af7b0d2ebb2dd4da7e4a620eca8f554c124ec6
tree733b6e2b6723ffdb9adeffad89475fbcc0b85483
parente4a8145f9132d8ffe1a92b8b8eaa4b779ac5cdaa
Decrease rpc timeout after agent receives SIGTERM

The patch sets different timeout to rpc api objects in OVS agent after
SIGTERM is received. Given timeout is configurable. This action prevents
long waiting for rpc call() methods to timeout and decreases amount of time
needed to successfully stopping OVS agent.

DocImpact
Change-Id: I3026775e813a74bad9e0bca3be1f535212a2e417
Closes-Bug: 1408334
etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
neutron/plugins/openvswitch/agent/ovs_neutron_agent.py
neutron/plugins/openvswitch/common/config.py
neutron/tests/unit/openvswitch/test_ovs_neutron_agent.py