Skip to Content.
Sympa Menu

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

Subject: perfSONAR User Q&A and Other Discussion

List archive

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


Chronological Thread 
  • From: David Szydloski <>
  • To: , Tomasz Kacprzynski <>
  • Subject: [perfsonar-user] esmond django.log error - Cassandra
  • Date: Mon, 8 Jan 2018 09:47:24 -0600
  • Ironport-phdr: 9a23:QP2uYB9FDGdwo/9uRHKM819IXTAuvvDOBiVQ1KB31O0cTK2v8tzYMVDF4r011RmVBdyds6oMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2O2+54Dfbx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTFUACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMNboRr4oRzut86ZrSAfpiCgZMT457HrXgdF0gK5CvR6tuwBzz4vSbYqINvRxY7ndcMsaS2RPXchfSjJPDZ+nYoQVE+YMJ/xVo5Xhq1YMqxa1GAmiBPnoyj9NnnL407c10/ogEQ7bwQcuAtMPsXTJo9XxM6cSSuO1zKjVxjjEcvxWwjb86YjVfRAlpvGMRrFwccvKxEkxFgPKk06QppD/MDORyOsBqXSU7+1lVe+2jWMstgJ/oiC3y8sykIbFmp4Zx1XZ+Sh2wIs5Odi1RUFnbdK4DJRdsj2VO5dqTc4nRmxkpig3x7IAtJWmZiYF0o4nyATaa/Gfc4iH/BbjVOGJLDd9nn1leba/iw+88Ei61uHwT8a13EhEoydKiNXMuXcN1xvc6siDVPRx5Fuu2TGK1wzL6+FEJ147lbbDJpI/2LE8ioYfvEHeEiL5mEj6kKqbe0o49uS09+vqZ6npqoOAOIJxjwzyLKojl8OnDeQ9KAcOXmyb+eqm1L3k+E30WKhFjuY3k6jZrZ/aIcMbprW6Aw9UyYsj9Re/ACq90NsEh3YHKExKdAibgIjuPlHCOOr4Auung1SwjDdrwOjLPqX/DZXXIHjDi7DhfbBn5E5G0QYz0Mtf6IxOCrwaJPLzW1TxtMDDDhMnKQC0wuDnCMlj2YMEX2KAHLOZPL3IvVCW++0vPrrEWIhAoDvnJeMi4ff0yGIilEU1fK+10IERZWziWPlqPgHRXX3pi8wTWUQDtRIkXv3sk16DGWpPZH+5R7gu9zcgC4OOE4bPXYukhLHH1yC+SM54fGdDX3yFD3bkP76WSvsIbzmRI4c1nicWRLSlTJQi1DmwtQPhwLNjI6zf/ShO5sGr78R8++CGzUJ6zjdzFcnIljjVF2w=

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