<div dir="ltr">Christina, thanks for reporting back with the solution. Brian opened a PR today to update those docs. If you have a moment to look over those changes and make sure they match the experience you had, that would be greatly appreciated.<div><br></div><div><a href="https://github.com/pulp/pulp/pull/2780">https://github.com/pulp/pulp/pull/2780</a><br></div><div><br></div><div>Thanks!</div><div>Michael</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 7, 2016 at 10:23 AM, Brian Bouterse <span dir="ltr"><<a href="mailto:bbouters@redhat.com" target="_blank">bbouters@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you so much for posting the info for others.<br>
<br>
Regarding the future of nodes, the current plan is to deprecate nodes with Pulp 2.11 and remove it entirely from Pulp 3. The recommendation to users is to replace their nodes usage with a "natural sync" where one pulp server sync's content from a feed URL published by another pulp server.<br>
<br>
This should improve the setup and usage experience for pulp users who need to move content between pulp servers. It should also reduce issues from bugs because the natural sync codepaths receive large amounts of testing. Any feedback on using natural sync as a nodes replacement would be great.<br>
<br>
-Brian<span class=""><br>
<br>
<br>
On 10/06/2016 06:03 PM, Christina Plummer wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
I finally discovered the issue - the documentation<br>
<a href="https://docs.pulpproject.org/user-guide/nodes.html" rel="noreferrer" target="_blank">https://docs.pulpproject.org/u<wbr>ser-guide/nodes.html</a><br></span>
<<a href="https://docs.pulpproject.org/user-guide/nodes.html?highlight=nodes#child" rel="noreferrer" target="_blank">https://docs.pulpproject.org/<wbr>user-guide/nodes.html?highligh<wbr>t=nodes#child</a>> was<span class=""><br>
missing a critical step.  It is necessary to configure the [oauth]<br>
section of server.conf on BOTH the parent and the child nodes, not just<br>
on the parent as indicated.<br>
<br>
There was a previous bugs opened related to this (where I ultimately<br>
found my answer), but apparently the devs decided that they don't want<br>
people using this functionality anymore so they are leaving the<br>
documentation broken:<br>
<a href="https://pulp.plan.io/issues/1392" rel="noreferrer" target="_blank">https://pulp.plan.io/issues/13<wbr>92</a><br>
<br>
Posting here in case others run into the same problem.<br>
<br>
On Thu, Sep 15, 2016 at 7:36 PM, Christina Plummer <<a href="mailto:cplummer@gmail.com" target="_blank">cplummer@gmail.com</a><br></span><div><div class="h5">
<mailto:<a href="mailto:cplummer@gmail.com" target="_blank">cplummer@gmail.com</a>>> wrote:<br>
<br>
    I am having the same problem with pulp-2.9.2, syncing from a RHEL7<br>
    parent to a RHEL6 child.<br>
<br>
    I see that several folks have reached out to the list over the years<br>
    (and I saw several instances on pastebin), but I didn't see any good<br>
    answers.<br>
<br>
    This is what I have in /var/log/messages on the child:<br>
