Hi All,

 I have entered the following statements to the /etc/puppet/
puppet.conf file on my puppet master server so reports will get
forwarded to my puppet client that is also running the Puppet
Dashboard. I made these entries exactly as the dashboard docs
indicated, and I modified the external_node script to use the defined
url instead of the localhost default.

[main]

node_terminus = exec
external_nodes = /etc/puppet/bin/external_node
reports = http, store
reporturl = fedorahost.ocfl.net:3000/reports

However, when I restart the puppet master daemon I get the errors
below. Has anyone seen this problem before, and if so, can you
possibly tell me how to fix it? When I comment out the entries I made
in [main], the puppet master and puppet clients work perfectly. I
believe that the connection refused and No route to host are spurious
messages and not truly indicative of the problem.

Jan 11 11:14:18 fedorahost1 puppet-master[2572]: Reopening log files
Jan 11 11:14:18 fedorahost1 puppet-master[2572]: Starting Puppet
master version 2.6.4
Jan 11 11:19:16 fedorahost1 puppet-master[2572]: Failed to find
fedorahost.ocfl.net via exec: Execution of '/etc/puppet/bin/
external_node fedorahost.ocfl.net' returned 1: /usr/lib/ruby/1.8/net/
http.rb:560:in `initialize': Connection refused - connect(2)
(Errno::ECONNREFUSED)#012#011from /usr/lib/ruby/1.8/net/http.rb:560:in
`open'#012#011from /usr/lib/ruby/1.8/net/http.rb:560:in
`connect'#012#011from /usr/lib/ruby/1.8/timeout.rb:53:in
`timeout'#012#011from /usr/lib/ruby/1.8/timeout.rb:101:in
`timeout'#012#011from /usr/lib/ruby/1.8/net/http.rb:560:in
`connect'#012#011from /usr/lib/ruby/1.8/net/http.rb:553:in
`do_start'#012#011from /usr/lib/ruby/1.8/net/http.rb:542:in
`start'#012#011from /usr/lib/ruby/1.8/net/http.rb:440:in
`start'#012#011from /etc/puppet/bin/external_node:20
Jan 11 11:19:16 fedorahost1 puppet-master[2572]: Could not find node
'fedorahost.ocfl.net'; cannot compile
Jan 11 11:19:16 fedorahost1 puppet-master[2572]: Report http failed:
No route to host - connect(2)

Thanks,

Mike

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to