Project

General

Profile

Bug #3228

osd: capspec parsing is broken

Added by Josh Durgin over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
OSD
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

It's always returning ANY, even for simple cases like "allow r". Test cases are in wip-osd-caps.

Associated revisions

Revision de6e0d81 (diff)
Added by Josh Durgin over 10 years ago

OSDCaps: fix allow_all()

OSD_CAP_ANY is not a mask. Treating it as one made any allowance
equivalent to 'allow *'.

Fixes: #3228
Signed-off-by: Josh Durgin <>

Revision 142d9021 (diff)
Added by Josh Durgin over 10 years ago

OSDCaps: fix allow_all()

OSD_CAP_ANY is not a mask. Treating it as one made any allowance
equivalent to 'allow *'.

Fixes: #3228
Signed-off-by: Josh Durgin <>

History

#1 Updated by Josh Durgin over 10 years ago

  • Category set to OSD
  • Status changed from 12 to Resolved
  • Assignee set to Josh Durgin
  • Target version set to v0.54a
  • Backport set to argonaut

#2 Updated by Josh Durgin over 10 years ago

  • Backport deleted (argonaut)

Argonaut does not have this bug. It was introduced in a post-argonaut refactoring of OSDCaps.

Also available in: Atom PDF