Bug 1378158

Summary: Initial capsule syncs of new repositories does not use https for syncing
Product: Red Hat Satellite Reporter: Justin Sherrill <jsherril>
Component: Foreman ProxyAssignee: Justin Sherrill <jsherril>
Status: CLOSED ERRATA QA Contact: Jitendra Yejare <jyejare>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.0CC: anerurka, bbuckingham, bkearney, jcallaha, jyejare, ldelouw, mmccune, oshtaier, pmoravec
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/16645
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:54:37 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: 1529529    
Bug Blocks:    

Description Justin Sherrill 2016-09-21 16:10:56 UTC
Description of problem:

When syncing a repository for the first time it appears that http is used for syncing rather than https.  Subsequent syncs will use https. 

This only affect repositories that are exposed via http such as kickstart or custom repositories. 


Version-Release number of selected component (if applicable):
6.2.2

How reproducible:
Always

Steps to Reproduce:
1.  Create a custom repository
2.  Tail /var/log/httpd/foreman_access.log
3.  With a capsule associated to library, sync the capsule

Actual results:

You'll see requests for this repository made to the foreman_access.log instead of the foreman-ssl_access_ssl.log


Expected results:

No requests are made via http and foreman_access.log shows no requests

Additional info:

Comment 1 Justin Sherrill 2016-09-21 16:39:29 UTC
Created redmine issue http://projects.theforeman.org/issues/16645 from this bug

Comment 3 Bryan Kearney 2016-09-27 20:18:24 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16645 has been resolved.

Comment 6 Pavel Moravec 2016-12-15 09:53:34 UTC
*** Bug 1397924 has been marked as a duplicate of this bug. ***

Comment 11 Jitendra Yejare 2017-12-28 14:32:55 UTC
The verification is blocked by bug https://bugzilla.redhat.com/show_bug.cgi?id=1529529

Comment 13 Satellite Program 2018-02-21 16:54:37 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
> > 
> > For information on the advisory, and where to find the updated files, follow the link below.
> > 
> > If the solution does not work for you, open a new bug report.
> > 
> > https://access.redhat.com/errata/RHSA-2018:0336