Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

logfilters.j2 2.68 KB
Newer Older
Adam Robinson's avatar
Adam Robinson committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 2014, VMware, Inc.
# To filter out excessive logging, add lines with the following syntax:
#
#      numLogs | ident | logRegexp
#
# Any log line with a substring matching the regular expression logRegexp
# will appear the first "numLogs" times that it's issued, but will be
# ignored after that point. For example, the line:
#
#      5 | vmkernel | .*
#
#  will ensure that only the first 5 vmkernel-related lines appear in the log
#  and others are ignored.
#
#  All comparisons are case-sensitive. logRegexp must be a valid regular
#  expression confirming to the Python regular expression syntax.
#  Using '*' for the ident field implies that log messages from all sources
#  are a potential match. Multiple ident values can be specified in a comma
#  separated list. Consult /etc/vmsyslog.conf.d/*.conf for possible values
#  of ident.
#
#  This feature should be used only in the case where a log statement is
#  spewing excessively. Filtering the log too aggressively may make
#  troubleshooting more difficult if it loses valuable information.
{% if ansible_facts.system_vendor == 'HPE' and 'Gen10' in ansible_facts.product_name  %}
Adam Robinson's avatar
Adam Robinson committed
26

Adam Robinson's avatar
Adam Robinson committed
27
28
# Filter out SDcard messages for HPE Gen10 hosts that can be ignored
# https://support.hpe.com/hpsc/doc/public/display?sp4ts.oid=1010083017&docLocale=en_US&docId=emr_na-a00063477en_us
Adam Robinson's avatar
Adam Robinson committed
29
0 | vmkernel | 0x9e, CmdSN 0x\w* from world 0 to dev "eui\.00e04c2020202000" failed H:0x7 D:0x0 P:0x0 Invalid sense data: 0x\w* 0x\w* 0x\w*
30
0 | vmkernel | 0x9e \(0x\w*, 0\) to dev "eui\.00e04c2020202000" on path "vmhba32:C0:T0:L0" Failed: H:0x7 D:0x0 P:0x0 Invalid sense data: 0x0 0x0 0x0. Act:EVAL
Adam Robinson's avatar
Adam Robinson committed
31
0 | vmkernel | 0x85,.* to dev "eui\.00e04c2020202000" failed H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x24 0x0
32
33
0 | vmkernel | NMP: nmp_ThrottleLogForDevice:\d*: last error status from device eui.00e04c2020202000 repeated \d* times
0 | vmkernel | NMP: nmp_ResetDeviceLogThrottling:\d*: last error status from device eui.00e04c2020202000 repeated \d* times
Adam Robinson's avatar
Adam Robinson committed
34
35
36
0 | vmkwarning | WARNING: NMP: nmp_DeviceRequestFastDeviceProbe:237: NMP device "eui\.00e04c2020202000" state in doubt; requested fast path state update\.\.\.
{% endif %}
{% if (ansible_facts.system_vendor == 'HP' or ansible_facts.system_vendor == 'HPE') and 'Gen10' not in ansible_facts.product_name %}
Adam Robinson's avatar
Adam Robinson committed
37

Adam Robinson's avatar
Adam Robinson committed
38
# Filter out SDcard messages for Gen9 and older HP hardware
39
40
0 | vmkernel | 0x1a,.* to dev "mpx\.vmhba32:C0:T0:L0" failed H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x2[04] 0x0
0 | vmkernel | 0x85,.* to dev "mpx\.vmhba32:C0:T0:L0" failed H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x20 0x0
Adam Robinson's avatar
Adam Robinson committed
41
0 | vmkernel | NMP: nmp_ResetDeviceLogThrottling:\d*: Error status H:0x0 D:0x2 P:0x0 Sense Data: 0x5 0x20 0x0 from dev "mpx\.vmhba32:C0:T0:L0" occurred
Adam Robinson's avatar
Adam Robinson committed
42
{% endif %}