diff options
author | Sajjad Lateef <slateef@nicira.com> | 2011-06-01 14:15:51 -0700 |
---|---|---|
committer | Sajjad Lateef <slateef@nicira.com> | 2011-06-08 09:46:50 -0700 |
commit | 0b813a372f67858e1422a832cc922f10d5149f93 (patch) | |
tree | 8efcfb35d0c76594c24c19e8081c92c0d2ad9d9e /xenserver/openvswitch-xen.spec | |
parent | 2b01925c18a52b2f7dbff5c70269a4b4d8aec027 (diff) |
xenserver: Collect xenserver configured timezone in bugtool report
xenserver logs can be in any timezone, as configured by user
during install time. Also, the timezone data is not currently
recorded in the bugtool report. Therefore, it is currently not
possible to easily correlate logs collected on xenserver with
logs from other devices on the network.
With this change, system-configuration capability of the bugtool plugin
has been added. Also, added an extension to this capability to collect
the time information in RFC3339 format, which includes the system timezone.
Signed-off-by: Sajjad Lateef <slateef@nicira.com>
Diffstat (limited to 'xenserver/openvswitch-xen.spec')
-rw-r--r-- | xenserver/openvswitch-xen.spec | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xenserver/openvswitch-xen.spec b/xenserver/openvswitch-xen.spec index 78da1d5a..a5c1409b 100644 --- a/xenserver/openvswitch-xen.spec +++ b/xenserver/openvswitch-xen.spec @@ -88,6 +88,11 @@ install -m 644 xenserver/etc_xensource_bugtool_network-status_openvswitch.xml \ install -d -m 755 $RPM_BUILD_ROOT/etc/xensource/bugtool/kernel-info install -m 644 xenserver/etc_xensource_bugtool_kernel-info_openvswitch.xml \ $RPM_BUILD_ROOT/etc/xensource/bugtool/kernel-info/openvswitch.xml +install -m 644 xenserver/etc_xensource_bugtool_system-configuration.xml \ + $RPM_BUILD_ROOT/etc/xensource/bugtool/system-configuration.xml +install -d -m 755 $RPM_BUILD_ROOT/etc/xensource/bugtool/system-configuration +install -m 644 xenserver/etc_xensource_bugtool_system-configuration_openvswitch.xml \ + $RPM_BUILD_ROOT/etc/xensource/bugtool/system-configuration/openvswitch.xml install -d -m 755 $RPM_BUILD_ROOT/usr/share/openvswitch/scripts install -m 644 vswitchd/vswitch.ovsschema \ $RPM_BUILD_ROOT/usr/share/openvswitch/vswitch.ovsschema @@ -321,6 +326,8 @@ exit 0 /etc/xapi.d/plugins/openvswitch-cfg-update /etc/xensource/bugtool/network-status/openvswitch.xml /etc/xensource/bugtool/kernel-info/openvswitch.xml +/etc/xensource/bugtool/system-configuration.xml +/etc/xensource/bugtool/system-configuration/openvswitch.xml /etc/logrotate.d/openvswitch /etc/profile.d/openvswitch.sh /usr/share/openvswitch/python/ovs/__init__.py |