]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: accept crush_device_class in 'osd new' json input 19939/head
authorSage Weil <sage@redhat.com>
Fri, 12 Jan 2018 23:10:11 +0000 (17:10 -0600)
committerSage Weil <sage@redhat.com>
Thu, 8 Feb 2018 18:34:49 +0000 (12:34 -0600)
commit59bdada5d52710bd683f2b6ef6a8edaef3c8564a
tree03251f3d6c9dd39b200dba02a9d73723a0a5ecd6
parent6aa7c885e57070c52ccecec1ceca9a53e878d30c
mon/OSDMonitor: accept crush_device_class in 'osd new' json input

If provided, set the OSD device_class at OSD creation time.  This is
simpler than writing a file that the OSD has to read in and use to
set its initial device class, and also avoids a bit of sticky state
at the OSD that will make it keep trying to reset its device class on
startup if it ever gets cleared.

Note that we now ignore json input fields we don't understand, so remove
a test case.

Signed-off-by: Sage Weil <sage@redhat.com>
doc/install/manual-deployment.rst
doc/man/8/ceph.rst
qa/workunits/cephtool/test.sh
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h