diff options
author | Flavio Leitner <fbl@redhat.com> | 2016-05-05 09:39:11 -0400 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2016-05-26 18:22:27 +0100 |
commit | 5c92ee04ac1c896e8cec1728d95aaae52cdecdb7 (patch) | |
tree | f128323e3852240b6b6a00e36319b2c9244ad440 | |
parent | de983230c496b3147e4b77df1153f56bd522ed75 (diff) | |
download | sos-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.py | 4 |
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([ |