Project

General

Profile

Actions

Bug #4779

closed

The ceph command and crushtool have differing views on valid characters for bucket names

Added by Mike Bryant about 11 years ago. Updated almost 11 years ago.

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

0%

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

Description

Using osd crush move, I can create a bucket with a '/' in the name.
If I then get a crush map, decompile it, and attempt to recompile it, crushtool errors
/tmp/crush.txt:23 error: parse error at ''

Actions #1

Updated by Sage Weil almost 11 years ago

  • Assignee set to Dan Mick
  • Priority changed from Normal to High
Actions #2

Updated by Anonymous almost 11 years ago

  • Project changed from Ceph to 16
Actions #3

Updated by Ian Colle almost 11 years ago

  • Project changed from 16 to Ceph
Actions #4

Updated by Dan Mick almost 11 years ago

Decision is to allow only [a-zA-Z0-9-_.] in crush names. We can either add
'legalchars' to CephString and set it for the crush name params, or make a new
type CephCrushName that does the same thing, and then change CephString in the
command descriptions.

Actions #5

Updated by Dan Mick almost 11 years ago

  • Status changed from New to 12
Actions #6

Updated by Sage Weil almost 11 years ago

  • Status changed from 12 to Resolved
Actions

Also available in: Atom PDF