Issue #7713 has been updated by Nigel Kersten.

Status changed from Needs Decision to Needs More Information
Assignee changed from Nigel Kersten to Peter Meier

can you share more details about your platform and version Peter? 
----------------------------------------
Bug #7713: puppet client hangs while stopping service hang
https://projects.puppetlabs.com/issues/7713

Author: Peter Meier
Status: Needs More Information
Priority: Normal
Assignee: Peter Meier
Category: service
Target version: 
Affected Puppet version: 2.6.8
Keywords: service, timeout
Branch: 


I had some service (iscsid) which hung for ever for some reason (missing config 
file), when stopping it via `service iscsid stop`.

As puppet should stop that service, puppet hung as well. Over days...

I think it's pretty reasonable to expect services to be stopped after some time 
(like 10 minutes?) and if they didn't return so far, give up (and kill the 
service process) and mark the service resource as failed.

Additionally an additional parameter could be added to the service type: 
`command_timeout` which could tweak the default of how long puppet will wait to 
get some feedback from the start, stop, status command.


-- 
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 puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to