|
|
楼主 |
发表于 2020-12-10 20:35:42
|
显示全部楼层
[root@ceph1 deploy]# ceph-deploy purgedata ceph1 ceph2 ceph3 删除ceph的文件 /var/lib/ceph /etc/ceph/1 ?- {" e8 P5 e0 L
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf' o5 e0 d' ?7 t. ]- g
[ceph_deploy.cli][INFO ] Invoked (1.5.39): /usr/bin/ceph-deploy purgedata ceph1 ceph2 ceph3
' D- f/ Q( d4 ^6 f+ [ o[ceph_deploy.cli][INFO ] ceph-deploy options: L/ A) C8 F L) j! ?4 ?
[ceph_deploy.cli][INFO ] username : None9 q' Y4 Y- k" J' o
[ceph_deploy.cli][INFO ] verbose : False5 N* j' y( ?$ \! l9 L( c
[ceph_deploy.cli][INFO ] overwrite_conf : False
! s- }0 n5 o' ^4 I% P1 o+ u[ceph_deploy.cli][INFO ] quiet : False
2 q+ L- V8 k$ R8 k[ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x7fcba8528290>* C7 F) |1 k" _. [
[ceph_deploy.cli][INFO ] cluster : ceph
4 S4 M; o+ g5 |4 u5 r) t8 }[ceph_deploy.cli][INFO ] host : ['ceph1', 'ceph2', 'ceph3']
9 w$ p6 F% |( r& L* J$ r9 C$ o7 R[ceph_deploy.cli][INFO ] func : <function purgedata at 0x7fcba902f1b8>- x! R& _- L1 _( n" ^3 W
[ceph_deploy.cli][INFO ] ceph_conf : None' U6 ]# t) Q9 p* e1 w
[ceph_deploy.cli][INFO ] default_release : False6 M9 W( L# W& n, l4 t
[ceph_deploy.install][DEBUG ] Purging data from cluster ceph hosts ceph1 ceph2 ceph3
- ^* K' U! r: H- x[ceph1][DEBUG ] connected to host: ceph1 . O3 v+ X$ f2 q9 ?
[ceph1][DEBUG ] detect platform information from remote host: d x0 o7 }' A7 T7 I
[ceph1][DEBUG ] detect machine type" k- q6 J1 U. `" j1 q u1 Z& K( f
[ceph1][DEBUG ] find the location of an executable" a J6 [. O' K0 k
[ceph2][DEBUG ] connected to host: ceph2 $ f! G0 A0 K0 S: U$ s: i
[ceph2][DEBUG ] detect platform information from remote host
( g+ g. k( Z+ d5 T% I0 V! @; d[ceph2][DEBUG ] detect machine type, W: w4 F5 _8 l6 Z
[ceph2][DEBUG ] find the location of an executable. z7 l4 w; n2 N0 Z2 l' t
[ceph3][DEBUG ] connected to host: ceph3
$ _$ @$ e. x9 c8 n J: T[ceph3][DEBUG ] detect platform information from remote host
) V7 i1 z. p8 ?" a[ceph3][DEBUG ] detect machine type* Z( }4 ~. t+ Z# }. M
[ceph3][DEBUG ] find the location of an executable
2 o1 W# u; C, w9 w$ u[ceph1][DEBUG ] connected to host: ceph1 , `, a. N; F' J: n3 I' p4 [
[ceph1][DEBUG ] detect platform information from remote host5 y; _5 K a; {
[ceph1][DEBUG ] detect machine type
8 U% D- ^/ ? ~3 l* k2 e7 h$ w[ceph_deploy.install][INFO ] Distro info: CentOS Linux 7.5.1804 Core6 G# J& F7 N; ^* V: w5 a5 j7 N8 \
[ceph1][INFO ] purging data on ceph1
) L$ _ j! N: v4 ~[ceph1][INFO ] Running command: rm -rf --one-file-system -- /var/lib/ceph
: g$ C( Q4 C6 F4 h( B& Y) C[ceph1][INFO ] Running command: rm -rf --one-file-system -- /etc/ceph/
. t+ w2 g- n1 g. T. T6 D[ceph2][DEBUG ] connected to host: ceph2
5 D) W$ A/ |/ l8 {) K @6 R[ceph2][DEBUG ] detect platform information from remote host
$ Q6 b3 b8 L7 |1 t% c% x[ceph2][DEBUG ] detect machine type# h* p8 z* ]. G8 u1 ]
[ceph_deploy.install][INFO ] Distro info: CentOS Linux 7.5.1804 Core
: { O* `/ v" ]2 I' H2 ][ceph2][INFO ] purging data on ceph2" | c; I, I8 X* l1 E4 Z' v- y0 m
[ceph2][INFO ] Running command: rm -rf --one-file-system -- /var/lib/ceph+ M2 s2 X z( J6 ~8 g3 @
[ceph2][INFO ] Running command: rm -rf --one-file-system -- /etc/ceph/
( [3 v M( Q2 O$ l[ceph3][DEBUG ] connected to host: ceph3
6 Z) I( A+ [$ [* y/ k9 p2 _[ceph3][DEBUG ] detect platform information from remote host7 ?3 |! ]' n% ?' g* k' W6 f
[ceph3][DEBUG ] detect machine type
) b% Y% d; p/ k' }* z[ceph_deploy.install][INFO ] Distro info: CentOS Linux 7.5.1804 Core& {4 Y" O x' ]1 c
[ceph3][INFO ] purging data on ceph3
" q$ t3 K; U0 S$ u k7 K; R1 x2 Z[ceph3][INFO ] Running command: rm -rf --one-file-system -- /var/lib/ceph! ~4 @% @9 v8 T5 M3 }
[ceph3][INFO ] Running command: rm -rf --one-file-system -- /etc/ceph/
8 ]% K$ i( Y$ P, L' T; f! Q
3 ], u1 k6 `4 J7 @* `8 ]ceph删除安装包:
3 w+ S3 Y9 x8 m8 k[root@ceph1 deploy]# ceph-deploy purge ceph1 ceph2 ceph3
& ~, k' X4 x/ \& V: {2 j1 C[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf% T: a x3 g/ @
[ceph_deploy.cli][INFO ] Invoked (1.5.39): /usr/bin/ceph-deploy purge ceph1 ceph2 ceph3
( g# f9 v6 G. ]# `) @[ceph_deploy.cli][INFO ] ceph-deploy options:
6 c0 f4 K# O5 I S9 r/ k0 ~( u: O[ceph_deploy.cli][INFO ] username : None! p/ H) n1 e% \
[ceph_deploy.cli][INFO ] verbose : False" i; H7 K7 ?6 |# U2 V9 L5 v$ ^
[ceph_deploy.cli][INFO ] overwrite_conf : False: b8 v: p. h$ T8 `( L9 q' H0 V
[ceph_deploy.cli][INFO ] quiet : False- H7 r V8 E& E; U; @ x
[ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x7fb83f035368># K6 y# C5 s. c0 V9 X4 [4 I' h+ Z
[ceph_deploy.cli][INFO ] cluster : ceph
7 n+ ]+ v; K: j[ceph_deploy.cli][INFO ] host : ['ceph1', 'ceph2', 'ceph3']
5 x1 O- U& ^" V[ceph_deploy.cli][INFO ] func : <function purge at 0x7fb83fb3c140>
( s/ \3 G) d! k) g& T/ a% f[ceph_deploy.cli][INFO ] ceph_conf : None
+ C( u5 k) ?* h1 l, n# X[ceph_deploy.cli][INFO ] default_release : False; E+ D. {% T9 A' o$ J
[ceph_deploy.install][INFO ] note that some dependencies *will not* be removed because they can cause issues with qemu-kvm
4 s/ Y$ P5 E! V4 O3 x8 G" _[ceph_deploy.install][INFO ] like: librbd1 and librados2
0 C/ I' G; p2 t. s ~8 k1 y[ceph_deploy.install][DEBUG ] Purging on cluster ceph hosts ceph1 ceph2 ceph34 ^* C% _% K- o! h/ q6 v7 F, j
[ceph_deploy.install][DEBUG ] Detecting platform for host ceph1 ...: x' I D4 {& b6 x6 s. k
[ceph1][DEBUG ] connected to host: ceph1 * h" p; `# u/ t- p
[ceph1][DEBUG ] detect platform information from remote host' Y/ z! `7 v' ~ p9 \
[ceph1][DEBUG ] detect machine type
( Z; k* m+ ?9 J% w) m- e: H) x[ceph_deploy.install][INFO ] Distro info: CentOS Linux 7.5.1804 Core9 N2 @5 H0 ?2 J. N1 C6 O# h8 M% h/ S
[ceph1][INFO ] Purging Ceph on ceph18 r5 i9 f3 n: |) T' l3 S( O! B1 w* [
[ceph1][INFO ] Running command: yum -y -q remove ceph ceph-release ceph-common ceph-radosgw5 u0 F+ ~! l6 g6 p B; Z
[ceph1][WARNIN] No Match for argument: ceph* q. |; y' P! ]- S
[ceph1][WARNIN] No Match for argument: ceph-release. v- n6 w! j( `; p- K% k& r4 ?# z3 ]" `
[ceph1][WARNIN] No Match for argument: ceph-common. k: L' ]; J* v O) y3 ^) U
[ceph1][WARNIN] No Match for argument: ceph-radosgw$ |& `1 J. K! c% x
[ceph1][INFO ] Running command: yum clean all4 g4 h1 U( w' {% C( P
[ceph1][DEBUG ] Loaded plugins: fastestmirror, priorities6 |6 P7 @ V3 t8 \. c! y
[ceph1][DEBUG ] Cleaning repos: base elrepo epel extras updates
9 J$ N0 d( q$ K6 }% e; X[ceph1][DEBUG ] Cleaning up everything* R4 p, L; ]* |& G( S5 [& N
[ceph1][DEBUG ] Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos; ^. g' j* i \5 x, _" a
[ceph_deploy.install][DEBUG ] Detecting platform for host ceph2 ...$ F" I- q/ E& l( t3 C L
[ceph2][DEBUG ] connected to host: ceph2 l+ v2 t7 d( V2 H9 U3 E" |$ m
[ceph2][DEBUG ] detect platform information from remote host1 y; n8 v I% ^5 v' E, @
[ceph2][DEBUG ] detect machine type6 a" _9 k6 e( I7 z( x- V8 u/ d
[ceph_deploy.install][INFO ] Distro info: CentOS Linux 7.5.1804 Core# U6 N1 O4 t1 x/ a' M# |
[ceph2][INFO ] Purging Ceph on ceph21 s/ g% V3 M& V( e* l9 L, Y" Z6 `' ]
[ceph2][INFO ] Running command: yum -y -q remove ceph ceph-release ceph-common ceph-radosgw+ p% }$ V' ?6 L1 Y: A& |% u/ @
[ceph2][WARNIN] No Match for argument: ceph
- d' A" v' E; n: q h! P[ceph2][WARNIN] No Match for argument: ceph-release# m, p. C0 ~, U/ m0 q! Z
[ceph2][WARNIN] No Match for argument: ceph-common5 F* g, ?1 H7 ~, C2 G4 n0 H3 j
[ceph2][WARNIN] No Match for argument: ceph-radosgw) A6 {/ ]6 a: w1 i/ C
[ceph2][INFO ] Running command: yum clean all; ?( y3 a `4 F- \" ]5 e. w" ]
[ceph2][DEBUG ] Loaded plugins: fastestmirror, priorities* c: V# z \" q$ O- F- ~" d
[ceph2][DEBUG ] Cleaning repos: base elrepo epel extras updates9 C t5 i- G/ _' S2 p
[ceph2][DEBUG ] Cleaning up everything
- ~0 D8 `9 J$ O0 [5 ^[ceph2][DEBUG ] Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos3 a8 g B$ Z# p/ @
[ceph_deploy.install][DEBUG ] Detecting platform for host ceph3 ...# |. j& `* m3 G5 R3 m
[ceph3][DEBUG ] connected to host: ceph3
- z2 p* C$ z% v4 X6 E[ceph3][DEBUG ] detect platform information from remote host' f3 G! W% n) `- c* ]+ j. v
[ceph3][DEBUG ] detect machine type9 T h1 U/ b2 \# Q6 G
[ceph_deploy.install][INFO ] Distro info: CentOS Linux 7.5.1804 Core( n" ^3 A: ]: \) H+ F# {
[ceph3][INFO ] Purging Ceph on ceph3
% c; B1 X2 `+ s2 Z7 s[ceph3][INFO ] Running command: yum -y -q remove ceph ceph-release ceph-common ceph-radosgw
4 k9 l, b6 p! I: W! a3 Q/ Z[ceph3][WARNIN] No Match for argument: ceph8 U4 b% n3 q) i7 k4 ?/ V" i
[ceph3][WARNIN] No Match for argument: ceph-release! u4 g. N* r6 t; O; X
[ceph3][WARNIN] No Match for argument: ceph-common
0 P) y1 F; L; K6 X' b[ceph3][WARNIN] No Match for argument: ceph-radosgw
: \% F* Z4 T1 C, u- u6 s[ceph3][INFO ] Running command: yum clean all q2 T; Y3 |* Q" o/ p. v0 h) b
[ceph3][DEBUG ] Loaded plugins: fastestmirror
$ B/ ~6 V! Q( W! u( \9 T4 G[ceph3][DEBUG ] Cleaning repos: Ceph-SRPMS Ceph-noarch Ceph-x86 base ceph-aarch64 elrepo epel0 z& Q6 W5 N/ t1 v
[ceph3][DEBUG ] : extras updates8 |$ Y0 t3 a+ g @. G; p3 a+ \) J
[ceph3][DEBUG ] Cleaning up everything
% u+ E3 T7 h* a: r& O9 e[ceph3][DEBUG ] Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos3 {9 Z u( e# D/ Q% E% h
9 j% T" H" z' z( m a9 J- J; P7 l3 E% \5 I! f+ H, m- P
|
|