[Pulp-list] Can't get node synchronisation to work

Harm Kroon Harm.Kroon at tomtom.com
Wed Aug 27 17:25:35 UTC 2014



-----Original Message-----
From: /O=TOMTOM/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RECIPIENTS/CN=HARM.KROON On Behalf Of Harm Kroon
Sent: Wednesday, August 27, 2014 5:29 PM
To: 'Jeff Ortel'
Subject: RE: [Pulp-list] Can't get node synchronisation to work

Hi Jeff, (and pulp-list this time)

Both servers were 2.4 from scratch. (Meaning for the child I removed all pulp packages, cleared out mongod, /etc/pulp and reinstalled).

I've tried 'pulp-consumer update --keys'. The command updates successfully (Even restarted goferd afterwards). But it does not seem to make any difference for the nodes sync. It still returns 'Task Failed'

I've compared child:/etc/pki/pulp/consumer/server/rsa_pub.key and parent:/etc/pki/pulp/rsa_pub.key. These are identical.
However I must admit that I'm not entirely clear on the mechanisms involved in the parent child node relation. Which makes it difficult to troubleshoot for me.

Thnx, Harm

-----Original Message-----
From: pulp-list-bounces at redhat.com [mailto:pulp-list-bounces at redhat.com] On Behalf Of Jeff Ortel
Sent: Wednesday, August 27, 2014 4:43 PM
To: pulp-list at redhat.com
Subject: Re: [Pulp-list] Can't get node synchronisation to work

Looks like the agent on the child node does not have the correct RSA public key for the parent (server) and it's rejecting the message because it cannot verify the signature.  Is the child node a 2.3 -> 2.4 upgrade?  If so, suggest you run 'pulp-consumer update --keys'.  This performs public key exchange.  Then, retry your node sync.

Hope this helps.

-jeff

On 08/27/2014 08:35 AM, Harm Kroon wrote:
> Hi,
>
> I've setup 2 RHEL6 based pulp servers from scratch following the instructions I found at http://pulp-user-guide.readthedocs.org/en/pulp-2.4/installation.html. So far all works. I can create, copy and sync RPM repo's and do all kind of fun stuff with it :) on both systems.
>
> Now I'm trying to setup a parent child nodes relationship following the instructions in http://pulp-user-guide.readthedocs.org/en/pulp-2.4/nodes.html. I've enabled and published a test rpm repo. And I've activated and bound the child/consumer node to it.
> However when I try to sync the child node. I get a task failed error.
>
> [root at pulp2 ~]#  pulp-admin node sync run --node-id pulp1 This command 
> may be exited via ctrl+c without affecting the request.
>
> Task Failed
>
>>From /var/log/messages I find following:
> Aug 27 13:15:10 pulp-2 pulp: pulp.server.agent.direct.services:INFO: 
> Task RMI (rejected) Aug 27 13:15:10 pulp-2 pulp: pulp.server.agent.direct.services:INFO: Rejected
> Aug 27 13:15:10 pulp-2 pulp: pulp.server.agent.direct.services:INFO:   sn : fdc92f87-53c3-47d7-9f54-19d204547e8d
> Aug 27 13:15:10 pulp-2 pulp: pulp.server.agent.direct.services:INFO:   origin : 15eee897-e461-4d2d-a958-e1076c45e755
> Aug 27 13:15:10 pulp-2 pulp: pulp.server.agent.direct.services:INFO:   user data : {'task_id': '305e566b-4cf3-4032-b681-12cfca6d3114', 'consumer_id': 'pulp1'}
> Aug 27 13:15:10 pulp-2 pulp: pulp.server.agent.direct.services:INFO: 
> rejected
>
> Could anyone give me some pointers on where to look or what I'm doing wrong?
>
> Thnx, harm
>
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list
>

_______________________________________________
Pulp-list mailing list
Pulp-list at redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list




More information about the Pulp-list mailing list