r = True
# remove any?
+ while remove_daemon_hosts and not self.cephadm_services[daemon_type].ok_to_stop(
+ [d.daemon_id for d in remove_daemon_hosts]):
+ # let's find a subset that is ok-to-stop
+ remove_daemon_hosts.pop()
for d in remove_daemon_hosts:
# NOTE: we are passing the 'force' flag here, which means
# we can delete a mon instances data.
# typically either based on hostnames or on pod names.
# This is the <foo> in mds.<foo>, the ID that will appear
# in the FSMap/ServiceMap.
- self.daemon_id = daemon_id
+ self.daemon_id: str = daemon_id
# Service version that was deployed
self.version = version