<br>
    Sep 15 23:32:08 my-child goferd: [INFO][pulp.agent.child-01]<br>
    gofer.messaging.adapter.connec<wbr>t:28 - connecting:<br>
    qpid+amqp://my-parent:5672<br>
    Sep 15 23:32:08 my-child goferd: [INFO][pulp.agent.child-01]<br>
    gofer.messaging.adapter.connec<wbr>t:30 - connected:<br>
    qpid+amqp://my-parent:5672<br>
    Sep 15 23:32:08 my-child goferd: [INFO][worker-0]<br>
    gofer.messaging.adapter.connec<wbr>t:28 - connecting:<br>
    qpid+amqp://my-parent:5672<br>
    Sep 15 23:32:08 my-child goferd: [INFO][worker-0]<br>
    gofer.messaging.adapter.qpid.c<wbr>onnection:106 - open: URL:<br>
    amqp://my-parent|SSL: ca: None|key: None|certificate:<br>
    /etc/pki/pulp/consumer/consume<wbr>r-cert.pem|host-validation: None<br>
    Sep 15 23:32:09 my-child goferd: [INFO][worker-0]<br>
    gofer.messaging.adapter.qpid.c<wbr>onnection:118 - opened:<br>
    qpid+amqp://my-parent:5672<br>
    Sep 15 23:32:09 my-child goferd: [INFO][worker-0]<br>
    gofer.messaging.adapter.connec<wbr>t:30 - connected:<br>
    qpid+amqp://my-parent:5672<br>
    Sep 15 23:32:09 my-child goferd: [INFO][worker-0]<br>
    gofer.rmi.dispatcher:603 - call: Content.update()<br>
    sn=8c5dae0f-988e-41bc-bcbd-c63<wbr>fbcef1331 data={'task_id':<br>
    'c23271f5-c6c1-45e7-af99-cd61f<wbr>c208192', 'consumer_id': 'child-01'}<br>
    Sep 15 23:32:09 my-child pulp:<br>
    pulp.server.webservices.middle<wbr>ware.exception:INFO: Authentication<br>
    with username None failed: invalid SSL certificate.<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.strategies:<wbr>112 - synchronization failed<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.strategies:<wbr>112 - Traceback (most recent call last):<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.strategies:<wbr>112 -   File<br>
    "/usr/lib/python2.6/site-packa<wbr>ges/pulp_node/handlers/strateg<wbr>ies.py",<br>
    line 99, in synchronize<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.strategies:<wbr>112 -<br>
    validator.validate(request.bin<wbr>dings)<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.strategies:<wbr>112 -   File<br>
    "/usr/lib/python2.6/site-packa<wbr>ges/pulp_node/handlers/validat<wbr>ion.py",<br>
    line 38, in validate<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.strategies:<wbr>112 -<br>
    self.report.errors.extend(self<wbr>._validate_plugins(bindings))<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.strategies:<wbr>112 -   File<br>
    "/usr/lib/python2.6/site-packa<wbr>ges/pulp_node/handlers/validat<wbr>ion.py",<br>
    line 54, in _validate_plugins<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.strategies:<wbr>112 -     child = ChildServer()<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.strategies:<wbr>112 -   File<br>
    "/usr/lib/python2.6/site-packa<wbr>ges/pulp_node/handlers/validat<wbr>ion.py",<br>
    line 72, in __init__<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.strategies:<wbr>112 -     self.importers =<br>
    self._importers()<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.strategies:<wbr>112 -   File<br>
    "/usr/lib/python2.6/site-packa<wbr>ges/pulp_node/handlers/validat<wbr>ion.py",<br>
    line 83, in _importers<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.strategies:<wbr>112 -     http =<br>
    bindings.server_info.get_impor<wbr>ters()<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.strategies:<wbr>112 -   File<br>
    "/usr/lib/python2.6/site-packa<wbr>ges/pulp/bindings/server_info.<wbr>py",<br>
    line 31, in get_importers<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.strategies:<wbr>112 -     return self.server.GET(path)<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.strategies:<wbr>112 -   File<br>
    "/usr/lib/python2.6/site-packa<wbr>ges/pulp/bindings/server.py", line 92,<br>
    in GET<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.strategies:<wbr>112 -     return self._request('GET',<br>
    path, queries, ignore_prefix=ignore_prefix)<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.strategies:<wbr>112 -   File<br>
    "/usr/lib/python2.6/site-packa<wbr>ges/pulp/bindings/server.py", line<br>
    166, in _request<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.strategies:<wbr>112 -<br>
    self._handle_exceptions(respon<wbr>se_code, response_body)<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.strategies:<wbr>112 -   File<br>
    "/usr/lib/python2.6/site-packa<wbr>ges/pulp/bindings/server.py", line<br>
    207, in _handle_exceptions<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.strategies:<wbr>112 -     raise<br>
    code_class_mappings[response_c<wbr>ode](response_body)<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.strategies:<wbr>112 - PermissionsException:<br>
    RequestException: GET request on /pulp/api/v2/plugins/importers<wbr>/<br>
    failed with 401 - Authentication with username None failed: invalid<br>
    SSL certificate.<br>
    Sep 15 23:32:09 my-child goferd: [ERROR][worker-0]<br>
    pulp_node.handlers.handler:92 - An unexpected error occurred.<br>
    repo_id=None<br>
    Sep 15 23:32:09 my-child goferd: [INFO][worker-0]<br>
    gofer.agent.rmi:193 - Request: 8c5dae0f-988e-41bc-bcbd-c63fbc<wbr>ef1331,<br>
    committed<br>
    Sep 15 23:32:09 my-child goferd: [INFO][worker-0]<br>
    gofer.agent.rmi:147 - Request: 8c5dae0f-988e-41bc-bcbd-c63fbc<wbr>ef1331<br>
    processed in: 1.019 (seconds)<br>
    Sep 15 23:32:10 my-child goferd: [INFO][worker-0]<br>
    gofer.messaging.adapter.qpid.c<wbr>onnection:136 - closed:<br>
    qpid+amqp://my-parent:5672<br>
