Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload does not exist during image push #861

Closed
ipanova opened this issue Jun 21, 2022 · 0 comments · Fixed by #862
Closed

Upload does not exist during image push #861

ipanova opened this issue Jun 21, 2022 · 0 comments · Fixed by #862

Comments

@ipanova
Copy link
Member

ipanova commented Jun 21, 2022

pulp [None]: django.request:ERROR: Internal Server Error: /v2/pulp/pulp-operator/blobs/uploads/67467423-7b0c-4b5d-b6a4-44a99cd18355
  Traceback (most recent call last):
    File "/usr/local/lib/python3.10/site-packages/django/core/handlers/exception.py", line 47, in inner
      response = get_response(request)
    File "/usr/local/lib/python3.10/site-packages/django/core/handlers/base.py", line 181, in _get_response
      response = wrapped_callback(request, *callback_args, **callback_kwargs)
    File "/usr/local/lib/python3.10/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
      return view_func(*args, **kwargs)
    File "/usr/local/lib/python3.10/site-packages/rest_framework/viewsets.py", line 125, in view
      return self.dispatch(request, *args, **kwargs)
    File "/usr/local/lib/python3.10/site-packages/rest_framework/views.py", line 509, in dispatch
      response = self.handle_exception(exc)
    File "/usr/local/lib/python3.10/site-packages/pulp_container/app/registry_api.py", line 321, in handle_exception
      response = super().handle_exception(exc)
    File "/usr/local/lib/python3.10/site-packages/rest_framework/views.py", line 469, in handle_exception
      self.raise_uncaught_exception(exc)
    File "/usr/local/lib/python3.10/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
      raise exc
    File "/usr/local/lib/python3.10/site-packages/rest_framework/views.py", line 506, in dispatch
      response = handler(request, *args, **kwargs)
    File "/usr/local/lib/python3.10/site-packages/pulp_container/app/registry_api.py", line 688, in put
      raise e_upload
    File "/usr/local/lib/python3.10/site-packages/pulp_container/app/registry_api.py", line 678, in put
      upload = models.Upload.objects.get(pk=pk, repository=repository)
    File "/usr/local/lib/python3.10/site-packages/django/db/models/manager.py", line 85, in manager_method
      return getattr(self.get_queryset(), name)(*args, **kwargs)
    File "/usr/local/lib/python3.10/site-packages/django/db/models/query.py", line 435, in get
      raise self.model.DoesNotExist(
  pulp_container.app.models.Upload.DoesNotExist: Upload matching query does not exist.

ipanova added a commit to ipanova/pulp_container that referenced this issue Jun 21, 2022
@ipanova ipanova self-assigned this Jun 21, 2022
patchback bot pushed a commit that referenced this issue Jun 24, 2022
ipanova added a commit to ipanova/pulp_container that referenced this issue Jun 24, 2022
ipanova added a commit to ipanova/pulp_container that referenced this issue Jun 24, 2022
patchback bot pushed a commit that referenced this issue Jun 24, 2022
patchback bot pushed a commit that referenced this issue Jun 24, 2022
patchback bot pushed a commit that referenced this issue Jun 24, 2022
mdellweg pushed a commit that referenced this issue Jun 24, 2022
mdellweg pushed a commit that referenced this issue Jun 24, 2022
mdellweg pushed a commit that referenced this issue Jun 24, 2022
mdellweg pushed a commit that referenced this issue Jun 24, 2022
ipanova added a commit to ipanova/pulp_container that referenced this issue Jun 27, 2022
ipanova added a commit to ipanova/pulp_container that referenced this issue Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant