Project

General

Profile

Bug #27394

checksum-type does not updated on already synced repository at Satellite Capsule.

Added by Samir Jha 3 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1732066

++ This bug was initially created as a clone of Bug #1664288 ++

++ This bug was initially created as a clone of Bug #1288656 ++

Description of problem:

If the checksum-type for a custom repository is changed on the Satellite, the repodata on the Satellite server works as expected, however the content synced to the Capsule does not get updated. The only way to get it updated, is to create a new content view and sync to the capsule.
Note: that creating a new version and promoting does not work. Must be a complete new content view.

Version-Release number of selected component (if applicable):
Satellite 6.6 Snap 12

How reproducible:
100%

Steps to Reproduce:
1. Create a product and repository with sha256
2. Add this a lifecycle environment related to a capsule and sync it
3. Use pulp-admin or check the repodata created on the capsule and it will be using sha1256
4. Modify the repository to use sha1 and create a new version for the content view
5. Sync and check the repodata. On the Satellite server, repodata now will have sha1 however the capsule still has sha256

Actual results:

Capsule still has sha256

Expected results:

The capsule must reflect the configuration on the Satellite server

QE Test: https://github.com/SatelliteQE/robottelo/blob/master/tests/foreman/api/test_contentmanagement.py#L277

Associated revisions

Revision eabe6d86 (diff)
Added by sjha4 2 months ago

Fixes #27394 - Match checksum type in content_changed

History

#1 Updated by The Foreman Bot 3 months ago

  • Assignee set to Samir Jha
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8231 added

#2 Updated by John Mitsch 3 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.13.0

#3 Updated by The Foreman Bot 2 months ago

  • Fixed in Releases Katello 3.14.0 added

#4 Updated by Anonymous 2 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF