]> git.proxmox.com Git - ovs.git/commitdiff
ovs-bugtool: Collect OVS logs with "--ovs" option.
authorGurucharan Shetty <guru@ovn.org>
Tue, 25 Jul 2017 07:04:24 +0000 (00:04 -0700)
committerGurucharan Shetty <guru@ovn.org>
Mon, 7 Aug 2017 16:11:33 +0000 (09:11 -0700)
ovs-bugtool collects a lot of data. This can be time
consuming and can end up collecting a lot of redundant data.
A option "--ovs" was added a while ago to only collect
OVS relevent data. We missed adding the OVS logs to this
filter.

Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Reviewed-by: Greg Rose <gvrose8192@gmail.com>
Tested-by: Greg Rose <gvrose8192@gmail.com>
Acked-by: Ben Pfaff <blp@ovn.org>
utilities/bugtool/ovs-bugtool.in

index 5eb3440b7b2c458f249d9c85511900cdfe88b01f..b47d9a4244977142fa24a3e1fc224a24c12daadf 100755 (executable)
@@ -659,7 +659,7 @@ exclude those logs from the archive.
     if only_ovs_info:
         filters.add('ovs')
         ovs_info_caps = [CAP_NETWORK_STATUS, CAP_SYSTEM_LOGS,
-                         CAP_NETWORK_CONFIG]
+                         CAP_OPENVSWITCH_LOGS, CAP_NETWORK_CONFIG]
         ovs_info_list = ['process-tree']
         # We cannot use iteritems, since we modify 'data' as we pass through
         for (k, v) in data.items():