]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: After reapplying the osd spec, the OSD services are continuously applied... 65291/head
authorShweta Bhosale <Shweta.Bhosale1@ibm.com>
Thu, 28 Aug 2025 15:01:09 +0000 (20:31 +0530)
committerShweta Bhosale <Shweta.Bhosale1@ibm.com>
Thu, 28 Aug 2025 15:03:11 +0000 (20:33 +0530)
Fixes: https://tracker.ceph.com/issues/72774
Signed-off-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
src/pybind/mgr/cephadm/inventory.py

index 1168fa8e1991c3805a0fa520800d01982183234f..8f7b4efb3cea458176f89c6d9cb25e7f57a785e6 100644 (file)
@@ -1512,7 +1512,7 @@ class HostCache():
         ):
             return True
         created = self.mgr.spec_store.get_created(spec)
-        if not created or created > self.last_device_change[host]:
+        if not created or created > self.osdspec_last_applied[host][spec.service_name()]:
             return True
         return self.osdspec_last_applied[host][spec.service_name()] < self.last_device_change[host]