Bug #33495
closedSelected yum metadata checksum type on is not reflected in repomd.xml on a repo creation
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2001052
Description of problem:
Selected yum metadata checksum type on is not reflected in repomd.xml on a repo creation and sync. The upstream repo's checksum type is used instead, regardless the Mirror on sync settings.
Version-Release number of selected component (if applicable):
Katello 4.1
How reproducible:
always
Steps to Reproduce:
1. Create new Product and Repository with these options:
- Type: yum
- Upstream URL: https://fixtures.pulpproject.org/rpm-with-sha-512/ (for example)
- Download Policy: Immediate
- Mirror on Sync: No (uncheck)
- Checksum: sha1 (for example, or just other type than the upstream repo has)
(other options stays default)
2. Sync the repo
3. Check the repomd.xml at <Published_At>/repodata/repomd.xml
Actual results:
It has the same checksum type as the upstream repo, not the one we selected during repo creation.
Expected results:
Same checksum type as selected.
Additional info:
This worked fine on Pulp 2.
Updated by The Foreman Bot about 3 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ian Ballou
- Pull request https://github.com/Katello/katello/pull/9641 added
Updated by The Foreman Bot about 3 years ago
- Fixed in Releases Katello 4.3.0 added
Updated by Anonymous about 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|d2ea31348c420314246e45b820cd88f040502120.
Updated by The Foreman Bot about 3 years ago
- Pull request https://github.com/Katello/katello/pull/9608 added
Updated by Samir Jha about 3 years ago
- Subject changed from Selected yum metadata checksum type on is not reflected in repomd.xml on a repo creation to Selected yum metadata checksum type on is not reflected in repomd.xml on a repo creation
- Target version set to Katello 4.3.0
- Triaged changed from No to Yes
- Pull request deleted (
https://github.com/Katello/katello/pull/9608)