Project

General

Profile

Actions

Bug #80562

closed
KH KH

cephfs_mirror: Disable mirroring is not honored after init_failure is hit

Bug #80562: cephfs_mirror: Disable mirroring is not honored after init_failure is hit

Added by Kotresh Hiremath Ravishankar 3 months ago. Updated 2 months ago.

Status:
Backporting
Priority:
Normal
Category:
-
Target version:
Due date:
% Done:

0%

Source:
Backport:
umbrella, tentacle, squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-mirror
Labels (FS):
Pull request ID:
Tags (freeform):
Fixed In:
v21.3.0-3886-g43ea3d66b8
Released In:
Upkeep Timestamp:
2026-10-01T09:08:20+00:00

Description

This issue is seen as part of the following QA run after including the fix https://github.com/ceph/ceph/pull/71784

https://pulpito.ceph.com/khiremat-2026-09-15_09:25:28-fs-wip-khiremat-testing-20260915.063117-distro-default-trial/557335
https://pulpito.ceph.com/khiremat-2026-09-15_09:25:28-fs-wip-khiremat-testing-20260915.063117-distro-default-trial/557336
https://pulpito.ceph.com/khiremat-2026-09-15_09:25:28-fs-wip-khiremat-testing-20260915.063117-distro-default-trial/557337

On init failure, failed_restart gets set. Once this is set, C_DisableMirroring (queued by mirroring_disabled() on fs mirror disable) never runs.

update_fs_mirrors() prioritizes restart over queued actions:

 if (!mirror_action.action_in_progress && !_is_restarting(filesystem)) {
if (failed_restart || blocklisted_restart) {
  ...
  auto ctx =  new C_RestartMirroring(this, filesystem, mirror_action.pool_id, peers);
  ctx->complete(0);
}
     }
     if (!failed_restart && !blocklisted_restart && !mirror_action.action_ctxs.empty()
         && !mirror_action.action_in_progress) {
       auto ctx = std::move(mirror_action.action_ctxs.front());
       ...
     }


Related issues 3 (3 open — 0 closed)

Copied to CephFS - Backport #81275: squid: cephfs_mirror: Disable mirroring is not honored after init_failure is hitNewKotresh Hiremath Ravishankar

Actions
Copied to CephFS - Backport #81276: umbrella: cephfs_mirror: Disable mirroring is not honored after init_failure is hitIn ProgressKotresh Hiremath Ravishankar

Actions
Copied to CephFS - Backport #81277: tentacle: cephfs_mirror: Disable mirroring is not honored after init_failure is hitNewKotresh Hiremath Ravishankar

Actions

KH Updated by Kotresh Hiremath Ravishankar 3 months ago Actions #1

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

UB Updated by Upkeep Bot 2 months ago Actions #2

  • Copied to Backport #81275: squid: cephfs_mirror: Disable mirroring is not honored after init_failure is hit added

UB Updated by Upkeep Bot 2 months ago Actions #3

  • Copied to Backport #81276: umbrella: cephfs_mirror: Disable mirroring is not honored after init_failure is hit added

UB Updated by Upkeep Bot 2 months ago Actions #4

  • Copied to Backport #81277: tentacle: cephfs_mirror: Disable mirroring is not honored after init_failure is hit added

UB Updated by Upkeep Bot 2 months ago Actions #5

  • Status changed from Fix Under Review to Backporting
  • Merge Commit set to 43ea3d66b80596920a9261a2b4f5516b925e4453
  • Fixed In set to v21.3.0-3886-g43ea3d66b8
  • Upkeep Timestamp set to 2026-10-01T09:08:20+00:00
Actions

Also available in: PDF Atom