Project

Profile

Help

Issue #3017

closed

RemoteArtifact contains all the calculated hashes instead of only ones available in a remote repo

Added by ttereshc about 7 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 26
Quarter:

Description

To reproduce:

  • create repo
  • create importer with immediate policy
  • sync

Check pulp_app_remoteartifact table, it contains all the calculated hashes instead of one available in a remote repo.

pulp=# select * from pulp_app_remoteartifact;
...
-[ RECORD 7 ]-------+---------------------------------------------------------------------------------------------------------------------------------
id                  | 996b0c90-75fb-46d0-8e1b-61a6d6598456
url                 | https://repos.fedorapeople.org/pulp/pulp/fixtures/file-mixed/1.iso
size                | 1048576
md5                 | 8de62945335fe55f1d325ea9eaa29560
sha1                | 3ae81392aa1c98f8f92cf5ff326f5e93c73a9b2d
sha224              | aa356e94085735321aaa548719361264804160fc719c52376a62d485
sha256              | ef2f76c57febbf47662c7bc2b9382e4539fb30a32f5e0a690229d0dad3028468
sha384              | 249345db9a25d821990df98931deec56cd0e4feb6fe641d89a88d95ae25608d82e6beea2bef58a78a40d0a8ad3a1e083
sha512              | ad6a8141d7d636b825a2aa57111134beed5419a34036c222729ca91d0f5a1703a3c0f419852219e9eb658247fa75ae677e9be1c4a02d31765f0b90928a7e33a4
content_artifact_id | cc92ae49-1995-49d5-a1fc-6bdf5970d4e4
importer_id         | e322d035-874c-48a2-a31e-374fb22e4154

Only the Artifact model is supposed to store all the calculated hashes (and it does).
RemoteArtifact is expected to have only information available in a remote repo.

Actions #1

Updated by ttereshc about 7 years ago

  • Priority changed from Normal to High
  • Severity changed from 1. Low to 2. Medium
  • Triaged changed from No to Yes
Actions #2

Updated by jortel@redhat.com about 7 years ago

  • Project changed from File Support to Pulp

I have a ChangeSet patch mostly finished for this.

Actions #3

Updated by jortel@redhat.com about 7 years ago

  • Groomed changed from No to Yes
Actions #4

Updated by mhrivnak about 7 years ago

  • Sprint/Milestone set to 45

Added by jortel@redhat.com about 7 years ago

Revision 1ef3ed8f | View on GitHub

Remote artifact created with correct digests. closes #3017

Added by jortel@redhat.com about 7 years ago

Revision 1ef3ed8f | View on GitHub

Remote artifact created with correct digests. closes #3017

Actions #5

Updated by jortel@redhat.com about 7 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to jortel@redhat.com
Actions #6

Updated by jortel@redhat.com about 7 years ago

  • Status changed from ASSIGNED to POST
Actions #7

Updated by jortel@redhat.com about 7 years ago

  • Status changed from POST to MODIFIED
Actions #8

Updated by bmbouter over 6 years ago

  • Sprint set to Sprint 26
Actions #9

Updated by bmbouter over 6 years ago

  • Sprint/Milestone deleted (45)
Actions #10

Updated by daviddavis over 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #11

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)
Actions #12

Updated by bmbouter almost 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF