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.
Bug 1995233 - Sync the repo (url ftp.redhat.com/redhat/convert2rhel/7/os) to test convert2rhel fails withfailed validation due to checksum.
Summary: Sync the repo (url ftp.redhat.com/redhat/convert2rhel/7/os) to test convert2r...
Keywords:
Status: CLOSED DUPLICATE of bug 1991992
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.10.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.10.0
Assignee: satellite6-bugs
QA Contact: Lai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-18 16:30 UTC by Rafael Cavalcanti
Modified: 2021-08-19 19:48 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-19 19:35:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Rafael Cavalcanti 2021-08-18 16:30:44 UTC
Description of problem:
Syncing the repository to test convert2rhel process, we get this:
---
A file located at the url https://ftp.redhat.com/redhat/convert2rhel/7/os/repodata/842112544c39a31f7481ca043705a424d6f2e50cd589f56ba33999d1e81da2a7-primary.xml.gz failed validation due to checksum.
---


Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Go to Content -> Products, create convert2rhel CentOS 7 
2. Click New Repository button, call it e.g. main and select content type yum. 
   Do not restrict the release. As the upstream URL, use 
   https://ftp.redhat.com/redhat/convert2rhel/7/os 
   Click the checkbox next to main, then click the Sync Now button


Actual results:
Sync task fails with:
---
A file located at the url https://ftp.redhat.com/redhat/convert2rhel/7/os/repodata/842112544c39a31f7481ca043705a424d6f2e50cd589f56ba33999d1e81da2a7-primary.xml.gz failed validation due to checksum.
---


Expected results:

Expect the sync to work.

Additional info:

Comment 1 Sayan Das 2021-08-19 11:52:25 UTC
For me it failed with:

A file located at the url https://ftp.redhat.com/redhat/convert2rhel/7/os/repodata/28ffc65b7ccaf7f8bdc280e0e0a3055950f51ff38517bf2fbdf44ca301363d5e-filelists.xml.gz failed validation due to checksum.

And backend traceback:

Aug 19 17:17:49 satellite pulpcore-worker-4: pulp [325ea7d7-573d-4fc4-99cf-6f624648c56e]: pulpcore.tasking.pulpcore_worker:INFO:   File "/usr/lib/python3.6/site-packages/pulpcore/tasking/pulpcore_worker.py", line 272, in _perform_task
Aug 19 17:17:49 satellite pulpcore-worker-4: result = func(*args, **kwargs)
Aug 19 17:17:49 satellite pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 443, in synchronize
Aug 19 17:17:49 satellite pulpcore-worker-4: version = dv.create()
Aug 19 17:17:49 satellite pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/declarative_version.py", line 151, in create
Aug 19 17:17:49 satellite pulpcore-worker-4: loop.run_until_complete(pipeline)
Aug 19 17:17:49 satellite pulpcore-worker-4: File "/usr/lib64/python3.6/asyncio/base_events.py", line 484, in run_until_complete
Aug 19 17:17:49 satellite pulpcore-worker-4: return future.result()
Aug 19 17:17:49 satellite pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/api.py", line 225, in create_pipeline
Aug 19 17:17:49 satellite pulpcore-worker-4: await asyncio.gather(*futures)
Aug 19 17:17:49 satellite pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/api.py", line 43, in __call__
Aug 19 17:17:49 satellite pulpcore-worker-4: await self.run()
Aug 19 17:17:49 satellite pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 675, in run
Aug 19 17:17:49 satellite pulpcore-worker-4: name, location_href, result = await future
Aug 19 17:17:49 satellite pulpcore-worker-4: File "/usr/lib64/python3.6/asyncio/tasks.py", line 458, in _wait_for_one
Aug 19 17:17:49 satellite pulpcore-worker-4: return f.result()  # May raise f.exception().
Aug 19 17:17:49 satellite pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 647, in run_repomdrecord_download
Aug 19 17:17:49 satellite pulpcore-worker-4: result = await downloader.run()
Aug 19 17:17:49 satellite pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/pulpcore/download/http.py", line 258, in run
Aug 19 17:17:49 satellite pulpcore-worker-4: return await download_wrapper()
Aug 19 17:17:49 satellite pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/backoff/_async.py", line 133, in retry
Aug 19 17:17:49 satellite pulpcore-worker-4: ret = await target(*args, **kwargs)
Aug 19 17:17:49 satellite pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/pulpcore/download/http.py", line 256, in download_wrapper
Aug 19 17:17:49 satellite pulpcore-worker-4: return await self._run(extra_data=extra_data)
Aug 19 17:17:49 satellite pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/pulp_rpm/app/downloaders.py", line 98, in _run
Aug 19 17:17:49 satellite pulpcore-worker-4: to_return = await self._handle_response(response)
Aug 19 17:17:49 satellite pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/pulpcore/download/http.py", line 212, in _handle_response
Aug 19 17:17:49 satellite pulpcore-worker-4: await self.finalize()
Aug 19 17:17:49 satellite pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/pulpcore/download/base.py", line 162, in finalize
Aug 19 17:17:49 satellite pulpcore-worker-4: self.validate_digests()
Aug 19 17:17:49 satellite pulpcore-worker-4: File "/usr/lib/python3.6/site-packages/pulpcore/download/base.py", line 212, in validate_digests
Aug 19 17:17:49 satellite pulpcore-worker-4: raise DigestValidationError(self.url)

Comment 3 Tanya Tereshchenko 2021-08-19 19:35:21 UTC

*** This bug has been marked as a duplicate of bug 1991992 ***


Note You need to log in before you can comment on or make changes to this bug.