Jira (PUP-911) Puppet silent about inability to acquire pidlock

3 views
Skip to first unread message

Eric Sorenson (JIRA)

unread,
Sep 13, 2016, 3:07:04 PM9/13/16
to puppe...@googlegroups.com
Eric Sorenson updated an issue
 
Puppet / Bug PUP-911
Puppet silent about inability to acquire pidlock
Change By: Eric Sorenson
Team: Agent & Platform Support
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Eric Sorenson (JIRA)

unread,
Sep 13, 2016, 3:09:04 PM9/13/16
to puppe...@googlegroups.com
Eric Sorenson commented on Bug PUP-911
 
Re: Puppet silent about inability to acquire pidlock

I'm triaging old bugs and came across this one. Assigning to Agent & Platform for further investigation.

Sean McDonald (JIRA)

unread,
May 16, 2017, 1:27:03 PM5/16/17
to puppe...@googlegroups.com

Moses Mendoza (JIRA)

unread,
May 18, 2017, 1:49:03 PM5/18/17
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
Mar 16, 2018, 2:39:03 PM3/16/18
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sub-team: Coremunity
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Josh Cooper (JIRA)

unread,
Jan 22, 2020, 11:12:06 PM1/22/20
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-911
 
Re: Puppet silent about inability to acquire pidlock

Puppet no longer attempts to acquire the lock when reporting the version, closing this:

root@yellow-outrage:~# systemctl start puppet
root@yellow-outrage:~# puppet agent --version
6.12.0
root@yellow-outrage:~# echo $?
0

Michael Speth (JIRA)

unread,
Feb 26, 2020, 7:16:04 PM2/26/20
to puppe...@googlegroups.com
Michael Speth commented on Bug PUP-911

Josh Cooper I am having this problem since migrating from puppet 5 to puppet 6.

Issuing the following command:

sudo puppet agent --noop --debug --verbose 

Results in

Error: Could not run: Could not create PID file: /var/run/puppetlabs/agent.pid 

And doing a sudo service puppet status results in

Feb 26 16:08:25 jira-test-03 puppet-agent[1593]: Shutdown/restart in progress (:restart_requested); skipping run

Addition information:

ll /var/run/puppetlabs/agent.pid 
-rw-r--r-- 1 root root 4 Feb 19 15:39 /var/run/puppetlabs/agent.pid

ps auwx | grep puppet
root      1593  0.0  1.2 347544 49536 ?        Ssl  Feb19   1:19 /opt/puppetlabs/puppet/bin/ruby /opt/puppetlabs/puppet/bin/puppet agent --no-daemonize

sudo apt list puppet-agent
Listing... Done
puppet-agent/xenial,now 6.13.0-1xenial amd64 [installed]

Is this related to the issue here? Any ideas how to solve as all of my vms agents are stuck due to this issue.

Reply all
Reply to author
Forward
0 new messages