Project

General

Profile

Documentation #23765

librbd hangs if permissions are incorrect

Added by Chris Holcombe over 4 years ago. Updated over 4 years ago.

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

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

I've been building rust bindings for librbd against ceph jewel and luminous. I found out by accident that if a cephx user with just mon 'r' access is being used then trying to obtain and ioctx to any of the rbd pools hangs forever with futex wait. It was definitely unexpected. I had expected it to return something like EPERM or EACCES. strace -f on the process shows it just spinning in with futex wait occurring forever. Not sure if this is a bug or just a documentation thing. I'm leaning towards bug.

History

#1 Updated by Jason Dillaman over 4 years ago

  • Tracker changed from Bug to Documentation
  • Project changed from Ceph to rbd
  • Category deleted (librbd)

#2 Updated by Jason Dillaman over 4 years ago

  • Project changed from rbd to RADOS

Also available in: Atom PDF