Project

General

Profile

Fix #4942

librados: do not hang on auth failure on start

Added by Jeff Bachtel almost 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

If a "rbd --id foo -s 1 -p bar create test" is run, it hangs instead of failing with permission denied if client.foo has no caps assigned to it.

Creating a user in the auth db without caps is an admittedly stupid thing to do, but the client should still not hang forever.

This was "tested" on 0.56.6 on CentOS 6.4, using packages from ceph.com

History

#1 Updated by Anonymous almost 11 years ago

  • Priority changed from Low to Normal

#2 Updated by Anonymous almost 11 years ago

  • Priority changed from Normal to High

#3 Updated by Sage Weil over 10 years ago

  • Tracker changed from Bug to Fix
  • Project changed from rbd to Ceph
  • Subject changed from rbd image create hang on permissions issue instead of fail to librados: do not hang on auth failure on start
  • Target version set to v0.71

#4 Updated by Sage Weil over 10 years ago

  • Target version changed from v0.71 to v0.72 Emperor

#5 Updated by Sage Weil over 10 years ago

  • Assignee set to Sage Weil

#6 Updated by Sage Weil over 10 years ago

  • Status changed from New to Resolved
  • Source changed from other to Community (user)

this works on cuttlefish and dumpling and later. non-trivial backport to fix it on bobtail.

Also available in: Atom PDF