Skip to content

Unexpected error after click on cluster name #514

@ienjreny

Description

@ienjreny

I got the following error after I click the clustername

{ "error": "Traceback (most recent call last):\n File \"c:\\program files (x86)\\python\\python38-32\\lib\\site-packages\\sanic\\app.py\", line 973, in handle_request\n response = await response\n File \"c:\\program files (x86)\\python\\python38-32\\lib\\site-packages\\comrade\\blueprints\\views.py\", line 91, in indices_stats\n indices, aliases, shards, nodes, cluster_info = await gather(client.cat.indices(format='json'),\n File \"c:\\program files (x86)\\python\\python38-32\\lib\\site-packages\\comrade\\blueprints\\views.py\", line 66, in get_nodes_info\n \"load1Percent\": int(float(node['os']['cpu']['load_average']['1m']) / 4), # TODO: Count CPUs\nKeyError: 'load_average'\n", "type": "unexpected" }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions