diff options
author | Flavio Leitner <fbl@redhat.com> | 2015-06-19 21:55:56 -0300 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2015-07-06 17:27:48 +0100 |
commit | 21aff64a58a3e0f3fc5065b2e18ca3d489e16a51 (patch) | |
tree | aea66052bb37dd17a3fce93acd20d39c7d43fed6 | |
parent | 198929b844b9aeeb2d6c815ca3e89143d3fb02cd (diff) | |
download | sos-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.py | 4 |
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") |