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 1206726

Summary: Errors syncing content isos locally
Product: Red Hat Satellite Reporter: Shannon Hughes <shughes>
Component: WebUIAssignee: Katello Bug Bin <katello-bugs>
WebUI sub component: Katello QA Contact: Katello QA List <katello-qa-list>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: high    
Priority: unspecified CC: bkearney
Version: 6.0.7   
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-17 15:48:25 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:
Bug Depends On:    
Bug Blocks: 1115190    

Description Shannon Hughes 2015-03-27 21:44:39 UTC
Description of problem:

Ran across a couple issues trying to sync content isos locally and following the docs, 

https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/6.0/html/User_Guide/Importing_Content_to_the_Disconnected_Satellite_Server.html

the docs suggest using http://localhost/content by unrolling isos into /var/www/html

my results were the directory was not available to apache after setting correct selinux context as well as group/owner. looking at the conf.d there might be other conf files stepping on top of the standard /var/www/html DocumentRoot 

Moving the content isos to /var/www/html/pub worked but had another issue. When syncing is appears the content iso was missing a listing file. Not sure if this is a issue with the sat6 parsing logic or a build error with the actual iso


Processing by Katello::ProductsController#available_repositories as */*
  Parameters: {"content_id"=>"2472", "_"=>"1427491926402", "id"=>"109"}
CDN loading error: http://localhost:80/pub/content/dist/rhel/server/7/listing not found
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/providers/redhat/_repos.html.haml (164.7ms)
Completed 200 OK in 2595ms (Views: 165.6ms | ActiveRecord: 25.2ms)

Comment 1 RHEL Program Management 2015-03-27 22:03:21 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Shannon Hughes 2015-03-28 13:50:14 UTC
locations on iso where listing files are located:

[root@satellite mnt]# find . -type f | grep listing
./content/dist/rhel/server/7/7Server/x86_64/extras/listing
./content/dist/rhel/server/7/7Server/x86_64/rh-common/listing

Comment 4 Bryan Kearney 2015-04-17 15:48:25 UTC
Shannon, we believe the isos missing listing files has been fixed. Can you please re-open if you are still seeing this?