Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

puppet kick from master gets connection refused from agent

$
0
0
I have installed puppet agent (windows) and master successfully. When i download the node from agent it works fine (`puppet agent -t` ) and the nodes are pulled successfully. But when i trigger the same from the puppet master, puppet kick --host agent01 i get connection error as below. Error: Host agent01 failed: Connection refused - connect(2) I did a wireshark in agent machine and i could see the connection made to agent at port 8139 and is responded with a red ACK message. Since the connection has reached the agent, am assuming agent rejected the connection. Could some one please help me fix this problem. Puppet.conf at agent [main] server=puppetmaster.localsky.biz autoflush=true environment=production pluginsync=true listen = true [agent] auth.conf at agent: path / method find, search, save auth yes allow puppetmaster.localsky.biz path /run method find, search, save auth yes allow puppetmaster.localsky.biz path C:/ProgramData/PuppetLabs/puppet/var/run method find, search, save auth yes allow puppetmaster.localsky.biz However, if i run `puppet agent --no-daemonize --debug` from the Powershell console, the build gets pushed successsfully. So the failure happens only if run the agent from Puppet Agent as windows service.

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>