Page MenuHomePhabricator

Error in graphite-web when graphite1004 added to cluster_servers
Closed, DuplicatePublic

Description

When graphite1004 is added to the list of cluster servers, graphite-web renders the following:

Graphite encountered an unexpected error while handling your request.

Please contact your site administrator if the problem persists.


Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/dist-packages/graphite/metrics/views.py", line 164, in find_view
    matches = list( store.find(query) )
  File "/usr/lib/python2.7/dist-packages/graphite/storage.py", line 54, in find
    for match in self.find_all(query):
  File "/usr/lib/python2.7/dist-packages/graphite/storage.py", line 116, in find_all
    for match in request.get_results():
  File "/usr/lib/python2.7/dist-packages/graphite/remote_storage.py", line 90, in get_results
    resultNodes = [ RemoteNode(self.store, node['metric_path'], node['isLeaf']) for node in results ]
KeyError: 'metric_path'