Project

General

Profile

Actions

Bug #36668

closed

client: request next osdmap for blacklisted client

Added by Zhi Zhang over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

In Luminous version, we found blacklisted client would never get rid of blacklisted flag if network was down for some time and MDS evicted this client session after timeout.

Here are some simple steps to reproduce:
1. Add a client to blacklist via "ceph osd blacklist add" command.
2. Wait for session timeout, MDS will evict this client session and then client will close its MDS session too.
3. Remove this client from blacklist via "ceph osd blacklist [rm|clear]" command.

Now there is no blacklisted entry, but this client's blacklisted flag is still true, so client is still not working.

The root cause is that when client became blacklisted, it did't subscribe next osdmap. So when it was removed from blacklist by expiration or commandline, it didn't get updated osdmap which is the only way for the client to reset its blacklisted flag.


Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #36690: mimic: client: request next osdmap for blacklisted clientResolvedJos CollinActions
Copied to CephFS - Backport #36691: luminous: client: request next osdmap for blacklisted clientResolvedJos CollinActions
Actions #2

Updated by Patrick Donnelly over 5 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Zhi Zhang
  • Target version set to v14.0.0
  • Backport set to mimic,luminous
  • Component(FS) Client added
  • Component(FS) deleted (ceph-fuse)
Actions #3

Updated by Patrick Donnelly over 5 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Nathan Cutler over 5 years ago

  • Copied to Backport #36690: mimic: client: request next osdmap for blacklisted client added
Actions #5

Updated by Nathan Cutler over 5 years ago

  • Copied to Backport #36691: luminous: client: request next osdmap for blacklisted client added
Actions #6

Updated by Patrick Donnelly over 5 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF