← Back to team overview

graphite-dev team mailing list archive

Re: [Question #271258]: Disable requests to carbon-cache on front

 

Question #271258 on Graphite changed:
https://answers.launchpad.net/graphite/+question/271258

    Status: Answered => Open

Alexander is still having a problem:
Hi Jason,

I've tried it before posting the question. It start logs an exception:

Thu Sep 10 15:49:42 2015 :: Exception Caught
Traceback (most recent call last):
  File "/opt/graphite/webapp/graphite/render/datalib.py", line 231, in fetchData
    cachedResults = CarbonLink.query(dbFile.real_metric)
  File "/opt/graphite/webapp/graphite/render/datalib.py", line 140, in query
    results = self.send_request(request)
  File "/opt/graphite/webapp/graphite/render/datalib.py", line 162, in send_request
    host = self.select_host(metric)
  File "/opt/graphite/webapp/graphite/render/datalib.py", line 114, in select_host
    return self.hash_ring.get_node(metric)
  File "/opt/graphite/webapp/graphite/render/hashing.py", line 83, in get_node
    index %= len(self.ring)
ZeroDivisionError: integer division or modulo by zero

Regards,
Alexander

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.