|
|
楼主 |
发表于 2022-11-28 17:24:02
|
显示全部楼层
http://wwww.bbs168x.cn/forum.php ... &extra=#pid2948
& J2 ]' @# C* r$ a3 q7 m7 d# g[root@controller ~]# cinder service-disable controller@CEPH2 cinder-volume ( Y. a4 a% W {/ {+ M4 V$ C
+------------------+---------------+----------+
4 a- o. b, q$ e, R7 k5 n* G* G| Host | Binary | Status |& h' }% Q/ g1 m
+------------------+---------------+----------+
- Z1 _7 \; R" W: n- Y8 `$ J( L6 Z| controller@CEPH2 | cinder-volume | disabled |
, C8 ]) X% ], r7 a+ \" ?" b# m+------------------+---------------+----------+1 T, `2 E# r: e; u1 U
[root@controller ~]# cinder-manage service remove cinder-volume controller@CEPH2% @: h P4 \ n) J7 ]8 M+ S H5 U
Option "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT".- k" _4 _0 x Y+ H. H h
Service cinder-volume on host controller@CEPH2 removed.
4 V6 d2 `+ l$ F- z# | [% R) g' l0 ]3 E! X. p$ e; ?: d
Every 2.0s: cinder service-list Sun Dec 27 13:19:18 20204 q$ q7 C1 q# [" M4 c4 B( l' y: s
, O8 ?/ t7 ?% Y. B) ?3 _
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
* m$ W) D+ s) \| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |7 C4 b& ?" {& H y1 f
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
1 X, ?( Y- C4 Y0 i) O1 z4 W| cinder-scheduler | controller | nova | enabled | up | 2020-12-27T05:19:11.000000 | - |
! l/ }$ t& Z/ X8 C| cinder-volume | controller@CEPH1 | nova | enabled | up | 2020-12-27T05:19:12.000000 | - |. t+ o% j p- ?
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
& h+ A& X' {% c+ Y3 b
* O7 z0 b5 O8 N+ ~$ Y- u只要volume服务没有停止,过几秒钟状态又会恢复:
3 x" O0 F) G8 N
) Q- P: U9 t6 H% E: ~Every 2.0s: cinder service-list Sun Dec 27 13:20:01 2020
: D6 q3 y* R8 X, J F+ k
0 }4 g: E* a$ n+------------------+------------------+------+---------+-------+----------------------------+-----------------+4 z4 b1 \) f1 N, M+ w
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
! \# z; O( V8 q$ f2 X6 A, S+------------------+------------------+------+---------+-------+----------------------------+-----------------+
/ _7 c4 E: T9 q9 ^| cinder-scheduler | controller | nova | enabled | up | 2020-12-27T05:20:01.000000 | - |# b1 `: e) t3 P' _0 N1 r
| cinder-volume | controller@CEPH1 | nova | enabled | up | 2020-12-27T05:20:02.000000 | - |8 j4 `+ D$ n' a J, F9 _. w
| cinder-volume | controller@CEPH2 | nova | enabled | up | 2020-12-27T05:20:02.000000 | - |
0 [* s/ ]7 T4 |! @5 [& w, Y+------------------+------------------+------+---------+-------+----------------------------+-----------------+ |
|