Anonymous | Login | 2024-04-20 01:54 CEST |
Main | My View | View Issues |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
0004935 | [puppet] regular use | major | sometimes | 2012-04-13 21:14 | 2012-05-14 23:38 | ||
Reporter | toomasp | View Status | public | ||||
Assigned To | markp | ||||||
Priority | normal | Resolution | fixed | ||||
Status | closed | ||||||
Summary | 0004935: svcadm restart cswpuppetd results in maintenance state | ||||||
Description |
Hello, Manual restarts of puppet result in maintenance state in fairly often. IE: [ Apr 13 18:40:17 Executing start method ("/var/opt/csw/svc/method/svc-cswpuppetd start") ] Starting Puppet client services: puppetd [ Apr 13 18:40:19 Method "start" exited with status 0 ] [ Apr 13 18:40:19 Stopping because all processes in service exited. ] [ Apr 13 18:40:19 Executing stop method ("/var/opt/csw/svc/method/svc-cswpuppetd stop") ] Stopping Puppet client services:/var/opt/csw/svc/method/svc-cswpuppetd: kill: no such process puppetd [ Apr 13 18:40:20 Method "stop" exited with status 0 ] [ Apr 13 18:40:20 Executing start method ("/var/opt/csw/svc/method/svc-cswpuppetd start") ] Starting Puppet client services: puppetd [ Apr 13 18:40:22 Method "start" exited with status 0 ] [ Apr 13 18:40:22 Stopping because all processes in service exited. ] [ Apr 13 18:40:22 Executing stop method ("/var/opt/csw/svc/method/svc-cswpuppetd stop") ] Stopping Puppet client services:/var/opt/csw/svc/method/svc-cswpuppetd: kill: no such process puppetd [ Apr 13 18:40:22 Method "stop" exited with status 0 ] [ Apr 13 18:40:22 Executing start method ("/var/opt/csw/svc/method/svc-cswpuppetd start") ] Starting Puppet client services: puppetd [ Apr 13 18:40:24 Method "start" exited with status 0 ] [ Apr 13 18:40:24 Stopping because all processes in service exited. ] [ Apr 13 18:40:24 Executing stop method ("/var/opt/csw/svc/method/svc-cswpuppetd stop") ] Stopping Puppet client services:/var/opt/csw/svc/method/svc-cswpuppetd: kill: no such process puppetd [ Apr 13 18:40:25 Method "stop" exited with status 0 ] [ Apr 13 18:40:25 Executing start method ("/var/opt/csw/svc/method/svc-cswpuppetd start") ] Starting Puppet client services: puppetd [ Apr 13 18:40:26 Method "start" exited with status 0 ] [ Apr 13 18:40:26 Stopping because all processes in service exited. ] [ Apr 13 18:40:26 Executing stop method ("/var/opt/csw/svc/method/svc-cswpuppetd stop") ] Stopping Puppet client services:/var/opt/csw/svc/method/svc-cswpuppetd: kill: no such process puppetd [ Apr 13 18:40:27 Method "stop" exited with status 0 ] [ Apr 13 18:40:27 Restarting too quickly, changing state to maintenance ] |
||||||
Additional Information |
I compared the SMF methods with CentOS packages and noticed that CentOS sends kill -TERM first, then waits for 0.1s and then follows up with a stronger kill. This seems to work much better for puppet. IE: [ Apr 13 21:49:47 Executing stop method ("/var/opt/csw/svc/method/svc-cswpuppetd stop") ] Stopping Puppet client services: puppetd [ Apr 13 21:49:55 Method "stop" exited with status 0 ] [ Apr 13 21:49:55 Executing start method ("/var/opt/csw/svc/method/svc-cswpuppetd start") ] Starting Puppet client services: puppetd [ Apr 13 21:50:11 Method "start" exited with status 0 ] As I was generating the patch, I also bumped the version to 2.7.13. |
||||||
Tags | No tags attached. | ||||||
Attached Files | svn_diff_puppet_2.7.13.patch [^] (2,022 bytes) 2012-04-13 21:14 | ||||||
|
Copyright © 2000 - 2008 Mantis Group |