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 09:12:48 -0500
  • Ironport-phdr: 9a23:X5I40R/QS+FJ6/9uRHKM819IXTAuvvDOBiVQ1KB30e0cTK2v8tzYMVDF4r011RmSDNWds6oMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2e2//57ebx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTFUACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMNboRr4oRzut86ZrSAfpiCgZMT457HrXgdF0gK5CvR6tuwBzz4vSbYqINvRxY7ndcMsaS2VDUMZfUCNODI2/YYUSEeQOIf1VoJPhq1YUtxazHxWgCeHpxzRVhnH2x6o60+E5HAza2gwvAsgOv2rard7oMqkdS+O1w7fVxjjEdfxW3yry6YjTfx8/uvGAR7RwftTNyUQ2EQ7Ok1ueqYvgPzyP1+QNtXCW4/d+We+tkWIrtxt9riS1yssxjITCm4Ebykjc+Clk3oo4Jse0RUBhbdOrDZdcrSOXO5ZuTs88X21lvDw2x74GtJKhYiQG1poqywTCZ/GDcYWF5A/oWvyLLjdinn1lfaqyhxas/kikze3xTse030hFoyZfltnDrXQN2wbc6siAVPtx5kah2TCR2ADP8uxIPF44mKnBJ5Mv2LI9mYcfvV7BEyPrgEn2ibWZdkQg+uim8eTnZbDmq4eGOI9ylw7/Mr8jldKkAegiNAgBQXSb9fym1LL/5U35XKlKjvoun6nBrp/aP8obprW+Aw9TyIkj8Q+zDyq90NsGh3kKN1ZFeBOcj4j1IFHCPur0Dfa5g1Swjjhr3fbGMaP9ApnTNHTMjqrufasuo3JbnS8619FW4dp+A7sAI7qnX0brtdXeSBUwOQ236+3qEtM73YNIHSrFGqKDPrjVt1aSo/80LvOkZYkJtSz7JuR/ofPikDVxzUcQZ6ey2p0ecjWlBfl8C0SffXf2hNodSyEHshdoH8Lwj1jXeDhffXutF4Y15TxzXIugAZbrS5vrhrGdinToVqZKb3xLXwjfWUzjcJ+JDrJVMHqf

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