马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
2018-09-15 11:15:48.319 2944 ERROR cinder.service [-] Manager for service cinder-volume compute1@lvm is reporting problems, not sending heartbeat. Service will appear "down".7 @4 C7 y Q5 R9 z4 R" Q1 g, Z- I5 q
' S% [) L: |2 [1 [
8 l1 r( X2 m6 W$ P
问题定位步骤(1)看看是不是在 cinder.conf 中 report_interval 配置项的值是多少,如果超过了 service_down_time 配置项默认的 60 秒,那么该service 的状态肯定就是 'down' 了。 (2)看 service 所在节点的时间,它的时间和 controller 节点的时间误差必须在 [service_down_time - report_interval ] 之内,也就是在使用默认配置情况下,时间差必须在 50 秒之内。 (3)看看 service 的 log 文件中,确认 report_state 方法是不是都按时被调用了,不方便看的话,在代码中加个注释吧。比如: 2015-04-11 15:26:24.210 8517 DEBUG cinder.service [-] enter report_state .. report_state /usr/lib/python2.7/dist-packages/cinder/service.py:283
: o) z3 _% @, T! z) H |