Héctor Rivas Gándara
2010-Sep-02 08:28 UTC
[Puppet Users] Random errors in AIX-Zlinux clients
>>>> The errors appear once or two times, randomly, and if I execute the >>>> client again it works properly. They are usually these kind of errors: >>> You will probably find life improved by deploying >>> another mode of operation for the puppetmaster daemon, and using a real >>> database (I use PostgreSQL) for storedconfigs. >> >> You are right, I am using both of them... but I thougth that It could >> scale to 20 clients... I will setup mysql+mongrel. >> I will tell you if this solves the problem. > I just configured mysql for storeconfigs and Apache+mongrel. ns:Bad luck, it is still failing with random errors, but more related to the platform: On a Suse ZLinux (s390x) installation (and a pair of times on AIX servers) I get this error related to MySQL: "MySQL server has gone away". It is always with the same query, but with Linux x86 clients it does not fail :?. I have 1 zLinux, 2 AIX and 5 Linux-x86 clients: Thu Sep 02 07:49:06 +0200 2010 //zlinux.myhost.com/Puppet (err): Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::Compiler failed with error ActiveRecord::StatementInvalid: Mysql::Error: MySQL server has gone away: SELECT * FROM `hosts` WHERE (`hosts`.`name` ''zlinux.myhost.com'') LIMIT 1 on node zlinux.myhost.com Thu Sep 02 07:49:06 +0200 2010 //zlinux.myhost.com/Puppet (err): Cached catalog for zlinux.myhost.com failed: Could not parse YAML data for catalog zlinux.myhost.com: allocator undefined for Proc Thu Sep 02 07:49:06 +0200 2010 //zlinux.myhost.com/Puppet (err): Could not retrieve catalog; skipping run And I still get these random errors on AIX. I think that it might be caused by a bug in ruby, maybe related to pthreads library :? Thu Sep 02 07:27:12 +0200 2010 //aix1.myhost.com/Puppet (err): Could not retrieve catalog from remote server: method `include?'' called on terminated object (0x2002e848) Thu Sep 02 07:27:12 +0200 2010 //aix1.myhost.com/Puppet (err): Cached catalog for aix1.myhost.com failed: Could not parse YAML data for catalog aix1.myhost.com: allocator undefined for Proc Thu Sep 02 07:27:12 +0200 2010 //aix1.myhost.com/Puppet (err): Could not retrieve catalog; skipping run Thu Sep 02 08:18:16 +0200 2010 //aix2.myhost.com//Stage[main]/Cgx_unixserver::Ad_integration::Aix::Secldapclntd/File[/usr/lib/libibmldap.a] (err): Could not evaluate: undefined method `inject'' for false:FalseClass Thu Sep 02 04:57:11 +0200 2010 //aix1.myhost.com/Puppet (err): Could not retrieve catalog from remote server: undefined method `reference'' for 0:Fixnum Thu Sep 02 04:57:11 +0200 2010 //aix1.myhost.com/Puppet (err): Could not retrieve catalog; skipping run Thu Sep 02 02:48:08 +0200 2010 //aix2.myhost.com/Puppet (err): Could not retrieve catalog from remote server: Could not intern from pson: expected '','' or '']'' in array at ''{"exported":false,"l''! Thu Sep 02 02:48:08 +0200 2010 //aix2.myhost.com/Puppet (err): Cached catalog for aix2.myhost.com failed: Could not parse YAML data for catalog aix2.myhost.com: allocator undefined for Proc Thu Sep 02 02:48:08 +0200 2010 //aix2.myhost.com/Puppet (err): Could not retrieve catalog; skipping run Wed Sep 01 20:48:14 +0200 2010 //aix2.myhost.com/Puppet (err): Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could not find relationship target "Exec[reload-aliases]" Wed Sep 01 20:48:14 +0200 2010 //aix2.myhost.com/Puppet (err): Cached catalog for aix2.myhost.com failed: Could not parse YAML data for catalog aix2.myhost.com: allocator undefined for Proc Wed Sep 01 20:48:14 +0200 2010 //aix2.myhost.com/Puppet (err): Could not retrieve catalog; skipping run Wed Sep 01 18:27:13 +0200 2010 //aix1.myhost.com/Puppet (err): Could not save yaml aix1.myhost.com: class or module required Wed Sep 01 15:48:12 +0200 2010 //aix2.myhost.com/Puppet (err): Got an uncaught exception of type NoMethodError: undefined method `[]'' for false:FalseClass Wed Sep 01 15:18:12 +0200 2010 //aix2.myhost.com/Puppet (err): Got an uncaught exception of type NoMethodError: undefined method `merge'' for false:FalseClass Wed Sep 01 14:00:22 +0200 2010 //aix1.myhost.com//Stage[main]/Cgx_unixserver::Srv_tree/File[/srv] (err): Failed to generate additional resources using ''eval_generate'': Invalid parameter 0(0) at /cgx1/puppet/data/test/modules/stow/manifests/package.pp:61 -- Atentamente Héctor Rivas -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Héctor Rivas Gándara
2010-Sep-03 11:05 UTC
Re: [Puppet Users] Random errors in AIX-Zlinux clients
> Bad luck, it is still failing with random errors, but more related to > the platform: > > On a Suse ZLinux (s390x) installation (and a pair of times on AIX > servers) I get this error related to MySQL: "MySQL server has gone > away". > And I still get these random errors on AIX. I think that it might be > caused by a bug in ruby, maybe related to pthreads library :? >Finally I tested compiling a newer version of ruby (ruby-1.8.7-p174 => ruby-1.8.7-p302) and without pthreads (./configure --disable-pthreads) and it seems that it fixes the problem. Now I am not getting Segmentation Faults or random ruby syntax errors on AIX. But I still have the "Mysql::Error: MySQL server has gone away" error, both on AIX and ZLinux. Somebody opened a new ticket in the traker: http://projects.reductivelabs.com/issues/4694 -- Atentamente Héctor Rivas -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.