aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlavio Leitner <fbl@redhat.com>2016-05-05 09:39:11 -0400
committerBryn M. Reeves <bmr@redhat.com>2016-05-26 18:22:27 +0100
commit5c92ee04ac1c896e8cec1728d95aaae52cdecdb7 (patch)
treef128323e3852240b6b6a00e36319b2c9244ad440
parentde983230c496b3147e4b77df1153f56bd522ed75 (diff)
downloadsos-5c92ee04ac1c896e8cec1728d95aaae52cdecdb7.tar.gz
[openvswitch] Copy the pid files
The pid files are used by scripts to manage the services and makes sense to have a copy of them to see if they are stale or not. Signed-off-by: Flavio Leitner <fbl@redhat.com>
-rw-r--r--sos/plugins/openvswitch.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/sos/plugins/openvswitch.py b/sos/plugins/openvswitch.py
index 356533ce..385a5c30 100644
--- a/sos/plugins/openvswitch.py
+++ b/sos/plugins/openvswitch.py
@@ -27,7 +27,9 @@ class OpenVSwitch(Plugin):
self.add_copy_spec([
"/var/log/openvswitch/ovs-vswitchd.log",
- "/var/log/openvswitch/ovsdb-server.log"
+ "/var/log/openvswitch/ovsdb-server.log",
+ "/var/run/openvswitch/ovsdb-server.pid",
+ "/var/run/openvswitch/ovs-vswitchd.pid"
])
self.add_cmd_output([