[Puppet Users] Puppet agents get hanged in "Info: Loading facts"

2015-11-05 Thread Eddie Mashayev
Hi All, 

I have CentOS 6.5 running puppet agent version 3.8.2 the problem is when 
I’m running “puppet agent -t” it gets hanged: 

[root@server ~]# puppet agent -t 
Info: Retrieving pluginfacts 
Info: Retrieving plugin 
Info: Loading facts 
Info: Loading facts 

“Could not retrieve catalog from remote server: Error 400 on SERVER: Failed 
when searching for node : Failed to find via exec: Execution of 
'/etc/puppet/node.rb” 




After I checked it I found out the reason, I have more than 1000 VLANs on 
the servers and I guess when the Facter collecting the INFO it gets timeout 
and fails. 
I found this thread to “Allow for disabling certain facts within Facter ” 
https://tickets.puppetlabs.com/browse/FACT-718” but it still wasn’t 
implemented. 
My question is there is any way that puppet won’t get info for VLANS? 
Meaning "puppet agent –t" won’t triger the Facter get information about 
VLANS? 
If no how can I override this issue?

Thakns,
EddieM

-- 
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/857038e6-6e35-4bd0-a86e-710093744a71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Puppet agents get hanged in "Info: Loading facts"

2015-11-05 Thread Craig Dunn
Your code snippet suggests that facter has run,  and the master is
timing out running /etc/puppet/node.rb which is the ENC script (which
happens after the facts have been sent by the agent).   Are you
running Foreman/Satellite? - It sounds like you may have a network
connectivity issue here between your Puppet master and ENC

Craig

On Thu, Nov 5, 2015 at 4:23 PM, Eddie Mashayev  wrote:
> Hi All,
>
> I have CentOS 6.5 running puppet agent version 3.8.2 the problem is when I’m
> running “puppet agent -t” it gets hanged:
>
> [root@server ~]# puppet agent -t
> Info: Retrieving pluginfacts
> Info: Retrieving plugin
> Info: Loading facts
> Info: Loading facts
>
> “Could not retrieve catalog from remote server: Error 400 on SERVER: Failed
> when searching for node : Failed to find via exec: Execution of
> '/etc/puppet/node.rb”
>
>
>
> After I checked it I found out the reason, I have more than 1000 VLANs on
> the servers and I guess when the Facter collecting the INFO it gets timeout
> and fails.
> I found this thread to “Allow for disabling certain facts within Facter ”
> https://tickets.puppetlabs.com/browse/FACT-718” but it still wasn’t
> implemented.
> My question is there is any way that puppet won’t get info for VLANS?
> Meaning "puppet agent –t" won’t triger the Facter get information about
> VLANS?
> If no how can I override this issue?
>
> Thakns,
> EddieM
>
> --
> 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/857038e6-6e35-4bd0-a86e-710093744a71%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Enviatics | Automation and configuration management
http://www.enviatics.com | @Enviatics
http://dojo.training | @DojoTraining

-- 
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/CACxdKhETMCYy8AXwLBQPfWS4PnzOKWTaK%3Ds_iEUrpxmRY5fGJw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Puppet agents get hanged in "Info: Loading facts"

2015-11-05 Thread Eddie Mashayev
Hi,

Yes I'm running Foreman (Puppet master), I have more than 200 servers which 
works great.
This is the only server which is problematic and seems to be due to Facter.

Thanks,
EddieM

On Thursday, November 5, 2015 at 5:40:21 PM UTC+2, Craig Dunn wrote:
>
> Your code snippet suggests that facter has run,  and the master is 
> timing out running /etc/puppet/node.rb which is the ENC script (which 
> happens after the facts have been sent by the agent).   Are you 
> running Foreman/Satellite? - It sounds like you may have a network 
> connectivity issue here between your Puppet master and ENC 
>
> Craig 
>
> On Thu, Nov 5, 2015 at 4:23 PM, Eddie Mashayev  > wrote: 
> > Hi All, 
> > 
> > I have CentOS 6.5 running puppet agent version 3.8.2 the problem is when 
> I’m 
> > running “puppet agent -t” it gets hanged: 
> > 
> > [root@server ~]# puppet agent -t 
> > Info: Retrieving pluginfacts 
> > Info: Retrieving plugin 
> > Info: Loading facts 
> > Info: Loading facts 
> > 
> > “Could not retrieve catalog from remote server: Error 400 on SERVER: 
> Failed 
> > when searching for node : Failed to find via exec: Execution of 
> > '/etc/puppet/node.rb” 
> > 
> > 
> > 
> > After I checked it I found out the reason, I have more than 1000 VLANs 
> on 
> > the servers and I guess when the Facter collecting the INFO it gets 
> timeout 
> > and fails. 
> > I found this thread to “Allow for disabling certain facts within Facter 
> ” 
> > https://tickets.puppetlabs.com/browse/FACT-718” but it still wasn’t 
> > implemented. 
> > My question is there is any way that puppet won’t get info for VLANS? 
> > Meaning "puppet agent –t" won’t triger the Facter get information about 
> > VLANS? 
> > If no how can I override this issue? 
> > 
> > Thakns, 
> > EddieM 
> > 
> > -- 
> > 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...@googlegroups.com . 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/puppet-users/857038e6-6e35-4bd0-a86e-710093744a71%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>
> -- 
> Enviatics | Automation and configuration management 
> http://www.enviatics.com | @Enviatics 
> http://dojo.training | @DojoTraining 
>

-- 
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/f9f5f40a-d211-45a1-bb6f-80e7713fab68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.