[PUP-10218] Puppet incorrectly detecting stale pidfile Created: 2020/01/07 Updated: 2021/05/19 Resolved: 2020/02/13 |
|
Status: |
Resolved |
Project: |
|
Component/s: |
None |
Affects Version/s: |
|
Fix Version/s: |
Type: |
Bug |
Priority: |
Normal |
Reporter: |
Assignee: |
||
Resolution: |
Fixed |
Votes: |
0 |
resolved-issue-added |
|||
Remaining Estimate: |
Not Specified |
||
Time Spent: |
Not Specified |
||
Original Estimate: |
Not Specified |
Attachments: |
pidlock.patch |
CentOS 7 |
|
CentOS 7 |
|
Night's Watch |
|
2 |
|
NW - 2020-02-05, NW - 2020-02-19 |
|
Needs Assessment |
|
Bug Fix |
|
Fixed pidfile lock removal for when Puppet Agent is started as a LightWeight Process and is incorrectly terminated on POSIX operating systems. |
|
Needs Assessment |
Description |
|
Comments |
|
Comment by Josh Cooper [ 2020/01/07 ] |
Thanks for the patch Marcin Deranek! Couple of notes. The code will need to account for posix platforms that don't support -q, e.g. mac osx reports that q is an illegal option. If you want to make a contribution to puppet, could you submit a pull request? If not, that's fine too, we can make the fix ourselves. |
Comment by Ciprian Badescu [ 2020/02/06 ] |
Marcin Deranek, can you provide us the steps to reproduce the issue? How did you start puppet process as LWP? |
Comment by nobody [ 2021/05/18 ] |
The same trouble with `puppet-agent-5.5.22-1.el7.x86_64` , can someone reopen the issue? |
Comment by Ciprian Badescu [ 2021/05/19 ] |
Puppet 5 is EOL. Can you try with Puppet 6 or manually apply the patch for the fix: https://github.com/puppetlabs/puppet/pull/7958/files#diff-566af3cdae401e0290417d4d75a10bb7b2d2fb60d801ffd9923fc6878eb0c0bf? |
Comment by nobody [ 2021/05/19 ] |
Sad to hear that Ok, understood, thx 4 ur time. |
Generated at Sat Dec 04 03:38:15 PST 2021 using Jira 8.13.2#813002-sha1:c495a97c0445fc6ed348f0d5238c2bc2e2c2ef37.
Tags: pidfile, incorrectly, stale, 20200107, [pup10218], created, puppet, updated, detecting