]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: clean up iscsi auth keyring when removing daemon 58757/head
authorAdam King <adking@redhat.com>
Tue, 30 Apr 2024 17:49:16 +0000 (13:49 -0400)
committerAdam King <adking@redhat.com>
Tue, 23 Jul 2024 16:21:50 +0000 (12:21 -0400)
The parent class (CephService) handles the cleanup of
the auth keyring

Fixes: https://tracker.ceph.com/issues/65717
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit f7e8ee74d5bfb941a5f67d0e03c3845f5cdb1525)

src/pybind/mgr/cephadm/services/iscsi.py

index 61b157b444ca1a969ee7807cc63815711ca6ee07..d2773c19d367eb67c9ca4910b518d8d96bc9a9bd 100644 (file)
@@ -160,7 +160,8 @@ class IscsiService(CephService):
         """
         Called after the daemon is removed.
         """
-        logger.debug(f'Post remove daemon {self.TYPE}.{daemon.daemon_id}')
+        # to clean the keyring up
+        super().post_remove(daemon, is_failed_deploy=is_failed_deploy)
 
         # remove config for dashboard iscsi gateways
         ret, out, err = self.mgr.mon_command({