|
|
楼主 |
发表于 2022-11-28 17:24:02
|
显示全部楼层
http://wwww.bbs168x.cn/forum.php ... &extra=#pid2948
! ]2 O- p: u. p" d: n* ][root@controller ~]# cinder service-disable controller@CEPH2 cinder-volume
+ h; h2 L. M( k& z: \+------------------+---------------+----------+% E' I+ u, c0 N, D" j
| Host | Binary | Status |
$ L1 _5 L v0 B. `' Z* z9 f& @2 s+------------------+---------------+----------+9 a" K; C$ D+ X b8 h% E! g& k
| controller@CEPH2 | cinder-volume | disabled |
8 E3 p9 u* D0 m, L' l+------------------+---------------+----------+4 m0 k7 Q+ O1 I/ s: i: J) O
[root@controller ~]# cinder-manage service remove cinder-volume controller@CEPH26 w) K4 j& {/ C- Z+ o: I
Option "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT".
: x/ T) _: F3 a6 c$ _3 g( \Service cinder-volume on host controller@CEPH2 removed.& C8 p) o" Q/ b) X
: b Q/ a9 T( W- {+ L$ s2 g
Every 2.0s: cinder service-list Sun Dec 27 13:19:18 2020* I% p# x: m2 `" u# M' b' l n8 d
" G& V' W. C; j
+------------------+------------------+------+---------+-------+----------------------------+-----------------+( ^8 ^! j& i3 w; H4 z7 D& S
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |6 x/ `4 o E6 B7 j# f
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
& h. z6 g0 \+ ]% p; P| cinder-scheduler | controller | nova | enabled | up | 2020-12-27T05:19:11.000000 | - |
( h3 f% Y/ `9 W# v! m. || cinder-volume | controller@CEPH1 | nova | enabled | up | 2020-12-27T05:19:12.000000 | - |5 l5 |; S2 y/ Q: H' w4 S
+------------------+------------------+------+---------+-------+----------------------------+-----------------+! y K4 R; }1 y0 z
5 E6 v. s. C$ J6 a5 n. U' e
只要volume服务没有停止,过几秒钟状态又会恢复:
% ~8 D" Z3 ^5 V. S3 \" O
& I. V# k% {) c1 [4 d" n$ h! x" {0 z {Every 2.0s: cinder service-list Sun Dec 27 13:20:01 2020
& i! U5 k6 P% W
7 d) [) L. U5 S* V+ @+------------------+------------------+------+---------+-------+----------------------------+-----------------+2 a! o2 l/ [+ a
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |, W% H5 E* e4 Y( i2 \! D1 ?4 S
+------------------+------------------+------+---------+-------+----------------------------+-----------------+1 `! J, x$ e% M8 G5 `1 z: V
| cinder-scheduler | controller | nova | enabled | up | 2020-12-27T05:20:01.000000 | - |- N- n* i$ l4 X0 q/ {. l |0 C! l
| cinder-volume | controller@CEPH1 | nova | enabled | up | 2020-12-27T05:20:02.000000 | - |
0 @6 K; N: V, C4 h+ Z" ^9 r; B, Z# X| cinder-volume | controller@CEPH2 | nova | enabled | up | 2020-12-27T05:20:02.000000 | - |. ?9 ]% T5 d: H; g
+------------------+------------------+------+---------+-------+----------------------------+-----------------+ |
|