Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] esmond SECRET_KEY empty

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] esmond SECRET_KEY empty


Chronological Thread 
  • From: Andrew Lake <>
  • To: Marian Babik <>, "" <>
  • Subject: Re: [perfsonar-user] esmond SECRET_KEY empty
  • Date: Wed, 29 Nov 2017 12:45:48 -0500
  • Ironport-phdr: 9a23:gfdseBCvv8uwsSAWtoAWUyQJP3N1i/DPJgcQr6AfoPdwSPT5osbcNUDSrc9gkEXOFd2CrakV26yO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fdbghMhzexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Qiqp4bt1RxD0iScHLz85/3/Risxsl6JQvRatqwViz4LIfI2ZMfxzdb7fc9wHX2pMRsZfWC5PAo27YIQBAekPM/tGoYbhvFYBtweyCBO2Ce711jNFhHn71rA63eQ7FgHG2RQtEs4IsHvJttX6KqkTWv2zwqbSzjXMce5d1DDn54jObx8goeqBUqxrccbLz0kgCR/Fg0yWpIf4MT2V0eENvHKa7+pmTe+jlnArpgNrrjSz3MsglpPFip8Tx1vZ9it52J44KcCmREN4e9KpHoFcui6HO4dsQ84vQHlktDgmxrACo5K2fygHxI45yxLCZPGLaYqF7gzlWe2MOzl3nmhld6i6hxuq8Uiv1On8Vs6s3VZEsCVInMPAtnQW2BzX8MSHRfx9/lm51TaO0QDc9P1ELFgpmabFKJMt2LA9moAcvEjeBCP7mUb7gLeTdko+++io7+rnYq/hpp+ZL4J7kAf+Pbkum8GkH+s4KRICX26F9uSgzLHj51H2QK1Wjv0qlanUqIjaKtoBpq63GA9V1YAj5AylDzu/zdQYhmcILEhedRKDjojpIE3OIOvmAfulglSslitryO7cPr3nHJrNMmbPnK3/crlg9k4PgDY0mPVW/ZNdDPkrKfjyWQelsdXCDxY/dQa9yefkIN5wzIVYUmLZRufTKK7Iv0SP4Os1ZvSXaZU9uTDhJuIj6uK0y3I1hBVVKbGkx5UMb3axBLF7OEiDSXvqntobF2oW5EwzQPG823OYVjsGTnC+Ra8jrhUyC4/uWY7FSpGFjafH2iqnSM4FLltaA0yBRC+7P76PXO0BPWfLepds

Hi Marian,

A new RPM has been uploaded that should fix this. Change is in the esmond package, version is 2.1.2.1-2 only on CentOS 6. Problem was indeed isolated to cases where the host was also pointing at the centos-scl repos on CentOS 6. It did not seem to like the .pyc files that came with the RPM. Uploaded version should correct this. 

Thanks,
Andy 



On November 29, 2017 at 9:12:48 AM, Andrew Lake () wrote:

Hi Marian,

I think the issue you ran into only happens on CentOS 6 if you are pointing to the centos-sclo repo, which we don’t by default (or didn’t in 3.5.1 when we last provided CentOS 6 ISOs). Looks like there is an update to the python27 package from SCL that throws an error if that is installed I ran into the same thing on a couple ESnet hosts that point at centos-sclo. Looking for a fix now. Usually before you run any of the esmond commands on CentOS 6 you have to do the following:

cd /usr/lib/esmond
source /opt/rh/python27/enable
/opt/rh/python27/root/usr/bin/virtualenv --prompt="(esmond)" .
. bin/activate

The "/opt/rh/python27/root/usr/bin/virtualenv “ is throwing an exception with the latest python27 from SCL. Its quite possible the same error led to your multiple passwords, you should be able to just delete the incorrect one. I may need to figure out the way around the exception above for you to be able to do so.

Thanks,
Andy


On November 29, 2017 at 5:37:30 AM, Marian Babik () wrote:

Hi,
following update to 4.0.2, I got back the familiar Error loading test listing: Internal Server Error while trying to access the toolkit page.

Please see below the error from /var/log/httpd24/error_log and I also noticed that I have duplicated measurement archive sections in /etc/perfsonar/meshconfig-agent-tasks.conf (with two different passwords). Is there a way to reset this ?

As a general comment, it would be great to have dysfunctional esmond reported somehow, especially if it happens after an upgrade, having a set of simple tests to run once the upgrade is done (like pscheduler troubleshoot, etc.) to check if all is working fine would be great to spot a dysfunctional node. In my view, having esmond running but not working is a major issue since measurements while executed are getting lost.

Thanks,
Marian

[Wed Nov 29 11:12:33.625928 2017] [wsgi:error] [pid 14956] [remote 127.0.0.1:51872] mod_wsgi (pid=14956): Exception occurred processing WSGI script '/usr/lib/esmond/esmond/wsgi.py'.
[Wed Nov 29 11:12:33.626073 2017] [wsgi:error] [pid 14956] [remote 127.0.0.1:51872] Traceback (most recent call last):
[Wed Nov 29 11:12:33.626163 2017] [wsgi:error] [pid 14956] [remote 127.0.0.1:51872] File "/usr/lib/esmond/esmond/wsgi.py", line 28, in application
[Wed Nov 29 11:12:33.626247 2017] [wsgi:error] [pid 14956] [remote 127.0.0.1:51872] return get_wsgi_application()(environ, start_response)
[Wed Nov 29 11:12:33.626327 2017] [wsgi:error] [pid 14956] [remote 127.0.0.1:51872] File "/usr/lib/esmond/lib/python2.7/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application
[Wed Nov 29 11:12:33.626391 2017] [wsgi:error] [pid 14956] [remote 127.0.0.1:51872] django.setup(set_prefix=False)
[Wed Nov 29 11:12:33.626452 2017] [wsgi:error] [pid 14956] [remote 127.0.0.1:51872] File "/usr/lib/esmond/lib/python2.7/site-packages/django/__init__.py", line 22, in setup
[Wed Nov 29 11:12:33.626547 2017] [wsgi:error] [pid 14956] [remote 127.0.0.1:51872] configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
[Wed Nov 29 11:12:33.626603 2017] [wsgi:error] [pid 14956] [remote 127.0.0.1:51872] File "/usr/lib/esmond/lib/python2.7/site-packages/django/conf/__init__.py", line 53, in __getattr__
[Wed Nov 29 11:12:33.626667 2017] [wsgi:error] [pid 14956] [remote 127.0.0.1:51872] self._setup(name)
[Wed Nov 29 11:12:33.626721 2017] [wsgi:error] [pid 14956] [remote 127.0.0.1:51872] File "/usr/lib/esmond/lib/python2.7/site-packages/django/conf/__init__.py", line 41, in _setup
[Wed Nov 29 11:12:33.626807 2017] [wsgi:error] [pid 14956] [remote 127.0.0.1:51872] self._wrapped = Settings(settings_module)
[Wed Nov 29 11:12:33.626854 2017] [wsgi:error] [pid 14956] [remote 127.0.0.1:51872] File "/usr/lib/esmond/lib/python2.7/site-packages/django/conf/__init__.py", line 116, in __init__
[Wed Nov 29 11:12:33.626896 2017] [wsgi:error] [pid 14956] [remote 127.0.0.1:51872] raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
[Wed Nov 29 11:12:33.627038 2017] [wsgi:error] [pid 14956] [remote 127.0.0.1:51872] ImproperlyConfigured: The SECRET_KEY setting must not be empty.



Archive powered by MHonArc 2.6.19.

Top of Page