Project

Profile

Help

Issue #4411

500 error while getting published metadata

Added by ttereshc 8 months ago. Updated 6 months ago.

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

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 metadata CLOSED - COMPLETE Actions
Duplicated by File Support - Issue #4453: Fetching PULP_MANIFEST throws 500 ISE CLOSED - DUPLICATE Actions

Associated revisions

Revision 4dec5689 View on GitHub
Added by David Davis 8 months ago

Fix missing _ in method name

[noissue]

History

#1 Updated by ttereshc 8 months 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.

#2 Updated by daviddavis 8 months ago

  • Status changed from NEW to MODIFIED

#3 Updated by ttereshc 8 months ago

  • Duplicated by Issue #4453: Fetching PULP_MANIFEST throws 500 ISE added

#4 Updated by kersom 7 months ago

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

#5 Updated by kersom 7 months ago

  • Tags Pulp 3 added

#6 Updated by daviddavis 6 months ago

  • Sprint/Milestone set to 3.0

#7 Updated by bmbouter 6 months ago

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

Please register to edit this issue

Also available in: Atom PDF