Project

General

Profile

Actions

Bug #6230

closed

ceph osd crush move appears to be broken

Added by David Zafman over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Urgent
Category:
-
Target version:
-
% Done:

0%

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

Description

Per documentation at: http://ceph.com/docs/master/rados/operations/crush-map/

ceph osd crush move {bucket-name} {bucket-type}={bucket-name}, [...]

bucket-name

Description: The name of the bucket to move/reposition.
Type: String
Required: Yes
Example: foo-bar-1

$ ./ceph osd crush move h1 root=default rack=localrack host=h1-repo
Invalid command: osd id h1 not integer

h1 is a bucket name: { "id": -4,
"name": "h1",
"type_id": 1,
"type_name": "host",
"weight": 0,
"alg": "straw",
"hash": "rjenkins1",
"items": []},

$ ./ceph osd crush move 123 root=default rack=localrack host=h1-repo
Error ENOENT: item osd.123 does not exist

It is treating that argument as an osd ID not a bucket-name.

Actions

Also available in: Atom PDF