Hide Forgot
Description of problem: When you run hammer> repository export --id 4 --export-to-iso yes [........................... ] [37%] [.........................................................................] [100%] The resulting ISOs will not import into a disconnected satellite. It errors out with "Error: RPM1004: Error retrieving metadata: Not found" Version-Release number of selected component (if applicable): How reproducible: Very Steps to Reproduce: 1. hammer> repository export --id 4 --export-to-iso yes 2. move to disconnected satellite 3 mkdir -p /var/www/html/pub/sat-import/ 4 mkdir /mnt/iso 5 mount -o loop Default-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_7_Server_Kickstart_x86_64_7_0-2016-09-14T17.30-01.iso /mnt/iso 6 cp -ruv /mnt/iso/* /var/www/html/pub/sat-import/ 7 umount /mnt/iso 8 mount -o loop Default-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_7_Server_Kickstart_x86_64_7_0-2016-09-14T17.30-02.iso /mnt/iso 9 cp -ruv /mnt/iso/* /var/www/html/pub/sat-import/ 10 umount /mnt/iso 11 rmdir /mnt/iso/ 12 restorecon -rv /var/www/html/pub/sat-import/ 13 changed the cdn url to http://<hostname>/pub/sat-import/ 14 sync repository Actual results: "Error: RPM1004: Error retrieving metadata: Not found" Expected results: Sync to complete successfully. Additional info: The RCA is the placement of the content/ dir and listing file. To remedy: 1 cd /var/www/html/pub/sat-import/Default/Library/ 2 ls 3 mv content/ /var/www/html/pub/sat-import/ 4 mv listing /var/www/html/pub/sat-import/ The will complete successfully after this.
*** This bug has been marked as a duplicate of bug 1369304 ***