Yan Xiaofei
unread,Sep 7, 2017, 9:37:34 PM9/7/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppet...@googlegroups.com
Dear puppet experts,
My puppet agent version is 3.8.1. Some of the agent report error message :
puppet-agent[15104]: Shutdown/restart in progress (:restart_requested);
skipping run
This was because puppet reload config file during puppet agent running.
Here is the manifests:
augeas{"splay" :
context => "/files/etc/puppet/puppet.conf/agent/",
changes => "set splay true",
notify => Exec['refreshpuppet']
}
augeas{"splaylimit" :
context => "/files/etc/puppet/puppet.conf/agent/",
changes => "set splaylimit $puppetinterval",
notify => Exec['refreshpuppet']
}
exec {'refreshpuppet':
command => "/etc/init.d/puppet reload",
refreshonly => true
}
If I install a new node. This problem happened about 50%. Some of the
puppet agents will process puppet reload after puppet run, These nodes
are ok after installation. And some of the agents will process puppet
reload during puppet run, These nodes will report error message
"Shutdown/restart in progress (:restart_requested); skipping run".
Regards
Xiaofei