Agent fails with the following error. I changed the jetty.ini file to 
0.0.0.0 and still the same. I restart puppetdb alone after this...what am i 
missing?

[root@nfaxen-cent1 ~]# puppet agent --test
Warning: Unable to fetch my node definition, but the agent run will 
continue:
Warning: Error 400 on SERVER: Could not retrieve facts for nfaxen-cent1: 
Failed to find facts from PuppetDB at nfaxen-ubu1:8081: Connection refused 
- connect(2)
Info: Retrieving plugin
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/windows.rb
Info: Loading facts in 
/var/opt/lib/pe-puppet/lib/facter/iptables_persistent_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in 
/var/opt/lib/pe-puppet/lib/facter/ip6tables_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/custom_auth_conf.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/iptables_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in 
/var/opt/lib/pe-puppet/lib/facter/postgres_default_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/root_home.rb
Info: Loading facts in 
/var/opt/lib/pe-puppet/lib/facter/puppetdb_server_status.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/concat_basedir.rb
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: 
Failed to submit 'replace facts' command for nfaxen-cent1 to PuppetDB at 
nfaxen-ubu1:8081: Connection refused - connect(2)
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
[root@nfaxen-cent1 ~]# 

[jetty]
>
> # Hostname or IP address to listen for clear-text HTTP.  Default is 
>> localhost
>
> # host = <host>
>
> host = 0.0.0.0
>
>
>> # Port to listen on for clear-text HTTP.
>
> port = 8080
>
>
>>
>> # The following are SSL specific settings. They can be configured
>
> # automatically with the tool puppetdb-ssl-setup, which is normally
>
> # ran during package installation.
>
>
>> # The host or IP address to listen on for HTTPS connections
>
> ssl-host = 0.0.0.0
>
>
>> # The port to listen on for HTTPS connections
>
> ssl-port = 8081
>
>
>> # Private key path
>
> ssl-key = /etc/puppetlabs/puppetdb/ssl/private.pem
>
>
>> # Public certificate path
>
> ssl-cert = /etc/puppetlabs/puppetdb/ssl/public.pem
>
>
>> # Certificate authority path
>
> ssl-ca-cert = /etc/puppetlabs/puppetdb/ssl/ca.pem
>
> certificate-whitelist = /etc/puppetlabs/puppetdb/certificate-whitelist
>
> ~                                                      
>
>

 

-- 
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/6f3a646f-b40c-4960-a12a-da5963151f60%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to