将设为首页浏览此站
开启辅助访问 天气与日历 收藏本站联系我们切换到窄版

易陆发现论坛

 找回密码
 开始注册
查看: 117|回复: 1
收起左侧

ceph health Module 'volumes' has failed dependency: No module named enum

[复制链接]
发表于 2021-5-27 10:19:51 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?开始注册

x
health: HEALTH_WARN4 R' {9 F0 }8 `
            Module 'volumes' has failed dependency: No module named enum
2 d1 z" e8 }$ q4 _1 R/ C            314 slow ops, oldest one blocked for 922 sec, mon.localhost11 has slow ops
5 [$ O0 ?7 s9 y; Q& N5 d' i2 p            OSD count 0 < osd_pool_default_size 3
* H+ f3 V* ^9 K" }; Y7 Q/ I6 Q2 g4 W3 e4 F! ]
health: HEALTH_WARN
; M$ k) F" D, b3 j/ q" p            Module 'volumes' has failed dependency: No module named enum3 q' F# W4 o" s

' Z/ m. D( j# `4 h- ?" p& G解决过程:/ G& g% ]' E0 y- P
pip install enum( S# J- P$ O" A" B- ]$ q- m# z  b" t9 Y
Collecting enum
# L0 w6 W; v1 h0 Q4 J" q; r, ?  Downloading https://files.pythonhosted.org/p ... a/enum-0.4.7.tar.gz$ v  m8 L2 T5 H3 O2 S5 E7 h
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python2.7/site-packages (from enum)
( `, w. ~5 q# i. O; N8 t# u" Q7 LInstalling collected packages: enum
8 T. A' W0 K' G  Running setup.py install for enum ... done
6 H( S- D* V9 J" M4 |( y& {% GSuccessfully installed enum-0.4.7
# d$ H8 c* V5 ^5 H9 Z8 TYou are using pip version 8.1.2, however version 21.1.2 is available.
: T. b* `. o, s6 L5 \# FYou should consider upgrading via the 'pip install --upgrade pip' command.. H) M4 h9 V/ U9 w

* M( h" H' ]0 ?/ I5 ]% F, j" O8 O. C9 a' K2 O; h
安装enum插件:' P% j0 R- u+ W: K+ F

- M! F" {0 H$ l0 hyum install -y python-enum34
  G" n/ C  J2 L. c1 L
- H9 T) W9 L; |" v# `0 N
3 J2 h$ g3 T, a
 楼主| 发表于 2021-5-27 10:51:19 | 显示全部楼层
安装完成,重启系统加载模块。! Q: I2 s( R' r  S6 ?
重新检查状态,enum模块告警消失。
" Y; J, D& q# v1 ^ceph -s7 }  W9 ]9 K* T; F& z# b; C
  cluster:
& s4 ~7 m# C- y: L3 R+ d: p2 @    id:     078b3c87-d567-4665-b49b-9102b1d54f82
9 `1 }$ b; L; a! z' I1 P    health: HEALTH_WARN
# L- [6 F. D6 D5 Y) q9 n            OSD count 0 < osd_pool_default_size 3
4 S8 `% y/ v9 A" L# b: L/ L6 W * W6 A9 v, L9 T
  services:/ y9 @1 X; ?+ s" N# l4 ]
    mon: 3 daemons, quorum  (age 2m), out of quorum: localhost9, localhost10, localhost11
/ R! ^, d6 ^, @, N! Z    mgr: localhost9(active, since 64s), standbys: localhost11, localhost10
8 g- A- c' @, y* v% \    osd: 0 osds: 0 up (since 9m), 0 in (since 12m)
. k# W5 m+ H8 M0 W9 `, N  \ 5 {7 G' W' `0 a  N4 Q7 }
  data:
( Z1 o4 d8 w. x3 \    pools:   0 pools, 0 pgs
; z  ^+ u# L# ~( `+ y/ t  I    objects: 0 objects, 0 B
- r2 n) a( d6 N4 }4 Q    usage:   0 B used, 0 B / 0 B avail
1 Z  M, h9 o  u  a) V" O  ]  t& d    pgs:     : {! y5 @! s" Q0 B" n5 }( D) X
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

如有购买积分卡请联系497906712

QQ|返回首页|Archiver|手机版|小黑屋|易陆发现 点击这里给我发消息

GMT+8, 2021-6-20 19:57 , Processed in 0.053010 second(s), 23 queries .

Powered by 龙睿 bbs168x X3.2

© 2001-2020 Comsenz Inc.

快速回复 返回顶部 返回列表