Same issue: May 21 11:26:51 vm01 puppet-agent[419]: Shutdown/restart in progress (:restart_requested); skipping run May 21 12:26:51 vm01 puppet-agent[419]: Shutdown/restart in progress (:restart_requested); skipping run May 21 13:26:51 vm01 puppet-agent[419]: Shutdown/restart in progress (:restart_requested); skipping run
On Friday, 29 March 2019 15:13:58 UTC+1, SCHAER Frederic wrote: > > Hi, > > > > For some time now, we’ve seen this kind of logs in our machines : > > (note: we do manage the puppet agent config with puppet) > > > > Mar 29 13:25:50 gate01 puppet-agent[2684]: Processing restart > > Mar 29 13:25:50 gate01 puppet-agent[2684]: Puppet::Agent::Locker.running? > is deprecated as it is inherently unsafe. The only safe way to know if the > lock is locked is to try lock and perform some action and then handle the > LockError that may result. > > Mar 29 13:25:50 gate01 puppet-agent[2684]: (location: > /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/agent/locker.rb:37:in > `running?') > > Mar 29 13:25:51 gate01 puppet-agent[38303]: Applied catalog in 16.78 > seconds > > Mar 29 13:26:00 gate01 puppet-agent[2684]: Config file > /etc/puppetlabs/puppet/puppet.conf changed; triggering re-parse of all > config files. > > Mar 29 13:44:16 gate01 puppet-agent[2684]: Shutdown/restart in progress > (:restart_requested); skipping run > > > > Than puppet never runs again because of this stuck restart until we > manually restart the agent. > > puppet-agent-5.5.12 here. > > > > This happens on both el6 and el7 hosts. > > > > Bad thing is that this even happens when puppet is upgraded during our > install process … and we get freshly installed nodes with stuck puppets… > > Off course, this did not happen before. > > > > Would anyone know of a way to get rid of this damn “can’t restart” loop ? > > > > Regards > > > > Frédéric Schaer > > CEA/Saclay > > DRF/IRFU/DEDIP/LIS > > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/fe3f7f56-1802-441f-be7b-5aeba98bc36d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
