Issue #1454 has been updated by Nigel Kersten.

Status changed from Needs more information to Closed
Assignee set to Nigel Kersten

As per the below thread, we're more aggressively closing tickets whose state is 
unsure, particularly old tickets with little to no inactivity in a long time.

You are free to reopen them.

http://groups.google.com/group/puppet-users/browse_thread/thread/a040cb9bc5c5b647

----------------------------------------
Bug #1454: puppetd restart, sometimes failed.
https://projects.puppetlabs.com/issues/1454

Author: Vadim Vatlin
Status: Closed
Priority: Normal
Assignee: Nigel Kersten
Category: 
Target version: unplanned
Patch: None
Affected Puppet version: 0.24.7
Keywords: 
Branch: 


Hi.
I created module puppetd, which restart puppetd itself:
<pre>
service { "puppetd":
                ensure     => running,
                enable     => true,
                path       => [ "/etc/rc.d",
                                "/usr/local/etc/rc.d" ],
                pattern   => "puppetd",
                hasstatus  => true,
                hasrestart => true;
        }
</pre>
But it doesn't work:
tail -f /var/log/messages
<pre>
Jul 14 16:32:57 hostname puppetd[580]: 
(//Node[fqdn]/base_ac/puppetd/Service[puppetd]/enable) enable changed 'false' 
to 'true'
Jul 14 16:32:57 hostname puppetd[580]: 
(//Node[fqdn]/base_ac/puppetd/Service[puppetd]) Triggering 'refresh' from 1 
dependencies
Jul 14 16:32:57 hostname puppetd[580]: Caught TERM; shutting down
Jul 14 16:32:57 hostname puppetd[580]: Shutting down
Jul 14 16:33:18 hostname puppetd[580]: Reparsing 
/usr/local/etc/puppet/puppet.conf
Jul 14 16:33:18 hostname puppetd[580]: Could not run 
Puppet::Network::Client::Master: Thread(#<Thread:0x8082700 run>) not locked.
</pre>

ps aux -www | grep puppetd
<pre>
root    580  0.0  1.8 65736 65252  ??  Ss   Sat11AM   0:55.87 
/usr/local/bin/ruby18 /usr/local/bin/puppetd --rundir /var/run/puppet
root  58855  0.0  0.0  1868  1460  ??  Is   Sat12PM   0:00.01 /bin/sh 
/usr/local/etc/rc.d/puppetd restart
root  58862  0.0  0.0  1868  1492  ??  S    Sat12PM   0:24.50 /bin/sh 
/usr/local/etc/rc.d/puppetd restart
</pre>

OS: FreeBSD 6.3


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to