ceph/qa/qa_scripts/cephscrub.sh
Jason Dillaman 65c8733b56 librados: revert librados3/libradoscc back to librados2
For backwards compatibility and upgrade reasons, the librados2
API needs to be preserved and it needs to continue to be compatible
with dependent libraries like librbd1.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-02-20 14:59:26 -05:00

31 lines
991 B
Bash
Executable File

# remove the ceph directories
sudo rm -rf /var/log/ceph
sudo rm -rf /var/lib/ceph
sudo rm -rf /etc/ceph
sudo rm -rf /var/run/ceph
# remove the ceph packages
sudo apt-get -y purge ceph
sudo apt-get -y purge ceph-dbg
sudo apt-get -y purge ceph-mds
sudo apt-get -y purge ceph-mds-dbg
sudo apt-get -y purge ceph-fuse
sudo apt-get -y purge ceph-fuse-dbg
sudo apt-get -y purge ceph-common
sudo apt-get -y purge ceph-common-dbg
sudo apt-get -y purge ceph-resource-agents
sudo apt-get -y purge librados2
sudo apt-get -y purge librados2-dbg
sudo apt-get -y purge librados-dev
sudo apt-get -y purge librbd1
sudo apt-get -y purge librbd1-dbg
sudo apt-get -y purge librbd-dev
sudo apt-get -y purge libcephfs2
sudo apt-get -y purge libcephfs2-dbg
sudo apt-get -y purge libcephfs-dev
sudo apt-get -y purge radosgw
sudo apt-get -y purge radosgw-dbg
sudo apt-get -y purge obsync
sudo apt-get -y purge python-rados
sudo apt-get -y purge python-rbd
sudo apt-get -y purge python-cephfs