|
|
楼主 |
发表于 2020-12-27 13:19:00
|
显示全部楼层
[root@controller ~]# cinder service-disable controller@CEPH2 cinder-volume 6 R1 c# ?: |. ~7 u0 S0 l9 O
+------------------+---------------+----------+
% @* p- U d& E| Host | Binary | Status |% f' L. z6 t% o9 `: Q
+------------------+---------------+----------+
0 K7 X( a& H8 r: i( [0 E| controller@CEPH2 | cinder-volume | disabled |7 K( T9 f6 {0 T1 k+ q1 q/ [# Y
+------------------+---------------+----------+* @1 ]" p: D; r
[root@controller ~]# cinder-manage service remove cinder-volume controller@CEPH2
! E9 ]+ a) G( w9 N0 bOption "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT".
6 Q5 B6 K# J2 D9 {Service cinder-volume on host controller@CEPH2 removed.
/ x) t( d0 T) R" }- U
/ M% ?1 E' j5 @, u7 [Every 2.0s: cinder service-list Sun Dec 27 13:19:18 2020
$ B( B- ^6 {. a$ V3 T1 ?8 n; f4 F* J: X
+------------------+------------------+------+---------+-------+----------------------------+-----------------+2 o2 A: n7 c+ Q' u
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
/ o6 V' |8 m0 v- u+ f1 J. q; ]+------------------+------------------+------+---------+-------+----------------------------+-----------------+* ^4 X* b3 { ~* {& @; v
| cinder-scheduler | controller | nova | enabled | up | 2020-12-27T05:19:11.000000 | - |
- S! S/ s" q$ x' Q, Q0 D( ~| cinder-volume | controller@CEPH1 | nova | enabled | up | 2020-12-27T05:19:12.000000 | - |& P; Z. m* q; T9 Q
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
/ }$ d( |5 x$ O$ {- ]$ |1 l3 U
' F. J; [% g4 S3 r只要volume服务没有停止,过几秒钟状态又会恢复:
% ]# \3 _4 p/ A( D% C, Z8 P, P$ Y7 c: ~9 X" M
Every 2.0s: cinder service-list Sun Dec 27 13:20:01 2020
! W8 p" E' n& B: Q/ E
* e( [( w/ w8 w+ `. W; F: `+------------------+------------------+------+---------+-------+----------------------------+-----------------+
! ^* n& V* [- y| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |1 ]$ l( t. C0 C' S9 `: z
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
& e& n) u% u, i5 ]| cinder-scheduler | controller | nova | enabled | up | 2020-12-27T05:20:01.000000 | - |
! R0 g) p! |$ U% y- j! J# {| cinder-volume | controller@CEPH1 | nova | enabled | up | 2020-12-27T05:20:02.000000 | - |
5 s2 {, r* f2 W* ?8 X| cinder-volume | controller@CEPH2 | nova | enabled | up | 2020-12-27T05:20:02.000000 | - |' r5 \6 Y8 B' ?9 E/ ~0 S
+------------------+------------------+------+---------+-------+----------------------------+-----------------+ |
|