- 积分
- 16844
在线时间 小时
最后登录1970-1-1
|

楼主 |
发表于 2022-11-28 17:24:02
|
显示全部楼层
http://wwww.bbs168x.cn/forum.php ... &extra=#pid2948
0 P4 ^7 ` y( @% Q[root@controller ~]# cinder service-disable controller@CEPH2 cinder-volume ! [5 I; `: R8 h- H# e' i
+------------------+---------------+----------+; R- Y1 X4 C5 O9 k: Q% C
| Host | Binary | Status |
3 T; E' H. Q* R+ J- N% I4 H- T; w2 f0 }7 a, k+------------------+---------------+----------+2 o7 ~. G' n1 e8 J, |
| controller@CEPH2 | cinder-volume | disabled |
" Q. e: ^# ], A. K5 d; ~+------------------+---------------+----------+" l! T0 \; a" M+ X) `& }1 n
[root@controller ~]# cinder-manage service remove cinder-volume controller@CEPH2
( f' x! c5 R$ y# {8 [: eOption "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT".
5 D( t* k, v% |: V" q$ \6 G# w1 TService cinder-volume on host controller@CEPH2 removed.
|& g. F2 t2 D1 z# x
. B9 e3 n+ f& t6 z8 i' C) WEvery 2.0s: cinder service-list Sun Dec 27 13:19:18 20209 W S7 _9 \# V. V, P: J4 L" h
8 r8 H: \6 |: G8 d; [ y f+------------------+------------------+------+---------+-------+----------------------------+-----------------+' {3 {6 y+ o/ y9 l
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |9 ~) b0 i* M+ E, q# k! g! x
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
( e6 Z' p' a2 w( q| cinder-scheduler | controller | nova | enabled | up | 2020-12-27T05:19:11.000000 | - |
S& O$ w" T& L- E| cinder-volume | controller@CEPH1 | nova | enabled | up | 2020-12-27T05:19:12.000000 | - |' Y' u. k5 P% D( X& e3 P& w, s
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
9 j7 T9 W7 W$ R+ r" i& Y8 G' x* Y5 L, } V# N, R
只要volume服务没有停止,过几秒钟状态又会恢复:
9 @1 }: j8 V0 a6 M1 K p& L0 ~. |- Y0 x& i' c
Every 2.0s: cinder service-list Sun Dec 27 13:20:01 2020
8 Q' [9 |) t8 n0 g
# t3 Z. ?5 p3 o$ O7 Z7 p, i+------------------+------------------+------+---------+-------+----------------------------+-----------------+
! I U! y: z- T0 V# Z| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |. E2 p" y: n: B0 e0 d, B
+------------------+------------------+------+---------+-------+----------------------------+-----------------+7 w9 E3 Y' ?7 r1 i( K0 p
| cinder-scheduler | controller | nova | enabled | up | 2020-12-27T05:20:01.000000 | - |: f1 M4 _3 K( Q5 c1 ?
| cinder-volume | controller@CEPH1 | nova | enabled | up | 2020-12-27T05:20:02.000000 | - |9 r! Z4 J0 c7 x' V
| cinder-volume | controller@CEPH2 | nova | enabled | up | 2020-12-27T05:20:02.000000 | - |) X8 ?% e( x W
+------------------+------------------+------+---------+-------+----------------------------+-----------------+ |
|