2010/8/30 Héctor Rivas Gándara <[email protected]>: >>> 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. I still have to test it for a pair of days, but here are my first conclusions: Just using mysql solved most of the problems, but I still had some "random" errors with ruby syntax. Setting mongrel also reduced, and I think that the executions are now much more faster. But there it still get some random "syntax errors" with ruby on AIX nodes. specially if I run it with --ignorecache --no-usecacheonfailure. But now these errors are far not so often. Some of them are: //puppetclient.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 //puppetclient.myhost.com/Puppet (err): Could not retrieve catalog from remote server: Could not intern from pson: private method `gsub' called for 0:Fixnum Wed Sep 01 13:59:56 +0200 2010 //puppetclient.myhost.com/Puppet (err): Could not retrieve catalog; skipping run //puppetclient.myhost.com//Stage[main]/Cgx_unixserver::Profile_local/File[/srv/conf/profile.d] (err): Failed to generate additional resources using 'eval_generate': can't convert Fixnum into String //puppetclient.myhost.com//Stage[main]/Cgx_unixserver::Profile_local/Exec[hook_etc_profile] (err): Could not evaluate: Could not create resource status: undefined method `path' for false:FalseClass at /cgx1/puppet/data/test/services/cgx_unixserver/manifests/profile_local.pp:10 I still have random "Segmentation Faults" with ruby on AIX. I will ignore them for the moment until I will compile last ruby source (may be 1.9.x) and test it. Maybe all this problems are related to ruby on AIX. Anybody running AIX has same problems? Daniel: Thank you for your reply and suggestion. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
