Project

General

Profile

Actions

Bug #32690

closed

Cannot reupload package to repo after deleting it

Added by Ryan Verdile almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

To reproduce:

1) Sync a repo
2) Navigate to Products > [Product Name] > Repositories > [Repo Name] > Packages
3) Delete a package
4) Navigate to Products > [Product Name] > Repositories > [Repo Name]
5) Manually upload the deleted package using the "Upload Package" box.

When following these steps using this repo (https://jlsherrill.fedorapeople.org/fake-repos/needed-errata/) while deleting/reuploading the walrus-5.21-1.noarch.rpm package this error was produced in the terminal:

2021-06-01T13:22:00 [D|app|498d9702] With body: {"displayMessage":"Task 08bd8ac4-116a-4491-8d70-a4e668e7d883: Katello::Errors::Pulp3Error: {'non_field_errors': [ErrorDetail(string=\"Artifact with sha256 checksum of 'e837a635cc99f967a70f34b268baa52e0f412c1502e08e924ff5b09f1f9573f2' already exists.\", code='unique')]}","errors":["Task 08bd8ac4-116a-4491-8d70-a4e668e7d883: Katello::Errors::Pulp3Error: {'non_field_errors': [ErrorDetail(string=\"Artifact with sha256 checksum of 'e837a635cc99f967a70f34b268baa52e0f412c1502e08e924ff5b09f1f9573f2' already exists.\", code='unique')]}"]}

This error also showed as a pop-up box in the GUI.

Actions #1

Updated by Samir Jha almost 3 years ago

  • Target version set to Katello 4.0.2
  • Triaged changed from No to Yes
Actions #2

Updated by James Jeffers over 2 years ago

  • Target version changed from Katello 4.0.2 to Katello 4.0.3
Actions #3

Updated by James Jeffers over 2 years ago

  • Target version changed from Katello 4.0.3 to Katello 4.0.4
Actions #4

Updated by James Jeffers over 2 years ago

  • Target version changed from Katello 4.0.4 to Katello 4.3.0
Actions #5

Updated by Samir Jha over 2 years ago

  • Status changed from New to Resolved
  • Target version changed from Katello 4.3.0 to Katello Recycle Bin

Setting to resolved as duplicate uploads are being handled in the upload workflow better now and this is no longer reproducible. Feel free to re-open this if you encounter this anymore..

Actions

Also available in: Atom PDF