Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] Django error after a fresh install

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] Django error after a fresh install


Chronological Thread 
  • From: Shkelzen Rugovac <>
  • To:
  • Subject: [perfsonar-user] Django error after a fresh install
  • Date: Mon, 11 Dec 2017 09:26:57 +0100
  • Ironport-phdr: 9a23:otqijhBQ+2G69dDZ+H7hUyQJP3N1i/DPJgcQr6AfoPdwSPT+p8bcNUDSrc9gkEXOFd2CrakV26yO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fdbghMhzexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Xymp4aV2Rx/ykCoJNzA3/mLKhMJukK1WuwiuqwBlzoPOfI2ZKPhzc6XAdt0aX2pBWcNRWjRcDIO8bIsAEe4BPOdGoIn7ulAAsQa+BQarBOPx0DBHmmL90Koh0+QhEgHJwgggHtMQv3TSttn1LroSUe+yzKnW1zrMc+hb2Tj46IfScxAhpeuAUq53ccrU0EQiER7OgFuXqYzgJTyV1+INvnCD7+V+T+KvhXUnqwZ3oje13McgkI/JiZwJyl3C6C53w541KMWmREN6fdKpEp5dty+ZOoRtXs8vRm5ltDomxrIavJO0YDQGxZciyhPadfCLbZaH7xT+X+iLOzh4nmhqeLenihay70egzur8W9Gx0FlQrypFlsDAtm0X2BDP88SGReVx8lm/1jqV2ADT7eZEIU8wlaXFMZIu3rkwlp8LvUTCGC/5hln2gbeIekgl5uSl6eHqYrvlq5CHK4N5jw7zPrgylsOjBOk3LhQCUmue9Om5yrHv41P2TK1PjvIsk6nZtJ7aJd4cpq68GwJVyYYj6xWhADei0dUXg38HIEhfeBKagIjpPE/OL+rkAvqkjFSslS1kx/HCPrH7HprNKX3DnK/7fblh805c1BYzzddH6pJMFL4BOvzzWlT2tNzeFBA5KRW4w/v8CNpjzIMTQmaPAq6CMKPOql+E+PgjI+iKZI8Jpjn9Mf4l6ODyjXMng1MSY7Sm3YZEIEy/S+xrOUuCZnzlmJIcCmoQlgs4UOHwjlCeC3hea2vhcbg742QACIGrCZXOQMiXnbOGwi6wVslNZmNLDkKBFzHyaoqDRf4HQC2XK85l1DcDUO7yGMcayRiyuVqimPJcJe3O93hAuA==

Hi,

After a fresh installation via the FULL 4.0.2 ISO + yum update [1],[2] and [3], I have the following error in  /var/log/esmond/django.log :

2017-12-11 09:18:31,761 [ERROR] /usr/lib/esmond/lib/python2.7/site-packages/django/core/handlers/exception.py: Internal Server Error: /esmond/perfsonar/archive/
Traceback (most recent call last):
  File "/usr/lib/esmond/lib/python2.7/site-packages/django/core/handlers/exception.py", line 42, in inner
    response = get_response(request)
  File "/usr/lib/esmond/lib/python2.7/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response
    response = self._get_response(request)
  File "/usr/lib/esmond/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/usr/lib/esmond/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, 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 90, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/views.py", line 489, in dispatch
    response = self.handle_exception(exc)
  File "/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/views.py", line 449, in handle_exception
    self.raise_uncaught_exception(exc)
  File "/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/views.py", line 486, in dispatch
    response = handler(request, *args, **kwargs)
  File "/usr/lib/esmond/esmond/api/perfsonar/api_v2.py", line 838, in list
    return super(ArchiveViewset, self).list(request)
  File "/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/mixins.py", line 42, in list
    page = self.paginate_queryset(queryset)
  File "/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/generics.py", line 173, in paginate_queryset
    return self.paginator.paginate_queryset(queryset, self.request, view=self)
  File "/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/pagination.py", line 335, in paginate_queryset
    self.count = _get_count(queryset)
  File "/usr/lib/esmond/lib/python2.7/site-packages/rest_framework/pagination.py", line 53, in _get_count
    return queryset.count()
  File "/usr/lib/esmond/lib/python2.7/site-packages/django/db/models/query.py", line 369, in count
    return self.query.get_count(using=self.db)
  File "/usr/lib/esmond/lib/python2.7/site-packages/django/db/models/sql/query.py", line 476, in get_count
    number = obj.get_aggregation(using, ['__count'])['__count']
  File "/usr/lib/esmond/lib/python2.7/site-packages/django/db/models/sql/query.py", line 457, in get_aggregation
    result = compiler.execute_sql(SINGLE)
  File "/usr/lib/esmond/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 835, 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 94, 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 "ps_metadata" does not exist
LINE 1: ...e" AS Col3, "ps_metadata"."checksum" AS Col4 FROM "ps_metada...


Why ps_metadata not (yet) present?


Cheers,
Shkelzen


--
Shkelzen RUGOVAC       

Université Libre de Bruxelles
Bd du Triomphe, CP230
1050 Bruxelles - Belgium

Office at VUB:
Building G - Level 0 - Room 147

Tel: (+32) 2 629 33 26



Archive powered by MHonArc 2.6.19.

Top of Page