aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrent Lloyd <trent.lloyd@canonical.com>2022-10-12 11:22:41 +0800
committerJake Hunsaker <jhunsake@redhat.com>2022-10-13 09:59:05 -0400
commit5d3ebee8dd6bd348c6d1384e7147f3591400c72d (patch)
treee7ef716cbb293708a241d0bea0d4924e7f5b5eb0
parent93ae56d7eb688b35d3c936d9a1ec916ba8e03f08 (diff)
downloadsos-5d3ebee8dd6bd348c6d1384e7147f3591400c72d.tar.gz
[ovn_central] Collect ovsdb files on Ubuntu
Ubuntu OVN packages store the ovsdb files in /var/lib/ovn Signed-off-by: Trent Lloyd <trent.lloyd@canonical.com>
-rw-r--r--sos/report/plugins/ovn_central.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/report/plugins/ovn_central.py b/sos/report/plugins/ovn_central.py
index 4bfd806c..16d7203c 100644
--- a/sos/report/plugins/ovn_central.py
+++ b/sos/report/plugins/ovn_central.py
@@ -150,7 +150,8 @@ class OVNCentral(Plugin):
self.path_join('/usr/local/etc/openvswitch', dbfile),
self.path_join('/etc/openvswitch', dbfile),
self.path_join('/var/lib/openvswitch', dbfile),
- self.path_join('/var/lib/ovn/etc', dbfile)
+ self.path_join('/var/lib/ovn/etc', dbfile),
+ self.path_join('/var/lib/ovn', dbfile)
])
if ovs_dbdir:
self.add_copy_spec(self.path_join(ovs_dbdir, dbfile))