Bug #6230
closedceph osd crush move appears to be broken
0%
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.