]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: rm podman-auth.json if removing last cluster
authorAdam King <adking@redhat.com>
Wed, 14 Feb 2024 17:02:09 +0000 (12:02 -0500)
committerAdam King <adking@redhat.com>
Sun, 10 Mar 2024 20:58:07 +0000 (16:58 -0400)
commit29548ab46bcd69d11cef106530556f362c4be802
tree0637a0c8604b8a50c0c7028b315fa15f0b9fd149
parentc2ea977b6956d1f694ccf66acc692fdd979e3baa
cephadm: rm podman-auth.json if removing last cluster

We have points in rm-cluster where we check that
there are no other clusters on the host. If that
is the case, we can also clear /etc/ceph/podman-auth.json
which gets written out when we log in to a registry
while using podman

Fixes: https://tracker.ceph.com/issues/64433
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit d203a97e1bf1e06433365ea38e3ab2b6430cefff)
src/cephadm/cephadm.py