Anyone else get this with an external Postgres server? CentOS 7 for both Postgres and AWX.
“ProgrammingError: relation “celery_taskmeta” does not exist”
I’ve done it multiple times with the same results every time. Migration starts fine and then after a while a bunch of errors relating to this.
Here’s the full output:
exc, exc_info.traceback)))
[2017-09-11 00:32:58,332: CRITICAL/MainProcess] Task awx.main.scheduler.tasks.run_task_manager[0dd39143-c648-4b8c-915c-482a75f3acf1] INTERNAL ERROR: ProgrammingError(‘relation “celery_taskmeta” does not exist\nLINE 1: …taskmeta".“hidden”, “celery_taskmeta”.“meta” FROM "celery_ta…\n ^\n’,)
Traceback (most recent call last):
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/celery/app/trace.py”, line 235, in trace_task
request=task_request,
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/celery/backends/base.py”, line 256, in store_result
request=request, **kwargs)
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/djcelery/backends/database.py”, line 29, in _store_result
traceback=traceback, children=self.current_task_children(request),
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/djcelery/managers.py”, line 42, in _inner
return fun(*args, **kwargs)
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/djcelery/managers.py”, line 181, in store_result
‘meta’: {‘children’: children}})
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/djcelery/managers.py”, line 87, in update_or_create
return get_queryset(self).update_or_create(**kwargs)
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/djcelery/managers.py”, line 70, in update_or_create
obj, created = self.get_or_create(**kwargs)
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/models/query.py”, line 405, in get_or_create
return self.get(**lookup), False
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/models/query.py”, line 328, in get
num = len(clone)
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/models/query.py”, line 144, in len
self._fetch_all()
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/models/query.py”, line 965, in _fetch_all
self._result_cache = list(self.iterator())
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/models/query.py”, line 238, in iterator
results = compiler.execute_sql()
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/models/sql/compiler.py”, line 840, in execute_sql
cursor.execute(sql, params)
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/backends/utils.py”, line 64, in execute
return self.cursor.execute(sql, params)
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/utils.py”, line 98, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File “/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/backends/utils.py”, line 64, in execute
return self.cursor.execute(sql, params)
ProgrammingError: relation “celery_taskmeta” does not exist
LINE 1: …taskmeta".“hidden”, “celery_taskmeta”.“meta” FROM "celery_ta…