Project

General

Profile

Bug #19857

uninstall not cleaning up few files and ceph.target files

Added by Vasu Kulkarni almost 7 years ago. Updated almost 7 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

on master branch, right after ceph-deploy purge, i see lot of stale files, this will create issues when we are reusing the same node for testing again

version: 12.0.1-1912-gc124b05-1xenial


[xenialtest][DEBUG ] The following packages were automatically installed and are no longer required:
[xenialtest][DEBUG ]   libaio1 libbabeltrace-ctf1 libbabeltrace1 libcephfs2 libfcgi0ldbl
[xenialtest][DEBUG ]   libgoogle-perftools4 libibverbs1 libjs-jquery libleveldb1v5
[xenialtest][DEBUG ]   liblttng-ust-ctl2 liblttng-ust0 libnspr4 libnss3 libnss3-nssdb librados2
[xenialtest][DEBUG ]   libradosstriper1 librbd1 librgw2 libsnappy1v5 libtcmalloc-minimal4
[xenialtest][DEBUG ]   libunwind8 liburcu4 linux-headers-4.4.0-42 linux-headers-4.4.0-42-generic
[xenialtest][DEBUG ]   linux-headers-4.4.0-64 linux-headers-4.4.0-64-generic linux-headers-4.4.0-66
[xenialtest][DEBUG ]   linux-headers-4.4.0-66-generic linux-headers-4.4.0-70
[xenialtest][DEBUG ]   linux-headers-4.4.0-70-generic linux-headers-4.4.0-71
[xenialtest][DEBUG ]   linux-headers-4.4.0-71-generic linux-image-4.4.0-42-generic
[xenialtest][DEBUG ]   linux-image-4.4.0-64-generic linux-image-4.4.0-66-generic
[xenialtest][DEBUG ]   linux-image-4.4.0-70-generic linux-image-4.4.0-71-generic python-cephfs
[xenialtest][DEBUG ]   python-chardet python-flask python-itsdangerous python-jinja2
[xenialtest][DEBUG ]   python-markupsafe python-rados python-rbd python-requests python-rgw
[xenialtest][DEBUG ]   python-six python-urllib3 python-werkzeug
[xenialtest][DEBUG ] Use 'sudo apt autoremove' to remove them.
[xenialtest][DEBUG ] The following packages will be REMOVED:
[xenialtest][DEBUG ]   ceph* ceph-base* ceph-common* ceph-mds* ceph-mgr* ceph-mon* ceph-osd*
[xenialtest][DEBUG ]   radosgw*
[xenialtest][DEBUG ] 0 upgraded, 0 newly installed, 8 to remove and 96 not upgraded.
[xenialtest][DEBUG ] After this operation, 280 MB disk space will be freed.
(Reading database ... 256159 files and directories currently installed.)
[xenialtest][DEBUG ] Removing ceph-mds (12.0.1-1912-gc124b05-1xenial) ...
[xenialtest][DEBUG ] Purging configuration files for ceph-mds (12.0.1-1912-gc124b05-1xenial) ...
[xenialtest][DEBUG ] Removing ceph (12.0.1-1912-gc124b05-1xenial) ...
[xenialtest][DEBUG ] Removing ceph-osd (12.0.1-1912-gc124b05-1xenial) ...
[xenialtest][DEBUG ] Purging configuration files for ceph-osd (12.0.1-1912-gc124b05-1xenial) ...
[xenialtest][DEBUG ] Removing ceph-mon (12.0.1-1912-gc124b05-1xenial) ...
[xenialtest][DEBUG ] Purging configuration files for ceph-mon (12.0.1-1912-gc124b05-1xenial) ...
[xenialtest][DEBUG ] dpkg: warning: while removing ceph-mon, directory '/var/lib/ceph/mon' not empty so not removed
[xenialtest][DEBUG ] Removing radosgw (12.0.1-1912-gc124b05-1xenial) ...
[xenialtest][DEBUG ] Purging configuration files for radosgw (12.0.1-1912-gc124b05-1xenial) ...
[xenialtest][DEBUG ] Removing ceph-mgr (12.0.1-1912-gc124b05-1xenial) ...
[xenialtest][DEBUG ] Purging configuration files for ceph-mgr (12.0.1-1912-gc124b05-1xenial) ...
[xenialtest][DEBUG ] dpkg: warning: while removing ceph-mgr, directory '/var/lib/ceph/mgr' not empty so not removed
[xenialtest][DEBUG ] Removing ceph-base (12.0.1-1912-gc124b05-1xenial) ...
[xenialtest][DEBUG ] Purging configuration files for ceph-base (12.0.1-1912-gc124b05-1xenial) ...
[xenialtest][DEBUG ] Removing ceph-common (12.0.1-1912-gc124b05-1xenial) ...
[xenialtest][DEBUG ] Purging configuration files for ceph-common (12.0.1-1912-gc124b05-1xenial) ...
[xenialtest][DEBUG ] dpkg: warning: while removing ceph-common, directory '/var/lib/ceph' not empty so not removed
[xenialtest][DEBUG ] Processing triggers for man-db (2.7.5-1) ...
[xenialtest][DEBUG ] Processing triggers for libc-bin (2.23-0ubuntu7) ...

systemd target files which are not removed


/var/lib/systemd/deb-systemd-helper-masked/ceph-mon.target
/var/lib/systemd/deb-systemd-helper-masked/ceph-osd.target
/var/lib/systemd/deb-systemd-helper-enabled/ceph-osd.target.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/ceph-mon.target
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/ceph-osd.target
/var/lib/systemd/deb-systemd-helper-enabled/ceph-mon.target.dsh-also

History

#1 Updated by Vasu Kulkarni almost 7 years ago

from /var/lib/ceph

/var/lib/ceph/:
total 8
drwxr-xr-x 3 ceph ceph 4096 May  4 00:38 mgr
drwxr-xr-x 3 ceph ceph 4096 May  4 00:38 mon

/var/lib/ceph/mgr:
total 4
drwxr-xr-x 2 ceph ceph 4096 May  4 00:38 ceph-xenialtest

/var/lib/ceph/mgr/ceph-xenialtest:
total 4
-rw------- 1 ceph ceph 65 May  4 00:38 keyring

/var/lib/ceph/mon:
total 4
drwxr-xr-x 3 ceph ceph 4096 May  4 00:38 ceph-xenialtest

/var/lib/ceph/mon/ceph-xenialtest:
total 12
-rw-r--r-- 1 ceph ceph    0 May  4 00:38 done
-rw------- 1 ceph ceph   77 May  4 00:38 keyring
-rw-r--r-- 1 ceph ceph    8 May  4 00:38 kv_backend
drwxr-xr-x 2 ceph ceph 4096 May  4 00:38 store.db
-rw-r--r-- 1 ceph ceph    0 May  4 00:38 systemd

/var/lib/ceph/mon/ceph-xenialtest/store.db:
total 228
-rw-r--r-- 1 ceph ceph    586 May  4 00:38 000005.ldb
-rw-r--r-- 1 ceph ceph 220846 May  4 16:07 000006.log
-rw-r--r-- 1 ceph ceph     16 May  4 00:38 CURRENT
-rw-r--r-- 1 ceph ceph      0 May  4 00:38 LOCK
-rw-r--r-- 1 ceph ceph     98 May  4 00:38 MANIFEST-000004

Also available in: Atom PDF