Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1369304

Summary: Disconnected Satellite sync from content export errors with "Error: RPM1004: Error retrieving metadata: Not found"
Product: Red Hat Satellite Reporter: Taft Sanders <tasander>
Component: Docs Content Management GuideAssignee: Stephen Wadeley <swadeley>
Status: CLOSED CURRENTRELEASE QA Contact: Brandi Munilla <bmcelvee>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.2.0CC: adahms, bbuckingham, bkearney, cduryee, jfoots, tasander
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-30 07:34:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Taft Sanders 2016-08-23 05:16:40 UTC
Description of problem:
After using the methods outlined in https://access.redhat.com/documentation/en/red-hat-satellite/6.2/single/content-management-guide#exporting_content to export content from a connected Satellite

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

How reproducible:
everytime

Steps to Reproduce:
1.Export content from connected Satellite to disconnected satellite via export-to-iso
2.mount and copy iso to content directory on satellite
3.sync repository

Actual results:
Error: RPM1004: Error retrieving metadata: Not found

Expected results:
sync complete

Additional info:

Comment 2 Taft Sanders 2016-08-23 11:52:47 UTC
Found the following error when trying to sync:

2016-08-23 07:38:42 [app] [E] CDN loading error: http://disconnected.usersys.redhat.com:80/pub/sat-import/content/dist/rhel/server/7/listing not found

Exploded content shows:
/var/www/html/pub/sat-import/<ORG NAME>/<LIFECYCLE NAME>/content/dist/rhel/server/7/

Moved content and sub directories to /var/www/html/pub/sat-import/

Sync started with no errors

Comment 6 Bryan Kearney 2016-08-23 21:16:21 UTC
Taft, there is a symbolic link step in 

https://access.redhat.com/documentation/en/red-hat-satellite/6.2/single/content-management-guide#exporting_content

Was that step done in this case?

Comment 7 Taft Sanders 2016-08-23 23:26:31 UTC
Hey Bryan,

No the symbolic link was not created because content views were not copied over. Only the repository was copied over. Perhaps if a content view was copied over in the same manner, the symbolic link would have resolved this issue.

Comment 12 Chris Roberts 2016-09-21 22:35:14 UTC
*** Bug 1376947 has been marked as a duplicate of this bug. ***

Comment 13 Andrew Dahms 2016-09-29 05:27:38 UTC
Assigning to Stephen for review.

Comment 16 Stephen Wadeley 2016-09-30 07:34:18 UTC
Hello


This change is now live on the customer portal

https://access.redhat.com/documentation/en/red-hat-satellite/6.2/single/content-management-guide#configuring_an_export_directory

Thank you