Project

General

Profile

Actions

Bug #49242

open

[rbd-mirror] leader that was shutting down blocklisted all other daemons

Added by Jason Dillaman about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus,octopus,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

http://qa-proxy.ceph.com/teuthology/trociny-2021-02-09_07:56:42-rbd-wip-mgolub-testing-distro-basic-smithi/5871001/teuthology.log

2021-02-09T15:41:04.520+0000 7f76e5860700 10 rbd::mirror::Instances: 0x5599de22a6c0 acked: instance_ids=[4260,4370,4632,4647]
2021-02-09T15:41:04.520+0000 7f76e5860700  5 rbd::mirror::Instances: 0x5599de22a6c0 handle_acked: instance_ids=[4260,4370,4632,4647]
2021-02-09T15:41:04.520+0000 7f76e5860700 10 rbd::mirror::Instances: 0x5599de22a6c0 cancel_remove_task:
2021-02-09T15:41:04.520+0000 7f76e5860700 10 rbd::mirror::Instances: 0x5599de22a6c0 schedule_remove_task:
...
2021-02-09T15:41:07.389+0000 7f76e6061700 -1 received  signal: Terminated from /usr/bin/python3 /usr/bin/daemon-helper term rbd-mirror --foreground --cluster cluster1 --id mirror.2  (PID: 35709) UID: 1000
2021-02-09T15:41:07.389+0000 7f76d483e700 10 rbd::mirror::NamespaceReplayer: 0x5599dca47d40 handle_release_leader:
2021-02-09T15:41:07.441+0000 7f76e505f700 10 rbd::mirror::InstanceWatcher: 0x5599dca72000 handle_release_leader:
...
2021-02-09T15:41:07.389+0000 7f76f74aa540 10 rbd::mirror::LeaderWatcher: 0x5599de23cc00 shut_down:
...
2021-02-09T15:41:34.520+0000 7f76e2059700 10 rbd::mirror::Instances: 0x5599de22a6c0 remove_instances: instance_ids=[4370,4632,4647]

Once the leadership release process starts, the InstanceWatcher should not be able to blocklist other daemons since it is no longer accepting notifications from other clients once it drops the leader role.

No data to display

Actions

Also available in: Atom PDF