Hi Ivan,
I have no idea what’s going on with your system. Perhaps you have one system pointing at staging and one pointing at the production repo hence the binary differences? In terms of the actual problem what errors are you getting now?
Thanks, Andy
On March 16, 2016 at 7:53:58 AM, Garnizov, Ivan (RRZE) () wrote:
Hi Andy,
I have made an additional check. Having 2 systems running latest
CentOS one correctly and another broken, I made simple binary
comparison for the files related to the esmond package (same
version both ends)
esmond.x86_64
2.0.2-1.el6
@Internet2
The files for the Esmond package on the two servers differ. I have
applied the md5 sum file and the results.
My guess is that this should not be the case and the broken server
lacks the correct version of files, but then I ran a reinstall of
the esmond package.
The reinstallation went without any complaint (applied is the
output), yet the system is not working. What can I do about
it?
Best regards,
Ivan
From:
[mailto:] On Behalf Of
Garnizov, Ivan (RRZE)
Sent: Dienstag, 15. März 2016 16:58
To: Andrew Lake
Cc: perfsonar-user
Subject: RE: [perfsonar-user] Upgrade from pS
3.4.1
Hi Andy,
I have applied the output in a text file.
Thanks for looking into this!
Best regards,
Ivan
From:
Andrew Lake []
Sent: Montag, 14. März 2016 16:26
To: Garnizov, Ivan (RRZE)
Cc: Antoine Delvaux; perfsonar-user
Subject: Re: [perfsonar-user] Upgrade from pS
3.4.1
Hi Ivan,
Did you get any errors during the yum update
process? These get run by the esmond RPM on update but you can try
running them manually to see if that fixes the issue:
source /opt/rh/python27/enable
/opt/rh/python27/root/usr/bin/virtualenv
--prompt="(esmond)" .
python esmond/manage.py migrate
--fake-initial
python util/migrate_tastypie_keys.py
On Mon, Mar 14, 2016 at 6:38 AM, Garnizov,
Ivan (RRZE) <> wrote:
Hi Antoine,
I am upgrading to pS 3.5.1.
Installed Packages
esmond.x86_64
2.0.1-1.el6
@Internet2
perfsonar-common.noarch
3.5.1-1
@Internet2
perfsonar-core.noarch
3.5.1-1
@Internet2
perfsonar-graphs.noarch
3.5.1-1
@Internet2
perfsonar-lscachedaemon.noarch
3.5.1-1
@Internet2
perfsonar-lsregistrationdaemon.noarch
3.5.1-1
@Internet2
perfsonar-meshconfig-agent.noarch
3.5.1-1
@Internet2
perfsonar-meshconfig-jsonbuilder.noarch
3.5.1-1
@Internet2
perfsonar-meshconfig-shared.noarch
3.5.1-1
@Internet2
perfsonar-oppd-bwctl.noarch
3.5.1-1
@Internet2
perfsonar-oppd-owamp.noarch
3.5.1-1
@Internet2
perfsonar-oppd-server.noarch
3.5.1-1
@Internet2
perfsonar-oppd-shared.noarch
3.5.1-1
@Internet2
perfsonar-regulartesting.noarch
3.5.1.1-1
@Internet2
perfsonar-testpoint.noarch
3.5.1-1
@Internet2
perfsonar-toolkit.noarch
3.5.1-1
@Internet2
perfsonar-toolkit-install.noarch
3.5.1-1
@Internet2
perfsonar-toolkit-library.noarch
3.5.1-1
@Internet2
perfsonar-toolkit-ntp.noarch
3.5.1-1
@Internet2
perfsonar-toolkit-security.noarch
3.5.1-1
@Internet2
perfsonar-toolkit-servicewatcher.noarch
3.5.1-1
@Internet2
perfsonar-toolkit-sysctl.noarch
3.5.1-1
@Internet2
perfsonar-toolkit-systemenv.noarch
3.5.1-1
@Internet2
perfsonar-tools.noarch
3.5.1-1
@Internet2
perfsonar-traceroute-viewer.noarch
3.5.1-1
@Internet2
Available Packages
Does that help?
Best regards,
Ivan
From:
Antoine Delvaux [mailto:]
Sent: Montag, 14. März 2016 10:32
To: Garnizov, Ivan (RRZE)
Cc: perfsonar-user
Subject: Re: [perfsonar-user] Upgrade from pS
3.4.1
Hello
Ivan,
To which
version are you upgrading to? Do you have the exact esmond
version numbers of the upgrade?
Le 11 mars
2016 à 17:42, Garnizov, Ivan (RRZE) <> a écrit :
Here is the result from my first attempt to run an upgrade from a
3.4.1 instance.
Please provide hints and instructions on how to deal with these
errors from Esmond:
2016-03-11 18:37:45,413 [ERROR]
/usr/lib/esmond/lib/python2.7/site-packages/django/core/handlers/base.py:
Internal Server Error: /esmond/perfsonar/archive/
Traceback (most recent call last):
File
"/usr/lib/esmond/lib/python2.7/site-packages/django/core/handlers/base.py",
line 132, in get_response
response = wrapped_callback(request,
*callback_args, **callback_kwargs)
File
"/usr/lib/esmond/lib/python2.7/site-packages/django/views/decorators/csrf.py",
line 58, in wrapped_view
return view_func(*args, **kwargs)
File
"/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/viewsets.py",
line 85, in view
return self.dispatch(request, *args,
**kwargs)
File
"/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/views.py",
line 456, in dispatch
response = self.handle_exception(exc)
File
"/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/views.py",
line 444, in dispatch
self.initial(request, *args,
**kwargs)
File
"/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/views.py",
line 358, in initial
self.perform_authentication(request)
File
"/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/views.py",
line 296, in perform_authentication
File
"/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/request.py",
line 489, in __getattribute__
return super(Request,
self).__getattribute__(attr)
File
"/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/request.py",
line 264, in user
File
"/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/request.py",
line 452, in _authenticate
user_auth_tuple =
authenticator.authenticate(self)
File
"/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/authentication.py",
line 173, in authenticate
return
self.authenticate_credentials(auth[1])
File
"/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/authentication.py",
line 177, in authenticate_credentials
token =
self.model.objects.select_related('user').get(key=key)
File
"/usr/lib/esmond/lib/python2.7/site-packages/django/db/models/query.py",
line 328, in get
File
"/usr/lib/esmond/lib/python2.7/site-packages/django/db/models/query.py",
line 144, in __len__
File
"/usr/lib/esmond/lib/python2.7/site-packages/django/db/models/query.py",
line 965, in _fetch_all
self._result_cache =
list(self.iterator())
File
"/usr/lib/esmond/lib/python2.7/site-packages/django/db/models/query.py",
line 238, in iterator
results = compiler.execute_sql()
File
"/usr/lib/esmond/lib/python2.7/site-packages/django/db/models/sql/compiler.py",
line 840, in execute_sql
cursor.execute(sql, params)
File
"/usr/lib/esmond/lib/python2.7/site-packages/django/db/backends/utils.py",
line 64, in execute
return self.cursor.execute(sql,
params)
File
"/usr/lib/esmond/lib/python2.7/site-packages/django/db/utils.py",
line 97, in __exit__
six.reraise(dj_exc_type, dj_exc_value,
traceback)
File
"/usr/lib/esmond/lib/python2.7/site-packages/django/db/backends/utils.py",
line 64, in execute
return self.cursor.execute(sql,
params)
ProgrammingError: relation "authtoken_token" does not
exist
LINE 1: ...user"."is_active", "auth_user"."date_joined" FROM
"authtoken...
|