]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
NEC plugin: Fix nec-agent unexpected exit due to RPC exception
authorAkihiro MOTOKI <motoki@da.jp.nec.com>
Fri, 4 Oct 2013 06:53:03 +0000 (15:53 +0900)
committerGerrit Code Review <review@openstack.org>
Tue, 8 Oct 2013 21:01:55 +0000 (21:01 +0000)
commit4182876144fb78c419621332832ab5a10d4dda4a
tree8d1b6b2d546daf289d3f0f9c1b322fe589f0ccea
parent74c60abeec1ceee572b4c8a7988eabab45e00d38
NEC plugin: Fix nec-agent unexpected exit due to RPC exception

Changes nec-agent to catch RPC exceptions in the main
daemon loop. It fixes the following two bugs.

- nec-agent dies with RPC timeout in secgroup RPC
  (Closes-Bug: #1235106)

- port_added message can be dropped when RPC timeout occurs
  (Closes-Bug: #1235111). Moves exception catch from PluginApi
  to the main daemon loop.

Change-Id: I12394b739fc35bff271543f4625c5e3152e534ae
(cherry picked from commit 3df505e448d38929c20721b22d81e47bf917af6a)
neutron/plugins/nec/agent/nec_neutron_agent.py
neutron/tests/unit/nec/test_nec_agent.py