Hi Nikola, thanks for the response!
here are our configs: cat /etc/puppet/puppet.conf [main] server = lx1ml.unix.lan logdir = /var/log/puppet rundir = /var/run/puppet confdir = /app/puppet/etc vardir = /app/puppet/var ssldir = $vardir/ssl modulepath = $confdir/modules manifest = $confdir/manifests/site.pp pluginsync = true [master] certname = lx1ml.unix.lan dns_alt_names = lx1ml.unix.lan ssl_client_header = SSL_CLIENT_S_DN ssl_client_verify_header = SSL_CLIENT_VERIFY reports = tagmail,http reportfrom = linux-supp...@xxxxxx.de # reporturl = http://lx1ml.unix.lan:3000/reports/upload storeconfigs = true storeconfigs_backend = puppetdb # facts_terminus = yaml # facts_terminus = inventory_active_record # dbadapter = mysql # dbname = dashboard # dbuser = dashboard # dbpassword = xxxxx # dbserver = puppetdb.unix.lan # dbport = 3333 [production] modulepath = /app/puppet/env/production/modules manifest = /app/puppet/env/production/manifests/site.pp [development] modulepath = /app/puppet/env/development/modules manifest = /app/puppet/env/development/manifests/site.pp cat /etc/puppet/puppetdb.conf [main] server = lxj2j.unix.lan port = 8081 Direkt connect from the puppetmaster to the puppetdb postgresql via psql [lx1ml ~]# psql -h lxj2j -U puppetdb -d puppetdb Telnet Connect is working: [root@lx1ml ~]# telnet lxj2j 8081 Trying 172.20.250.153... Connected to lxj2j. Escape character is '^]'. ^CConnection closed by foreign host. Puppetdb config from lxj2j: cat /etc/puppetdb/conf.d/jetty.ini [jetty] # Hostname to list for clear-text HTTP. Default is localhost #host = localhost # Port to listen on for clear-text HTTP. port = 8080 ssl-host = lxj2j.unix.lan ssl-port = 8081 keystore = /etc/puppetdb/ssl/keystore.jks truststore = /etc/puppetdb/ssl/truststore.jks removed passwords from output [root@lxj2j data]# cat /etc/puppetdb/conf.d/database.ini |grep -v "^#" [database] classname = org.postgresql.Driver subprotocol = postgresql subname = //localhost:5432/puppetdb log-slow-statements = 10 syntax_pgs = true gc-interval = 60 username = puppetdb password = puppetdb Greetings Daniel Am Montag, 5. November 2012 10:40:18 UTC+1 schrieb linux@bami: > > Greetings, > > we are trying to setup puppetdb, nut our clients get the following error: > > Warning: Unable to fetch my node definition, but the agent run will > continue: > Warning: Error 400 on SERVER: Could not retrieve facts for lxa7t.unix.lan: > Failed to submit 'replace facts' command for lxa7t.unix.lan to PuppetDB at > puppetdb:8081: Connection refused - connect(2) > Info: Retrieving plugin > Info: Loading facts in /var/lib/puppet/lib/facter/bmemoryhugepages.rb > Info: Loading facts in /var/lib/puppet/lib/facter/bstoragemanufacturer.rb > Info: Loading facts in /var/lib/puppet/lib/facter/bmemoryshmmax.rb > Info: Loading facts in /var/lib/puppet/lib/facter/bmemoryshmall.rb > Error: Could not retrieve catalog from remote server: Error 400 on SERVER: > Failed to submit 'replace facts' command for lxa7t.unix.lan to PuppetDB at > puppetdb:8081: Connection refused - connect(2) > Warning: Not using cache on failed catalog > Error: Could not retrieve catalog; skipping run > > > The puppetdb is remote for the puppetmaster and is using postgresql. > > Direct connect from puppetmaster to the postgresql puppetdb is vaild. > > We don't see any hint in the logfiles. > > > R/ Daniel > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/VI1kAWjPLPEJ. To post to this group, send email to puppet-users@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.