neutron/neutron/agent/linux
Slawek Kaplonski 93197576fa Check if process' cmdline is "space separarated"
According to proc man page process arguments in /proc/{pid}/cmdline
should be separated with '\0' char and that char was used in
neutron.agent.linux.utils.get_cmdline_from_pid function.

Recently in fullstack tests it was noticed that sometimes it may
happend that those arguments are separated with space char and this
caused failed test because async_process.AsyncProcess() was not able
to check that process is really active.

This patch adds attempt to split cmdline arguments with space in case
when split with '\0' returns only 1 element.

Change-Id: I35d4c0e2cf56fc3ff15cf307aaf11a8ad8489e1f
Closes-Bug: #1820870
(cherry picked from commit cf13b2f0cc)
2019-03-27 09:44:07 +00:00
..
openvswitch_firewall Reinitialize ovs firewall after ovs-vswitchd restart 2018-12-04 13:28:04 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
async_process.py Add kill_timeout to AsyncProcess 2019-01-04 10:46:44 +00:00
bridge_lib.py LinuxBridge: Use ifindex for logical 'timestamp' 2016-09-14 17:02:46 +00:00
daemon.py Remove argument "watch_log = " 2017-10-13 09:42:48 +08:00
dhcp.py Do not release DHCP lease when no client ID is set on port 2019-03-14 19:28:53 +00:00
dibbler.py use PROVISIONAL_IPV6_PD_PREFIX from neutron-lib 2017-11-14 12:26:43 -07:00
external_process.py Refactoring agent linux&ovsdb config 2017-08-25 10:41:39 -04:00
interface.py [DVR] Allow multiple subnets per external network 2019-01-18 08:22:54 +00:00
ip_conntrack.py Remove race and simplify conntrack state management 2018-03-26 17:34:59 +00:00
ip_lib.py Switch isolated metadata proxy to bind to 169.254.169.254 2019-02-12 10:30:47 +00:00
ip_link_support.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
ip_monitor.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
ipset_manager.py use synchronized lock decorator from neutron-lib 2017-10-04 13:57:42 -06:00
iptables_comments.py Iptables firewall driver adds forward rules for trusted ports 2018-03-25 09:56:10 +00:00
iptables_firewall.py When converting sg rules to iptables, do not emit dport if not supported 2019-03-11 20:26:49 -06:00
iptables_manager.py Fix neutron-openvswitch-agent Windows support 2018-11-23 17:13:42 +02:00
keepalived.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
l3_tc_lib.py Make L3 IP tc filter rate limit more accurate 2018-07-12 11:43:23 +00:00
ovsdb_monitor.py ovsdb monitor: do not die on ovsdb-client stderr output 2018-09-17 08:18:11 +00:00
pd.py use PROVISIONAL_IPV6_PD_PREFIX from neutron-lib 2017-11-14 12:26:43 -07:00
pd_driver.py use PROVISIONAL_IPV6_PD_PREFIX from neutron-lib 2017-11-14 12:26:43 -07:00
polling.py Support ovsdb-client monitor with remote connection 2017-01-17 06:00:58 -08:00
ra.py Dropping radvd process privileges 2018-06-26 17:48:10 +00:00
tc_lib.py Fix ingress bw limit for OVS DPDK ports 2018-01-15 13:19:14 +00:00
utils.py Check if process' cmdline is "space separarated" 2019-03-27 09:44:07 +00:00
xenapi_root_helper.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00