From: Volker Theile Date: Fri, 30 Oct 2020 08:22:30 +0000 (+0100) Subject: mgr/cephadm: Allow customizing mgr/cephadm/lsmcli_blink_lights_cmd per host X-Git-Tag: v16.1.0~584^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cd79c9912ab35ee6296d613edc7830410a141e05;p=ceph.git mgr/cephadm: Allow customizing mgr/cephadm/lsmcli_blink_lights_cmd per host * Rename key name from 'lsmcli_blink_lights_cmd' to 'blink_device_light_cmd' * Refactor TemplateMgr::render() method to use the Ceph common behavior how to name store/module option keys. The old implementation required a key like 'mgr/cephadm/services_nfs_ganesha.conf' instead of 'mgr/cephadm/services/nfs/ganesha.conf' or 'mgr/cephadm/mgr0_blink_device_light_cmd' instead of 'mgr/cephadm/mgr0/blink_device_light_cmd'. Fixes: https://tracker.ceph.com/issues/48041 Signed-off-by: Volker Theile --- diff --git a/doc/rados/operations/devices.rst b/doc/rados/operations/devices.rst index 2dd0917222cf5..d404c3f10e776 100644 --- a/doc/rados/operations/devices.rst +++ b/doc/rados/operations/devices.rst @@ -47,6 +47,23 @@ By default, the `identification` light is used. ceph orch status +The command behind the scene to blink the drive LEDs is `lsmcli`. If you need +to customize this command you can configure this via a Jinja2 template:: + + ceph config-key set mgr/cephadm/blink_device_light_cmd "