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

foreman-protector plugin should not lock packages for reposync

XMLWordPrintable

    • Platform
    • 0
    • False
    • Moderate
    • None
    • None
    • None
    • None

      Description of problem:
      https://access.redhat.com/documentation/en-us/red_hat_satellite/6.12/html-single/upgrading_and_updating_red_hat_satellite/index#updating_disconnected_satellite_server

      For disconnected Satellite update we say to reposync packages locally on Satellite connected to internet using this command:

      1. reposync --delete --download-metadata -p ~/Satellite-repos -n \
        --repoid rhel-8-for-x86_64-baseos-rpms \
        --repoid rhel-8-for-x86_64-appstream-rpms \
        --repoid satellite-6.12-for-rhel-8-x86_64-rpms \
        --repoid satellite-maintenance-6.12-for-rhel-8-x86_64-rpms

      However foreman-protector locking plugin prevents to download majority of required packages, making disconnected Satellite update illusory.

      Version-Release number of selected component (if applicable):
      6.12.4

      How reproducible:
      deterministic

      Steps to Reproduce:
      1. Run documented reposync command

      1. reposync --delete --download-metadata -p ~/Satellite-repos -n \
        --repoid rhel-8-for-x86_64-baseos-rpms \
        --repoid rhel-8-for-x86_64-appstream-rpms \
        --repoid satellite-6.12-for-rhel-8-x86_64-rpms \
        --repoid satellite-maintenance-6.12-for-rhel-8-x86_64-rpms

      2. Check the size of a synced content

      1. du -sh ~/Satellite-repos
        1.5G Satellite-repos

      Actual results:
      limited content is being synced
      1.5G Satellite-repos

      Expected results:
      all content is being synced
      14G Satellite-repos

      Additional info:
      Workaround is to run reposync command with this additional option

      1. reposync --disableplugin=foreman-protector ...

          There are no Sub-Tasks for this issue.

              egolov@redhat.com Evgeni Golov
              jira-bugzilla-migration RH Bugzilla Integration
              Lukas Pramuk Lukas Pramuk
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: