[Satellite 5] - cdn-sync fails to import the comps file from a repository

Solution Verified - Updated -

Issue

  • cdn-sync fails to import the comps file from a repository
[root@host-8-242-237 satellite]# cdn-sync -m sat-import/ -c rhn-tools-rhel-x86_64-server-7
04:07:16 ======================================
04:07:16 | Channel: rhn-tools-rhel-x86_64-server-7
04:07:16 ======================================
04:07:16 Sync of channel started.
04:07:16 
04:07:16   Processing repository with URL: file:///var/satellite/sat-import/content/dist/rhel/server/7/7Server/x86_64/rhn-tools/os
04:07:16     Packages in repo:               136
04:07:16     No new packages to sync.
04:07:16 
04:07:16   Importing comps file cb329cadcd7701d5b4f752e6ef8fbe7fe2bbc3a74b971d47c3ab3682c5e67121-comps.xml.
04:07:16 ERROR: [Errno 2] No such file or directory: '/var/satellite/rhn/comps/rhn-tools-rhel-x86_64-server-7/cb329cadcd7701d5b4f752e6ef8fbe7fe2bbc3a74b971d47c3ab3682c5e67121-comps.xml'
04:07:16 Sync of channel completed in 0:00:00.
04:07:16 Total time: 0:00:00
Problems occurred during syncing channel rhn-tools-rhel-x86_64-server-7. Please check /var/log/rhn/cdnsync/rhn-tools-rhel-x86_64-server-7.log for the details

Environment

  • Red Hat Satellite 5.8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content