Project

Profile

Help

Backport #9505 ยป pulpcore-api.log

rafzei, 10/13/2021 02:23 PM

 
Oct 13 11:57:42 pulp-vm gunicorn[28831]: pulp [b067f38ea4fc42ebaca8ef6a9a283460]: django.request:ERROR: Internal Server Error: /pulp/api/v3/publications/deb/apt/
Oct 13 11:57:42 pulp-vm gunicorn[28831]: Traceback (most recent call last):
Oct 13 11:57:42 pulp-vm gunicorn[28831]: File "/usr/local/lib/pulp/lib64/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
Oct 13 11:57:42 pulp-vm gunicorn[28831]: response = get_response(request)
Oct 13 11:57:42 pulp-vm gunicorn[28831]: File "/usr/local/lib/pulp/lib64/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
Oct 13 11:57:42 pulp-vm gunicorn[28831]: response = wrapped_callback(request, *callback_args, **callback_kwargs)
Oct 13 11:57:42 pulp-vm gunicorn[28831]: File "/usr/local/lib/pulp/lib64/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
Oct 13 11:57:42 pulp-vm gunicorn[28831]: return view_func(*args, **kwargs)
Oct 13 11:57:42 pulp-vm gunicorn[28831]: File "/usr/local/lib/pulp/lib64/python3.8/site-packages/rest_framework/viewsets.py", line 125, in view
Oct 13 11:57:42 pulp-vm gunicorn[28831]: return self.dispatch(request, *args, **kwargs)
Oct 13 11:57:42 pulp-vm gunicorn[28831]: File "/usr/local/lib/pulp/lib64/python3.8/site-packages/rest_framework/views.py", line 509, in dispatch
Oct 13 11:57:42 pulp-vm gunicorn[28831]: response = self.handle_exception(exc)
Oct 13 11:57:42 pulp-vm gunicorn[28831]: File "/usr/local/lib/pulp/lib64/python3.8/site-packages/rest_framework/views.py", line 469, in handle_exception
Oct 13 11:57:42 pulp-vm gunicorn[28831]: self.raise_uncaught_exception(exc)
Oct 13 11:57:42 pulp-vm gunicorn[28831]: File "/usr/local/lib/pulp/lib64/python3.8/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
Oct 13 11:57:42 pulp-vm gunicorn[28831]: raise exc
Oct 13 11:57:42 pulp-vm gunicorn[28831]: File "/usr/local/lib/pulp/lib64/python3.8/site-packages/rest_framework/views.py", line 506, in dispatch
Oct 13 11:57:42 pulp-vm gunicorn[28831]: response = handler(request, *args, **kwargs)
Oct 13 11:57:42 pulp-vm gunicorn[28831]: File "/usr/local/lib/pulp/lib64/python3.8/site-packages/pulp_deb/app/viewsets/publication.py", line 88, in create
Oct 13 11:57:42 pulp-vm gunicorn[28831]: result = dispatch(
Oct 13 11:57:42 pulp-vm gunicorn[28831]: File "/usr/local/lib/pulp/lib64/python3.8/site-packages/pulpcore/tasking/tasks.py", line 78, in dispatch
Oct 13 11:57:42 pulp-vm gunicorn[28831]: args_as_json = json.dumps(args, cls=UUIDEncoder)
Oct 13 11:57:42 pulp-vm gunicorn[28831]: File "/opt/rh/rh-python38/root/usr/lib64/python3.8/json/__init__.py", line 234, in dumps
Oct 13 11:57:42 pulp-vm gunicorn[28831]: return cls(
Oct 13 11:57:42 pulp-vm gunicorn[28831]: File "/opt/rh/rh-python38/root/usr/lib64/python3.8/json/encoder.py", line 199, in encode
Oct 13 11:57:42 pulp-vm gunicorn[28831]: chunks = self.iterencode(o, _one_shot=True)
Oct 13 11:57:42 pulp-vm gunicorn[28831]: File "/opt/rh/rh-python38/root/usr/lib64/python3.8/json/encoder.py", line 257, in iterencode
Oct 13 11:57:42 pulp-vm gunicorn[28831]: return _iterencode(o, 0)
Oct 13 11:57:42 pulp-vm gunicorn[28831]: File "/usr/local/lib/pulp/lib64/python3.8/site-packages/pulpcore/tasking/tasks.py", line 24, in default
Oct 13 11:57:42 pulp-vm gunicorn[28831]: return super().default(obj)
Oct 13 11:57:42 pulp-vm gunicorn[28831]: File "/opt/rh/rh-python38/root/usr/lib64/python3.8/json/encoder.py", line 179, in default
Oct 13 11:57:42 pulp-vm gunicorn[28831]: raise TypeError(f'Object of type {o.__class__.__name__} '
Oct 13 11:57:42 pulp-vm gunicorn[28831]: TypeError: Object of type AptRepository is not JSON serializable

    (1-1/1)