<br>
<br>
    On Tue, Jun 21, 2016 at 3:47 PM, Jo De Troy <<a href="mailto:jo.de.troy@gmail.com" target="_blank">jo.de.troy@gmail.com</a><br></div></div><div><div class="h5">
    <mailto:<a href="mailto:jo.de.troy@gmail.com" target="_blank">jo.de.troy@gmail.com</a>>> wrote:<br>
<br>
        Hello,<br>
<br>
        I've setup 2 pulp servers on CentOS 7.2 each of them is running<br>
        Pulp 2.8.3.<br>
        On the master I've synced some  rpm repositories. When I try to<br>
        sync  these to the child pulp server I keep getting the same error.<br>
<br>
        Error occurred during synchronization, check the child node logs<br>
        for details<br>
<br>
        +-----------------------------<wbr>------------------------------<wbr>-----------+<br>
                               Child Node Synchronization<br>
        +-----------------------------<wbr>------------------------------<wbr>-----------+<br>
<br>
        Repository:<br>
          Action:          Pending<br>
          Content Sources:<br>
            Downloads:<br>
          Id:              updates-repo<br>
          Units:<br>
            Added:   0<br>
            Removed: 0<br>
            Updated: 0<br>
<br>
<br>
        +-----------------------------<wbr>------------------------------<wbr>-----------+<br>
                         The following [1] errors were reported<br>
        +-----------------------------<wbr>------------------------------<wbr>-----------+<br>
<br>
        - 01: An unexpected error occurred.  repo_id=None<br>
<br>
        I've found the same error via Google multiple times, but I<br>
        didn't find a working solution. I've set verify_ssl = False in<br>
        several config files<br>
<br>
        In the /var/log/messages I get<br>
        pulp: pulp.server.agent.direct.servi<wbr>ces:INFO: (9547-83232)<br>
        {'reboot': {'scheduled': False, 'details': {}}, 'details':<br>
        {'node': {'details': {'errors': [{'error_id': 'exception',<br>
        'details': {'message': 'RequestException: GET request on<br>
        /pulp/api/v2/plugins/importers<wbr>/ failed with 401 - Authentication<br>
        with username None failed: invalid SSL certificate.', 'repo_id':<br>
        None}}], ...<br>
<br>
        Any idea what could be wrong? I've put the logging level to<br>
        debug, hoping to find the reason<br>
<br>
        Best Regards,<br>
        Jo<br>
<br>
        ______________________________<wbr>_________________<br>
        Pulp-list mailing list<br></div></div>
        <a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a> <mailto:<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a>><br>
        <a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/pulp-list</a><br>
        <<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailma<wbr>n/listinfo/pulp-list</a>><span class=""><br>
<br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/pulp-list</a><br>
<br>
</span></blockquote><div class="HOEnZb"><div class="h5">
<br>
______________________________<wbr>_________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/pulp-list</a><br>
</div></div></blockquote></div><br></div>