Actions
Issue #4411
closed500 error while getting published metadata
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:
- https://pulp-rpm.readthedocs.io/en/latest/workflows/create_sync_publish.html
- Try to get any repodata: http://localhost:8080/pulp/content/foo/repodata/repomd.xml nad get 500 Internal Server Error
- 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
Actions
Fix missing _ in method name
[noissue]