We run this rm command after the `cephadm rm-cluster`
which is also meant to clean these up. Honestly, I have no idea
why this wasn't already failing
Signed-off-by: Adam King <adking@redhat.com>
)
# clean up /etc/ceph
- ctx.cluster.run(args=[
- 'sudo', 'rm', '-f',
- '/etc/ceph/{}.conf'.format(cluster_name),
- '/etc/ceph/{}.client.admin.keyring'.format(cluster_name),
- ])
+ ctx.cluster.run(
+ args=[
+ 'sudo', 'rm', '-f',
+ '/etc/ceph/{}.conf'.format(cluster_name),
+ '/etc/ceph/{}.client.admin.keyring'.format(cluster_name),
+ ],
+ check_status=False, # rm-cluster above should have cleaned these up
+ )
@contextlib.contextmanager