librbd hangs if permissions are incorrect
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.