Skip to Content.
Sympa Menu

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

Subject: perfSONAR User Q&A and Other Discussion

List archive

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


Chronological Thread 
  • From: Andrew Lake <>
  • To: , Shkelzen Rugovac <>
  • Subject: Re: [perfsonar-user] Django error after a fresh install
  • Date: Mon, 11 Dec 2017 09:06:47 -0500
  • Ironport-phdr: 9a23:mj81xRE6gdjU/zT9F7NJtZ1GYnF86YWxBRYc798ds5kLTJ7zpsywAkXT6L1XgUPTWs2DsrQf2rqQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbQhFgDmwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VC+85Kl3VhDnlCYHNyY48G7JjMxwkLlbqw+lqxBm3oLYfJ2ZOP94c6jAf90VWHBBU95RWSNDDIOyaIQAAeQCM+hFsYfyu0ADogGiCQS2Hu7i0CNEi33w0KYn0+ohCwbG3Ak4Et8StnTbsc/1O7kcUOuoyqfH1zbDYO1L0jr68ofIdA0uoPGXUL1uasrd008vGB3ZjliJr4HuIj2b1uMIs2eB7upgU/qii3Y5pAFrrDiv3cAsio/TiYIP0FzE8zt2wJozKNalS0B7ecapHIZOuyyZLYd7TNkuTm51tCogyLAKpIa3cDYWxJkj3RLSaPyKf5KW7h7+W+udOzV1iG5jdbminRi961Kgxff5VsSs0FZFsC5Fkt7Uu3ADyRPe5dKLSv9m8UelwzqP2AfT6v9cLUA1k6rUNYIhz6YtmpYNsknPBCH7lF/5gaOLbEkp+PWk5/ziYrr8p5+cM4F0ihv5MqQrgsGwG+I4PRUOXmWA5+u8z6fv/UvnT7VWlvE2iLXWsIjGJcQHoa60GxdV3Zg56xaxFDem19IYkmMdLF5cZRKHlJbmO0vVLfD8DPe/mEiskCx1y/zcP73hBInNIWbZkLfnY7l991BQxBAtwt9C+pIHQo0Gder+QEHqs9rRFFokKAGu6+fhFNhn0I4CAySCDrLdeJjSslKM9O8pa9ORa4gLsT21f+Ml5PPqn3I/30UAcq631JA/Z3WxH/AgKEKcNynCmNAERE4MshAzU6TOgV6PGWpaYXqjd68noDc2FNT1Xs/4WomxjenZj2+AFZpMazUDUwjUHA==

Hi,

Someone else reported a similar issue last week and they were able to correct it by doing a “yum reinstall esmond”. The dev team is investigating closer as it doesn't appear to happen in our test builds, so must be some condition or inconsistent package ordering that is triggering it.

Thanks,
Andy





On December 11, 2017 at 3:27:21 AM, Shkelzen Rugovac () wrote:

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