Actions
Issue #6776
closedpodman pull by tag returns 500 error
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
May 19 22:18:29 localhost gunicorn[46369]: [2020-05-19 22:18:29 +0000] [46378] [ERROR] Error handling request May 19 22:18:29 localhost gunicorn[46369]: Traceback (most recent call last): May 19 22:18:29 localhost gunicorn[46369]: File "/usr/local/lib/pulp/lib64/python3.7/site-packages/aiohttp/web_protocol.py", line 275, in data_received May 19 22:18:29 localhost gunicorn[46369]: messages, upgraded, tail = self._request_parser.feed_data(data) May 19 22:18:29 localhost gunicorn[46369]: File "aiohttp/_http_parser.pyx", line 523, in aiohttp._http_parser.HttpParser.feed_data May 19 22:18:29 localhost gunicorn[46369]: aiohttp.http_exceptions.BadStatusLine: invalid HTTP method May 19 22:18:29 localhost gunicorn[46369]: 127.0.0.1 [19/May/2020:22:18:29 +0000] "GET /v2/ HTTP/1.1" 200 224 "-" "libpod/1.9.1" May 19 22:18:29 localhost gunicorn[46369]: [2020-05-19 22:18:29 +0000] [46378] [ERROR] Error handling request May 19 22:18:29 localhost gunicorn[46369]: Traceback (most recent call last): May 19 22:18:29 localhost gunicorn[46369]: File "/home/vagrant/devel/pulp_container/pulp_container/app/registry.py", line 225, in dispatch_tag May 19 22:18:29 localhost gunicorn[46369]: artifact = tag._artifacts.get() May 19 22:18:29 localhost gunicorn[46369]: File "/usr/local/lib/pulp/lib64/python3.7/site-packages/django/db/models/manager.py", line 82, in manager_method May 19 22:18:29 localhost gunicorn[46369]: return getattr(self.get_queryset(), name)(*args, **kwargs) May 19 22:18:29 localhost gunicorn[46369]: File "/usr/local/lib/pulp/lib64/python3.7/site-packages/django/db/models/query.py", line 408, in get May 19 22:18:29 localhost gunicorn[46369]: self.model._meta.object_name May 19 22:18:29 localhost gunicorn[46369]: pulpcore.app.models.content.Artifact.DoesNotExist: Artifact matching query does not exist. May 19 22:18:29 localhost gunicorn[46369]: During handling of the above exception, another exception occurred: May 19 22:18:29 localhost gunicorn[46369]: Traceback (most recent call last): May 19 22:18:29 localhost gunicorn[46369]: File "/usr/local/lib/pulp/lib64/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start May 19 22:18:29 localhost gunicorn[46369]: resp = await task May 19 22:18:29 localhost gunicorn[46369]: File "/usr/local/lib/pulp/lib64/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle May 19 22:18:29 localhost gunicorn[46369]: resp = await handler(request) May 19 22:18:29 localhost gunicorn[46369]: File "/home/vagrant/devel/pulp_container/pulp_container/app/registry.py", line 204, in get_tag May 19 22:18:29 localhost gunicorn[46369]: return await Registry.dispatch_tag(tag, response_headers) May 19 22:18:29 localhost gunicorn[46369]: File "/home/vagrant/devel/pulp_container/pulp_container/app/registry.py", line 227, in dispatch_tag May 19 22:18:29 localhost gunicorn[46369]: raise ArtifactNotFound(tag.name) May 19 22:18:29 localhost gunicorn[46369]: pulp_container.app.registry.ArtifactNotFound: latest May 19 22:18:29 localhost gunicorn[46369]: 127.0.0.1 [19/May/2020:22:18:29 +0000] "GET /v2/foo/bar/manifests/latest HTTP/1.1" 500 244 "-" "libpod/1.9.1"
Updated by pulpbot about 4 years ago
- Status changed from NEW to POST
Added by dkliban@redhat.com about 4 years ago
Added by dkliban@redhat.com about 4 years ago
Revision adc970e5 | View on GitHub
Fixes 500 error when pulling by tag
Updated by dkliban@redhat.com about 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset adc970e5559d8ee0f77c2b26a9a0eb0b34287a8f.
Updated by pulpbot about 4 years ago
Updated by dkliban@redhat.com about 4 years ago
Applied in changeset pulp_container|adc970e5559d8ee0f77c2b26a9a0eb0b34287a8f.
Updated by pulpbot about 4 years ago
Updated by mdellweg almost 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Fixes 500 error when pulling by tag
fixes: #6776 https://pulp.plan.io/issues/6776