Commit: d6ff039e97f0afab3829e90e33952888ab49384a
Author: Elena Ezhova <email address hidden>
Date: Fri Nov 20 11:30:45 2015
Use SIGUSR1 to notify l3 agent of changing prefix file
It is common for all OpenStack services to use SIGHUP signal to
reload configuration and restart. This functionality, including
defining signal handler, is defined by oslo.service.
Meanwhile, this is currently not so for l3 agent. PrefixDelegation
class that is instantiated in L3NATAgent overrides handler for SIGHUP,
thus removing handler that was set in oslo.service.
The proposed solution is to use another signal, such as SIGUSR1,
instead of SIGHUP to notify l3 agent that a prefix file was
somehow changed.
Added a functional test for restarting L3 agent using SIGHUP.
Reviewed: https:/ /review. fuel-infra. org/13535 ci/fuel- 8.0/liberty
Submitter: Pkgs Jenkins <email address hidden>
Branch: openstack-
Commit: d6ff039e97f0afa b3829e90e339528 88ab49384a
Author: Elena Ezhova <email address hidden>
Date: Fri Nov 20 11:30:45 2015
Use SIGUSR1 to notify l3 agent of changing prefix file
It is common for all OpenStack services to use SIGHUP signal to
reload configuration and restart. This functionality, including
defining signal handler, is defined by oslo.service.
Meanwhile, this is currently not so for l3 agent. PrefixDelegation
class that is instantiated in L3NATAgent overrides handler for SIGHUP,
thus removing handler that was set in oslo.service.
The proposed solution is to use another signal, such as SIGUSR1,
instead of SIGHUP to notify l3 agent that a prefix file was
somehow changed.
Added a functional test for restarting L3 agent using SIGHUP.
Conflicts: tests/functiona l/agent/ test_l3_ agent.py
neutron/
Closes-Bug: #1512275 /review. openstack. org/#/c/ 240267/ 7bcf08cfe1f8092 1a46d94029d
Cherry-picked from https:/
Change-Id: I48eb4697a5fad9