Project

General

Profile

Actions

Bug #75239

closed
ID ID

[test] rbd_mirror_fsx_compare.sh doesn't error out as expected

Bug #75239: [test] rbd_mirror_fsx_compare.sh doesn't error out as expected

Added by Ilya Dryomov 9 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
squid,tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v20.3.0-5809-g6b396c8cc5
Released In:
v21.2.0~1102
Upkeep Timestamp:
2026-10-24T02:01:39+00:00

Description

If the thrasher barks and proceeds to kill the cluster, rbd_mirror_fsx_compare.sh can get into a near-infinite loop because "rbd ls" errors are masked by a pipe to "wc -l":

2026-03-01T12:55:15.009 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ retrying_seconds=1020
2026-03-01T12:55:15.010 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ '[' 1020 -le 7200 ']'
2026-03-01T12:55:15.010 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:++ rbd --cluster cluster2 --pool mirror ls
2026-03-01T12:55:15.010 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:++ wc -l
2026-03-01T12:55:15.034 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ '[' 290 -ge 292 ']'
2026-03-01T12:55:15.034 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ sleep 10
2026-03-01T12:55:25.035 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ retrying_seconds=1030
2026-03-01T12:55:25.035 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ '[' 1030 -le 7200 ']'
2026-03-01T12:55:25.036 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:++ rbd --cluster cluster2 --pool mirror ls
2026-03-01T12:55:25.036 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:++ wc -l
2026-03-01T12:55:25.058 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ '[' 290 -ge 292 ']'
2026-03-01T12:55:25.058 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ sleep 10
2026-03-01T12:55:35.059 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ retrying_seconds=1040
2026-03-01T12:55:35.060 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ '[' 1040 -le 7200 ']'
2026-03-01T12:55:35.060 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:++ rbd --cluster cluster2 --pool mirror ls
2026-03-01T12:55:35.060 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:++ wc -l
2026-03-01T12:55:35.084 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ '[' 290 -ge 292 ']'
2026-03-01T12:55:35.084 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ sleep 10
...
2026-03-01T12:55:49.568 INFO:tasks.daemonwatchdog.daemon_watchdog:thrasher.rbd_mirror.[cluster2] failed
2026-03-01T12:55:49.568 INFO:tasks.daemonwatchdog.daemon_watchdog:BARK! unmounting mounts and killing all daemons
...
2026-03-01T13:16:35.202 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ retrying_seconds=1100
2026-03-01T13:16:35.202 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ '[' 1100 -le 7200 ']'
2026-03-01T13:16:35.203 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:++ rbd --cluster cluster2 --pool mirror ls
2026-03-01T13:16:35.203 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:++ wc -l
2026-03-01T13:21:35.221 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:rbd: couldn't connect to the cluster!
2026-03-01T13:21:35.221 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:rbd: listing images failed: (110) Connection timed out
2026-03-01T13:21:35.225 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ '[' 0 -ge 292 ']'
2026-03-01T13:21:35.225 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ sleep 10
2026-03-01T13:21:45.227 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ retrying_seconds=1110
2026-03-01T13:21:45.227 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ '[' 1110 -le 7200 ']'
2026-03-01T13:21:45.228 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:++ rbd --cluster cluster2 --pool mirror ls
2026-03-01T13:21:45.228 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:++ wc -l
2026-03-01T13:26:45.245 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:rbd: couldn't connect to the cluster!
2026-03-01T13:26:45.245 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:rbd: listing images failed: (110) Connection timed out
2026-03-01T13:26:45.249 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ '[' 0 -ge 292 ']'
2026-03-01T13:26:45.249 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ sleep 10
2026-03-01T13:26:55.250 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ retrying_seconds=1120
2026-03-01T13:26:55.250 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ '[' 1120 -le 7200 ']'
2026-03-01T13:26:55.251 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:++ rbd --cluster cluster2 --pool mirror ls
2026-03-01T13:26:55.251 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:++ wc -l
2026-03-01T13:31:55.269 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:rbd: couldn't connect to the cluster!
2026-03-01T13:31:55.269 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:rbd: listing images failed: (110) Connection timed out
2026-03-01T13:31:55.273 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ '[' 0 -ge 292 ']'
2026-03-01T13:31:55.273 INFO:tasks.workunit.cluster1.client.mirror.trial055.stderr:+ sleep 10


Related issues 2 (0 open — 2 closed)

Copied to rbd - Backport #75328: tentacle: [test] rbd_mirror_fsx_compare.sh doesn't error out as expectedResolvedIlya Dryomov

Actions
Copied to rbd - Backport #75329: squid: [test] rbd_mirror_fsx_compare.sh doesn't error out as expectedResolvedIlya Dryomov

Actions

ID Updated by Ilya Dryomov 9 months ago Actions #1

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 67629

UB Updated by Upkeep Bot 9 months ago Actions #2

  • Status changed from Fix Under Review to Pending Backport
  • Merge Commit set to 6b396c8cc554f0306c1fa990b7599b8cb91fb643
  • Fixed In set to v20.3.0-5809-g6b396c8cc5
  • Upkeep Timestamp set to 2026-03-04T12:37:10+00:00

UB Updated by Upkeep Bot 9 months ago Actions #3

  • Copied to Backport #75328: tentacle: [test] rbd_mirror_fsx_compare.sh doesn't error out as expected added

UB Updated by Upkeep Bot 9 months ago Actions #4

  • Copied to Backport #75329: squid: [test] rbd_mirror_fsx_compare.sh doesn't error out as expected added

UB Updated by Upkeep Bot 9 months ago Actions #5

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot 8 months ago Actions #6

  • Status changed from Pending Backport to Resolved
  • Upkeep Timestamp changed from 2026-03-04T12:37:10+00:00 to 2026-04-07T01:22:54+00:00

UB Updated by Upkeep Bot 3 months ago Actions #7

  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2026-04-07T01:22:54+00:00 to 2026-08-28T01:41:24+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #8

  • Released In set to v21.2.0~1102
  • Upkeep Timestamp changed from 2026-08-28T01:41:24+00:00 to 2026-10-24T02:01:39+00:00
Actions

Also available in: PDF Atom