Project

General

Profile

Actions

Fix #4942

closed

librados: do not hang on auth failure on start

Added by Jeff Bachtel about 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

Actions #1

Updated by Anonymous about 11 years ago

  • Priority changed from Low to Normal
Actions #2

Updated by Anonymous about 11 years ago

  • Priority changed from Normal to High
Actions #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
Actions #4

Updated by Sage Weil over 10 years ago

  • Target version changed from v0.71 to v0.72 Emperor
Actions #5

Updated by Sage Weil over 10 years ago

  • Assignee set to Sage Weil
Actions #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.

Actions

Also available in: Atom PDF