Ceph 卸载Node
root@cephadmin:/home/cephadmin# ceph-deploy uninstall ceph002
[ceph_deploy.cli][INFO ] Invoked (1.4.0): /usr/bin/ceph-deploy uninstall ceph002
[ceph_deploy.install][DEBUG ] Uninstalling on cluster ceph hosts ceph002
[ceph_deploy.install][DEBUG ] Detecting platform for host ceph002 ...
[ceph002][DEBUG ] connected to host: ceph002
[ceph002][DEBUG ] detect platform information from remote host
[ceph002][DEBUG ] detect machine type
[ceph_deploy.install][INFO ] Distro info: Ubuntu 14.04 trusty
[ceph002][INFO ] uninstalling ceph on ceph002
[ceph002][INFO ] Running command: apt-get -q remove -f -y --force-yes ceph ceph-mds ceph-common ceph-fs-common
[ceph002][WARNIN] debconf: unable to initialize frontend: Dialog
[ceph002][WARNIN] debconf: (TERM is not set, so the dialog frontend is not usable.)
[ceph002][WARNIN] debconf: falling back to frontend: Readline
[ceph002][WARNIN] debconf: unable to initialize frontend: Readline
[ceph002][WARNIN] debconf: (This frontend requires a controlling tty.)
[ceph002][WARNIN] debconf: falling back to frontend: Teletype
[ceph002][DEBUG ] Reading package lists...
[ceph002][DEBUG ] Building dependency tree...
[ceph002][DEBUG ] Reading state information...
[ceph002][DEBUG ] The following packages were automatically installed and are no longer required:
[ceph002][DEBUG ] ceph-fuse cryptsetup-bin libaio1 libboost-system1.54.0 libboost-thread1.54.0
[ceph002][DEBUG ] libcephfs1 libcryptsetup4 libgoogle-perftools4 libjs-jquery libleveldb1
[ceph002][DEBUG ] libnspr4 libnss3 libnss3-nssdb librados2 librbd1 libsnappy1
[ceph002][DEBUG ] libtcmalloc-minimal4 libunwind8 python-blinker python-ceph python-flask
[ceph002][DEBUG ] python-itsdangerous python-jinja2 python-markupsafe python-pyinotify
[ceph002][DEBUG ] python-werkzeug xfsprogs
[ceph002][DEBUG ] Use 'apt-get autoremove' to remove them.
[ceph002][DEBUG ] The following packages will be REMOVED:
[ceph002][DEBUG ] ceph ceph-common ceph-fs-common ceph-mds
[ceph002][DEBUG ] 0 upgraded, 0 newly installed, 4 to remove and 218 not upgraded.
[ceph002][DEBUG ] After this operation, 59.5 MB disk space will be freed.
[ceph002][DEBUG ] (Reading database ... 56059 files and directories currently installed.)
[ceph002][DEBUG ] Removing ceph-mds (0.80.11-0ubuntu1.14.04.1) ...
[ceph002][DEBUG ] ceph-mds-all stop/waiting
[ceph002][DEBUG ] Removing ceph (0.80.11-0ubuntu1.14.04.1) ...
[ceph002][DEBUG ] ceph-all stop/waiting
[ceph002][DEBUG ] === osd.0 ===
[ceph002][DEBUG ] Stopping Ceph osd.0 on ceph002...done
[ceph002][DEBUG ] Removing ceph-common (0.80.11-0ubuntu1.14.04.1) ...
[ceph002][DEBUG ] Removing ceph-fs-common (0.80.11-0ubuntu1.14.04.1) ...
[ceph002][DEBUG ] Processing triggers for man-db (2.6.7.1-1) ...
root@cephadmin:/home/cephadmin#