Skip to content

Commit 3f7db60

Browse files
authored
Merge pull request ceph#56767 from adk3798/cephadm-log-only-match
qa/cephadm: only fail on CEPHADM_ error in logs Reviewed-by: Adam King <[email protected]>
2 parents a57d949 + b4522dd commit 3f7db60

File tree

23 files changed

+83
-4
lines changed

23 files changed

+83
-4
lines changed

qa/suites/orch/cephadm/mgr-nfs-upgrade/1-bootstrap/17.2.0.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
overrides:
2+
ceph:
3+
log-only-match:
4+
- CEPHADM_
15
tasks:
26
- cephadm:
37
roleless: true

qa/suites/orch/cephadm/no-agent-workunits/task/test_cephadm_timeout.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@ roles:
44
- mgr.a
55
- osd.0
66
- client.0
7+
overrides:
8+
ceph:
9+
log-only-match:
10+
- CEPHADM_
711
tasks:
812
- install:
913
- cephadm:
1014
- workunit:
1115
clients:
1216
client.0:
13-
- cephadm/test_cephadm_timeout.py
17+
- cephadm/test_cephadm_timeout.py

qa/suites/orch/cephadm/no-agent-workunits/task/test_orch_cli.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ roles:
66
- mon.a
77
- mgr.a
88
- client.0
9+
overrides:
10+
ceph:
11+
log-only-match:
12+
- CEPHADM_
913
tasks:
1014
- install:
1115
- cephadm:

qa/suites/orch/cephadm/no-agent-workunits/task/test_orch_cli_mon.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ overrides:
22
ceph:
33
log-ignorelist:
44
- MON_DOWN
5+
log-only-match:
6+
- CEPHADM_
57
roles:
68
- - host.a
79
- osd.0

qa/suites/orch/cephadm/osds/1-start.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ overrides:
2525
conf:
2626
osd:
2727
osd shutdown pgref assert: true
28+
log-only-match:
29+
- CEPHADM_

qa/suites/orch/cephadm/smb/tasks/deploy_smb_basic.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ roles:
1010
# Reserve a host for acting as a test client
1111
- - host.b
1212
- cephadm.exclude
13+
overrides:
14+
ceph:
15+
log-only-match:
16+
- CEPHADM_
1317
tasks:
1418
# TODO: (jjm) I don't think `install` is necessary for this file. Remove?
1519
- install:

qa/suites/orch/cephadm/smb/tasks/deploy_smb_domain.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ roles:
99
# Reserve a host for acting as a domain controller
1010
- - host.b
1111
- cephadm.exclude
12+
overrides:
13+
ceph:
14+
log-only-match:
15+
- CEPHADM_
1216
tasks:
1317
- cephadm.deploy_samba_ad_dc:
1418
role: host.b

qa/suites/orch/cephadm/smoke-roleless/1-start.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ overrides:
2222
conf:
2323
osd:
2424
osd shutdown pgref assert: true
25+
log-only-match:
26+
- CEPHADM_

qa/suites/orch/cephadm/smoke-singlehost/1-start.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ overrides:
2727
conf:
2828
osd:
2929
osd shutdown pgref assert: true
30+
log-only-match:
31+
- CEPHADM_

qa/suites/orch/cephadm/smoke-small/start.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
overrides:
2+
ceph:
3+
log-only-match:
4+
- CEPHADM_
15
tasks:
26
- cephadm:
37
conf:

0 commit comments

Comments
 (0)