Project

Profile

Help

Issue #2433

closed

Re-uploading results in old file still being served

Added by ehelms@redhat.com over 7 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
High
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.8.7
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Using the iso type of repository, a user can upload the same file multiple times. However, the 'last' one to be uploaded is the not the current one being served by the repository. The generated PULP_MANIFEST indicates the various versions of this file that have been uploaded but they appear in semi-random order. An example:

foreman-1.13.1.1.tar.bz2,c2a1985f371a8152b96c8927511e7402d2bbf64e2acb084470ec462df97b1bcc,11582712
foreman-1.13.1.1.tar.bz2,aa7bdcc0c30e2a843a1f74672292d04231749d5b8859e41b597129826ecc8f96,29676401
foreman-1.13.1.1.tar.bz2,f217c027bde37e426ccd8912b48c2f817621b7586359317cd338d5476c2f8a58,11586229
foreman-1.13.1.1.tar.bz2,2b5fc81f743de034eb38232a3d60467b3b71e819c84729a2fdcfedbfd1e3ae86,11583659
foreman-1.13.1.1.tar.bz2,4cde275645bafe5b46448925dec1c6b295119bcd4b4b4ab76cc04f38109f2398,29859413
foreman_theme_satellite-1.0.0.gem,03f8ac79b51cb68f9308249396881a827d5b81840bed58bf466133cef6c37120,158720

Further, this behavior appears with the YUM repository type as well. A user can:

1) sync a repository
2) upload an RPM that was synced down with a different checksum (maybe the underlying source changed)
3) Pulp will accept the upload with success
4) check the yum metadata and note both checksums in it but only one copy of the RPM in the repo (this will lead to yum errors)
Actions #1

Updated by bizhang over 7 years ago

  • Priority changed from Normal to High
  • Triaged changed from No to Yes
Actions #2

Updated by bmbouter over 7 years ago

@ehelms, how does this affect Katello? I don't see a downstream BZ associated with it, should there be one?

Actions #3

Updated by ehelms@redhat.com over 7 years ago

Currently this is biting me personally when I try to rebuild a source file and upload it store on a dogfooding server. I imagine if it hits me, it will eventually hit users that begin to make more use of the generic file type repository. I can file a BZ if you like, there is not one currently.

Actions #4

Updated by bmbouter over 7 years ago

@ehelms, there is not a BZ currently, but if it's affecting Katello then maybe make one?

Actions #5

Updated by bmbouter about 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #6

Updated by bmbouter about 5 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

Actions #7

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF