Project

Profile

Help

Backport #9505 ยป pulpcore-api.log

rafzei, 10/13/2021 02:23 PM

 
1
Oct 13 11:57:42 pulp-vm gunicorn[28831]: pulp [b067f38ea4fc42ebaca8ef6a9a283460]: django.request:ERROR: Internal Server Error: /pulp/api/v3/publications/deb/apt/
2
Oct 13 11:57:42 pulp-vm gunicorn[28831]: Traceback (most recent call last):
3
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
4
Oct 13 11:57:42 pulp-vm gunicorn[28831]: response = get_response(request)
5
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
6
Oct 13 11:57:42 pulp-vm gunicorn[28831]: response = wrapped_callback(request, *callback_args, **callback_kwargs)
7
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
8
Oct 13 11:57:42 pulp-vm gunicorn[28831]: return view_func(*args, **kwargs)
9
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
10
Oct 13 11:57:42 pulp-vm gunicorn[28831]: return self.dispatch(request, *args, **kwargs)
11
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
12
Oct 13 11:57:42 pulp-vm gunicorn[28831]: response = self.handle_exception(exc)
13
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
14
Oct 13 11:57:42 pulp-vm gunicorn[28831]: self.raise_uncaught_exception(exc)
15
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
16
Oct 13 11:57:42 pulp-vm gunicorn[28831]: raise exc
17
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
18
Oct 13 11:57:42 pulp-vm gunicorn[28831]: response = handler(request, *args, **kwargs)
19
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
20
Oct 13 11:57:42 pulp-vm gunicorn[28831]: result = dispatch(
21
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
22
Oct 13 11:57:42 pulp-vm gunicorn[28831]: args_as_json = json.dumps(args, cls=UUIDEncoder)
23
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
24
Oct 13 11:57:42 pulp-vm gunicorn[28831]: return cls(
25
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
26
Oct 13 11:57:42 pulp-vm gunicorn[28831]: chunks = self.iterencode(o, _one_shot=True)
27
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
28
Oct 13 11:57:42 pulp-vm gunicorn[28831]: return _iterencode(o, 0)
29
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
30
Oct 13 11:57:42 pulp-vm gunicorn[28831]: return super().default(obj)
31
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
32
Oct 13 11:57:42 pulp-vm gunicorn[28831]: raise TypeError(f'Object of type {o.__class__.__name__} '
33
Oct 13 11:57:42 pulp-vm gunicorn[28831]: TypeError: Object of type AptRepository is not JSON serializable
34

    
    (1-1/1)