perfsonar-user - RE: [perfsonar-user] PerfSONAR Toolkit Problem
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Pedro Henrique Diniz Da Silva <>
- To: Andrew Lake <>, Marian Babik <>
- Cc: "" <>, "" <>
- Subject: RE: [perfsonar-user] PerfSONAR Toolkit Problem
- Date: Wed, 25 Oct 2017 14:23:46 +0000
- Accept-language: en-US
- Authentication-results: spf=pass (sender IP is 188.184.36.48) smtp.mailfrom=cern.ch; internet2.edu; dkim=none (message not signed) header.d=none;internet2.edu; dmarc=bestguesspass action=none header.from=cern.ch;
- Ironport-phdr: 9a23:GWD/hhPmB/eDiTXsHMkl6mtUPXoX/o7sNwtQ0KIMzox0K/79p8bcNUDSrc9gkEXOFd2CrakV26yO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fdbghMhzexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Qiqp4bt1RxD0iScHLz85/3/Risxsl6JQvRatqwViz4LIfI2ZMfxzdb7fc9wHX2pMRsZfWTJcDIOgYYUBDOQBMuRZr4bhqFQDth6+CRWoCe711jNEmn/70Ksn2OohCwHG2wkgEsoUvnvKsdr1LqASWv23wqbWyzXDdfJW2S7g6IfWbxsvr/CMXbRxccvQ1EIhGRnKhUiNp4zkOzOVyP4CuHWc4up4S+2glnQnqwZrrjexwMcskIjJhpsIyl/a7yl23Yc1Jdu5SE96e9KrDYFfuzuBN4t3RsMiXXtntT0mxbIYo567ejIGx4gnxxPGbfGMboaG4hXmVOmLIDd4gmpoeLKjhxau6Uiv1/PzVtOu0FZNtCpFlt7Mtn8X2BzV98eHVvt98Vm72TmRzADT9+VEIVwzlarVK58h37swlpsV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, October 25, 2017 11:39 AM To: Marian Babik; Pedro Henrique Diniz Da Silva Cc: ; Subject: RE: [perfsonar-user] PerfSONAR Toolkit Problem
Hi Pedro,
I am guessing there is something wrong with your postgresql instance. Both esmond and pscheduler use postgresql and pscheduler is also throwing an error: https://152.84.102.250/pscheduler/tasks.
You can try a couple things:
1. Try restarting postgresql-9.5: /etc/init.d/postgresql-9.5 restart
Nothing different. https://152.84.102.250/pscheduler/tasks
2. Look in /var/log/esmond/django.log for more detailed errors.
What should I look for? I could find 2 types of errors that can be seem below. It is attached.
2017-04-09 01:05:03,618 [ERROR] /usr/lib/esmond/lib/python2.7/site-packages/django/core/handlers/base.py: Internal Server Error: /esmond/perfsonar/archive/1132c4034e624f98b5141f6203c80d00/histogram-owdelay/statistics/0
Traceback (most recent call last):
File "/usr/lib/esmond/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/esmond/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/viewsets.py", line 85, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/views.py", line 456, in dispatch
response = self.handle_exception(exc)
File "/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/views.py", line 453, in dispatch
response = handler(request, *args, **kwargs)
File "/usr/lib/esmond/esmond/api/perfsonar/api_v2.py", line 1079, in retrieve
results = PSTimeSeriesObject.query_database(metadata_key, event_type, summary_type, freq, begin_time, end_time, max_results)
File "/usr/lib/esmond/esmond/api/perfsonar/api_v2.py", line 455, in query_database
ts_min=begin_millis, ts_max=end_millis, column_count=max_results)
File "/usr/lib/esmond/esmond/cassandra.py", line 721, in query_raw_data
column_count=cols)
File "/usr/lib/esmond/lib/python2.7/site-packages/pycassa/columnfamily.py", line 772, in multiget
packed_keys[offset:offset + buffer_size], cp, sp, consistency)
File "/usr/lib/esmond/lib/python2.7/site-packages/pycassa/pool.py", line 577, in execute
return getattr(conn, f)(*args, **kwargs)
File "/usr/lib/esmond/lib/python2.7/site-packages/pycassa/pool.py", line 127, in new_f
result = f(self, *args, **kwargs)
File "/usr/lib/esmond/lib/python2.7/site-packages/pycassa/cassandra/Cassandra.py", line 669, in multiget_slice
return self.recv_multiget_slice()
File "/usr/lib/esmond/lib/python2.7/site-packages/pycassa/cassandra/Cassandra.py", line 690, in recv_multiget_slice
result.read(self._iprot)
File "/usr/lib/esmond/lib/python2.7/site-packages/pycassa/cassandra/Cassandra.py", line 3816, in read
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
OverflowError: list size out of the sanity limit (10000 items max)
2017-04-09 01:05:33,025 [ERROR] /usr/lib/esmond/lib/python2.7/site-packages/django/core/handlers/base.py: Internal Server Error: /esmond/perfsonar/archive/734680650ca54a5e931b823a40ff488a/
Traceback (most recent call last):
File "/usr/lib/esmond/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/esmond/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/viewsets.py", line 85, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/views.py", line 456, in dispatch
response = self.handle_exception(exc)
File "/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/views.py", line 453, in dispatch
response = handler(request, *args, **kwargs)
File "/usr/lib/esmond/esmond/api/perfsonar/api_v2.py", line 905, in update
db.flush()
File "/usr/lib/esmond/esmond/cassandra.py", line 267, in flush
self.rates.send()
File "/usr/lib/esmond/lib/python2.7/site-packages/pycassa/batch.py", line 146, in send
allow_retries=self.allow_retries)
File "/usr/lib/esmond/lib/python2.7/site-packages/pycassa/pool.py", line 148, in new_f
(self._retry_count, exc.__class__.__name__, exc))
MaximumRetryException: Retried 1 times. Last failure was timeout: timed out
3. Make sure the file /var/lib/pgsql/9.5/data/pg_hba.conf is non-empty. If it is empty let me know and I can help you fix (this is a bug we’ve ran into before)
It is non-empty (file attached). It seems it has default configs. Is it all right?
Thanks,
Andy
On October 25, 2017 at 8:28:37 AM, Pedro Henrique Diniz Da Silva () wrote:
|
Attachment:
pg_hba.conf
Description: pg_hba.conf
Attachment:
django.log
Description: django.log
- [perfsonar-user] PerfSONAR Toolkit Problem, Pedro Henrique Diniz Da Silva, 10/24/2017
- [perfsonar-user] RE: PerfSONAR Toolkit Problem, Pedro Henrique Diniz Da Silva, 10/24/2017
- Re: [perfsonar-user] PerfSONAR Toolkit Problem, Marian Babik, 10/25/2017
- RE: [perfsonar-user] PerfSONAR Toolkit Problem, Pedro Henrique Diniz Da Silva, 10/25/2017
- RE: [perfsonar-user] PerfSONAR Toolkit Problem, Andrew Lake, 10/25/2017
- RE: [perfsonar-user] PerfSONAR Toolkit Problem, Pedro Henrique Diniz Da Silva, 10/25/2017
- RE: [perfsonar-user] PerfSONAR Toolkit Problem, Andrew Lake, 10/25/2017
- RE: [perfsonar-user] PerfSONAR Toolkit Problem, Pedro Henrique Diniz Da Silva, 10/25/2017
- Re: [perfsonar-user] PerfSONAR Toolkit Problem, Marian Babik, 10/25/2017
- [perfsonar-user] RE: PerfSONAR Toolkit Problem, Pedro Henrique Diniz Da Silva, 10/24/2017
Archive powered by MHonArc 2.6.19.