Project

Profile

Help

Issue #5311

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

Added by daviddavis 2 months ago. Updated 16 days ago.

Status:
MODIFIED
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 60

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 endpoints NEW Actions
Related to Ansible Plugin - Story #5238: As a user, the Galaxy V3 APIs has working Python bindings NEW Actions

Associated revisions

Revision 8834dc2b View on GitHub
Added by Fabricio Aguiar 16 days ago

History

#1 Updated by amacdona@redhat.com about 2 months 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'

#2 Updated by amacdona@redhat.com about 2 months ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 57

#3 Updated by rchan about 2 months ago

  • Sprint changed from Sprint 57 to Sprint 58

#4 Updated by rchan about 1 month ago

  • Sprint deleted (Sprint 58)

#5 Updated by fabricio.aguiar 16 days ago

  • Status changed from NEW to POST
  • Assignee set to fabricio.aguiar
  • Sprint set to Sprint 60

#6 Updated by fabricio.aguiar 16 days ago

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

#7 Updated by fabricio.aguiar 16 days ago

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

#8 Updated by Anonymous 16 days ago

  • Status changed from POST to MODIFIED

Please register to edit this issue

Also available in: Atom PDF