]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: preserve original hostnames where required 70346/head
authorShubha Jain <SHUBHA.JAIN1@ibm.com>
Thu, 30 Jul 2026 09:24:06 +0000 (14:54 +0530)
committerShubha Jain <SHUBHA.JAIN1@ibm.com>
Thu, 30 Jul 2026 09:24:06 +0000 (14:54 +0530)
commit9e4975899867dd30d4efc61244b95bbfdad5fe71
tree11e03da0ace83b87e78d678eb150401c5c1c5ae6
parent51c97373d5d21f6eace00289217f3b26a21be29e
mgr/cephadm: preserve original hostnames where required

Retain the original hostname for CRUSH removal operations so the
commands continue to match existing CRUSH bucket names after hostname
normalization.

Also normalize DaemonDescription.hostname when loading the persisted
host cache to ensure scheduler hostname comparisons remain consistent
with normalized inventory and HostCache entries.

Fixes: https://tracker.ceph.com/issues/78426
Signed-off-by: Shubha Jain <SHUBHA.JAIN1@ibm.com>
src/pybind/mgr/cephadm/inventory.py
src/pybind/mgr/cephadm/module.py