aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlavio Leitner <fbl@redhat.com>2016-05-05 09:56:40 -0400
committerBryn M. Reeves <bmr@redhat.com>2016-05-26 18:22:27 +0100
commit10944b281772ea6bd3641c8940dd5356057378f1 (patch)
tree1da6a3dc8ec6169eb7ff7f9f09249c137c90fc47
parent5c92ee04ac1c896e8cec1728d95aaae52cdecdb7 (diff)
downloadsos-10944b281772ea6bd3641c8940dd5356057378f1.tar.gz
[openvswitch] List ovs runtime dir contents
There are sockets and other files created on the runtime directory that are useful to know if they exist and their permissions. 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 385a5c30..dc543606 100644
--- a/sos/plugins/openvswitch.py
+++ b/sos/plugins/openvswitch.py
@@ -40,7 +40,9 @@ class OpenVSwitch(Plugin):
# to the Open vSwitch server, avoiding hangs when running sos.
"ovs-vsctl -t 5 show",
# Gather the database.
- "ovsdb-client -f list dump"
+ "ovsdb-client -f list dump",
+ # List the contents of runtime directory
+ "ls -laZ /var/run/openvswitch"
])
# Gather additional output for each OVS bridge on the host.