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: Doug Wussler <>
  • To: Andrew Lake <>, "" <>, Shkelzen Rugovac <>
  • Subject: Re: [perfsonar-user] Django error after a fresh install
  • Date: Mon, 11 Dec 2017 16:45:27 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:osnioRJ7gm1UVgXXY9mcpTZWNBhigK39O0sv0rFitYgXKPv/rarrMEGX3/hxlliBBdydsKMUzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZPebgFLiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0vRz+s87lkRwPpiCcfNj427mfXitBrjKlGpB6tvgFzz5LIbI2QMvd1Y6HTcs4ARWdZXshfSTFPAp+yYYUMAeoOP+dYoJXyqFYVtxSyGQysCfnzxjNUhHL727Ax3eQ7EQHB2QwtB9wAsHPJrNX6KawdUf21zLLTzTXHcfxWwyr25Y/VfRAmvPGMUqh8cMTMyUk0DAPFikufqZb+MjObzeQNrnKX4PR9WuKykmMqrRx6rDaoxscpkIbJh4QVx0jF9SV/24Y1Oce3SEp/YdK9EJZQuT2VN4xwQsMsQmFotz82x70IuZ61fSgK0o8nxwLGZ/GHfYiI/hPjVOOPLjtihHJlZLe/hxKq/Uil0OL8UNO70FlUoSZcktTMuGoN2ALc6siaTvty5F2h1S+P2gDd9uFLP1s0lbbAK5I7wr4wip8TsUDbEi/uhkr2lqGWdl4j+uiu8evneK/qppmCOI9okg3+Kr4umsu4AeQ2KggOWGmb+eKg1LH54UL5R7BKguU3kqnfq5DaOd4Upqq9AwNM0osj5QqwACmg0NQEmnkHN0tJdRKJj4jnJlHOJPT4Dfa5g1S3jDdk3fTGPrn7DpXNMnjDlbPhcLBg4EBf0Ao+1c5T6IhIBr0cJf//R1L9uMHdAx83PAG43/rrBdBz1owAVm+CDaqUPabTvFOW+O4jO/SAaJEWtTrnNvQo5P/jgWU3lFITZ6Wlw4cbZGy+E/97OUuWe2Dsjc0EEWoSvgoxUujqiFqaXDBLe3u8WL4w6i8iBIy7FYnPW5mhgLua0yilBJFWYX1GCkyXHnfvaoWEXeoDZDiKIs97lTwESaauRJM91RGvsw/6zaBrLu3J+i0EsZLj09915+7JmR4u8jx0CtyR02CLT25qgmMFXyE607pjrUBgz1qPzLV0j+FdGNxd6P5FThs2OJvSz+NkBN3/VQfMc9KIRVq4XNmqGTQxQcgww98KbUZ9AdKijhXb0iW3BL8VirOLCIY686LBxHjxPMJ9xGjc1KQ6gVkmWdZPOXe4iaFi6gjfH5TJnFmBl6a2aaQc2zbA9H+dwmqUskFYSwlwUaPfUnAFf0fWsM/56V3YT7K1DbQnMxBBydKZKqdUcNHpjFNGROv9N9TEZWK+hXuwCQiSyryScYXqZjZV4CKIIU4IiQ0MtVKPNgV2Ui6nr3P2AScoE1/zNQeku/Fzsn2gSUk91USXdEB7/7uz5hMPg/GAEbUe0q9O8HM5pi96B1G71siTFsGNvSJgerlRe9Uw/A0B2G7E4Ug1BZyjIqRwi1hWSRl4uF3n3F0jEYVDnMw4oXVs1hd9LryR23tOcjqZ2db7PbiBeUfo+xX6R6nL1Rnhzc2N/qoVoKA0rEjs+h60DVEm/m9P3cJIlXaQ+8OZX0IpTZvtXxNvpFBBrLbAb3x4vtuM2A==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Andrew –

 

That was me.  The “yum reinstall esmond” cleared up the “Internal Server Error” I was getting in the “Test Results” section when I visited the toolkit page.  But it did not clear up the issue Shkelzen is reporting, I have the same error even after reinstalling Esmond and rebooting.  We both did a full install of the 4.02 ISO and our /var/log/esmond/django.log is showing the same failure.  The reinstall has not fixed this problem.

 

Doug Wussler

Florida State University 

 

From: <> on behalf of Andrew Lake <>
Date: Monday, December 11, 2017 at 9:07 AM
To: "" <>, Shkelzen Rugovac <>
Subject: Re: [perfsonar-user] Django error after a fresh install

 

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