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

[Pulp3] Unable to Sync RHEL Kickstart 6.5 repo when both the repo and capsule policy is set to immediate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 6.11.4
    • Pulp
    • 0
    • False
    • Hide

      None

      Show
      None
    • False
    • CLOSED
    • 900
    • Moderate
    • No

      Description of problem:

      It's not possible to sync RHEL Kickstart 6.5 repo with a 6.11 capsule if the repo was synced with an immediate sync policy and Capsule also has Immediate download policy set.

      Pulp fails to download some random packages related to HA\RS\LB related repos that aren't even part of the kickstart itself and I suspect the root cause of all this is Treeinfo file of that repo.

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

      Satellite 6.10
      Satellite 6.11

      How reproducible:

      Always

      Steps to Reproduce:

      1. Enable and sync "Red Hat Enterprise Linux 6 Server Kickstart x86_64 6.5" in Satellite server with an Immediate download policy.

      2. Add Library Lifecycle to the capsule for content syncing.

      3. Change the download policy of the capsule to Immediate

      4. Do a "skip-metadata-check" sync of that said kickstart repo on the capsule.

      Actual results:

      In Satellite, The capsule sync task fails with this error:

      404, message='Not Found', url=URL('https://satellite611.example.com/pulp/content/RedHat/Library/content/dist/rhel/server/6/6.5/x86_64/kickstart/Packages/corosynclib-1.4.1-17.el6.x86_64.rpm')

      In Pulp logs of Capsule, Some random packages were failed to download:

      Mar 19 19:46:53 capsule611 pulpcore-worker-2[892893]: Giving up download_wrapper(...) after 1 tries (aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('https://satellite611.example.com/pulp/content/RedHat/Library/content/dist/rhel/server/6/6.5/x86_64/kickstart/Packages/corosynclib-devel-1.4.1-17.el6.x86_64.rpm'))
      Mar 19 19:46:53 capsule611 pulpcore-worker-2[892893]: pulp [eba6f136-e636-4c1a-b67d-ccdf2825f41a]: backoff:ERROR: Giving up download_wrapper(...) after 1 tries (aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('https://satellite611.example.com/pulp/content/RedHat/Library/content/dist/rhel/server/6/6.5/x86_64/kickstart/Packages/corosynclib-devel-1.4.1-17.el6.x86_64.rpm'))
      Mar 19 19:46:53 capsule611 pulpcore-worker-2[892893]: Giving up download_wrapper(...) after 1 tries (aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('https://satellite611.example.com/pulp/content/RedHat/Library/content/dist/rhel/server/6/6.5/x86_64/kickstart/Packages/corosynclib-1.4.1-17.el6.x86_64.rpm'))
      Mar 19 19:46:53 capsule611 pulpcore-worker-2[892893]: pulp [eba6f136-e636-4c1a-b67d-ccdf2825f41a]: backoff:ERROR: Giving up download_wrapper(...) after 1 tries (aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('https://satellite611.example.com/pulp/content/RedHat/Library/content/dist/rhel/server/6/6.5/x86_64/kickstart/Packages/corosynclib-1.4.1-17.el6.x86_64.rpm'))
      Mar 19 19:46:53 capsule611 pulpcore-worker-2[892893]: Giving up download_wrapper(...) after 1 tries (aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('https://satellite611.example.com/pulp/content/RedHat/Library/content/dist/rhel/server/6/6.5/x86_64/kickstart/Packages/python-repoze-what-quickstart-1.0.1-1.el6.noarch.rpm'))
      Mar 19 19:46:53 capsule611 pulpcore-worker-2[892893]: pulp [eba6f136-e636-4c1a-b67d-ccdf2825f41a]: backoff:ERROR: Giving up download_wrapper(...) after 1 tries (aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('https://satellite611.example.com/pulp/content/RedHat/Library/content/dist/rhel/server/6/6.5/x86_64/kickstart/Packages/python-repoze-what-quickstart-1.0.1-1.el6.noarch.rpm'))
      Mar 19 19:46:53 capsule611 pulpcore-worker-2[892893]: Giving up download_wrapper(...) after 1 tries (aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('https://satellite611.example.com/pulp/content/RedHat/Library/content/dist/rhel/server/6/6.5/x86_64/kickstart/Packages/libtool-ltdl-devel-2.2.6-15.5.el6.x86_64.rpm'))
      Mar 19 19:46:53 capsule611 pulpcore-worker-2[892893]: pulp [eba6f136-e636-4c1a-b67d-ccdf2825f41a]: backoff:ERROR: Giving up download_wrapper(...) after 1 tries (aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('https://satellite611.example.com/pulp/content/RedHat/Library/content/dist/rhel/server/6/6.5/x86_64/kickstart/Packages/libtool-ltdl-devel-2.2.6-15.5.el6.x86_64.rpm'))
      Mar 19 19:46:53 capsule611 pulpcore-worker-2[892893]: Giving up download_wrapper(...) after 1 tries (aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('https://satellite611.example.com/pulp/content/RedHat/Library/content/dist/rhel/server/6/6.5/x86_64/kickstart/Packages/libtool-ltdl-devel-2.2.6-15.5.el6.i686.rpm'))
      Mar 19 19:46:53 capsule611 pulpcore-worker-2[892893]: pulp [eba6f136-e636-4c1a-b67d-ccdf2825f41a]: backoff:ERROR: Giving up download_wrapper(...) after 1 tries (aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('https://satellite611.example.com/pulp/content/RedHat/Library/content/dist/rhel/server/6/6.5/x86_64/kickstart/Packages/libtool-ltdl-devel-2.2.6-15.5.el6.i686.rpm'))
      Mar 19 19:46:53 capsule611 pulpcore-worker-2[892893]: pulp [eba6f136-e636-4c1a-b67d-ccdf2825f41a]: pulpcore.tasking.pulpcore_worker:INFO: Task db345a6a-0570-4a64-adec-863104469649 failed (404, message='Not Found', url=URL('https://satellite611.example.com/pulp/content/RedHat/Library/content/dist/rhel/server/6/6.5/x86_64/kickstart/Packages/corosynclib-1.4.1-17.el6.x86_64.rpm'))

      Expected results:

      No such errors even if it's an older version of kickstart repo.

      Additional info:

      • For Some reason, in Satellite 6.10, We can't even sync the exact same repo with Immediate download policy. It fails to download random packages from cdn.

      But I did not see that issue in 6.11. So reproduced the capsule sync issue on 6.11 only.

      • This is not reproducible in Satellite\Capsule 6.9 ( running with Pulp 2 )

            jira-bugzilla-migration RH Bugzilla Integration
            jira-bugzilla-migration RH Bugzilla Integration
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: