perfsonar-user - Re: [perfsonar-user] esmond django.log error - Cassandra
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: David Szydloski <>
- To: Andrew Lake <>
- Cc: , Tomasz Kacprzynski <>
- Subject: Re: [perfsonar-user] esmond django.log error - Cassandra
- Date: Mon, 8 Jan 2018 10:57:47 -0600
- Ironport-phdr: 9a23:vILr9x1mjNydHyxwsmDT+DRfVm0co7zxezQtwd8ZseIRLvad9pjvdHbS+e9qxAeQG9mDsrQc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q99pHPfglEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7Vq4/Vyi84Kh3SR/okCYHOCA/8GHLkcx7kaZXrAu8qxBj34LYZYeYP+d8cKzAZ9MXXWhOXshRWSJPAY2ycpUBAPYaMOlCs4XwvUEDoQeiCQSuAu7k1z9GhmXx3a0/y+kvHxvJ3BIhH90TrX/asdT0NacPXuCxy6nI1jbDb/JL0jr69YfIaREgoPGRUrJ0dsrR0kovFwLeg1WOqIzqIiiV2fgXvGif8eVsT/6gi2kiqwxopDWk28kiio7Mho0Py1DE8z10wJ4rKt2iRk57etmkEJ1KuCGALYd2RN0tQ31utS0nybMGoYa2cDYQx5g72xLSbuGLfoeI7x7/UeucLit0iG55d7+6mxm+7Uytx+j5W8Wq3ltHoSxImcTWuH8XzRzc8M2HR+N9/ki/3TaP0Bje6uReLkA1karXMpAgwrssmpYKvkXPACH7lUrsgK+ZcUUk/eeo6+D5bbn8upCcMIp0hhn/MqQohMO/Hfw1PhYUUGSH5eix0aDv8EL5TblWi/A7nbXVvIzGKskeuqG1HwtY34Mm5hqhATqr38wUnXwdI1JEfBKHgZLpO1bLIP3gEPi/mFWtkTd2yPDCOb3hGZbNLnnYnbf/fLZy9lVcxxYpwtBb+Z1YEK0OIPX2WkPprtzXEgc5MxCow+bgENh9zp0RWXiBAq+CN6PSt0WH5vg2L+mRf48apiz9JuMh5/7vln85hUQdcbez0ZsWbnC4AuppI1+fYXXyntcND30GsRQjQ+z32xW+Vmt6YXqoUr10wjg4BcryBIHPV6igm/qH0TvtTbNMYWUTJlmSEHugTJeVV/MLcyGTapttiS4VWbymUIwg/Q+vuBTxwr5qaOHT/3tL5trYyNFp6riLxlkJ/jtuApHYijnVQg==
Andy,
Nope, there's nothing in that directory. I'm even getting errors just trying to run sudo cassandra from the cli. So it looks like there is some underlying java issue here--though I don't know why the service would look okay in this state:
dszydloski@netperf01-lon1:~$ sudo systemctl status cassandra
sudo: unable to resolve host netperf01-lon1
● cassandra.service - LSB: distributed storage system for structured data
Loaded: loaded (/etc/init.d/cassandra; bad; vendor preset: enabled)
Active: active (exited) since Mon 2018-01-08 16:45:31 UTC; 11min ago
Docs: man:systemd-sysv-generator(8)
Process: 1369 ExecStart=/etc/init.d/cassandra start (code=exited, status=0/SUCCESS)
Jan 08 16:45:29 netperf01-lon1 systemd[1]: Starting LSB: distributed storage system for structured data...
Jan 08 16:45:31 netperf01-lon1 systemd[1]: Started LSB: distributed storage system for structured data.
David
On Mon, Jan 8, 2018 at 10:47 AM, Andrew Lake <> wrote:
Hi,Cassandra is a java process so all that likely means is cassandra is dying for some reason. Anything in the files under /var/log/cassandra?Thanks,Andy
On January 8, 2018 at 11:39:50 AM, David Szydloski () wrote:
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-cas sandra-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.04Kernel: 4.4.0-104-genericperfSONAR version: 4.0.2.1-2~bpo70+1Toolkit version: sameHere are the errors I'm seeing in /var/log/esmond/django.logConnectionException: "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-packag
es/django/core/handlers/base.p y: Internal Server Error: /esmond/perfsonar/archive/6cc0 8a4f976e4041b6fc078c04db3ae4/ Traceback (most recent call last): File "/usr/lib/python2.7/dist-packa ges/django/core/handlers/base. py", line 132, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python2.7/dist-packa ges/django/views/decorators/cs rf.py", line 58, in wrapped_view return view_func(*args, **kwargs) File "/usr/lib/python2.7/dist-packa ges/rest_framework/viewsets.py ", line 87, in view return self.dispatch(request, *args, **kwargs) File "/usr/lib/python2.7/dist-packa ges/rest_framework/views.py", line 466, in dispatch response = self.handle_exception(exc) File "/usr/lib/python2.7/dist-packa ges/rest_framework/views.py", line 463, in dispatch response = handler(request, *args, **kwargs) File "/usr/lib/python2.7/dist-packa ges/esmond/api/perfsonar/api_v 2.py", line 887, in update check_connection() File "/usr/lib/python2.7/dist-packa ges/esmond/api/perfsonar/api_v 2.py", line 78, in check_connection db = CASSANDRA_DB(get_config(get_co nfig_path())) File "/usr/lib/python2.7/dist-packa ges/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 SzydloskiCore Deployment EngineerVidScale, Inc.
--
David SzydloskiCore Deployment EngineerVidScale, Inc.
David Szydloski
Core Deployment Engineer
VidScale, Inc.
- [perfsonar-user] esmond django.log error - Cassandra, David Szydloski, 01/08/2018
- Re: [perfsonar-user] esmond django.log error - Cassandra, Andrew Lake, 01/08/2018
- Re: [perfsonar-user] esmond django.log error - Cassandra, David Szydloski, 01/08/2018
- Re: [perfsonar-user] esmond django.log error - Cassandra, Andrew Lake, 01/08/2018
- Re: [perfsonar-user] esmond django.log error - Cassandra, David Szydloski, 01/08/2018
- Re: [perfsonar-user] esmond django.log error - Cassandra, Valentin Vidic, 01/08/2018
- Re: [perfsonar-user] esmond django.log error - Cassandra, David Szydloski, 01/08/2018
- Re: [perfsonar-user] esmond django.log error - Cassandra, David Szydloski, 01/08/2018
- Re: [perfsonar-user] esmond django.log error - Cassandra, David Szydloski, 01/08/2018
- Re: [perfsonar-user] esmond django.log error - Cassandra, Valentin Vidic, 01/08/2018
- Re: [perfsonar-user] esmond django.log error - Cassandra, David Szydloski, 01/08/2018
- Re: [perfsonar-user] esmond django.log error - Cassandra, Andrew Lake, 01/08/2018
- Re: [perfsonar-user] esmond django.log error - Cassandra, David Szydloski, 01/08/2018
- Re: [perfsonar-user] esmond django.log error - Cassandra, Andrew Lake, 01/08/2018
Archive powered by MHonArc 2.6.19.