From: Justin Pettit Date: Tue, 6 Oct 2009 00:32:36 +0000 (-0700) Subject: xenserver: Include dbcache in xen-bugtool output X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e5ce56ddbe26c0fc250ac0b2e030f247689abdc;p=openvswitch xenserver: Include dbcache in xen-bugtool output 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 --- diff --git a/xenserver/usr_sbin_xen-bugtool b/xenserver/usr_sbin_xen-bugtool index 44661259..93d833c4 100755 --- a/xenserver/usr_sbin_xen-bugtool +++ b/xenserver/usr_sbin_xen-bugtool @@ -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