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: David Szydloski <>
  • To: Andrew Lake <>
  • Cc: Tomasz Kacprzynski <>,
  • Subject: Re: [perfsonar-user] esmond django.log error - Cassandra
  • Date: Mon, 8 Jan 2018 10:39:45 -0600
  • Ironport-phdr: 9a23:sSn79BN44tFs/FsvZk4l6mtUPXoX/o7sNwtQ0KIMzox0Ivv/rarrMEGX3/hxlliBBdydt6odzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlViDanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0vRz+s87lkRwPpiCcfNj427mfXitBrjKlGpB6tvgFzz5LIbI2QMvd1Y6HTcs4ARWdZXMlRWSxPDI2/YYUSEeQOIf1VoJPhq1YUtxayGRWgCeHpxzRVhnH2x6o60+E5HA/IxgMgAdMOv2nJp9voNaYTUf26zK3PzTXYbPNW2Cr25Y/VfRA6oPCNXa9/cc7WyUk0FAPFj06dqZLkPzyIzeQCr3KU7+5+Wu61l2EnrARxryGpy8wxhIfJgYcVxUrF9SV/2Is1PcO3SFR1Yd6/F5tQsTuVN5FsTsMkXW5opCA3waAFt56jZCUG1o4oywLDZ/GCboSF7RLuWPqULDp3mH5pZK6wihOu/kS81uLxU8y53EhUoiVZlNTHq2oD2AbJ6sedT/tw5keh1iiL1wDU8uxEJFo7lavfK5I4zL8wjIYfvV3MHyPohkn5kLWadkoj+uiv5OTnZqvpqoWAOI9zjwHyKqUumsqhDuQkKgUCQXKU9fig2LDm4EH0T7VHguEzn6TWrJzWOdgUq6ulDANJzoku7hOyAym43NsEhXUHKUhKeBODj4jnIVHOJ/X4AO+ijFS3kTZqx+3JPrnmApXWLXjDkazsfah860FB0wo80cpQ55ZKBb0bPP3zXUrxuMTCDhAlKwy03/rnCNJl24MGR22PGKGZMLjVsV+O/O0vOfCAZJIOuDnjMfgo/PrujX4imV8BZqmlw4EbaHG+HvR6PUqZe3zsjckdEWsUpAYxUvHliEDRGQJUMl+0U7gx+XkfAYGrRdPKQIy8qLGamiG2AssFSHpBDwWgGGnpe82/SeYAbCWJIc4pxjAfR6mtT4g61hCGqg720LFuKueS8Sod48GwnONp7vHewElhvQd/CN6QhiTUFzl5

Andy,

Maybe that's the problem--I can't kill java / openjdk aren't actually running any processes.

I guess I need to dig in more and see why java's not working on my box.

David

On Mon, Jan 8, 2018 at 9:53 AM, Andrew Lake <> wrote:
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.



--
David Szydloski
Core Deployment Engineer
VidScale, Inc.



Archive powered by MHonArc 2.6.19.

Top of Page