Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] esmond issues?

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] esmond issues?


Chronological Thread 
  • From: Cas D'Angelo <>
  • To: <>
  • Subject: Re: [perfsonar-user] esmond issues?
  • Date: Tue, 26 Jul 2016 16:58:27 -0400
  • Authentication-results: spf=none (sender IP is ) ;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Thanks for the quick replies Dan and Andy.

When staring the virtualenv I get the following error:
# /opt/rh/python27/root/usr/bin/virtualenv --prompt="(esmond)" .
New python executable in ./bin/python2
Traceback (most recent call last):
  File "/opt/rh/python27/root/usr/bin/virtualenv", line 9, in <module>
    load_entry_point('virtualenv==13.1.0', 'console_scripts', 'virtualenv')()
  File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/virtualenv.py", line 832, in main
    symlink=options.symlink)
  File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/virtualenv.py", line 994, in create_environment
    site_packages=site_packages, clear=clear, symlink=symlink))
  File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/virtualenv.py", line 1288, in install_python
    shutil.copyfile(executable, py_executable)
  File "/opt/rh/python27/root/usr/lib64/python2.7/shutil.py", line 83, in copyfile
    with open(dst, 'wb') as fdst:
IOError: [Errno 40] Too many levels of symbolic links: './bin/python2'

# cd /usr/lib/esmond/bin
# ls -la
...
lrwxrwxrwx.  1 root   root       7 Jul 22 09:31 python -> python2
lrwxrwxrwx.  1 esmond esmond     6 Jul 15 14:13 python2 -> python
lrwxrwxrwx.  1 esmond esmond     6 Jul 15 14:13 python2.7 -> python
...

Maybe python got written over?  I can copy from another working machine...

Cas





On 07/26/2016 04:41 PM, Daniel Doyle wrote:
Using esmond requires python2.7, which isn’t the default on CentOS6.

If you need to generate an API key (or whitelist an API address), see here: http://docs.perfsonar.net/multi_ma_install.html#authenticating-by-username-and-api-key

Note the steps involving “enable” and “virtualenv” - that is why you’re getting that error message.

Dan Doyle
GlobalNOC Software Developer
1-812-856-3892

On Jul 26, 2016, at 4:32 PM, Cas D'Angelo <> wrote:

I have a RHEL 6.8 x86_64 box which is the only perfSONAR node I have which is not a Toolkit install.  The sysadmin installed many perfSONAR packages standalone, but I was having trouble getting any results from it on the maddash server. I installed the toolkit rpms on top of the other installation.

I think the issue is with esmond. I tried to manually add an api key and it gives me the following error:

$ python esmond/manage.py add_api_key_user perfsonar
Traceback (most recent call last):
  File "esmond/manage.py", line 2, in <module>
    from django.core.management import execute_from_command_line
ImportError: No module named django.core.management

In any case, I think I need an api key to place into regulartesting.conf.

Thanks for your advice.

Cas






Archive powered by MHonArc 2.6.19.

Top of Page