phantom MDS, blacklisted OSDs?
Hello,
today I noticed some strange things on my 3 machines with each 1 hard disk, 1 osd, 1 mds, 1 mon. They are named r1-9, r1-10, r1-11.
In the output of "ceph mds dump" (full output below), in see some phantom mds:
7101: 192.168.20.11:6800/885 'r1-11' mds0.20 up:active seq 17 7103: 192.168.20.10:6800/883 'r1-10' mds1.1 up:creating seq 177 7106: 192.168.20.9:6800/1000 'r1-9' mds2.1 up:creating seq 411 4900: 192.168.20.10:6800/3839 'r1-10' mds-1.0 up:standby seq 2 laggy since
10.05.19 21:31:15.767477
4997: 192.168.20.9:6800/5582 'r1-9' mds-1.0 up:standby seq 2 laggy since 10.05.19 21:30:40.740993
6199: 192.168.20.11:6800/7362 'r1-11' mds-1.0 up:standby seq 2 laggy since
10.05.19 23:02:58.674823
6401: 192.168.20.11:6800/8077 'r1-11' mds-1.0 up:standby seq 2 laggy since
10.05.19 23:04:03.133329
6499: 192.168.20.11:6800/9613 'r1-11' mds-1.0 up:standby seq 2 laggy since
10.05.19 23:11:06.451788
6599: 192.168.20.11:6800/9072 'r1-11' mds-1.0 up:standby seq 2 laggy since
10.05.19 23:10:51.414007
why do r1-9 and r1-10 appear twice, and why does r1-11 appear 5 times? Is it a problem, how to fix it ?
I also had a 2 blacklisted OSDs (out of 3). Could it be because I restarted them many times in a row? How to clear the blacklisted status by hand (if I don't want to wait the delay)?
Thanks, Fred
full output of ceph mds dump:
epoch 80
client_epoch 0
created 10.05.18 15:54:19.197481
modified 10.05.20 12:22:42.325069
tableserver 0
root 0session_timeout 60session_autoclose 300
compat compat={},rocompat={},incompat={1=base v0.20}
max_mds 3
in <0,1,2>
up <{0=7101,1=7103,2=7106}>
failed <>
stopped <>
7101: 192.168.20.11:6800/885 'r1-11' mds0.20 up:active seq 17 7103: 192.168.20.10:6800/883 'r1-10' mds1.1 up:creating seq 177 7106: 192.168.20.9:6800/1000 'r1-9' mds2.1 up:creating seq 411 4900: 192.168.20.10:6800/3839 'r1-10' mds-1.0 up:standby seq 2 laggy since 10.05.19 21:31:15.767477
4997: 192.168.20.9:6800/5582 'r1-9' mds-1.0 up:standby seq 2 laggy since 10.05.19 21:30:40.740993
6199: 192.168.20.11:6800/7362 'r1-11' mds-1.0 up:standby seq 2 laggy since 10.05.19 23:02:58.674823
6401: 192.168.20.11:6800/8077 'r1-11' mds-1.0 up:standby seq 2 laggy since 10.05.19 23:04:03.133329
6499: 192.168.20.11:6800/9613 'r1-11' mds-1.0 up:standby seq 2 laggy since 10.05.19 23:11:06.451788
6599: 192.168.20.11:6800/9072 'r1-11' mds-1.0 up:standby seq 2 laggy since 10.05.19 23:10:51.414007
Quoted 10 lines · Fred Ar
Hello,
today I noticed some strange things on my 3 machines with each 1 hard
disk, 1 osd, 1 mds, 1 mon. They are named r1-9, r1-10, r1-11.
[...]
why do r1-9 and r1-10 appear twice, and why does r1-11 appear 5 times? Is it a problem, how to fix it ?I also had a 2 blacklisted OSDs (out of 3). Could it be because I restarted them many times in a row? How to clear the blacklisted status by hand (if I don't want to wait the delay)?
Yeah. The monitor doesn't clear our 'laggy' (unresponsive, possibly dead) mds entries if they are standby, since they might come back and nothing is depending on them. We can add a longer timeout to clean these out if its clear the system is otherwise functional (e.g., other mds's are responsive).
The blacklist entries can't be cleaned out manually right now, but there is no significant 'cost' to them being there, so you can ignore them. The blacklist just means that any IO they attempt with the OSDs will be rejected, to avoid a partitioned or misbehaving or laggy daemon from fighting with another mds instance.
sage