Skip to content

Commit

Permalink
Merge pull request ceph#43833 from melissa-kun-li/prevent-cephadm-str…
Browse files Browse the repository at this point in the history
…ay-daemon-tcmurunner

mgr/cephadm: fix tcmu-runner cephadm_stray_daemon
  • Loading branch information
sebastian-philipp authored Jan 6, 2022
2 parents d2265e8 + 12e0eaa commit fed31fe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pybind/mgr/cephadm/serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,11 @@ def _check_for_strays(self) -> None:
s.get('type'), s.get('id')
)
)

if s.get('type') == 'tcmu-runner':
# because we don't track tcmu-runner daemons in the host cache
# and don't have a way to check if the daemon is part of iscsi service
# we assume that all tcmu-runner daemons are managed by cephadm
managed.append(name)
if host not in self.mgr.inventory:
missing_names.append(name)
host_num_daemons += 1
Expand Down

0 comments on commit fed31fe

Please sign in to comment.