Project

General

Profile

Actions

Bug #48536

closed

ceph tool: osd crush create-or-move cannot accept multiple crush buckets

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

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Administration/Usability
Target version:
-
% Done:

0%

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

Description

gregf@vossi01:~/src/ceph/build [wip-stretch-fixes]$ ./bin/ceph osd crush create-or-move osd.0 1.0 "root=default,host=vossi02" 
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2020-12-10T11:59:33.348+0000 7fce4d105700 -1 WARNING: all dangerous and experimental features are enabled.
2020-12-10T11:59:33.383+0000 7fce4d105700 -1 WARNING: all dangerous and experimental features are enabled.
Invalid command: invalid chars , in root=default,host=vossi02
osd crush create-or-move <id|osd.id> <weight:float> <args>... :  create entry or move existing entry for <name> <weight> at/to location <args>
Error EINVAL: invalid command

This doesn't work with spaces or anything, either -- the MonCommands.h file only allows characters in [A-Za-z0-9-_.=].

Actions

Also available in: Atom PDF