Actions
Issue #7568
closedRepositoryVersionDistribution does not support on_demand
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 83
Quarter:
Description
Sep 24 18:54:29 pulp3-source-fedora31.localhost.example.com gunicorn[61929]: [2020-09-24 18:54:29 +0000] [61943] [ERROR] Error handling request
Sep 24 18:54:29 pulp3-source-fedora31.localhost.example.com gunicorn[61929]: Traceback (most recent call last):
Sep 24 18:54:29 pulp3-source-fedora31.localhost.example.com gunicorn[61929]: File "/usr/local/lib/pulp/lib64/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
Sep 24 18:54:29 pulp3-source-fedora31.localhost.example.com gunicorn[61929]: resp = await task
Sep 24 18:54:29 pulp3-source-fedora31.localhost.example.com gunicorn[61929]: File "/usr/local/lib/pulp/lib64/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
Sep 24 18:54:29 pulp3-source-fedora31.localhost.example.com gunicorn[61929]: resp = await handler(request)
Sep 24 18:54:29 pulp3-source-fedora31.localhost.example.com gunicorn[61929]: File "/home/vagrant/devel/pulpcore/pulpcore/content/handler.py", line 137, in stream_content
Sep 24 18:54:29 pulp3-source-fedora31.localhost.example.com gunicorn[61929]: return await self._match_and_stream(path, request)
Sep 24 18:54:29 pulp3-source-fedora31.localhost.example.com gunicorn[61929]: File "/home/vagrant/devel/pulpcore/pulpcore/content/handler.py", line 445, in _match_and_stream
Sep 24 18:54:29 pulp3-source-fedora31.localhost.example.com gunicorn[61929]: return self._serve_content_artifact(ca, headers)
Sep 24 18:54:29 pulp3-source-fedora31.localhost.example.com gunicorn[61929]: File "/home/vagrant/devel/pulpcore/pulpcore/content/handler.py", line 586, in _serve_content_artifact
Sep 24 18:54:29 pulp3-source-fedora31.localhost.example.com gunicorn[61929]: filename = content_artifact.artifact.file.name
Sep 24 18:54:29 pulp3-source-fedora31.localhost.example.com gunicorn[61929]: AttributeError: 'NoneType' object has no attribute 'file'
Sep 24 18:54:29 pulp3-source-fedora31.localhost.example.com gunicorn[61929]: 127.0.0.1 [24/Sep/2020:18:54:29 +0000] "GET /pulp/content/f2025dbd-4613-4ce2-a5b7-cb7eae6b946f/ansible-posix-1.1.1.tar.gz HTTP/1.1" 500 244 "-" "ansible-galaxy/2.10.1 (Linux; python:3.7.9)"
Related issues
Actions
Enable on demand sync for RepositoryVersionDistribution
https://pulp.plan.io/issues/7568 closes #7568