Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Currently, if you generate a PULP_MANIFEST and sync from another location via URL, you will receive the files in the Manifest and they will become locally available on the Satellite, but if you UPDATE a file that has already been imported and regenerate the PULP_MANIFEST, then sync again, the Satellite's versions of the manifest will have a duplicate file name entry with separate sha256sums and sizes, but will not retrieve the new file (It will maintain the original in the repo).
Version-Release number of selected component (if applicable):
nightly
How reproducible:
100%
Steps to Reproduce:
1. Generate PULP_MANIFEST and sync a File repo from a http based URL
2. Make a change to a file (text file, etc..), but DO NOT change the file NAME.
3. Re-Generate the PULP_MANIFEST for the remote file repo, and then re-sync on Satellite.
Actual results:
File that was modified will have two entries on the PULP_MANIFEST inside the local Satellite copy of the repo with separate sha256sums and sizes, but identical name, and only the original copy of the file prior to editing will exist in the repo.
Expected results:
We should replace original file with the newest checksum. (Act like mirror-on-sync?)
Additional info:
Perhaps the File repo type should be able to determine the time of PULP_MANIFEST generation and make a determination about what should exist based off of that? (i.e. Include a date inside the PULP_MANIFEST on creation)
Michael,
During this test I had:
pulp-server-2.9.3-2.el7sat.noarch
Comment 5pulp-infra@redhat.com
2017-05-23 15:04:05 UTC
The Pulp upstream bug priority is at High. Updating the external tracker on this bug.
Comment 6pulp-infra@redhat.com
2017-06-19 19:31:57 UTC
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.
Comment 7pulp-infra@redhat.com
2017-06-22 19:32:06 UTC
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.
Comment 8pulp-infra@redhat.com
2017-07-03 15:04:53 UTC
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.
Comment 9pulp-infra@redhat.com
2017-07-03 15:33:45 UTC
All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST.
Comment 10pulp-infra@redhat.com
2017-07-20 17:32:20 UTC
The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug.
Comment 11pulp-infra@redhat.com
2017-07-20 18:02:05 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.
Comment 12Lukáš Hellebrandt
2017-09-26 12:49:59 UTC
FailedQA with Sat6.3, snap 17. Thanks for advice to rplevka.
As manipulating Pulp directly is not supported is Satellite, we can use the following reproducer:
1) Create Product
2) In Product, create Repo1 with empty URL
3) Upload File to Repo1
4) In Product, create Repo2 with URL=<content_url_of_repo_1> [1]
5) Sync Repo2
6) Change contents of File
7) In any of Repo1 or Repo2 (works both ways), upload File
8) Sync Repo2 again
9) In content URL of Repo2, view contents of PULP_MANIFEST file
Actual results:
Two entries with the same filename and different hash
Expected results:
Not sure... how do we decide which version of the file to keep?
[1] for example, http://<FQDN>/pulp/isos/e2f04116-1ce6-4390-a781-75d00299c57f/
Comment 13pulp-infra@redhat.com
2017-09-26 13:01:59 UTC
Requesting needsinfo from upstream developer daviddavis because the 'FailedQA' flag is set.
Comment 15pulp-infra@redhat.com
2017-09-28 19:32:20 UTC
Requesting needsinfo from upstream developer daviddavis because the 'FailedQA' flag is set.
Comment 16pulp-infra@redhat.com
2017-09-28 20:37:39 UTC
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.
Comment 17pulp-infra@redhat.com
2017-09-28 20:37:43 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.
Comment 18pulp-infra@redhat.com
2017-10-03 17:01:29 UTC
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.
Comment 19Tanya Tereshchenko
2017-10-03 21:21:08 UTC
Upstream bug is fixed and merged, moving to POST
Comment 20Lukáš Hellebrandt
2017-10-17 08:45:21 UTC
Verified with Sat6.3 snap 20.
Used reproducer from comment 12. After that, there were only the ew file's metadata and only the new file in both repositories.
Comment 21pulp-infra@redhat.com
2017-10-19 14:01:56 UTC
The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug.
Comment 22pulp-infra@redhat.com
2017-10-25 21:32:07 UTC
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.
Comment 23pulp-infra@redhat.com
2017-10-26 15:01:58 UTC
The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug.
Comment 24pulp-infra@redhat.com
2017-10-26 23:31:53 UTC
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.
Comment 25pulp-infra@redhat.com
2017-10-30 20:31:38 UTC
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.
Comment 26pulp-infra@redhat.com
2017-11-16 20:32:38 UTC
The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug.
Comment 27Satellite Program
2018-02-21 16:54:37 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
> >
> > For information on the advisory, and where to find the updated files, follow the link below.
> >
> > If the solution does not work for you, open a new bug report.
> >
> > https://access.redhat.com/errata/RHSA-2018:0336
Comment 28pulp-infra@redhat.com
2019-05-16 15:32:49 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.