Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Waiting on postgresql to start...
- Checking postgres host 10.107.241.119
- Checking postgres host 10.107.241.119
- Checking postgres host 10.107.241.119
- Checking postgres host 10.107.241.119
- Checking postgres host 10.107.241.119
- Checking postgres host 10.107.241.119
- Checking postgres host 10.107.241.119
- Postgres started!
- No installed app with label 'cookbook'.
- Operations to perform:
- Apply all migrations: admin, ansible, auth, contenttypes, core, file, sessions
- Traceback (most recent call last):
- File "/opt/rh/rh-python36/root/usr/bin/django-admin", line 11, in <module>
- sys.exit(execute_from_command_line())
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/management/base.py", line 83, in wrapped
- res = handle_func(*args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 191, in handle
- pre_migrate_apps = pre_migrate_state.apps
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/utils/functional.py", line 80, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/migrations/state.py", line 210, in apps
- return StateApps(self.real_apps, self.models)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/migrations/state.py", line 273, in __init__
- self.render_multiple([*models.values(), *self.real_models])
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/migrations/state.py", line 316, in render_multiple
- "for more" % (new_unrendered_models, get_docs_version())
- django.db.migrations.exceptions.InvalidBasesError: Cannot resolve bases for [<ModelState: 'python.PythonPackageContent'>, <ModelState: 'python.PythonPublication'>, <ModelState: 'python.PythonRemote'>, <ModelState: 'docker.ManifestBlob'>, <ModelState: 'docker.ImageManifest'>, <ModelState: 'docker.ManifestList'>, <ModelState: 'docker.ManifestTag'>, <ModelState: 'docker.ManifestListTag'>, <ModelState: 'docker.DockerRemote'>, <ModelState: 'maven.MavenArtifact'>, <ModelState: 'maven.MavenRemote'>]
- This can happen if you are inheriting models from an app with migrations (e.g. contrib.auth)
- in an app with no migrations; see https://docs.djangoproject.com/en/2.2/topics/migrations/#dependencies for more
- Operations to perform:
- Apply all migrations: auth
- Traceback (most recent call last):
- File "/opt/rh/rh-python36/root/usr/bin/django-admin", line 11, in <module>
- sys.exit(execute_from_command_line())
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/management/base.py", line 83, in wrapped
- res = handle_func(*args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 191, in handle
- pre_migrate_apps = pre_migrate_state.apps
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/utils/functional.py", line 80, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/migrations/state.py", line 210, in apps
- return StateApps(self.real_apps, self.models)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/migrations/state.py", line 273, in __init__
- self.render_multiple([*models.values(), *self.real_models])
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/migrations/state.py", line 316, in render_multiple
- "for more" % (new_unrendered_models, get_docs_version())
- django.db.migrations.exceptions.InvalidBasesError: Cannot resolve bases for [<ModelState: 'maven.MavenArtifact'>, <ModelState: 'maven.MavenRemote'>, <ModelState: 'docker.ManifestBlob'>, <ModelState: 'docker.ImageManifest'>, <ModelState: 'docker.ManifestList'>, <ModelState: 'docker.ManifestTag'>, <ModelState: 'docker.ManifestListTag'>, <ModelState: 'docker.DockerRemote'>, <ModelState: 'python.PythonPackageContent'>, <ModelState: 'python.PythonPublication'>, <ModelState: 'python.PythonRemote'>]
- This can happen if you are inheriting models from an app with migrations (e.g. contrib.auth)
- in an app with no migrations; see https://docs.djangoproject.com/en/2.2/topics/migrations/#dependencies for more
- [2019-05-07 21:10:13 +0000] [35] [INFO] Starting gunicorn 19.9.0
- [2019-05-07 21:10:13 +0000] [35] [INFO] Listening at: http://0.0.0.0:24817 (35)
- [2019-05-07 21:10:13 +0000] [35] [INFO] Using worker: sync
- [2019-05-07 21:10:13 +0000] [38] [INFO] Booting worker with pid: 38
- pulp: django.request:WARNING: Not Found: /
- pulp: django.request:WARNING: Not Found: /favicon.ico
- /opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django_filters/rest_framework/backends.py:128: UserWarning: <class 'pulp_ansible.app.galaxy.views.RoleList'> is not compatible with schema generation
- "{} is not compatible with schema generation".format(view.__class__)
- /opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django_filters/rest_framework/backends.py:128: UserWarning: <class 'pulp_ansible.app.galaxy.views.RoleVersionList'> is not compatible with schema generation
- "{} is not compatible with schema generation".format(view.__class__)
- /opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django_filters/rest_framework/backends.py:128: UserWarning: <class 'pulp_ansible.app.galaxy.views.GalaxyCollectionDetailView'> is not compatible with schema generation
- "{} is not compatible with schema generation".format(view.__class__)
- /opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django_filters/rest_framework/backends.py:128: UserWarning: <class 'pulp_ansible.app.galaxy.views.GalaxyCollectionNamespaceNameVersionList'> is not compatible with schema generation
- "{} is not compatible with schema generation".format(view.__class__)
- pulp: pulpcore.app.views.status:ERROR: Cannot connect to database during status check.
- Traceback (most recent call last):
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- psycopg2.errors.UndefinedTable: relation "core_worker" does not exist
- LINE 1: SELECT COUNT(*) AS "__count" FROM "core_worker"
- ^
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pulpcore/app/views/status.py", line 71, in _get_db_conn_status
- Worker.objects.count()
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method
- return getattr(self.get_queryset(), name)(*args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/query.py", line 392, in count
- return self.query.get_count(using=self.db)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/sql/query.py", line 504, in get_count
- number = obj.get_aggregation(using, ['__count'])['__count']
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/sql/query.py", line 489, in get_aggregation
- result = compiler.execute_sql(SINGLE)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1100, in execute_sql
- cursor.execute(sql, params)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: relation "core_worker" does not exist
- LINE 1: SELECT COUNT(*) AS "__count" FROM "core_worker"
- ^
- pulp: django.request:ERROR: Internal Server Error: /pulp/api/v3/status/
- Traceback (most recent call last):
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- psycopg2.errors.UndefinedTable: relation "core_worker" does not exist
- LINE 1: ...cefully_stopped", "core_worker"."cleaned_up" FROM "core_work...
- ^
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
- response = get_response(request)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/handlers/base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/handlers/base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/views/generic/base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/views.py", line 495, in dispatch
- response = self.handle_exception(exc)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/views.py", line 455, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/views.py", line 466, in raise_uncaught_exception
- raise exc
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/views.py", line 492, in dispatch
- response = handler(request, *args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pulpcore/app/views/status.py", line 60, in get
- return Response(serializer.data)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/serializers.py", line 563, in data
- ret = super(Serializer, self).data
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/serializers.py", line 262, in data
- self._data = self.to_representation(self.instance)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/serializers.py", line 530, in to_representation
- ret[field.field_name] = field.to_representation(attribute)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/serializers.py", line 686, in to_representation
- self.child.to_representation(item) for item in iterable
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/query.py", line 274, in __iter__
- self._fetch_all()
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all
- self._result_cache = list(self._iterable_class(self))
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/query.py", line 55, in __iter__
- results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1100, in execute_sql
- cursor.execute(sql, params)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: relation "core_worker" does not exist
- LINE 1: ...cefully_stopped", "core_worker"."cleaned_up" FROM "core_work...
- ^
- pulp: pulpcore.app.views.status:ERROR: Cannot connect to database during status check.
- Traceback (most recent call last):
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- psycopg2.errors.UndefinedTable: relation "core_worker" does not exist
- LINE 1: SELECT COUNT(*) AS "__count" FROM "core_worker"
- ^
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pulpcore/app/views/status.py", line 71, in _get_db_conn_status
- Worker.objects.count()
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method
- return getattr(self.get_queryset(), name)(*args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/query.py", line 392, in count
- return self.query.get_count(using=self.db)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/sql/query.py", line 504, in get_count
- number = obj.get_aggregation(using, ['__count'])['__count']
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/sql/query.py", line 489, in get_aggregation
- result = compiler.execute_sql(SINGLE)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1100, in execute_sql
- cursor.execute(sql, params)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: relation "core_worker" does not exist
- LINE 1: SELECT COUNT(*) AS "__count" FROM "core_worker"
- ^
- pulp: django.request:ERROR: Internal Server Error: /pulp/api/v3/status/
- Traceback (most recent call last):
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- psycopg2.errors.UndefinedTable: relation "core_worker" does not exist
- LINE 1: ...cefully_stopped", "core_worker"."cleaned_up" FROM "core_work...
- ^
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
- response = get_response(request)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/handlers/base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/handlers/base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/views/generic/base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/views.py", line 495, in dispatch
- response = self.handle_exception(exc)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/views.py", line 455, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/views.py", line 466, in raise_uncaught_exception
- raise exc
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/views.py", line 492, in dispatch
- response = handler(request, *args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pulpcore/app/views/status.py", line 60, in get
- return Response(serializer.data)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/serializers.py", line 563, in data
- ret = super(Serializer, self).data
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/serializers.py", line 262, in data
- self._data = self.to_representation(self.instance)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/serializers.py", line 530, in to_representation
- ret[field.field_name] = field.to_representation(attribute)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/serializers.py", line 686, in to_representation
- self.child.to_representation(item) for item in iterable
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/query.py", line 274, in __iter__
- self._fetch_all()
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all
- self._result_cache = list(self._iterable_class(self))
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/query.py", line 55, in __iter__
- results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1100, in execute_sql
- cursor.execute(sql, params)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: relation "core_worker" does not exist
- LINE 1: ...cefully_stopped", "core_worker"."cleaned_up" FROM "core_work...
- ^
- pulp: pulpcore.app.views.status:ERROR: Cannot connect to database during status check.
- Traceback (most recent call last):
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- psycopg2.errors.UndefinedTable: relation "core_worker" does not exist
- LINE 1: SELECT COUNT(*) AS "__count" FROM "core_worker"
- ^
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pulpcore/app/views/status.py", line 71, in _get_db_conn_status
- Worker.objects.count()
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method
- return getattr(self.get_queryset(), name)(*args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/query.py", line 392, in count
- return self.query.get_count(using=self.db)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/sql/query.py", line 504, in get_count
- number = obj.get_aggregation(using, ['__count'])['__count']
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/sql/query.py", line 489, in get_aggregation
- result = compiler.execute_sql(SINGLE)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1100, in execute_sql
- cursor.execute(sql, params)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: relation "core_worker" does not exist
- LINE 1: SELECT COUNT(*) AS "__count" FROM "core_worker"
- ^
- pulp: django.request:ERROR: Internal Server Error: /pulp/api/v3/status/
- Traceback (most recent call last):
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- psycopg2.errors.UndefinedTable: relation "core_worker" does not exist
- LINE 1: ...cefully_stopped", "core_worker"."cleaned_up" FROM "core_work...
- ^
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
- response = get_response(request)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/handlers/base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/handlers/base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/views/generic/base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/views.py", line 495, in dispatch
- response = self.handle_exception(exc)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/views.py", line 455, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/views.py", line 466, in raise_uncaught_exception
- raise exc
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/views.py", line 492, in dispatch
- response = handler(request, *args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pulpcore/app/views/status.py", line 60, in get
- return Response(serializer.data)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/serializers.py", line 563, in data
- ret = super(Serializer, self).data
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/serializers.py", line 262, in data
- self._data = self.to_representation(self.instance)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/serializers.py", line 530, in to_representation
- ret[field.field_name] = field.to_representation(attribute)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/serializers.py", line 686, in to_representation
- self.child.to_representation(item) for item in iterable
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/query.py", line 274, in __iter__
- self._fetch_all()
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all
- self._result_cache = list(self._iterable_class(self))
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/query.py", line 55, in __iter__
- results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1100, in execute_sql
- cursor.execute(sql, params)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: relation "core_worker" does not exist
- LINE 1: ...cefully_stopped", "core_worker"."cleaned_up" FROM "core_work...
- ^
- pulp: pulpcore.app.views.status:ERROR: Cannot connect to database during status check.
- Traceback (most recent call last):
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- psycopg2.errors.UndefinedTable: relation "core_worker" does not exist
- LINE 1: SELECT COUNT(*) AS "__count" FROM "core_worker"
- ^
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pulpcore/app/views/status.py", line 71, in _get_db_conn_status
- Worker.objects.count()
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method
- return getattr(self.get_queryset(), name)(*args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/query.py", line 392, in count
- return self.query.get_count(using=self.db)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/sql/query.py", line 504, in get_count
- number = obj.get_aggregation(using, ['__count'])['__count']
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/sql/query.py", line 489, in get_aggregation
- result = compiler.execute_sql(SINGLE)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1100, in execute_sql
- cursor.execute(sql, params)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: relation "core_worker" does not exist
- LINE 1: SELECT COUNT(*) AS "__count" FROM "core_worker"
- ^
- pulp: django.request:ERROR: Internal Server Error: /pulp/api/v3/status/
- Traceback (most recent call last):
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- psycopg2.errors.UndefinedTable: relation "core_worker" does not exist
- LINE 1: ...cefully_stopped", "core_worker"."cleaned_up" FROM "core_work...
- ^
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
- response = get_response(request)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/handlers/base.py", line 115, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/core/handlers/base.py", line 113, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
- return view_func(*args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/views/generic/base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/views.py", line 495, in dispatch
- response = self.handle_exception(exc)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/views.py", line 455, in handle_exception
- self.raise_uncaught_exception(exc)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/views.py", line 466, in raise_uncaught_exception
- raise exc
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/views.py", line 492, in dispatch
- response = handler(request, *args, **kwargs)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pulpcore/app/views/status.py", line 60, in get
- return Response(serializer.data)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/serializers.py", line 563, in data
- ret = super(Serializer, self).data
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/serializers.py", line 262, in data
- self._data = self.to_representation(self.instance)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/serializers.py", line 530, in to_representation
- ret[field.field_name] = field.to_representation(attribute)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/rest_framework/serializers.py", line 686, in to_representation
- self.child.to_representation(item) for item in iterable
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/query.py", line 274, in __iter__
- self._fetch_all()
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all
- self._result_cache = list(self._iterable_class(self))
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/query.py", line 55, in __iter__
- results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1100, in execute_sql
- cursor.execute(sql, params)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
- return self.cursor.execute(sql, params)
- django.db.utils.ProgrammingError: relation "core_worker" does not exist
- LINE 1: ...cefully_stopped", "core_worker"."cleaned_up" FROM "core_work...
- ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement