Project

General

Profile

Actions

Bug #27394

closed

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

Added by Samir Jha over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
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

Actions

Also available in: Atom PDF