]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: make 'osd crush move ...' work on osds 13261/head
authorSage Weil <sage@redhat.com>
Wed, 18 Jan 2017 23:02:54 +0000 (17:02 -0600)
committerShinobu Kinjo <shinobu@redhat.com>
Tue, 21 Feb 2017 17:13:25 +0000 (02:13 +0900)
commit07501dec6f1c70afd4e4c2a50d7f874c39f2220b
tree2ad51cefdb01524384ece983f80ec5852fa2a1ee
parentc9ece0444611994ddc1292a83e6c091f7773212f
mon/OSDMonitor: make 'osd crush move ...' work on osds

Currently it only allows you to move buckets, which is annoying and much
less useful.  To move an OSD you need to use create-or-move, which is
harder to use.

Fixes: http://tracker.ceph.com/issues/18587
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 47956475dea8bb8e07331dd76344a60b776b5158)

Conflicts:
    qa/workunits/mon/crush_ops.sh: adapted "ceph osd find" to jewel syntax
qa/workunits/mon/crush_ops.sh
src/mon/OSDMonitor.cc