Why does content-view sync fail with "[Errno 2] No such file or directory" ?

Solution Verified - Updated -

Issue

  • Import content-view generates errors
hammer import content-view --csv-file /tmp/exports/CHANNELS/export.csv --dir /tmp/exports/CHANNELS --verbose --synchronize --wait
[Foreman] username: admin
[Foreman] password for admin: 
Repository Local_repository_for_epel5-test1-x86_64 is not (fully) synchronized. Retry once synchronization has completed.
Repository Local_repository_for_epel5-test2-x86_64 is not (fully) synchronized. Retry once synchronization has completed.
  • Sync status page displays error "[Errno 2] No such file or directory: u'///tmp/exports/CHANNELS/1/201/repodata/repomd.xml'"
Satellite webUI -> Content -> Sync Status
  • Missing repodata files from exported dump

Environment

  • Red Hat Satellite 5.6
  • Red Hat Satellite 6
  • Red Hat Enterprize Linux 5

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