Bug 1170489

Summary: Customer Portal ISO Downloads : Unable to enable the redhat repository . missing checkbox
Product: Red Hat Satellite Reporter: Tazim Kolhar <tkolhar>
Component: relengAssignee: Daniel Mach <dmach>
Status: CLOSED CURRENTRELEASE QA Contact: Tazim Kolhar <tkolhar>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.4CC: bkearney, cwelton, dgregor, mhrivnak, mmccune, xdmoon
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 13:56:42 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    
Attachments:
Description Flags
enable repo : missing checkbox
none
repo enabled none

Description Tazim Kolhar 2014-12-04 06:40:58 UTC
Created attachment 964452 [details]
enable repo : missing checkbox

Description of problem:
 Unable to enable the redhat repository . missing checkbox

Version-Release number of selected component (if applicable):
# rpm -q foreman
foreman-1.6.0.49-1.el7sat.noarch


How reproducible:
everytime

Steps to Reproduce:

1.Download the ISO from the Customer Portal to the local Satellite
 file system

2.Mount the ISO to a directory accessible to the Satellite

3. Change the CDN URL to the mounted ISOs directory
 (file:///path/to/mount)

4. Upload manifest

5. Enable repositories on the Red Hat Repositories page



Actual results:
Enable repositories fails
checkbox missing
Screen shot attached 

Expected results:
Enable and sync repo works as expected

Additional info:

Comment 1 RHEL Program Management 2014-12-04 06:43:39 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 Mike McCune 2014-12-04 17:23:09 UTC
Two things:

1) Using a file:/// based URL to mount the ISO has the requirement that the entire path needs to be readable by Apache and most ISOs mounted as root will not be able to be read by the Apache process.  This requires the steps similar to the below:

# mkdir /var/www/html/pub/iso
# mount -o loop sat-6-isos--rhel-6-server-x86_64-2014-11-10T11.30-08.iso /var/www/html/pub/iso/

Now you can browse the mounted ISO via:

* http://satellite.example.com/pub/iso/content/

Change your CDN URL to:

*  http://satellite.example.com.com/pub/iso

Once you do that you can get a bit further in the UI but will get errors trying to enable the repositories.

2) The bug is that the ISOs don't appear to contain the listing files which are required for the Satellite to properly parse the content.  We need to work with whoever owns generation of these ISOs to ensure they contain the listing files similar to the CDN itself.

Comment 4 Bryan Kearney 2014-12-05 16:30:43 UTC
Dennis, can you see comment 2 from this bug I believe that is on your side.

Comment 7 Michael Hrivnak 2014-12-18 18:40:38 UTC
I just tested this with pulp 2.5.1, and it does create listing files in ISO exports of yum repositories.

Comment 8 Bryan Kearney 2015-05-11 21:31:40 UTC
I believe this has been addressed.  I am moving this back to ON_QA to verify.

Comment 9 Tazim Kolhar 2015-05-26 11:01:11 UTC
VERIFIED:
# rpm -qa  |grep foreman
foreman-1.7.2.24-1.el7sat.noarch
ruby193-rubygem-foreman-tasks-0.6.12.5-1.el7sat.noarch
foreman-libvirt-1.7.2.24-1.el7sat.noarch
ruby193-rubygem-foreman_gutterball-0.0.1.9-1.el7sat.noarch
hp-sl2x170zg6-02.rhts.eng.bos.redhat.com-foreman-client-1.0-1.noarch
hp-sl2x170zg6-02.rhts.eng.bos.redhat.com-foreman-proxy-client-1.0-1.noarch
foreman-gce-1.7.2.24-1.el7sat.noarch
rubygem-hammer_cli_foreman-0.1.4.11-1.el7sat.noarch
foreman-selinux-1.7.2.13-1.el7sat.noarch
foreman-ovirt-1.7.2.24-1.el7sat.noarch
ruby193-rubygem-foreman-redhat_access-0.1.0-1.el7sat.noarch
rubygem-hammer_cli_foreman_tasks-0.0.3.4-1.el7sat.noarch
foreman-postgresql-1.7.2.24-1.el7sat.noarch
foreman-debug-1.7.2.24-1.el7sat.noarch
foreman-vmware-1.7.2.24-1.el7sat.noarch
ruby193-rubygem-foreman_hooks-0.3.7-2.el7sat.noarch
rubygem-hammer_cli_foreman_bootdisk-0.1.2.7-1.el7sat.noarch
rubygem-hammer_cli_foreman_docker-0.0.3.6-1.el7sat.noarch
foreman-proxy-1.7.2.4-1.el7sat.noarch
ruby193-rubygem-foreman_bootdisk-4.0.2.13-1.el7sat.noarch
hp-sl2x170zg6-02.rhts.eng.bos.redhat.com-foreman-proxy-1.0-2.noarch
ruby193-rubygem-foreman_docker-1.2.0.14-1.el7sat.noarch
rubygem-hammer_cli_foreman_discovery-0.0.1.10-1.el7sat.noarch
foreman-compute-1.7.2.24-1.el7sat.noarch
ruby193-rubygem-foreman_discovery-2.0.0.14-1.el7sat.noarch

steps:
1.Download the ISO from the Customer Portal to the local Satellite
 file system
2.Mount the ISO to a directory accessible to the Satellite
3. Change your CDN URL to:
*  http://satellite.example.com.com/pub/sat-import/
4. Upload manifest
5. Enable repositories on the Red Hat Repositories page

screenshot attached

Comment 10 Tazim Kolhar 2015-05-26 11:02:23 UTC
Created attachment 1029857 [details]
repo enabled

Comment 12 Bryan Kearney 2015-08-11 13:30:32 UTC
This bug is slated to be released with Satellite 6.1.

Comment 13 Bryan Kearney 2015-08-12 13:56:42 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.