Its tricky because we use an ELB in front of the puppet masters, and we
know that the calls to the /node/<node_name> REST API are coming from the
ELB, but because of the way we have the ELB configured (pure TCP
passthrough), we don't get the extra headers like the x_forwarded_for
header. This makes it hard to tell where the requests for the node
information are coming from. That said, it feels odd that the puppet master
itself would reach out to its own Node API to get node information, rather
than just using the information passed in for the catalog request.

Matt Wise
Sr. Systems Architect
Nextdoor.com


On Mon, Aug 25, 2014 at 7:29 AM, jcbollinger <john.bollin...@stjude.org>
wrote:

>
>
> On Friday, August 22, 2014 9:38:20 AM UTC-5, Matt W wrote:
>>
>> Even with the caching disabled, I think we ran into this again. Can one
>> of the puppet-devs chime in here and let me know what might be going on?
>>
>>
>
> I am not among the Puppet developers, but I think I already touched on the
> likely problem in your other thread.  You have multiple nodes are
> identifying themselves to Puppet as the same machine, and if you rely on
> facts that differ among identity-sharing nodes then you are poking at
> exactly the point where your shared-identity model breaks down.
>
> Even so, I think your approach would probably work if you serialized
> catalog requests, e.g. by using the built-in webrick server, since it seems
> likely that you are experiencing a race on the server.  Specifically, I
> suspect you'll find that those calls to the REST API are all originating
> from the master itself.  If an ENC is in use then it would be high on my
> list of suspects.
>
>
> John
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Puppet Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/puppet-users/EorzYWGEUUE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/17f251ea-b694-4c65-9b92-7150b693ba3e%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/17f251ea-b694-4c65-9b92-7150b693ba3e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAOHkZxMg_RZPTAVnFa3sfTc41hjHgCB1FBLbhD7MNBnCaNoU0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to