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?