← Back to team overview

graphite-dev team mailing list archive

[Question #191085]: Data not being rendered on the front end.Facing issues

 

New question #191085 on Graphite:
https://answers.launchpad.net/graphite/+question/191085

Hi,
I have recently begun to use Graphite . I have used the default example_client.py and that data is generated and I can view it. However, we have quite a bit of data that was collected since Jan and we are trying to retrofit the data. We have defined the following kinds of values in storage-schemas.conf

[carbon]
pattern = ^carbon\.
retentions = 60s:120d

[other_data]
pattern = ^Test\.
priority = 100
retentions = 60:43200,1800:17520

[default_1min_for_1day]
pattern = .*
retentions = 60s:1d,1800s:90d

I wrote up a script to transfer data to this . Initially the listener.log showed me errors :19/03/2012 14:27:49 :: invalid line received from client 10.0.1.2:45212, ignoring . Fixed that bit . Then started the carbon-cache via the debug mode and I can see stuff being written to the disk in the front end  :

19/03/2012 16:06:22 :: [console] Sorted 1 cache queues in 0.000018 seconds
19/03/2012 16:06:22 :: [updates] wrote 47 datapoints for Test.Data in 0.00154 seconds
19/03/2012 16:06:22 :: [listener] MetricLineReceiver connection with 10.0.1.2:33402 established
19/03/2012 16:06:22 :: [listener] MetricLineReceiver connection with 10.0.1.2:33402 closed cleanly

When I choose the range in the front end , I can only see the timeline being shown but no data is displayed. The web log at times shows me things like:
storage/log/webapp/error.log <==
 storage/log/webapp/error.log <==
[Mon Mar 19 05:27:33 2012] [error] No handlers could be found for logger "cache"
[Mon Mar 19 05:27:34 2012] [error] No handlers could be found for logger "cache"
[Mon Mar 19 05:27:34 2012] [error] ding
[Mon Mar 19 05:27:34 2012] [error] No handlers could be found for logger "cache"
[Mon Mar 19 05:27:35 2012] [error] No handlers could be found for logger "cache"
[Mon Mar 19 05:27:35 2012] [error] ding
[Mon Mar 19 05:29:33 2012] [error] Exception KeyError: KeyError(139962788792288,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Mon Mar 19 05:29:34 2012] [error] Exception KeyError: KeyError(139962788792288,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Mon Mar 19 05:29:34 2012] [error] Exception KeyError: KeyError(139962788792288,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored
[Mon Mar 19 05:29:35 2012] [error] Exception KeyError: KeyError(139962788792288,) in <module 'threading' from '/usr/lib64/python2.6/threading.pyc'> ignored

And 
Mon Mar 19 01:35:04 2012 :: Exception Caught
Traceback (most recent call last):
  File "/opt/graphite/webapp/graphite/render/datalib.py", line 226, in fetchData
    cachedResults = CarbonLink.query(dbFile.real_metric)
  File "/opt/graphite/webapp/graphite/render/datalib.py", line 135, in query
    results = self.send_request(request)
  File "/opt/graphite/webapp/graphite/render/datalib.py", line 161, in send_request
    result = self.recv_response(conn)
  File "/opt/graphite/webapp/graphite/render/datalib.py", line 173, in recv_response
    len_prefix = recv_exactly(conn, 4)
  File "/opt/graphite/webapp/graphite/render/datalib.py", line 188, in recv_exactly
    raise Exception("Connection lost")
Exception: Connection lost

Can you point me as to where I am going wrong ? The storage folder is owned by the apache user. We are running Graphite on Centos and followed the instructions on the Graphite website.

Thanks
Ranjan

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.