Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Removing old Cassandra Data

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Removing old Cassandra Data


Chronological Thread 
  • From: Dan Doyle <>
  • To: Andreas Demetriou <>
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] Removing old Cassandra Data
  • Date: Mon, 28 Nov 2016 08:54:24 -0500
  • Ironport-phdr: 9a23:v0f1XBKXnY94FLGGetmcpTZWNBhigK39O0sv0rFitYgfKP3xwZ3uMQTl6Ol3ixeRBMOAuqkC0LSd7/+ocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbQhFgDSwbal8IRi3ogncucsbipZ+J6gszRfEvmFGcPlMy2NyIlKTkRf85sOu85Nm7i9dpfEv+dNeXKvjZ6g3QqBWAzogM2Au+c3krgLDQheV5nsdSWoZjBxFCBXY4R7gX5fxtiz6tvdh2CSfIMb7Q6w4VSik4qx2UxLjljsJOCAl/2HWksxwjbxUoBS9pxxk3oXYZJiZOOdicq/BeN8XQ3dKUMRMWCxbGo6zc4QAAfcBM+laoYfzpFUOowW5CwS3C+Pj1jpIi2X23aEm0eksFxzN0gw6H9IJtXTZtNv7O70UUeuowqfIyjXCb/dI1jzg74XHbwouofWRUrJ3ccvRzVcgGhjKjlWUrozqJCma1uALs2ic8+VsT+Ovi3M9pw5vvzev294hh4/UjYwbzVDE8D92wIczJdCgR057YNGkH4FMuCGeKYR5WNkiT3t0tyY9z70KoYa7czYQyJQp3B7fbPqHfJKS4h75UuaePyt4iXR4c7y8nxa/6VWsx+L4W8WuzVpHrypInsPRun0D2BHf8MmKR/9l8ku81juC0xrf5vxFLEwoj6bXNp4sz7oqmpcTt0nIAzX4l1/sjKCMc0Up4uio5PrjYrXhvpKcMpV7igD6Mqgzg8C/B/o3MwYUU2iU4+S80rrj8lHjTLVLk/06iLfWv43HJcgDp665BRFa0po75hqiADqr1M4UkWQGIV9FYh6LkobkNl7ULP35Cfqzm1Gsny1qx/DCML3hGJLNLn3bnbj8Z7l971NTyA0zzNBb+Z1ZEb4BIPb0WkDqrtPYChk5MwuozOr9CdV9y5kSVnySDa+EKK/Sq0OH5vozI+mQY48YoC79JOY/5/7gln85nlkdcrOz3ZcOdXC4BeppI1+CbHrog9cBCnsKvhEgQODwiV2CVyJTaGioX6I6+D47FJyqAZ3dSY+wnbzSlBu8S7RQanpLA0vEPXrtepmeWvARIHabJMN7nzUfE7SsToI9zxCpqSf1yrVuJe7Z8zdevpXmgotb/erWwD0783RYCNWZ3inZQ2hwkmQZQzIe06R4q0V5zFCIl6llxfFUCIoAtLtyTg4mOMuEnKRBANfoV1eEJ4/RRQ==

Andreas,

Have you done the following before attempting to run the ps_remove_data?

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


esmond uses a nonstandard python (2.7) on CentOS6, so the environment must be set up correctly for its various scripts to run correctly, otherwise it may try to run under python 2.6 and get incorrect behavior.

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

On Nov 25, 2016, at 12:32 PM, Andreas Demetriou <> wrote:

Hi,
 
I’m trying to remove old measurement data from perfsonar, and I try running this command:
 
python /usr/lib/esmond/util/ps_remove_data.py -c usr/lib/esmond/util/ps_remove_data.conf
 
but I get this error:
 
Traceback (most recent call last):
  File "/usr/lib/esmond/util/ps_remove_data.py", line 69, in <module>
    import django
ImportError: No module named Django
 
Can you help with this?
 
Kind Regards,
 
Andreas Demetriou| Placement Network Engineer
 <image001.png>
Gigaclear plc, Windrush Court, Abingdon, Oxfordshire, OX14 1SY
M: 07976649731 T: 01865591142 W: www.gigaclear.com
Gigaclear plc is registered in England and Wales with company number 07476617

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




Archive powered by MHonArc 2.6.19.

Top of Page