Bug #10857
The cthulhu can not set up!
0%
Description
This is the log.
os:centos6.5
/opt/calamari/venv/lib/python2.6/site-packages/zerorpc/events.py:31: DeprecationWarning: gevent.coros has been renamed to gevent.lock
import gevent.coros
/opt/calamari/venv/lib/python2.6/site-packages/zerorpc/events.py:42: DeprecationWarning: Queue(0) now equivalent to Queue(None); if you want a channel, use Channel
self._send_queue = gevent.queue.Queue(maxsize=0)
/opt/calamari/venv/lib/python2.6/site-packages/zerorpc/events.py:75: DeprecationWarning: Queue(0) now equivalent to Queue(None); if you want a channel, use Channel
self._recv_queue = gevent.queue.Queue(maxsize=0)
Traceback (most recent call last):
File "/opt/calamari/venv/lib/python2.6/site-packages/gevent/greenlet.py", line 327, in run
result = self._run(*self.args, **self.kwargs)
File "/opt/calamari/venv/lib/python2.6/site-packages/calamari_cthulhu-0.1-py2.6.egg/cthulhu/manager/manager.py", line 105, in _run
self._emit_stats()
File "/opt/calamari/venv/lib/python2.6/site-packages/calamari_cthulhu-0.1-py2.6.egg/cthulhu/manager/manager.py", line 86, in _emit_stats
self._socket.connect((self.CARBON_HOST, self.CARBON_PORT))
File "/opt/calamari/venv/lib/python2.6/site-packages/gevent/socket.py", line 342, in connect
raise error(err, strerror(err))
error: [Errno 111] Connection refused
<ProcessMonitorThread at 0x3bb8f50> failed with error
History
#1 Updated by Dan Mick about 9 years ago
- Status changed from New to Need More Info
- Priority changed from High to Normal
We'll need details about what you built and ran to help. The immediate error indicates a problem connecting to CARBON_HOST:CARBON_PORT, so, the first place to look is whether the carbon-cache service is running properly.
#2 Updated by jack ma about 9 years ago
Thank you Dan for your respose.Sorry for so long time reploy,because i am in china,we have a spring day.
The cabom-cache is not runing?when i disable the carbon run ,like this # self._process_monitor.start()
The cthulhu can run. But I think if the carbon can not set up,it should not disable the cthulhu or use the
calamri-ctl initilize comonnd should report the cthulhu error?Now the carbon can not set up,do you know the
reason? Thanks very much!
#3 Updated by Dan Mick about 9 years ago
I can't possibly know the reason, no, and yes, as you can see from the traceback, inability to connect to carbon is indeed causing cthulhu to fail.
#4 Updated by jack ma about 9 years ago
Now I use command can set up carbon. Use this command /opt/calamari/venv/bin/carbon-cache.py
Now there are data in web.But this api has no data.Can you give me some idea why this api data is none!
Thank you Dan!
{"targets": [], "datapoints": []}
#5 Updated by jack ma about 9 years ago
I have kown the reason. Why the api data is none.
Because the below api is wrong
http://10.118.202.162/graphite/render/?format=json-array&target=scale%28ceph.cluster.5f02192c-21dc-4029-85d4-635a038ef3af.df.total_avail,%201024%29&target=scale%28ceph.cluster.5f02192c-21dc-4029-85d4-635a038ef3af.df.total_used,%201024%29
The rigth should this
It is the change by the ceph data.
[root@song df]# ls
total_avail_bytes.wsp total_bytes.wsp total_used_bytes.wsp
#6 Updated by Christina Meno about 9 years ago
baisen song
It sounds like this issue is resolved. Do you agree? If not what action would you recommend to take?
thank you,
#7 Updated by jack ma about 9 years ago
Thank you dan for you reply.The issue to me is resolved.But I do not know wheather
in your new calamari clients the above api is right.If the above api has updated, please close the
issue,thank you.
#8 Updated by Dan Mick about 9 years ago
- Status changed from Need More Info to Can't reproduce
Please bring issues up first on ceph-calamari mailing list, and if this is not resolved to your satisfaction, bring this issue up on the mailing list too.