|
|
楼主 |
发表于 2020-12-27 13:19:00
|
显示全部楼层
[root@controller ~]# cinder service-disable controller@CEPH2 cinder-volume # y5 }$ X2 b! H8 _7 Z
+------------------+---------------+----------+6 z T$ v4 W: r) }% C
| Host | Binary | Status |3 v/ ]% M2 m: L/ U
+------------------+---------------+----------+
* z6 v8 }; [9 Y1 a; h* x1 j# N| controller@CEPH2 | cinder-volume | disabled |
+ T+ C0 V k0 W2 N2 D5 R! t+------------------+---------------+----------+
+ x+ p/ O$ ?9 D, t8 K% J9 N[root@controller ~]# cinder-manage service remove cinder-volume controller@CEPH28 [4 ]; a7 v' p
Option "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT".
3 U4 v- g8 F7 B5 X# [, F o8 lService cinder-volume on host controller@CEPH2 removed.% [+ Z- V e. d! ]1 K+ D9 H
5 f9 b3 V; h* ?5 B+ v3 LEvery 2.0s: cinder service-list Sun Dec 27 13:19:18 2020' i# @) b- A* ^! f
7 v4 w- w( z( @0 |& A: c4 z+------------------+------------------+------+---------+-------+----------------------------+-----------------+
8 h8 x4 A H+ e8 L, q( z" M| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
5 v3 {* `/ i; C" z4 t' g6 E- ?+------------------+------------------+------+---------+-------+----------------------------+-----------------+
v( `9 [. O2 @6 d| cinder-scheduler | controller | nova | enabled | up | 2020-12-27T05:19:11.000000 | - |+ ?; K$ J5 C0 m, r1 s2 K+ [
| cinder-volume | controller@CEPH1 | nova | enabled | up | 2020-12-27T05:19:12.000000 | - |
( L+ E2 G- J: _, m8 H+------------------+------------------+------+---------+-------+----------------------------+-----------------+3 C! _+ _- f7 G
0 P$ S! }. E) q0 a$ O& [1 ]只要volume服务没有停止,过几秒钟状态又会恢复:
E$ U& s$ N$ y, ?; w# E5 }
h5 Y1 s, y& QEvery 2.0s: cinder service-list Sun Dec 27 13:20:01 2020
% M% p* @0 X: \
+ z) R6 |* R. `% ^+------------------+------------------+------+---------+-------+----------------------------+-----------------+
" v, A! f/ P9 r4 x1 p* B4 R7 Y| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
6 v/ i+ y! ~/ X m1 p' |% q+------------------+------------------+------+---------+-------+----------------------------+-----------------+
7 m: j- i& D8 I7 M0 L| cinder-scheduler | controller | nova | enabled | up | 2020-12-27T05:20:01.000000 | - |) x: B6 B% Z+ a4 P; g, o+ Z' b
| cinder-volume | controller@CEPH1 | nova | enabled | up | 2020-12-27T05:20:02.000000 | - |9 o! R5 F2 i) m
| cinder-volume | controller@CEPH2 | nova | enabled | up | 2020-12-27T05:20:02.000000 | - |3 N4 j6 C$ _$ i- ?$ I8 `
+------------------+------------------+------+---------+-------+----------------------------+-----------------+ |
|