reload_cfg doesn't work correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
class ProcessManager[1] is used to managed processes in neutron agents. The reload_cfg function is used to reload configuration by sending HUB signal to the target process. This may work for a linux system administrator, where she/he updates the config file and then sends HUP signal to reload.
But in openstack, this is a bit different. I have read the code about dnsmasq[2] and haproxy. The parameters and config files are generated by a callback function. This function generates config files and return the command(with parameters). Sending HUP signal doesn't change parameters, neither regenerate config files.
I would suggest another way to reload/restart process which makes sure the callback function is called.
[1] https:/
[2] https:/
Changed in neutron: | |
assignee: | nobody → cheng li (chengli3) |
Changed in neutron: | |
status: | New → Won't Fix |
Fix proposed to branch: master /review. openstack. org/626829
Review: https:/