]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fixes 'ovs-agent fails to start on Windows beacause of SIGHUP'
authorAdelina Tuvenie <atuvenie@cloudbasesolutions.com>
Thu, 24 Sep 2015 13:17:06 +0000 (06:17 -0700)
committerKyle Mestery <mestery@mestery.com>
Fri, 2 Oct 2015 16:00:24 +0000 (16:00 +0000)
commit155746c171c24d11e77d9624e9af31b45dad87f3
tree3a6002bd4dae7821a0ab293e49d8e5ab0c79e2e4
parentfa2b18c45ae0e7aefa0a0b454c5b7b4e9a05f63a
Fixes 'ovs-agent fails to start on Windows beacause of SIGHUP'

Change Ic0cf8a9ca7f3a16b556a6825e2979471ae136c33 has added the handling
of SIGHUP in neutron_ovs_agent. This does not work on Windows as there is
no SIGHUP signal on windows.

The fix consists in checking if signal has SIGHUP attr before setting the handler
for SIGHUP.

Change-Id: I08258580252d68db222cbb9db7812ff1dfb37a56
Closes-Bug: #1499345
(cherry picked from commit 584bb1aad8647872cb8722beeb84e9ec08abc208)
neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py