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.
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.