Project

Profile

Help

Issue #4892

ISO repo copy can lead to a duplicates in a target repo and corrupted manifest

Added by ipanova@redhat.com 6 months ago. Updated 4 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Category:
-
Sprint/Milestone:
Start date:
Due date:
Severity:
3. High
Version:
Platform Release:
2.20.0
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 54

Description

$ echo pizza>food
$ pulp-admin -u admin -p admin iso repo uploads upload --repo-id zoo-iso -f food
$ pulp-admin iso repo copy --from-repo-id zoo-iso --to-repo-id zoo-iso-2
$ echo burritos>food
$ pulp-admin -u admin -p admin iso repo uploads upload --repo-id zoo-iso -f food
$ pulp-admin  iso repo copy --from-repo-id zoo-iso --to-repo-id zoo-iso-2
$ pulp-admin iso repo list
Warning: path should have mode 0700 because it may contain sensitive information: /home/ipanova/.pulp/

+----------------------------------------------------------------------+
                            ISO Repositories
+----------------------------------------------------------------------+

Id:                  zoo-iso
Display Name:        None
Description:         None
Content Unit Counts: 
  Iso: 1

Id:                  zoo-iso-2
Display Name:        None
Description:         None
Content Unit Counts: 
  Iso: 2

(reverse-i-search)`cat': ^Ct food 
[ipanova@ina pulp_rpm]$ pulp-admin iso repo  isos --repo-id zoo-iso-2
Warning: path should have mode 0700 because it may contain sensitive information: /home/ipanova/.pulp/

Name:     food
Size:     9
Checksum: 0808fcca59af0820a1334422752c9e9854e93205e986dd9ac78d5cd1f8e65a2e

Name:     food
Size:     6
Checksum: fff8acd78f7528c143cb5a6971f911d3869368cbc177f3f4404d945c6accc08d

# cat /var/lib/pulp/published/https/isos/zoo-iso-2/PULP_MANIFEST 
food,0808fcca59af0820a1334422752c9e9854e93205e986dd9ac78d5cd1f8e65a2e,9
food,fff8acd78f7528c143cb5a6971f911d3869368cbc177f3f4404d945c6accc08d,6


Related issues

Copied to RPM Support - Test #4943: ISO repo copy can lead to a duplicates in a target repo and corrupted manifest CLOSED - COMPLETE Actions

Associated revisions

Revision e06a0dfc View on GitHub
Added by ipanova@redhat.com 5 months ago

ISO repo copy can lead to a duplicates in a target repo and corrupted manifest.

closes #4892
https://pulp.plan.io/issues/4892

History

#1 Updated by ttereshc 6 months ago

  • Triaged changed from No to Yes

#4 Updated by ttereshc 6 months ago

  • Platform Release set to 2.20.0
  • Sprint set to Sprint 54

#5 Updated by ipanova@redhat.com 6 months ago

  • Status changed from NEW to POST
  • Assignee set to ipanova@redhat.com
  • Priority changed from Normal to High
  • Severity changed from 2. Medium to 3. High

#6 Updated by bherring 5 months ago

  • Copied to Test #4943: ISO repo copy can lead to a duplicates in a target repo and corrupted manifest added

#7 Updated by ipanova@redhat.com 5 months ago

  • Status changed from POST to MODIFIED

#8 Updated by goalken 5 months ago

Love it, it's definitely important to know how to do this properly and efficiently, clients LOVE these. http://slitherio-o.com

#9 Updated by ttereshc 5 months ago

  • Sprint/Milestone set to 2.20.0

#10 Updated by daviddavis 5 months ago

  • Tags Pulp 2 added

#11 Updated by ttereshc 5 months ago

  • Status changed from MODIFIED to ON_QA

#12 Updated by ttereshc 4 months ago

  • Status changed from ON_QA to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF