|
|
楼主 |
发表于 2020-12-27 13:19:00
|
显示全部楼层
[root@controller ~]# cinder service-disable controller@CEPH2 cinder-volume ! F# u' b6 S9 r7 f( C, a% \5 O
+------------------+---------------+----------+( w% `0 h- t \0 r/ X: ^3 g
| Host | Binary | Status |
2 R7 `+ e( x+ b. D! z8 S0 I/ d+------------------+---------------+----------+
- x) T$ O7 ?; ^7 M' ^, B- v! ~. Q| controller@CEPH2 | cinder-volume | disabled |- |9 M& e. u" p9 Z% c2 f
+------------------+---------------+----------+
7 k* }3 u, k$ ~# K, o$ Y% Z3 V0 [ B[root@controller ~]# cinder-manage service remove cinder-volume controller@CEPH27 ]) q4 i- Q( `3 q: j5 A. U- e
Option "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT".
3 [# n$ i1 G4 h5 F3 ^Service cinder-volume on host controller@CEPH2 removed.
H1 Y" u X" z
) G$ n. @+ g7 ]1 g; N' U. f; oEvery 2.0s: cinder service-list Sun Dec 27 13:19:18 2020
) }# x" t" G+ E! v" I5 K$ g$ p
* h' T: ~2 B! z( w& k5 t" m+------------------+------------------+------+---------+-------+----------------------------+-----------------+
' Y# w3 r7 ]) o4 x| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |: T0 L1 o5 _: B: h
+------------------+------------------+------+---------+-------+----------------------------+-----------------+) q0 y, }$ }, D% {" V7 b5 C7 U0 \
| cinder-scheduler | controller | nova | enabled | up | 2020-12-27T05:19:11.000000 | - |
$ n8 b7 l+ o7 r) S+ l; i; [. X| cinder-volume | controller@CEPH1 | nova | enabled | up | 2020-12-27T05:19:12.000000 | - |, l0 ~1 l% Y! {
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
# ^) l: S# X- x N
$ p% D7 _' x% k# P2 H" y只要volume服务没有停止,过几秒钟状态又会恢复:
. t3 k* R1 _: `, j; i0 ` O1 E- b0 {) O5 v9 j. E" n
Every 2.0s: cinder service-list Sun Dec 27 13:20:01 2020
$ b3 t+ c5 I; T4 p' N4 o
, h/ W4 T q2 b7 E& F+------------------+------------------+------+---------+-------+----------------------------+-----------------+' z4 k4 d/ c8 k! g5 h% C u
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |) G2 u1 v7 L+ B' P7 x: h
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
6 W" U; h* h+ c4 }| cinder-scheduler | controller | nova | enabled | up | 2020-12-27T05:20:01.000000 | - |0 q! @1 Q# T2 ~ h0 _: h( t) z
| cinder-volume | controller@CEPH1 | nova | enabled | up | 2020-12-27T05:20:02.000000 | - |
3 J; A% |, K; x& `% ~8 A| cinder-volume | controller@CEPH2 | nova | enabled | up | 2020-12-27T05:20:02.000000 | - |5 g: L% u) C( \$ c* T. n {
+------------------+------------------+------+---------+-------+----------------------------+-----------------+ |
|