Hi all, Just upgraded from 0.24.8 to 0.25.1. I''ve run into the following problem. After a while, my puppetmaster fails with this type of error: info: Expiring the node cache of gold.fs.uwaterloo.ca info: Not using expired node for gold.fs.uwaterloo.ca from cache; expired at Tue Dec 01 16:07:47 -0500 2009 debug: Using cached facts for gold.fs.uwaterloo.ca info: Caching node for gold.fs.uwaterloo.ca info: Expiring the node cache of monitor.fs.uwaterloo.ca debug: Scope(Class[network]): Retrieving template network/interfaces.erb debug: template[/srv/puppet/modules/network/templates/interfaces.erb]: Bound template variables for /srv/puppet/modules/network/templates/interfaces.erb in 0.00 seconds debug: template[/srv/puppet/modules/network/templates/interfaces.erb]: Interpolated template /srv/puppet/modules/network/templates/interfaces.erb in 0.00 seconds debug: Scope(Class[postfix]): Retrieving template postfix/main.cf.erb debug: template[/srv/puppet/modules/postfix/templates/main.cf.erb]: Bound template variables for /srv/puppet/modules/postfix/templates/main.cf.erb in 0.00 seconds debug: template[/srv/puppet/modules/postfix/templates/main.cf.erb]: Interpolated template /srv/puppet/modules/postfix/templates/main.cf.erb in 0.00 seconds err: Puppet::Parser::Compiler failed with error ActiveRecord::MissingAttributeError: missing attribute: restype on node gold.fs.uwaterloo.ca err: Mysql::Error: Lost connection to MySQL server during query: SELECT * FROM `fact_names` WHERE (`fact_names`.`name` = ''kernelrelease'') LIMIT 1 err: Puppet::Parser::Compiler failed with error ActiveRecord::MissingAttributeError: missing attribute: restype on node gold.fs.uwaterloo.ca And then never sends out a catalog again. Any ideas? Cheers, -- Eric Gerlach, Network Administrator Federation of Students University of Waterloo p: (519) 888-4567 x36329 e: egerlach@feds.uwaterloo.ca -- 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.
In case it helps, it seems to happen when two clients are trying to talk to the puppetmaster simultaneously. I can''t confirm that conclusively, but that seems to be the case. Cheers, Eric On Tue, Dec 01, 2009 at 04:25:49PM -0500, Eric Gerlach wrote:> Hi all, > > Just upgraded from 0.24.8 to 0.25.1. I''ve run into the following problem. > After a while, my puppetmaster fails with this type of error: > > info: Expiring the node cache of gold.fs.uwaterloo.ca > info: Not using expired node for gold.fs.uwaterloo.ca from cache; expired at Tue Dec 01 16:07:47 -0500 2009 > debug: Using cached facts for gold.fs.uwaterloo.ca > info: Caching node for gold.fs.uwaterloo.ca > info: Expiring the node cache of monitor.fs.uwaterloo.ca > debug: Scope(Class[network]): Retrieving template network/interfaces.erb > debug: template[/srv/puppet/modules/network/templates/interfaces.erb]: Bound template variables for /srv/puppet/modules/network/templates/interfaces.erb in 0.00 seconds > debug: template[/srv/puppet/modules/network/templates/interfaces.erb]: Interpolated template /srv/puppet/modules/network/templates/interfaces.erb in 0.00 seconds > debug: Scope(Class[postfix]): Retrieving template postfix/main.cf.erb > debug: template[/srv/puppet/modules/postfix/templates/main.cf.erb]: Bound template variables for /srv/puppet/modules/postfix/templates/main.cf.erb in 0.00 seconds > debug: template[/srv/puppet/modules/postfix/templates/main.cf.erb]: Interpolated template /srv/puppet/modules/postfix/templates/main.cf.erb in 0.00 seconds > err: Puppet::Parser::Compiler failed with error ActiveRecord::MissingAttributeError: missing attribute: restype on node gold.fs.uwaterloo.ca > err: Mysql::Error: Lost connection to MySQL server during query: SELECT * FROM `fact_names` WHERE (`fact_names`.`name` = ''kernelrelease'') LIMIT 1 > err: Puppet::Parser::Compiler failed with error ActiveRecord::MissingAttributeError: missing attribute: restype on node gold.fs.uwaterloo.ca > > And then never sends out a catalog again. Any ideas? > > Cheers, > > -- > Eric Gerlach, Network Administrator > Federation of Students > University of Waterloo > p: (519) 888-4567 x36329 > e: egerlach@feds.uwaterloo.ca > > -- > > 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. > >-- Eric Gerlach, Network Administrator Federation of Students University of Waterloo p: (519) 888-4567 x36329 e: egerlach@feds.uwaterloo.ca -- 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.
Which version of rails are you using? I kind of remember an issue with 2.1 and multiple connections Ohad On Wed, Dec 2, 2009 at 5:25 AM, Eric Gerlach <egerlach@feds.uwaterloo.ca>wrote:> Hi all, > > Just upgraded from 0.24.8 to 0.25.1. I''ve run into the following problem. > After a while, my puppetmaster fails with this type of error: > > info: Expiring the node cache of gold.fs.uwaterloo.ca > info: Not using expired node for gold.fs.uwaterloo.ca from cache; expired > at Tue Dec 01 16:07:47 -0500 2009 > debug: Using cached facts for gold.fs.uwaterloo.ca > info: Caching node for gold.fs.uwaterloo.ca > info: Expiring the node cache of monitor.fs.uwaterloo.ca > debug: Scope(Class[network]): Retrieving template network/interfaces.erb > debug: template[/srv/puppet/modules/network/templates/interfaces.erb]: > Bound template variables for > /srv/puppet/modules/network/templates/interfaces.erb in 0.00 seconds > debug: template[/srv/puppet/modules/network/templates/interfaces.erb]: > Interpolated template /srv/puppet/modules/network/templates/interfaces.erb > in 0.00 seconds > debug: Scope(Class[postfix]): Retrieving template postfix/main.cf.erb > debug: template[/srv/puppet/modules/postfix/templates/main.cf.erb]: Bound > template variables for /srv/puppet/modules/postfix/templates/main.cf.erb in > 0.00 seconds > debug: template[/srv/puppet/modules/postfix/templates/main.cf.erb]: > Interpolated template /srv/puppet/modules/postfix/templates/main.cf.erb in > 0.00 seconds > err: Puppet::Parser::Compiler failed with error > ActiveRecord::MissingAttributeError: missing attribute: restype on node > gold.fs.uwaterloo.ca > err: Mysql::Error: Lost connection to MySQL server during query: SELECT * > FROM `fact_names` WHERE (`fact_names`.`name` = ''kernelrelease'') LIMIT 1 > err: Puppet::Parser::Compiler failed with error > ActiveRecord::MissingAttributeError: missing attribute: restype on node > gold.fs.uwaterloo.ca > > And then never sends out a catalog again. Any ideas? > > Cheers, > > -- > Eric Gerlach, Network Administrator > Federation of Students > University of Waterloo > p: (519) 888-4567 x36329 > e: egerlach@feds.uwaterloo.ca > > -- > > 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<puppet-users%2Bunsubscribe@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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
I already thanked Ohad on IRC, but wanted to let the annals of history know that he was right. Cheers, Eric On Wed, Dec 02, 2009 at 09:23:09AM +0800, Ohad Levy wrote:> Which version of rails are you using? I kind of remember an issue with 2.1 > and multiple connections > > Ohad > > On Wed, Dec 2, 2009 at 5:25 AM, Eric Gerlach <egerlach@feds.uwaterloo.ca>wrote: > > > Hi all, > > > > Just upgraded from 0.24.8 to 0.25.1. I''ve run into the following problem. > > After a while, my puppetmaster fails with this type of error: > > > > info: Expiring the node cache of gold.fs.uwaterloo.ca > > info: Not using expired node for gold.fs.uwaterloo.ca from cache; expired > > at Tue Dec 01 16:07:47 -0500 2009 > > debug: Using cached facts for gold.fs.uwaterloo.ca > > info: Caching node for gold.fs.uwaterloo.ca > > info: Expiring the node cache of monitor.fs.uwaterloo.ca > > debug: Scope(Class[network]): Retrieving template network/interfaces.erb > > debug: template[/srv/puppet/modules/network/templates/interfaces.erb]: > > Bound template variables for > > /srv/puppet/modules/network/templates/interfaces.erb in 0.00 seconds > > debug: template[/srv/puppet/modules/network/templates/interfaces.erb]: > > Interpolated template /srv/puppet/modules/network/templates/interfaces.erb > > in 0.00 seconds > > debug: Scope(Class[postfix]): Retrieving template postfix/main.cf.erb > > debug: template[/srv/puppet/modules/postfix/templates/main.cf.erb]: Bound > > template variables for /srv/puppet/modules/postfix/templates/main.cf.erb in > > 0.00 seconds > > debug: template[/srv/puppet/modules/postfix/templates/main.cf.erb]: > > Interpolated template /srv/puppet/modules/postfix/templates/main.cf.erb in > > 0.00 seconds > > err: Puppet::Parser::Compiler failed with error > > ActiveRecord::MissingAttributeError: missing attribute: restype on node > > gold.fs.uwaterloo.ca > > err: Mysql::Error: Lost connection to MySQL server during query: SELECT * > > FROM `fact_names` WHERE (`fact_names`.`name` = ''kernelrelease'') LIMIT 1 > > err: Puppet::Parser::Compiler failed with error > > ActiveRecord::MissingAttributeError: missing attribute: restype on node > > gold.fs.uwaterloo.ca > > > > And then never sends out a catalog again. Any ideas? > > > > Cheers, > > > > -- > > Eric Gerlach, Network Administrator > > Federation of Students > > University of Waterloo > > p: (519) 888-4567 x36329 > > e: egerlach@feds.uwaterloo.ca > > > > -- > > > > 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<puppet-users%2Bunsubscribe@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+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. > >-- Eric Gerlach, Network Administrator Federation of Students University of Waterloo p: (519) 888-4567 x36329 e: egerlach@feds.uwaterloo.ca -- 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.