[Backport bug #1511401] L3 agent no longer restarts on SIGHUP
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
Medium
|
Elena Ezhova |
Bug Description
On 8.0 we find the same errror: after sending SIGHUP signal to l3 agent, it doesn't reload config file and restart
Backport bug https:/
----Original description-
l3-agent, as well as other neutron services is launched using oslo.service which sets handlers for such signals as SIGTERM and SIGHUP. On receiving SIGHUP a service is supposed to reload its config files and restart. [1]
Meanwhile, this is not so for l3 agent. PrefixDelegation class that is instantiated in L3NATAgent overrides handler for SIGHUP [2], thus removing handler that was set in oslo.service.
To restore the expected behavior self.pd_update_cb() should be moved to the reset method.
[1] http://
[2] https:/
_______
Find on:
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "8.0"
openstack_
api: "1.0"
build_number: "86"
build_id: "86"
fuel-nailgun_sha: "24b00023b4fc27
python-
fuel-agent_sha: "d2103bee6e2163
fuel-
astute_sha: "cfd5d6b916a17a
fuel-library_sha: "8b72e8bd7d1a7d
fuel-ostf_sha: "9f500668555292
fuel-
fuelmenu_sha: "5adac39504cd1b
shotgun_sha: "a63e74e80269c7
fuelmain_sha: "03bdcf7ead2ea0
Fix proposed to branch: openstack- ci/fuel- 8.0/liberty /review. fuel-infra. org/13535
Change author: Elena Ezhova <email address hidden>
Review: https:/