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: Marian Babik <>
  • To: Andrew Lake <>
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] esmond SECRET_KEY empty
  • Date: Thu, 30 Nov 2017 12:05:08 +0000
  • Accept-language: en-GB, en-US
  • Authentication-results: spf=pass (sender IP is 188.184.36.46) 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:TjhOfR9Dwb9SB/9uRHKM819IXTAuvvDOBiVQ1KB32ukcTK2v8tzYMVDF4r011RmSDNWds6oMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2e2//57ebx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTFUACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMMvrRr42RDui9b9mRh/2hikaKz43/mLZisJyg6JavB2uqAdyw4HIbIGQLvdyYr/RcNEcSGFcXshRTStBAoakYoUIFeUBJ+dYoJP7p1ATsBaxHxKjBOLsyjRVgXL42rc10/4gEQ7c2gwsBc8Dv27Po9X0N6cfSvy6w7fSzTXFdf9ZxTf95ZHOfxs8ov+MRap9fdTLxkUzCg/Ii0icpZH4Mz6Q2OQAvHSX4/ZlWOKhlWErtwF8rz2qy8otlIXEiJoZxk3A+Ch22oo5OMO0RFRmbdOnEZZcrS+XO5VuTsMsXW5luzo2x7gDtJKlYCQKxpYqyhvcZvCacYWF7BfuWPiMLjhih39ofbyyihKx/Ee6zOD3S9O630xQriVfl9nBrnAN2ALX6siAUvZz8Umu1yqT2wzN8+1KI086mbfCJ54m2bE/iIAfsUPeHi/qg0r2i7KWdkM59eSy8+TneLLmpoOCOIBolgH+M6MumsqlDeQ/LwgOQ2yb+eO71L3g50H2XLJKjvgunqnYtpDVO9gbq7anDwBPzoov9hOyAyq73NgFmHQHIl1IdA6bg4XsNVHBPuz0APe6jlmpkTpn2f7LMqXkAprXL3jDlLnhfax6605Z0Ac9yspQ54hVCr4bJvL/QFL8u8bDAR84MAy52ProB8tn1oMYQ26AHq+ZPLvIsVCU/uIvP/WMZIgNtTblNfcl/fDujWQ+mV8bZ6apx4IbaG2jHvt4OUWUen7sgtYaEWcWpQoyUvbmiFyEUT5PeXmyRaQ86S8nCI64F4vMWJ2igKHSlBu8S7RQanpLFRioGHTlP9GNXfsdQC+JZMlsjmpXe6KmTtoE3AuvvQmy4bNtL+mcrggRr5Pq0p5f7ufSljk5+CZySc+dhTLeB1pol38FEmdllJt0plZwnw+O
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Hi Andy,
thanks for the fix, I can confirm that it’s working fine now.

— Marian


> On Nov 29, 2017, at 6:45 PM, Andrew Lake
> <>
> wrote:
>
> 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.

Attachment: smime.p7s
Description: S/MIME cryptographic signature




Archive powered by MHonArc 2.6.19.

Top of Page