qa/suites: escape the parenthesis of the whitelist text

so we can avoid the warnings like

grep: Unmatched ( or \(

because we pass the whitelisted string to `egrep -v "$1"` directly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2017-08-01 16:47:07 +08:00
parent d67d6c57ae
commit d12c51ca91
74 changed files with 167 additions and 167 deletions

View File

@ -2,8 +2,8 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (OSD_DOWN)
- (OSD_
- \(OSD_DOWN\)
- \(OSD_
- but it is still running
# MDS daemon 'b' is not responding, replacing it as rank 0 with standby 'a'
- is not responding

View File

@ -18,8 +18,8 @@ tasks:
fs: xfs # this implicitly means /dev/vd? are used instead of directories
wait-for-scrub: false
log-whitelist:
- (OSD_
- (PG_
- \(OSD_
- \(PG_
conf:
global:
mon pg warn min per osd: 2

View File

@ -2,8 +2,8 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (FS_DEGRADED)
- (MDS_FAILED)
- (MDS_DEGRADED)
- (FS_WITH_FAILED_MDS)
- (MDS_DAMAGE)
- \(FS_DEGRADED\)
- \(MDS_FAILED\)
- \(MDS_DEGRADED\)
- \(FS_WITH_FAILED_MDS\)
- \(MDS_DAMAGE\)

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (FS_DEGRADED)
- (MDS_FAILED)
- (MDS_DEGRADED)
- (FS_WITH_FAILED_MDS)
- \(FS_DEGRADED\)
- \(MDS_FAILED\)
- \(MDS_DEGRADED\)
- \(FS_WITH_FAILED_MDS\)

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- reached quota
- (POOL_APP_NOT_ENABLED)
- \(POOL_APP_NOT_ENABLED\)
tasks:
- ceph-fuse:
- workunit:

View File

@ -1,4 +1,4 @@
overrides:
ceph:
log-whitelist:
- (MDS_TRIM)
- \(MDS_TRIM\)

View File

@ -3,10 +3,10 @@ overrides:
log-whitelist:
- but it is still running
- overall HEALTH_
- (OSDMAP_FLAGS)
- (PG_
- (OSD_
- (OBJECT_
- \(OSDMAP_FLAGS\)
- \(PG_
- \(OSD_
- \(OBJECT_
tasks:
- workunit:
clients:

View File

@ -2,8 +2,8 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- (TOO_FEW_PGS)
- \(CACHE_POOL_NO_HIT_SET\)
- \(TOO_FEW_PGS\)
tasks:
- workunit:
clients:

View File

@ -3,7 +3,7 @@ overrides:
log-whitelist:
- but it is still running
- overall HEALTH_
- (POOL_APP_NOT_ENABLED)
- \(POOL_APP_NOT_ENABLED\)
tasks:
- workunit:
clients:

View File

@ -3,7 +3,7 @@ overrides:
log-whitelist:
- but it is still running
- overall HEALTH_
- (POOL_APP_NOT_ENABLED)
- \(POOL_APP_NOT_ENABLED\)
tasks:
- workunit:
clients:

View File

@ -3,7 +3,7 @@ overrides:
log-whitelist:
- but it is still running
- overall HEALTH_
- (POOL_APP_NOT_ENABLED)
- \(POOL_APP_NOT_ENABLED\)
tasks:
- workunit:
clients:

View File

@ -7,8 +7,8 @@ tasks:
wait-for-scrub: false
log-whitelist:
- overall HEALTH_
- (MGR_DOWN)
- (PG_
- \(MGR_DOWN\)
- \(PG_
- cephfs_test_runner:
modules:
- tasks.mgr.test_failover

View File

@ -2,8 +2,8 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (MON_DOWN)
- (TOO_FEW_PGS)
- \(MON_DOWN\)
- \(TOO_FEW_PGS\)
tasks:
- mon_thrash:
revive_delay: 90

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (MON_DOWN)
- \(MON_DOWN\)
conf:
osd:
mon client ping interval: 4

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (MON_DOWN)
- \(MON_DOWN\)
tasks:
- mon_thrash:
revive_delay: 20

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (MON_DOWN)
- \(MON_DOWN\)
conf:
mon:
paxos min: 10

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (MON_DOWN)
- \(MON_DOWN\)
conf:
mon:
paxos min: 10

View File

@ -3,7 +3,7 @@ overrides:
log-whitelist:
- slow request
- overall HEALTH_
- (POOL_APP_NOT_ENABLED)
- \(POOL_APP_NOT_ENABLED\)
tasks:
- exec:
client.0:

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (POOL_APP_NOT_ENABLED)
- \(POOL_APP_NOT_ENABLED\)
tasks:
- exec:
client.0:

View File

@ -3,12 +3,12 @@ overrides:
log-whitelist:
- reached quota
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- (POOL_FULL)
- (REQUEST_SLOW)
- (MON_DOWN)
- (PG_
- (POOL_APP_NOT_ENABLED)
- \(CACHE_POOL_NO_HIT_SET\)
- \(POOL_FULL\)
- \(REQUEST_SLOW\)
- \(MON_DOWN\)
- \(PG_
- \(POOL_APP_NOT_ENABLED\)
conf:
global:
debug objecter: 20

View File

@ -3,8 +3,8 @@ overrides:
log-whitelist:
- but it is still running
- overall HEALTH_
- (PG_
- (MON_DOWN)
- \(PG_
- \(MON_DOWN\)
tasks:
- workunit:
clients:

View File

@ -3,5 +3,5 @@ tasks:
- ceph:
log-whitelist:
- overall HEALTH_
- (MON_DOWN)
- \(MON_DOWN\)
- mon_recovery:

View File

@ -14,9 +14,9 @@ tasks:
osd max object namespace len: 64
log-whitelist:
- overall HEALTH_
- (OSDMAP_FLAGS)
- (OSD_
- (PG_
- (TOO_FEW_PGS)
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- \(TOO_FEW_PGS\)
- ceph_objectstore_tool:
objects: 20

View File

@ -5,7 +5,7 @@ tasks:
- ceph:
log-whitelist:
- overall HEALTH_
- (MGR_DOWN)
- \(MGR_DOWN\)
- exec:
mon.a:
- ceph restful create-key admin

View File

@ -5,7 +5,7 @@ tasks:
- ceph:
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- \(CACHE_POOL_NO_HIT_SET\)
conf:
global:
osd max object name len: 460

View File

@ -10,7 +10,7 @@ tasks:
- ceph:
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- \(CACHE_POOL_NO_HIT_SET\)
conf:
global:
osd max object name len: 460

View File

@ -6,9 +6,9 @@ overrides:
log-whitelist:
- is full
- overall HEALTH_
- (POOL_FULL)
- (POOL_NEAR_FULL)
- (CACHE_POOL_NO_HIT_SET)
- \(POOL_FULL\)
- \(POOL_NEAR_FULL\)
- \(CACHE_POOL_NO_HIT_SET\)
tasks:
- install:
- ceph:

View File

@ -11,9 +11,9 @@ tasks:
log-whitelist:
- but it is still running
- overall HEALTH_
- (OSDMAP_FLAGS)
- (OSD_
- (PG_
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- workunit:
clients:
all:

View File

@ -13,9 +13,9 @@ tasks:
- ceph:
log-whitelist:
- overall HEALTH_
- (PG_
- (OSD_
- (OBJECT_
- \(PG_
- \(OSD_
- \(OBJECT_
conf:
osd:
osd debug reject backfill probability: .3

View File

@ -9,7 +9,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (PG_
- \(PG_
conf:
global:
osd heartbeat grace: 40

View File

@ -14,10 +14,10 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (OSDMAP_FLAGS)
- (OSD_
- (PG_
- (OBJECT_DEGRADED)
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- \(OBJECT_DEGRADED\)
conf:
osd:
debug osd: 5

View File

@ -14,10 +14,10 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (OSDMAP_FLAGS)
- (OSD_
- (PG_
- (OBJECT_DEGRADED)
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- \(OBJECT_DEGRADED\)
conf:
osd:
debug osd: 5

View File

@ -13,7 +13,7 @@ tasks:
log-whitelist:
- but it is still running
- overall HEALTH_
- (OSDMAP_FLAGS)
- (OSD_
- (PG_
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- dump_stuck:

View File

@ -17,8 +17,8 @@ tasks:
log-whitelist:
- objects unfound and apparently lost
- overall HEALTH_
- (OSDMAP_FLAGS)
- (OSD_
- (PG_
- (OBJECT_
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- \(OBJECT_
- ec_lost_unfound:

View File

@ -16,8 +16,8 @@ tasks:
log-whitelist:
- objects unfound and apparently lost
- overall HEALTH_
- (OSDMAP_FLAGS)
- (OSD_
- (PG_
- (OBJECT_
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- \(OBJECT_
- rep_lost_unfound_delete:

View File

@ -16,8 +16,8 @@ tasks:
log-whitelist:
- objects unfound and apparently lost
- overall HEALTH_
- (OSDMAP_FLAGS)
- (OSD_
- (PG_
- (OBJECT_
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- \(OBJECT_
- lost_unfound:

View File

@ -16,10 +16,10 @@ tasks:
log-whitelist:
- but it is still running
- overall HEALTH_
- (OSDMAP_FLAGS)
- (OSD_
- (PG_
- (OBJECT_
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- \(OBJECT_
conf:
osd:
osd min pg log entries: 5

View File

@ -17,10 +17,10 @@ tasks:
log-whitelist:
- but it is still running
- overall HEALTH_
- (OSDMAP_FLAGS)
- (OSD_
- (PG_
- (OBJECT_
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- \(OBJECT_
conf:
osd:
osd min pg log entries: 5

View File

@ -16,10 +16,10 @@ tasks:
log-whitelist:
- but it is still running
- overall HEALTH_
- (OSDMAP_FLAGS)
- (OSD_
- (PG_
- (OBJECT_DEGRADED)
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- \(OBJECT_DEGRADED\)
conf:
osd:
osd min pg log entries: 5

View File

@ -19,7 +19,7 @@ tasks:
log-whitelist:
- objects unfound and apparently lost
- overall HEALTH_
- (OSDMAP_FLAGS)
- (OSD_
- (PG_
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- peer:

View File

@ -18,8 +18,8 @@ tasks:
- had wrong cluster addr
- reached quota
- overall HEALTH_
- (POOL_FULL)
- (POOL_APP_NOT_ENABLED)
- \(POOL_FULL\)
- \(POOL_APP_NOT_ENABLED\)
- workunit:
clients:
all:

View File

@ -17,10 +17,10 @@ tasks:
log-whitelist:
- no reply from
- overall HEALTH_
- (MON_DOWN)
- (OSDMAP_FLAGS)
- (OSD_
- (PG_
- \(MON_DOWN\)
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- full_sequential:
- radosbench:
clients: [client.0]

View File

@ -17,11 +17,11 @@ overrides:
debug osd: 5
log-whitelist:
- overall HEALTH_
- (OSDMAP_FLAGS)
- (OSD_
- (PG_
- (SMALLER_PGP_NUM)
- (OBJECT_
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- \(SMALLER_PGP_NUM\)
- \(OBJECT_
tasks:
- install:
- ceph:

View File

@ -8,9 +8,9 @@ tasks:
fs: xfs
log-whitelist:
- overall HEALTH_
- (OSDMAP_FLAGS)
- (OSD_
- (PG_
- (OBJECT_DEGRADED)
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- \(OBJECT_DEGRADED\)
- resolve_stuck_peering:

View File

@ -19,10 +19,10 @@ tasks:
- but it is still running
- had wrong client addr
- overall HEALTH_
- (OSDMAP_FLAGS)
- (OSD_
- (PG_
- (OBJECT_DEGRADED)
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- \(OBJECT_DEGRADED\)
conf:
client.rest0:
debug ms: 1

View File

@ -12,7 +12,7 @@ tasks:
- ceph:
log-whitelist:
- overall HEALTH_
- (POOL_APP_NOT_ENABLED)
- \(POOL_APP_NOT_ENABLED\)
- workunit:
clients:
all:

View File

@ -24,9 +24,9 @@ tasks:
log-whitelist:
- objects unfound and apparently lost
- overall HEALTH_
- (OSDMAP_FLAGS)
- (OSD_
- (PG_
- (OBJECT_DEGRADED)
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- \(OBJECT_DEGRADED\)
- watch_notify_same_primary:
clients: [client.0]

View File

@ -25,7 +25,7 @@ overrides:
# setting luminous triggers peering, which *might* trigger health alerts
log-whitelist:
- overall HEALTH_
- (PG_AVAILABILITY)
- (PG_DEGRADED)
- \(PG_AVAILABILITY\)
- \(PG_DEGRADED\)
thrashosds:
chance_thrash_cluster_full: 0

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- reached quota
- (POOL_APP_NOT_ENABLED)
- \(POOL_APP_NOT_ENABLED\)
crush_tunables: hammer
conf:
client:

View File

@ -2,9 +2,9 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (MON_DOWN)
- (OSDMAP_FLAGS)
- (SMALLER_PGP_NUM)
- (POOL_APP_NOT_ENABLED)
- \(MON_DOWN\)
- \(OSDMAP_FLAGS\)
- \(SMALLER_PGP_NUM\)
- \(POOL_APP_NOT_ENABLED\)
tasks:
- mon_recovery:

View File

@ -3,12 +3,12 @@ overrides:
log-whitelist:
- reached quota
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- (POOL_FULL)
- (SMALLER_PGP_NUM)
- (REQUEST_SLOW)
- (CACHE_POOL_NEAR_FULL)
- (POOL_APP_NOT_ENABLED)
- \(CACHE_POOL_NO_HIT_SET\)
- \(POOL_FULL\)
- \(SMALLER_PGP_NUM\)
- \(REQUEST_SLOW\)
- \(CACHE_POOL_NEAR_FULL\)
- \(POOL_APP_NOT_ENABLED\)
conf:
client:
debug ms: 1

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- \(CACHE_POOL_NO_HIT_SET\)
tasks:
- exec:
client.0:

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- \(CACHE_POOL_NO_HIT_SET\)
tasks:
- workunit:
clients:

View File

@ -1,7 +1,7 @@
overrides:
ceph:
log-whitelist:
- (REQUEST_SLOW)
- \(REQUEST_SLOW\)
tasks:
- workunit:
clients:

View File

@ -14,7 +14,7 @@ overrides:
fs: xfs
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- \(CACHE_POOL_NO_HIT_SET\)
conf:
client:
rbd default data pool: datapool

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- \(CACHE_POOL_NO_HIT_SET\)
tasks:
- exec:
client.0:

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- \(CACHE_POOL_NO_HIT_SET\)
tasks:
- exec:
client.0:

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- \(CACHE_POOL_NO_HIT_SET\)
tasks:
- workunit:
clients:

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- \(CACHE_POOL_NO_HIT_SET\)
tasks:
- workunit:
clients:

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- \(CACHE_POOL_NO_HIT_SET\)
tasks:
- workunit:
clients:

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- \(CACHE_POOL_NO_HIT_SET\)
tasks:
- exec:
client.0:

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- \(CACHE_POOL_NO_HIT_SET\)
tasks:
- exec:
client.0:

View File

@ -6,7 +6,7 @@ tasks:
fs: xfs
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- \(CACHE_POOL_NO_HIT_SET\)
- workunit:
clients:
all: [rbd/test_rbd_mirror.sh]

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- \(CACHE_POOL_NO_HIT_SET\)
tasks:
- workunit:
clients:

View File

@ -9,7 +9,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- \(CACHE_POOL_NO_HIT_SET\)
conf:
client:
rbd clone copy on read: true

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- \(CACHE_POOL_NO_HIT_SET\)
tasks:
- workunit:
clients:

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- \(CACHE_POOL_NO_HIT_SET\)
tasks:
- workunit:
clients:

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- \(CACHE_POOL_NO_HIT_SET\)
tasks:
- workunit:
clients:

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- \(CACHE_POOL_NO_HIT_SET\)
tasks:
- workunit:
clients:

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- \(CACHE_POOL_NO_HIT_SET\)
tasks:
- workunit:
clients:

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (CACHE_POOL_NO_HIT_SET)
- \(CACHE_POOL_NO_HIT_SET\)
tasks:
- workunit:
clients:

View File

@ -2,7 +2,7 @@ overrides:
ceph:
log-whitelist:
- reached quota
- (POOL_APP_NOT_ENABLED)
- \(POOL_APP_NOT_ENABLED\)
conf:
global:
ms inject delay max: 1

View File

@ -13,8 +13,8 @@ tasks:
add_osds_to_crush: true
log-whitelist:
- overall HEALTH_
- (FS_
- (MDS_
- \(FS_
- \(MDS_
- print: "**** done ceph"
- install.upgrade:
mon.a:

View File

@ -2,12 +2,12 @@ overrides:
ceph:
log-whitelist:
- overall HEALTH_
- (OSDMAP_FLAGS)
- (OSD_
- (PG_
- (POOL_
- (CACHE_POOL_
- (SMALLER_PGP_NUM)
- (OBJECT_
- (REQUEST_SLOW)
- (TOO_FEW_PGS)
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- \(POOL_
- \(CACHE_POOL_
- \(SMALLER_PGP_NUM\)
- \(OBJECT_
- \(REQUEST_SLOW\)
- \(TOO_FEW_PGS\)