Project

General

Profile

Actions

Bug #36453

closed

Prevent regenerating metadata for repositories that use complete mirroring

Added by Samir Jha about 1 year ago. Updated 12 months ago.

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

Description

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

Description of problem:

See discussion in https://bugzilla.redhat.com/show_bug.cgi?id=2184278

Regenerating repository metadata is dangerous for repositories that use the 'mirror_complete' mirroring policy because it will generate metadata locally, which means your repository is no longer completely mirrored.

The previous BZ addresses this in the web UI. However, you can still regenerate repository metadata for 'mirror_complete' repositories using the API or Hammer. We need to harden the backend code to

1. Refuse to do this for repositories that use complete mirroring
2. When regenerating metadata for CV version repositories, skip repos that use complete mirroring.

Actions #1

Updated by The Foreman Bot about 1 year ago

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

Updated by Ian Ballou about 1 year ago

  • Target version set to Katello 4.9.0
  • Subject changed from Prevent regenerating metadata for repositories that use complete mirroring to Prevent regenerating metadata for repositories that use complete mirroring
  • Triaged changed from No to Yes
Actions #3

Updated by The Foreman Bot about 1 year ago

  • Fixed in Releases Katello 4.10.0 added
Actions #4

Updated by Samir Jha about 1 year ago

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

Updated by The Foreman Bot 12 months ago

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

Also available in: Atom PDF