From 88f824dc3b168ac1c2df9ea2b661f1f4495111a1 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 18 Apr 2021 15:47:54 +0200 Subject: [PATCH] [ceph] also delete the authentication token when deleting osd This helps better use of ceph-volume --- ceph/ceph-osd-stop-remove-permanently | 1 + 1 file changed, 1 insertion(+) diff --git a/ceph/ceph-osd-stop-remove-permanently b/ceph/ceph-osd-stop-remove-permanently index f35bdde..dbb6f65 100755 --- a/ceph/ceph-osd-stop-remove-permanently +++ b/ceph/ceph-osd-stop-remove-permanently @@ -25,6 +25,7 @@ fi ceph osd crush remove $osd_name ceph osd rm $osd_name +ceph auth del $osd_name echo "Mount path before umounting: " mount | grep "$mountpath"