xenserver: Include dbcache in xen-bugtool output
authorJustin Pettit <jpettit@nicira.com>
Tue, 6 Oct 2009 00:32:36 +0000 (17:32 -0700)
committerJustin Pettit <jpettit@nicira.com>
Tue, 6 Oct 2009 00:32:36 +0000 (17:32 -0700)
It has been pointed out that it would be useful to have a copy of the
dbcache file in the bug report.  This adds that.

Bug #2106

xenserver/usr_sbin_xen-bugtool

index 44661259e7d97debcbca4d6c03c2866775d65118..93d833c4be496bfb4c36304a982bd52fb0ec43a3 100755 (executable)
@@ -121,6 +121,7 @@ VAR_LOG_DIR = '/var/log/'
 VNCTERM_CORE_DIR = '/var/xen/vncterm'
 VSWITCH_CORE_DIR = '/var/xen/vswitch'
 OVS_VSWITCH_CONF = '/etc/ovs-vswitchd.conf'
+OVS_VSWITCH_DBCACHE = '/etc/ovs-vswitch.dbcache'
 XENSOURCE_INVENTORY = '/etc/xensource-inventory'
 OEM_CONFIG_DIR = '/var/xsconfig'
 OEM_CONFIG_FILES_RE = re.compile(r'^.*xensource-inventory$')
@@ -710,6 +711,7 @@ exclude those logs from the archive.
     tree_output(CAP_VNCTERM, VNCTERM_CORE_DIR)
 
     file_output(CAP_VSWITCH_CONFIG, [OVS_VSWITCH_CONF])
+    file_output(CAP_VSWITCH_CONFIG, [OVS_VSWITCH_DBCACHE])
 
     file_output(CAP_VSWITCH_LOGS, 
          [ VAR_LOG_DIR + x for x in