Project

General

Profile

Actions

Bug #33495

closed

Selected yum metadata checksum type on is not reflected in repomd.xml on a repo creation

Added by Ian Ballou about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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.

Actions

Also available in: Atom PDF