Project

General

Profile

Bug #33495

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

Added by Ian Ballou 8 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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.

Associated revisions

Revision d2ea3134 (diff)
Added by Ian Ballou 8 months ago

Fixes #33495 - yum metadata checksum not correct in Pulp (#9641)

History

#1 Updated by The Foreman Bot 8 months ago

  • Assignee set to Ian Ballou
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9641 added

#2 Updated by The Foreman Bot 8 months ago

  • Fixed in Releases Katello 4.3.0 added

#3 Updated by Anonymous 8 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by The Foreman Bot 8 months ago

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

#5 Updated by Samir Jha 8 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.3.0
  • 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
  • Pull request deleted (https://github.com/Katello/katello/pull/9608)

Also available in: Atom PDF