]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/ConfigMonitor: update crush_location from osd entity 52466/head
authorDidier Gazen <didier.gazen@aero.obs-mip.fr>
Thu, 15 Jun 2023 13:57:24 +0000 (15:57 +0200)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Sat, 15 Jul 2023 07:35:23 +0000 (14:35 +0700)
commit6b44599f1adf70fb03ec1f673f3a2e3f8072276a
tree594651e057e0268c6d6e5eb6b698100ad93876df
parentf1c9203a519abd920e831848727a4c6a360f452b
mon/ConfigMonitor: update crush_location from osd entity

For osd entities, crush_location needs to refer to osd's parent
(host) so that 'ceph config set' using osd/host mask can work.

Fixes: https://tracker.ceph.com/issues/48750
Signed-off-by: Didier Gazen <didier.gazen@aero.obs-mip.fr>
(cherry picked from commit 5df2a597a5b90ed492b2cbc3599f2cfdababeb12)
src/mon/ConfigMonitor.cc