Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-17848

Prevent regenerating metadata for repositories that use complete mirroring

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • 6.14.0
    • 6.12.0
    • Repositories
    • Sprint 117, Sprint 118, Sprint 119, Sprint 120, Sprint 121, Sprint 122, Sprint 123, Sprint 124, Sprint 125
    • Moderate

      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.

            rhn-engineering-sajha Samir Jha
            jira-bugzilla-migration RH Bugzilla Integration
            Partha Aji Partha Aji
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: