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 1321084

Summary: Syncing capsule causes SSL errors
Product: Red Hat Satellite Reporter: John Mitsch <jomitsch>
Component: Foreman ProxyAssignee: John Mitsch <jomitsch>
Status: CLOSED ERRATA QA Contact: Kedar Bidarkar <kbidarka>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, ehelms, kbidarka, omaciel
Target Milestone: UnspecifiedKeywords: PrioBumpQA, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14359
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 09:28:45 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: 1321137    
Bug Blocks:    
Attachments:
Description Flags
capsule /var/log/messages none

Description John Mitsch 2016-03-24 15:54:16 UTC
Description of problem:
Syncing or communicating with pulp on a capsule throws SSL errors shown here http://fpaste.org/344676/14588347/


Steps to Reproduce:
1.Install a capsule
2.Sync the capsule

Actual results:
Not able to sync the capsule


Expected results:
Can sync and communicate with the capsule fine

Additional info:
The fix can be found here https://gist.github.com/johnpmitsch/3bf490e781156cc9c84a

Comment 1 John Mitsch 2016-03-24 18:37:05 UTC
in /var/log/messages on capsule

Mar 24 13:44:01 sat-r220-05 pulp: pulp.server.controllers.repository:ERROR: (15901-67168) Exception adding distributor to repo [Default_Organization-dev-Capsule-Test-zoo-zoo]; the repo will be deleted

I will attach the full error

Comment 2 John Mitsch 2016-03-24 18:37:43 UTC
Created attachment 1140097 [details]
capsule /var/log/messages

Comment 4 John Mitsch 2016-03-28 12:31:57 UTC
Created redmine issue http://projects.theforeman.org/issues/14359 from this bug

Comment 5 Bryan Kearney 2016-03-28 22:06:06 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14359 has been closed
-------------
John Mitsch
Applied in changeset commit:puppet-capsule|54daeac19cf59da34b7cab6d6e54770b68b8dd2d.

Comment 9 Kedar Bidarkar 2016-04-14 14:46:12 UTC
VERIFIED with sat62-snap7.1 

There were no SSL Errors seen with capsule syncs.

Comment 11 errata-xmlrpc 2016-07-27 09:28:45 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/RHBA-2016:1501