Question #271258 on Graphite changed: https://answers.launchpad.net/graphite/+question/271258
Christopher Powell posted a new comment: I am still getting this exact error. I added the emtpy host list becuase I was getting the previous socket error. Now I am getting the ZeroDivisionError. OS: Ubuntu 14.04.4 LTS graphite-web: 0.9.12+debian-3 python: 2.7.6 Error: Wed Nov 16 20:37:34 2016 :: Exception Caught Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/graphite/render/datalib.py", line 231, in fetchData cachedResults = CarbonLink.query(dbFile.real_metric) File "/usr/lib/python2.7/dist-packages/graphite/render/datalib.py", line 140, in query results = self.send_request(request) File "/usr/lib/python2.7/dist-packages/graphite/render/datalib.py", line 162, in send_request host = self.select_host(metric) File "/usr/lib/python2.7/dist-packages/graphite/render/datalib.py", line 114, in select_host return self.hash_ring.get_node(metric) File "/usr/lib/python2.7/dist-packages/graphite/render/hashing.py", line 83, in get_node index %= len(self.ring) ZeroDivisionError: integer division or modulo by zero local_settings.py: CARBONLINK_HOSTS = [] CLUSTER_SERVERS = ["IP1:8080", "IP2:8080"] LOG_RENDERING_PERFORMANCE = True LOG_CACHE_PERFORMANCE = True LOG_METRIC_ACCESS = True GRAPHITE_ROOT = '/usr/share/graphite-web' CONF_DIR = '/etc/graphite' STORAGE_DIR = '/var/lib/graphite/whisper' CONTENT_DIR = '/usr/share/graphite-web/static' WHISPER_DIR = '/var/lib/graphite/whisper' LOG_DIR = '/var/log/graphite' INDEX_FILE = '/var/lib/graphite/search_index' DATABASES = { 'default': { 'NAME': '/var/lib/graphite/graphite.db', 'ENGINE': 'django.db.backends.sqlite3', 'USER': '', 'PASSWORD': '', 'HOST': '', 'PORT': '' } } TIME_ZONE = 'UTC' -- You received this question notification because your team graphite-dev is an answer contact for Graphite. _______________________________________________ Mailing list: https://launchpad.net/~graphite-dev Post to : graphite-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~graphite-dev More help : https://help.launchpad.net/ListHelp