aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlavio Leitner <fbl@redhat.com>2015-06-19 21:55:56 -0300
committerBryn M. Reeves <bmr@redhat.com>2015-07-06 17:27:48 +0100
commit21aff64a58a3e0f3fc5065b2e18ca3d489e16a51 (patch)
treeaea66052bb37dd17a3fce93acd20d39c7d43fed6
parent198929b844b9aeeb2d6c815ca3e89143d3fb02cd (diff)
downloadsos-21aff64a58a3e0f3fc5065b2e18ca3d489e16a51.tar.gz
[openvswitch] capture the logs
Both ovs-vswitchd.log and ovsdb-server.log are useful for troubleshooting. Signed-off-by: Flavio Leitner <fbl@redhat.com>
-rw-r--r--sos/plugins/openvswitch.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/sos/plugins/openvswitch.py b/sos/plugins/openvswitch.py
index fbf3a903..1d756085 100644
--- a/sos/plugins/openvswitch.py
+++ b/sos/plugins/openvswitch.py
@@ -24,6 +24,10 @@ class OpenVSwitch(Plugin):
profiles = ('network', 'virt')
def setup(self):
+ self.add_copy_spec([
+ "/var/log/openvswitch/ovs-vswitchd.log",
+ "/var/log/openvswitch/ovsdb-server.log"
+ ])
# The '-s' option enables dumping of packet counters on the
# ports.
self.add_cmd_output("ovs-dpctl -s show")