OpenStack Networking (Neutron)
Go to file
Rodolfo Alonso Hernandez ce3f2f7d26 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
(cherry picked from commit 7c5ce50a0c)
2019-10-30 12:23:56 +00:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
bin Use os-xenapi for neutron when XenServer as hypervisor 2017-03-30 18:33:37 +00:00
devstack Add l3 conntrack helper to devstack plugin 2019-09-16 12:23:35 +00:00
doc [nova][train] Docs: Remove deprecated RetryFilter 2019-10-20 07:41:57 +00:00
etc Kill all processes running in a namespace before deletion 2019-08-21 09:03:54 +00:00
neutron Check dnsmasq process is active when spawned 2019-10-30 12:23:56 +00:00
playbooks OpenDev Migration Patch 2019-04-19 19:38:27 +00:00
rally-jobs Rally task definition for port binding scenario 2019-07-08 13:25:46 +02:00
releasenotes Add radvd_user config option 2019-10-25 08:14:45 +00:00
roles Fix log directory permissions for functional job 2019-08-03 12:06:32 +00:00
tools Fix tools/configure_for_func_testing.sh 2019-08-04 17:46:38 +08:00
.coveragerc Cleanup coverage configuration 2016-10-17 17:06:19 +05:30
.gitignore Removing existing dirs from .gitignore 2019-05-31 13:35:30 +00:00
.gitreview Update .gitreview for stable/train 2019-09-26 09:44:06 +00:00
.mailmap Add mailmap entry 2014-05-16 13:40:04 -04:00
.pylintrc Fix pylint R1717 (consider-using-dict-comprehension) refactor messages 2019-03-14 23:19:58 +00:00
.stestr.conf Fix post gate hook to accommodate for new os-testr 2017-09-12 14:20:12 -06:00
.zuul.yaml switch to the newly created opensuse-15 nodeset 2019-10-16 19:15:17 +00:00
CONTRIBUTING.rst Update link for contribution 2017-08-31 16:44:51 +02:00
HACKING.rst Update the documentation link for doc migration 2017-07-22 18:46:13 +09:00
LICENSE Adding Apache Version 2.0 license file. This is the official license agreement under which Quantum code is available to 2011-08-08 12:31:04 -07:00
README.rst Update mailinglist from dev to discuss 2018-12-12 12:44:12 +08:00
TESTING.rst Add note about apparmor issue with fullstack tests 2019-09-11 19:56:50 +00:00
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
bindep.txt Add libffi-dev to bindep.txt 2017-06-13 19:26:49 +00:00
lower-constraints.txt Use openstacksdk for ironic notifiers 2019-09-19 06:56:24 +00:00
requirements.txt Use openstacksdk for ironic notifiers 2019-09-19 06:56:24 +00:00
setup.cfg Merge "Agent - Conntrack Helper" 2019-09-15 01:39:25 +00:00
setup.py Updated from global requirements 2017-03-04 11:19:58 +00:00
test-requirements.txt Use openstacksdk for ironic notifiers 2019-09-19 06:56:24 +00:00
tox.ini Update TOX/UPPER_CONSTRAINTS_FILE for stable/train 2019-09-26 09:44:09 +00:00

README.rst

Team and repository tags

image

Welcome!

To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute:

CONTRIBUTING.rst