Project

Profile

Help

Issue #5311

closed

Hitting /pulp/api/v3/ raises a 500 error

Added by daviddavis over 5 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 60
Quarter:

Description

$ http :24817/pulp/api/v3/
HTTP/1.1 500 Internal Server Error
Content-Length: 27
Content-Type: text/html
Date: Tue, 20 Aug 2019 21:19:19 GMT
Server: WSGIServer/0.2 CPython/3.7.3
Vary: Cookie
X-Frame-Options: SAMEORIGIN

<h1>Server Error (500)</h1>

Related issues

Related to Pulp - Issue #4493: Schema doesn't show all endpointsCLOSED - CURRENTRELEASEfao89Actions
Related to Ansible Plugin - Story #5238: As a user, the Galaxy V3 APIs has working Python bindingsCLOSED - DUPLICATEfao89

Actions
Actions #1

Updated by amacdona@redhat.com over 5 years ago

Replicated in a pulplift env.

    "versions": [
        {
            "component": "pulpcore",
            "version": "3.0.0rc5.dev0"
        },
        {
            "component": "pulpcore-plugin",
            "version": "0.1.0rc5.dev0"
        },
        {
            "component": "pulp_docker",
            "version": "4.0.0b6.dev0"
        }
    ]
}

In the log:

Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]: pulp: django.request:ERROR: Internal Server Error: /pulp/api/v3/
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]: Traceback (most recent call last):
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:     response = get_response(request)
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/django/core/handlers/base.py", line 115, in _get_response
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:     response = self.process_exception_by_middleware(e, request)
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/django/core/handlers/base.py", line 113, in _get_response
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:     response = wrapped_callback(request, *callback_args, **callback_kwargs)
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:     return view_func(*args, **kwargs)
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/django/views/generic/base.py", line 71, in view
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:     return self.dispatch(request, *args, **kwargs)
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/rest_framework/views.py", line 497, in dispatch
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:     response = self.handle_exception(exc)
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/rest_framework/schemas/views.py", line 48, in handle_exception
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:     return super().handle_exception(exc)
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/rest_framework/views.py", line 457, in handle_exception
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:     self.raise_uncaught_exception(exc)
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/rest_framework/views.py", line 468, in raise_uncaught_exception
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:     raise exc
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/rest_framework/views.py", line 494, in dispatch
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:     response = handler(request, *args, **kwargs)
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/rest_framework/schemas/views.py", line 37, in get
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:     schema = self.schema_generator.get_schema(request, self.public)
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/rest_framework/schemas/openapi.py", line 64, in get_schema
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:     paths = self.get_paths(None if public else request)
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:   File "/usr/local/lib/pulp/lib64/python3.7/site-packages/rest_framework/schemas/openapi.py", line 47, in get_paths
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]:     operation = view.schema.get_operation(path, method)
Aug 23 14:23:11 pulp3-source-fedora29.localhost.example.com gunicorn[19568]: AttributeError: 'DefaultSchema' object has no attribute 'get_operation'
Actions #2

Updated by amacdona@redhat.com over 5 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 57
Actions #3

Updated by rchan over 5 years ago

  • Sprint changed from Sprint 57 to Sprint 58
Actions #4

Updated by rchan over 5 years ago

  • Sprint deleted (Sprint 58)

Added by Fabricio Aguiar about 5 years ago

Revision 8834dc2b | View on GitHub

Actions #5

Updated by fao89 about 5 years ago

  • Status changed from NEW to POST
  • Assignee set to fao89
  • Sprint set to Sprint 60
Actions #6

Updated by fao89 about 5 years ago

  • Related to Issue #4493: Schema doesn't show all endpoints added
Actions #7

Updated by fao89 about 5 years ago

  • Related to Story #5238: As a user, the Galaxy V3 APIs has working Python bindings added
Actions #8

Updated by Anonymous about 5 years ago

  • Status changed from POST to MODIFIED
Actions #9

Updated by bmbouter about 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #10

Updated by bmbouter about 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF