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:

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