Bug 1206726 - Errors syncing content isos locally
Summary: Errors syncing content isos locally
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.7
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: GSS_Sat6Beta_Tracker, GSS_Sat6_Tracker
TreeView+ depends on / blocked
 
Reported: 2015-03-27 21:44 UTC by Shannon Hughes
Modified: 2019-05-20 11:39 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-17 15:48:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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?


Note You need to log in before you can comment on or make changes to this bug.