On Mon, Nov 05, 2012 at 06:26:35AM -0800, linux@bami wrote: > Hi, > > so we figured out the first problem. > We had an alias puppetdb.fqdn which was pointing to out puppet dashboard > db. It seems that despite from the entry in the puppetdb.conf, puppet uses > puppetdb as database server. > > we changed the alias and now we are getting an ssl error: > > 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: SSL_connect returned=1 errno=0 state=SSLv3 read server > certificate B: certificate verify failed: [unable to get local issuer > certificate for /CN=lxj2j.unix.lan] > Warning: Not using cache on failed catalog > Error: Could not retrieve catalog; skipping run >
This looks like an SSL error to me. Try to remove the storeconfigs and make a clean puppet agent -t from puppetdb host before you enable it again. > any idea ?! > > thanks and greetings. > > Daniel > > Am Montag, 5. November 2012 14:36:39 UTC+1 schrieb linux@bami: > > > > Hi Nikola, > > > > yes on the puppet master there ist a routes.yaml > > > > [root@lx1ml puppet]# cat routes.yaml > > --- > > master: > > facts: > > terminus: puppetdb > > cache: yaml > > > > And the puppet agent -t runs fine on the puppetdb if we remove the > > storeconfig settings from our master puppet.conf > > > > Is it possible to increase the jetty log, because we don't the any > > connection attempts or Connection refused. > > > > > > 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/-/atH0EqHpJrUJ. > 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. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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.