Regarding Puppet agent

29 views
Skip to first unread message

sravan...@gmail.com

unread,
Sep 3, 2017, 2:22:24 PM9/3/17
to Puppet Users
Hello,

I installed puppet open source.My master is on Ubuntu 14.04 and also my agent is also on Ubuntu 14.04.

When i run service puppetserver status on my maters it's saying pupperserver is running.

When i run service puppet status on my agent it's saying agent is running

But when i type puppet agent -t on my agent it's saying :

Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: Connection refused - connect(2)
Info: Retrieving plugin
Error: /File[/var/lib/puppet/lib]: Failed to generate additional resources using  'eval_generate': Connection refused - connect(2)
Error: /File[/var/lib/puppet/lib]: Could not evaluate: Connection refused - connect(2) Could not retrieve file metadata for puppet://puppetmaster/plugins: Connection refused - connect(2)
Error: Could not retrieve catalog from remote server: Connection refused - connect(2)
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: Connection refused - connect(2)

when i first did puppet cert list on my puppet master i got this agent list and when i sign and i started doing puppet agent -t on agent it's saying above error.


Any Help?

Thank you

Martin Alfke

unread,
Sep 4, 2017, 1:31:22 AM9/4/17
to puppet...@googlegroups.com
Hi,

> On 02 Sep 2017, at 18:20, sravan...@gmail.com wrote:
>
> Hello,
>
> I installed puppet open source.My master is on Ubuntu 14.04 and also my agent is also on Ubuntu 14.04.
>
> When i run service puppetserver status on my maters it's saying pupperserver is running.
>
> When i run service puppet status on my agent it's saying agent is running
>
> But when i type puppet agent -t on my agent it's saying :
>
> Warning: Unable to fetch my node definition, but the agent run will continue:
> Warning: Connection refused - connect(2)

1. what is the fqdn of your puppet server?
2. is there an entry in /etc/puppetlabs/puppet/puppet.conf agent section specifying which server to connect to?
[agent]
server = server.domain.tld
3. local firewall rules?
4. can the system resolve the servername to an IP address?

>
> when i first did puppet cert list on my puppet master i got this agent list and when i sign and i started doing puppet agent -t on agent it's saying above error.
>
>
> Any Help?
>
> Thank you
>
>
> --
> 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/1ed4dbda-9605-423e-9a74-c5108d03450b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages