Merge pull request #49827 from adk3798/remove-offline-host-ingress

mgr/cephadm: fix removing offline hosts with ingress daemons

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
This commit is contained in:
Adam King 2023-01-23 13:09:26 -05:00 committed by GitHub
commit 536fb7b947
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1572,8 +1572,8 @@ Then run the following:
self.log.info(f"removing: {d.name()}")
if d.daemon_type != 'osd':
self.cephadm_services[str(d.daemon_type)].pre_remove(d)
self.cephadm_services[str(d.daemon_type)].post_remove(d, is_failed_deploy=False)
self.cephadm_services[daemon_type_to_service(str(d.daemon_type))].pre_remove(d)
self.cephadm_services[daemon_type_to_service(str(d.daemon_type))].post_remove(d, is_failed_deploy=False)
else:
cmd_args = {
'prefix': 'osd purge-actual',