From 9e5ce56ddbe26c0fc250ac0b2e030f247689abdc Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Mon, 5 Oct 2009 17:32:36 -0700 Subject: [PATCH] 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 --- xenserver/usr_sbin_xen-bugtool | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xenserver/usr_sbin_xen-bugtool b/xenserver/usr_sbin_xen-bugtool index 44661259e..93d833c4b 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 -- 2.43.0