Project

General

Profile

Actions

Documentation #23765

open

librbd hangs if permissions are incorrect

Added by Chris Holcombe about 6 years ago. Updated almost 6 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.

Actions #1

Updated by Jason Dillaman almost 6 years ago

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

Updated by Jason Dillaman almost 6 years ago

  • Project changed from rbd to RADOS
Actions

Also available in: Atom PDF