Project

Profile

Help

Issue #4411

closed

500 error while getting published metadata

Added by ttereshc almost 6 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:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

To reproduce use any plugin with metadata, e.g. RPM plugin:

  1. https://pulp-rpm.readthedocs.io/en/latest/workflows/create_sync_publish.html
  2. Try to get any repodata: http://localhost:8080/pulp/content/foo/repodata/repomd.xml nad get 500 Internal Server Error
  3. For content with artifacts (packages), it works fine: http://localhost:8080/pulp/content/foo/bear-4.1-1.noarch.rpm

It should also be reproducible with pulp_file and attempt to get PULP_MANIFEST.

Feb 12 19:35:55 pulp3 gunicorn[12722]: [2019-02-12 19:35:55 +0000] [12739] [ERROR] Error handling request
Feb 12 19:35:55 pulp3 gunicorn[12722]: Traceback (most recent call last):
Feb 12 19:35:55 pulp3 gunicorn[12722]:   File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/aiohttp/web_protocol.py", line 418, in start
Feb 12 19:35:55 pulp3 gunicorn[12722]:     resp = await task
Feb 12 19:35:55 pulp3 gunicorn[12722]:   File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/aiohttp/web_app.py", line 458, in _handle
Feb 12 19:35:55 pulp3 gunicorn[12722]:     resp = await handler(request)
Feb 12 19:35:55 pulp3 gunicorn[12722]:   File "/home/vagrant/devel/pulp/pulpcore/content/handler.py", line 68, in stream_content
Feb 12 19:35:55 pulp3 gunicorn[12722]:     return await self._match_and_stream(path, request)
Feb 12 19:35:55 pulp3 gunicorn[12722]:   File "/home/vagrant/devel/pulp/pulpcore/content/handler.py", line 190, in _match_and_stream
Feb 12 19:35:55 pulp3 gunicorn[12722]:     return self.handle_file_response(pm.file)
Feb 12 19:35:55 pulp3 gunicorn[12722]: AttributeError: 'Handler' object has no attribute 'handle_file_response'
(pulp) [vagrant@pulp3 pulp]$ pip list | grep pulp
pulp-file                       0.0.1b8      /home/vagrant/devel/pulp_file      
pulp-rpm                        3.0.0b1     /home/vagrant/devel/pulp_rpm (master)
pulp-smash                      1!0.2.0      
pulpcore                        3.0.0b21     /home/vagrant/devel/pulp           
pulpcore-plugin                 0.1.0b20     /home/vagrant/devel/pulpcore-plugin

Related issues

Related to Pulp - Test #4519: Test 500 error while getting published metadataCLOSED - COMPLETEkersomActions
Has duplicate File Support - Issue #4453: Fetching PULP_MANIFEST throws 500 ISECLOSED - DUPLICATEActions

Added by David Davis almost 6 years ago

Revision 4dec5689 | View on GitHub

Fix missing _ in method name

[noissue]

Actions #1

Updated by ttereshc almost 6 years ago

  • Tags Pulp 3 RC Blocker added
  • Tags deleted (Pulp 3)

I think it's an RC blocker, so I tag it for now not to miss it.

Actions #2

Updated by daviddavis almost 6 years ago

  • Status changed from NEW to MODIFIED
Actions #3

Updated by ttereshc almost 6 years ago

  • Has duplicate Issue #4453: Fetching PULP_MANIFEST throws 500 ISE added
Actions #4

Updated by kersom almost 6 years ago

  • Related to Test #4519: Test 500 error while getting published metadata added
Actions #5

Updated by kersom almost 6 years ago

  • Tags Pulp 3 added
Actions #6

Updated by daviddavis over 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #7

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3, Pulp 3 RC Blocker)
Actions #8

Updated by bmbouter about 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF