[Pulp-list] Pulp 2.4 RHEL 7 child node sync fails

johan petersson j.petersson at gmail.com
Mon Sep 15 09:11:19 UTC 2014


Hi,

I can't seem to get sync to a child node to work.
It is a new fresh installation - no upgrade.
I followed all the instructions for Pulp Server and Consumer installation
and that part works.
However when using the instructions here for the node configuration:
http://pulp-user-guide.readthedocs.org/en/latest/nodes.html
http://pulp-user-guide.readthedocs.org/en/latest/nodes.html

Node synchronization fails with the following error message: -01: An
unexpected error occurred. repo_id=None

I have set oauth in both server.conf and nodes.conf correctly, using
default certs everywhere and have set verify_ssl: False.

I have even tried new installation on new Vm's but get the same result.

Here is some info from the log:

Sep 15 10:42:05 repo pulp:
pulp.server.webservices.middleware.exception:ERROR:   File
"/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/decorators.py",
line 192, in _auth_decorator

Sep 15 10:42:05 repo pulp:
pulp.server.webservices.middleware.exception:ERROR:     userid, is_consumer
= authenticate_user()

Sep 15 10:42:05 repo pulp:
pulp.server.webservices.middleware.exception:ERROR:   File
"/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/decorators.py",
line 111, in oauth_authentication

Sep 15 10:42:05 repo pulp:
pulp.server.webservices.middleware.exception:ERROR:     raise
AuthenticationFailed(auth_utils.CODE_INVALID_SSL_CERT)

Sep 15 10:42:05 repo pulp:
pulp.server.webservices.middleware.exception:ERROR: AuthenticationFailed:
Pulp exception occurred: AuthenticationFailed

Sep 15 10:42:05 repo goferd: [ERROR][worker-0]
pulp_node.handlers.strategies:129 - synchronization failed

Sep 15 10:42:05 repo goferd: [ERROR][worker-0]
pulp_node.handlers.strategies:129 - Traceback (most recent call last): File
"/usr/lib/python2.7/site-packages/pulp_node/handlers/strategies.py", line
116, in synchronize validator.validate(request.bindings) File
"/usr/lib/python2.7/site-packages/pulp_node/handlers/validation.py", line
54, in validate self.report.errors.extend(self._validate_plugins(bindings))
File "/usr/lib/python2.7/site-packages/pulp_node/handlers/validation.py",
line 70, in _validate_plugins child = ChildServer() File
"/usr/lib/python2.7/site-packages/pulp_node/handlers/validation.py", line
88, in __init__ self.importers = self._importers() File
"/usr/lib/python2.7/site-packages/pulp_node/handlers/validation.py", line
99, in _importers http = bindings.server_info.get_importers() File
"/usr/lib/python2.7/site-packages/pulp/bindings/server_info.py", line 43,
in get_importers return self.server.GET(path) File
"/usr/lib/python2.7/site-packages/pulp/bindings/server.py", line 93, in GET
return self._request('GET', path, queries) File
"/usr/lib/python2.7/site-packages/pulp/bindings/server.py", line 151, in
_request self._handle_exceptions(response_code, response_body) File
"/usr/lib/python2.7/site-packages/pulp/bindings/server.py", line 192, in
_handle_exceptions raise code_class_mappings[response_code](response_body)
PermissionsException: RequestException: GET request on
/pulp/api/v2/plugins/importers/ failed with 401 - Pulp exception occurred:
AuthenticationFailed

Sep 15 10:42:05 repo goferd: [ERROR][worker-0]
pulp_node.handlers.handler:111 - An unexpected error occurred.  repo_id=None

Sep 15 10:42:05 repo goferd: [INFO][worker-0] gofer.agent.rmi:149 -
sn=7b3315f2-ec18-4ced-be8b-2d714ae0b73b processed in: 114 (ms)


It seems clear that it is a certificate error but i use verify_ssl: False


I have also tried: pulp-consumer update --keys and restarted httpd and
goferd with same result.


I am now out of ideas, anyone here have any idea how to fix this problem?


Thank you for any help,


Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20140915/a9ae587b/attachment.htm>


More information about the Pulp-list mailing list