Project

General

Profile

Bug #13107

ceph-fuse: handle multiple mounts on the same host (don't set nonce with only PID)

Added by Greg Farnum almost 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
09/15/2015
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:

Description

See #13032. It's possible for multiple processes on the same host to have the same PID if they're in separate namespaces, and if that occurs the clients and servers will get stuck in reconnect loops.

History

#1 Updated by John Spray almost 4 years ago

Hah, if I recall correctly I was a bit scandalised back in 2014 when I found out we treated a PID as a nonce :-) Set it with /dev/random instead?

#2 Updated by Greg Farnum almost 4 years ago

Yeah, Josh is working on a fix for this in all the clients. libcephfs apparently already solves this problem with 48 bits of random and 16 bits of PID. :)

#3 Updated by Greg Farnum over 3 years ago

  • Status changed from New to Resolved

This got fixed when #13032 did!

Also available in: Atom PDF