嗨,我成功地在CentOS Linux版本8.2.2004上安装了Ceph Octopus 15.2.4和python Python 3.6.8。
群集运行状况良好。但是,当我尝试使用此https://docs.ceph.com/en/latest/mgr/zabbix/中的步骤配置zabbix模块时
我懂了
Error EINVAL: Traceback (most recent call last):
File "/usr/share/ceph/mgr/mgr_module.py", line 1167, in _handle_command
return self.handle_command(inbuf, cmd)
File "/usr/share/ceph/mgr/zabbix/module.py", line 407, in handle_command
return 0, json.dumps(self.config, index=4, sort_keys=True), ''
File "/lib64/python3.6/json/__init__.py", line 238, in dumps
**kw).encode(obj)
TypeError: __init__() got an unexpected keyword argument 'index'
我检查了模板,它看起来是最新的。
不知道这里似乎是什么问题。
看起来,j
此问题是拼写错误。
https://github.com/ceph/ceph/commit/0e9303d0599c92e575aae7acca87328ed8ee9527
这有一个错字!它应该是“ indent = 4”,而不是“ index = 4”!
但是,此问题在15.2.5中未解决。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句