Mantis - puppet
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
4935 | regular use | major | sometimes | 2012-04-13 21:14 | 2012-05-14 23:38 |
|
|||||
Reporter: | toomasp | Platform: | |||
Assigned To: | markp | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
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 ] |
||||
Steps To Reproduce: | |||||
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. |
||||
Relationships | |||||
Attached Files: | svn_diff_puppet_2.7.13.patch [^] (2,022 bytes) 2012-04-13 21:14 | ||||
|
|||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-04-13 21:14 | toomasp | New Issue | |||
2012-04-13 21:14 | toomasp | File Added: svn_diff_puppet_2.7.13.patch | |||
2012-04-14 20:06 | markp | Status | new => assigned | ||
2012-04-14 20:06 | markp | Assigned To | => markp | ||
2012-04-14 20:07 | markp | Note Added: 0009806 | |||
2012-04-15 00:57 | toomasp | Note Added: 0009808 | |||
2012-05-03 16:56 | markp | Note Added: 0009850 | |||
2012-05-03 16:56 | markp | Status | assigned => resolved | ||
2012-05-03 16:56 | markp | Resolution | open => fixed | ||
2012-05-14 23:38 | markp | Note Added: 0009861 | |||
2012-05-14 23:38 | markp | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|