neutron/neutron
Rodolfo Alonso Hernandez 7c5ce50a0c Check dnsmasq process is active when spawned
After spawning the "dnsmasq" process in the method
"Dnsmasq._spawn_or_reload_process", we need to check that the "dnsmasq"
process is running and could be detected by the ProcessManager instance
controlling it.

ProcessManager determines if a process is "active":
- If the network ID is in the cmdline used to execute the process.
- If the process is detected by psutil.Process(pid), returning the
  cmdline needed in the first condition.
- If the PID file exists; this is written by the dnsmasq process
  once is started and is needed in the second condition.

To make this feature available for any other process using
ProcessManager, the implementation is done in this class.

Change-Id: I51dc9d342c613afcbcfdc50a1d2811502748f170
Closes-Bug: #1849502
2019-10-25 13:30:30 -04:00
..
agent Check dnsmasq process is active when spawned 2019-10-25 13:30:30 -04:00
api Adding LOG statements to debug 1838449 2019-10-08 12:12:43 -05:00
cmd Remove Neutron LBaaS 2019-09-20 07:46:06 +00:00
common Don't call super() in Timer class __init__ method 2019-10-15 14:33:15 -04:00
conf Merge "Add radvd_user config option" 2019-10-19 02:05:49 +00:00
core_extensions Switch to new engine facade for QoS 2019-05-28 08:11:35 +00:00
db Merge "Use admin context when updating router gateway" 2019-10-19 22:44:29 +00:00
debug Remove deprecated 'external_network_bridge' option 2019-03-09 22:07:38 +00:00
extensions Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
hacking Remove Neutron LBaaS 2019-09-20 07:46:06 +00:00
ipam Allow first address in an IPv6 subnet as valid unicast 2019-05-21 16:31:18 +00:00
locale Imported Translations from Zanata 2019-10-01 07:59:21 +00:00
notifiers Use openstacksdk for ironic notifiers 2019-09-19 06:56:24 +00:00
objects Merge "Remove QoS related objects unneeded compatibility conversions" 2019-10-05 05:33:09 +00:00
pecan_wsgi Remove Neutron LBaaS 2019-09-20 07:46:06 +00:00
plugins Merge "ovsdb monitor: handle modified ports" 2019-10-09 09:27:47 +00:00
privileged Convert Pyroute2 byte results to strings 2019-10-15 17:25:03 +00:00
quota Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
scheduler Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
server Allow neutron-api load config from WSGI process 2018-07-25 15:22:14 +07:00
services Fix designate driver not being fully region aware 2019-09-30 01:18:03 +00:00
tests Check dnsmasq process is active when spawned 2019-10-25 13:30:30 -04:00
__init__.py Fix incorrect usage of '# flake8: noqa' 2018-10-29 15:27:50 -04:00
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py
manager.py Define dhcp_agents_per_network with min=1 2019-05-15 14:08:21 -04:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
policy.py Treat networks shared by RBAC in same way as shared with all tenants 2019-06-26 22:04:36 +00:00
service.py Fix default RPC worker count 2019-08-01 20:58:19 +01:00
version.py
worker.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00
wsgi.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00