Project

General

Profile

Actions

Bug #10387

closed

CertificateVerificationException on Capsule attempting to sync content from Satellite 6.1 server

Added by Justin Sherrill over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Foreman Proxy Content
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1218390
Description of problem:
Capsule can not sync content from Satellite 6.1. Error Message in /var/log/messages on capsule

Version-Release number of selected component (if applicable):
Satellite 6.1 GA Snap 2 on RHEL 7.1

How reproducible:
Perf system + QE System was able to reproduce

Steps to Reproduce:
1. Add life-cycle environment to capsule
2. Attempt to sync content to capsule
3.

Actual results:
capsule sync hammer command fails

/var/log/messages on capsule:
May 4 11:48:39 capsule-r7-001 goferd: [INFO][worker-0] gofer.rmi.dispatcher:600 - call: Content.update() sn=d0bdd1d7-5479-4fc3-9a16-14de8aa0f09d data={'task_id': '8799ddad-51f5-407e-b891-fe8d84e79948', 'consumer_id': 'f5e7ec38-4d71-4a99-8b07-02a8abc45d46'}
May 4 11:48:40 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.strategies:129 - synchronization failed
May 4 11:48:40 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.strategies:129 - Traceback (most recent call last):
May 4 11:48:40 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.strategies:129 - File "/usr/lib/python2.7/site-packages/pulp_node/handlers/strategies.py", line 116, in synchronize
May 4 11:48:40 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.strategies:129 - validator.validate(request.bindings)
May 4 11:48:40 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.strategies:129 - File "/usr/lib/python2.7/site-packages/pulp_node/handlers/validation.py", line 54, in validate
May 4 11:48:40 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.strategies:129 - self.report.errors.extend(self._validate_plugins(bindings))
May 4 11:48:40 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.strategies:129 - File "/usr/lib/python2.7/site-packages/pulp_node/handlers/validation.py", line 70, in _validate_plugins
May 4 11:48:40 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.strategies:129 - child = ChildServer()
May 4 11:48:40 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.strategies:129 - File "/usr/lib/python2.7/site-packages/pulp_node/handlers/validation.py", line 88, in init
May 4 11:48:40 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.strategies:129 - self.importers = self._importers()
May 4 11:48:40 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.strategies:129 - File "/usr/lib/python2.7/site-packages/pulp_node/handlers/validation.py", line 99, in _importers
May 4 11:48:40 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.strategies:129 - http = bindings.server_info.get_importers()
May 4 11:48:40 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.strategies:129 - File "/usr/lib/python2.7/site-packages/pulp/bindings/server_info.py", line 44, in get_importers
May 4 11:48:40 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.strategies:129 - return self.server.GET
May 4 11:48:40 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.strategies:129 - File "/usr/lib/python2.7/site-packages/pulp/bindings/server.py", line 92, in GET
May 4 11:48:40 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.strategies:129 - return self._request('GET', path, queries)
May 4 11:48:40 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.strategies:129 - File "/usr/lib/python2.7/site-packages/pulp/bindings/server.py", line 142, in _request
May 4 11:48:40 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.strategies:129 - response_code, response_body = self.server_wrapper.request(method, url, body)
May 4 11:48:40 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.strategies:129 - File "/usr/lib/python2.7/site-packages/pulp/bindings/server.py", line 330, in request
May 4 11:48:40 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.strategies:129 - raise exceptions.CertificateVerificationException()
May 4 11:48:40 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.strategies:129 - CertificateVerificationException
May 4 11:48:41 capsule-r7-001 goferd: [ERROR][worker-0] pulp_node.handlers.handler:111 - An unexpected error occurred. repo_id=None

Expected results:
Content to sync.

Additional info:

This is with the workaround from BZ 1217828

Actions

Also available in: Atom PDF