Project

General

Profile

Actions

Bug #46655

closed

cephadm rm-cluster: Systemd ceph.target not deleted

Added by Juan Miguel Olmo Martínez almost 4 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm (binary)
Target version:
-
% Done:

0%

Source:
Tags:
low-hanging-fruit
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

systemd ceph target persist (active and running after deleting the cluster using cephadm rm-cluster).

This not prevents to create a new cluster or other operations, but when we delete a cluster we must delete all the things related with the cluster.

Steps to reproduce:

1. cephadm bootstrap --mon-ip x.x.x.x
2. cephadm rm-cluster --fsid <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> --force
3. [root@cephLab2-node-00 storage]# systemctl list-units ceph*
UNIT LOAD ACTIVE SUB DESCRIPTION
ceph.target loaded active active All Ceph clusters and services

LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.

1 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

4. [root@cephLab2-node-00 storage]# systemctl status ceph.target
● ceph.target - All Ceph clusters and services
Loaded: loaded (/etc/systemd/system/ceph.target; enabled; vendor preset: disabled)
Active: active since Mon 2020-07-20 10:51:32 UTC; 1 day 1h ago

Jul 20 10:51:32 cephLab2-node-00 systemd1: Reached target All Ceph clusters and services.


Related issues 1 (0 open1 closed)

Related to Orchestrator - Bug #53010: cehpadm rm-cluster does not clean up /var/run/cephResolvedRedouane Kachach Elhichou

Actions
Actions

Also available in: Atom PDF