]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/ConfigMonitor: update crush_location from osd entity 52468/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:36:39 +0000 (14:36 +0700)
commit7059a108807678cb3a4e97f71cec60d6e4d25339
treeb7d205f113e2b7117d4c790b72b098d0a1d90992
parenta592cac1497953b8da88eb2a9901dd63624f622f
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