daemons_to_remove.pop()
for d in daemons_to_remove:
r = True
- # NOTE: we are passing the 'force' flag here, which means
- # we can delete a mon instances data.
assert d.hostname is not None
self._remove_daemon(d.name(), d.hostname)
self.mgr.cephadm_services[daemon_type_to_service(daemon_type)].pre_remove(daemon)
+ # NOTE: we are passing the 'force' flag here, which means
+ # we can delete a mon instances data.
args = ['--name', name, '--force']
self.log.info('Removing daemon %s from %s' % (name, host))
out, err, code = self._run_cephadm(