Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] esmond django.log error - Cassandra

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] esmond django.log error - Cassandra


Chronological Thread 
  • From: Andrew Lake <>
  • To: David Szydloski <>, Tomasz Kacprzynski <>,
  • Subject: Re: [perfsonar-user] esmond django.log error - Cassandra
  • Date: Mon, 8 Jan 2018 07:53:21 -0800
  • Ironport-phdr: 9a23:4ggxmxximFFal9nXCy+O+j09IxM/srCxBDY+r6Qd2+8QIJqq85mqBkHD//Il1AaPAd2Craocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94HObwlSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDtU7s6RSqt4LtqSB/wiScIKTg58H3MisdtiK5XuQ+tqwBjz4LRZoyeKfhwcb7Hfd4CRWROXMhRWStODY2ybIUBEvQPMvpDoobnu1cDtwGzCBOwCO7tzDJDm3/43bc90+QkCQzLwAogEM8UsHvKotT+KaEcXvq2zKbW0D7OaOlZ2THg54nIaR0uv+qMUah2ccXP1UkiDgXIhUiep4ziOjOazOUNs26D4up4S+2vkWAnqxp2ojip3MgskJPFhoQLxVDY8yhy3YU7JcWgRUJmf9KpE4Fcui+AO4Z5X88uWWNltDsixrEYpZK2eDIGxZcnyhLFdfCLbYaF7gj9WOqNPTt1gm9udqiliBao60egz/XxVsmq31ZOqSpIitfMuW4C2hDJ7siIUf998l2u2TaIyQDf8uBEIUYqmqrHM5Mt36A8m5kJvUnNBCP7l1j6gLWUe0k54uSo7v7oYrTipp+SLY90jQT+P7w0lcy5HOs5MhMDUHaA+eim0r3s41H5TK1QjvIqiqnZrIzaJcMDq66hHQBVyIgj6w24DzegytsYh2ALLE9eeB2ZlYjkIFXOIPHjDfejmFSgji1nx/HAPr39HJrNNH7Dn6n9fbpj8UJT1hc8zc0Mr65TX50IPvP/EnTjpdDcCQQ6MkTgz/31Gdl50ZgdWEqRA6OCO6rWvBmD4ed5Z6GwY4ocoyS1CPEu/+T8nHkiml5VKbWq1JAPcmKpGO9lIm2HYHb3id4FHCEBuQ9oCKTyhUeMSjlVbmz3Qrkx/Bk6Dp6rF4HOWtrrjbCcjwmhGZgDT2ZKEF2TWVPhdIjMD/4KZDO6L9QnlDEYA+vyA7Q93A2j4Vepg4FsKfDZr2hB7cru

Hi,

By chance does your host only have an IPv6 address? It is possible you are hitting the cassandra issue detailed in the FAQ here: http://docs.perfsonar.net/FAQ.html#q-how-can-i-get-cassandra-to-run-on-a-host-that-only-has-an-ipv6-address

You might also might want to try force killing cassandra will “pkill -9 -f java” and then restarting it in case the restart script is not doing what it's supposed to do. 

Thanks,
Andy



On January 8, 2018 at 10:47:52 AM, David Szydloski () wrote:

Hello,

I posted this a little earlier but I wanted to try again:

I'm running perfsonar-toolkit on the following:
OpenStack Nova VM running Ubuntu 16.04
Kernel: 4.4.0-104-generic
perfSONAR version: 4.0.2.1-2~bpo70+1
Toolkit version: same


Here are the errors I'm seeing in /var/log/esmond/django.log
ConnectionException: "System Manager can't connect to Cassandra at localhost:9160 - Could not connect to localhost:9160"
2018-01-07 21:25:33,872 [ERROR] /usr/lib/python2.7/dist-packages/django/core/handlers/base.py: Internal Server Error: /esmond/perfsonar/archive/6cc08a4f976e4041b6fc078c04db3ae4/
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/rest_framework/viewsets.py", line 87, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/rest_framework/views.py", line 466, in dispatch
    response = self.handle_exception(exc)
  File "/usr/lib/python2.7/dist-packages/rest_framework/views.py", line 463, in dispatch
    response = handler(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/esmond/api/perfsonar/api_v2.py", line 887, in update
    check_connection()
  File "/usr/lib/python2.7/dist-packages/esmond/api/perfsonar/api_v2.py", line 78, in check_connection
    db = CASSANDRA_DB(get_config(get_config_path()))
  File "/usr/lib/python2.7/dist-packages/esmond/cassandra.py", line 134, in __init__
    "at %s - %s" % (config.cassandra_servers[0], e))
ConnectionException: "System Manager can't connect to Cassandra at localhost:9160 - Could not connect to localhost:9160"
I've restarted the cassandra service a few times, yet I don't see the expected port open on localhost. Meanwhile, the cassandra status is showing as being fine. 
There is nothing in /var/log/cassandra at all so that's no help. 
I've seen other suggestions in this mailing list to reinstall esmond (which I've tried since I'm using an Ubuntu system I can't do a simple yum reinstall)
Anyone have any suggestions?

Thanks in advance for your help.

--
David Szydloski
Core Deployment Engineer
VidScale, Inc.



Archive powered by MHonArc 2.6.19.

Top of Page