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 over 2 years ago. Updated over 2 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 #1

Updated by The Foreman Bot over 2 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
Actions #2

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases Katello 4.3.0 added
Actions #3

Updated by Anonymous over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by The Foreman Bot over 2 years ago

  • Pull request https://github.com/Katello/katello/pull/9608 added
Actions #5

Updated by Samir Jha over 2 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)
Actions

Also available in: Atom PDF