-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CentOS 7 errors on collectd start using ceph_pool_plugin #28
Comments
I also see this error on RHEL 7.1 [root@tapir2 python]# service collectd status May 08 13:08:01 tapir2.eng.velocix.com systemd[1]: Started Collectd statistics daemon. my collectd.conf Globals true ModulePath "/usr/lib64/collectd/python" Import "ceph"
TypesDB "/usr/share/collectd/types.db" "/usr/lib64/collectd/python/ceph.types.db" |
I've the same problem, have you find a workaround ? |
Hi i have also same problem for Rhel 7.1 and Ceph Hammer release, does anyone has fix/workaround for this problem? |
I should be able to have a look next week. |
I am facing exactly the same issue Collectd Logs
Did anyone managed to fix this. @rochaporto Do you have time to check this , appreciate your help. |
I'm having the same issue here. Traceback (most recent call last):
File "/usr/bin/ceph", line 896, in <module>
retval = main()
File "/usr/bin/ceph", line 647, in main
conffile=conffile)
File "/usr/lib/python2.7/site-packages/rados.py", line 212, in __init__
library_path = find_library('rados')
File "/usr/lib64/python2.7/ctypes/util.py", line 244, in find_library
return _findSoname_ldconfig(name) or _get_soname(_findLib_gcc(name))
File "/usr/lib64/python2.7/ctypes/util.py", line 237, in _findSoname_ldconfig
f.close()
IOError: [Errno 10] No child processes |
Any news? Aug 21 00:07:54 collectd collectd[17115]: ceph: failed to get stats :: No JSON object could be decoded :: Traceback (most recent call last):#12 File "/usr/lib/collectd/plugins/ceph/base.py", line 108, in read_callback#012 stats = self.get_stats()#12 File "/usr/lib/collectd/plugins/ceph/ceph_pool_plugin.py", line 67, in get_stats#012 json_stats_data = json.loads(stats_output)#12 File "/usr/lib/python2.7/json/init.py", line 338, in loads#012 return _default_decoder.decode(s)#12 File "/usr/lib/python2.7/json/decoder.py", line 366, in decode#012 obj, end = self.raw_decode(s, idx=_w(s, 0).end())#12 File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode#012 raise ValueError("No JSON object could be decoded")#012ValueError: No JSON object could be decoded |
One of you has succeed to make it works ? Another ceph ceph -- collectd plugin ? |
Hello! This note described in a man page: You may put getsigchld.py in scripts folder and insert the line to a configuration:
|
it works better yashumitsu ! but now there is a new error: |
No thanks necessary! The easiest way to get it works is to change default pool name (data) to another pool, which is exists: |
It works! |
with strace we can see that getsigchld.py |
Thanks for posting this fix. |
After starting collectd running on CentOS 7, (ceph giant and now upgraded to hammer) I'm getting the following log errors using the ceph_pool_plugin.
collectd.conf:
The text was updated successfully, but these errors were encountered: