Project

General

Profile

Actions

Bug #3279

closed

mon/caps: cap comparison in get-or-create is based on a string literal

Added by Greg Farnum over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Category:
Monitor
Target version:
-
% Done:

0%

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

Description

If you run ceph auth get-or-create and your caps string differs by a space, then it returns an error:

key for client.bootstrap-osd exists but cap mon does not match

Boo!

I guess we can't actually make these based on semantic parsing (the caps are opaque to the monitor), but we can at least canonicalize the whitespace.

Actions

Also available in: Atom PDF