Jira (PUP-8774) puppet device does not use locking

1 view
Skip to first unread message

Bas Toonk (JIRA)

unread,
May 23, 2018, 3:17:04 PM5/23/18
to puppe...@googlegroups.com
Bas Toonk created an issue
 
Puppet / Bug PUP-8774
puppet device does not use locking
Issue Type: Bug Bug
Affects Versions: PUP 4.10.10
Assignee: Unassigned
Created: 2018/05/23 12:16 PM
Priority: Major Major
Reporter: Bas Toonk

Puppet device command does not create or check for lock files.

This makes it possible for several puppet device processes to run at the same time.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Craig Gomes (JIRA)

unread,
May 29, 2018, 12:43:02 PM5/29/18
to puppe...@googlegroups.com
Craig Gomes updated an issue
Change By: Craig Gomes
Team: Modules

Thomas Honey (JIRA)

unread,
May 30, 2018, 10:44:03 AM5/30/18
to puppe...@googlegroups.com
Thomas Honey commented on Bug PUP-8774
 
Re: puppet device does not use locking

Hi Bas Toonk i am just following up with this, due to some of the functionality in device locking the process does not make sense. However i could see this being added as a possible new feature. IE opting into process locking. This would not be a priority, currently. 

Thanks for taking the time to document this.

Adam Gardner (JIRA)

unread,
Apr 29, 2019, 9:14:03 PM4/29/19
to puppe...@googlegroups.com
Adam Gardner commented on Bug PUP-8774

I think this should be revisited. While it certainly does not make sense for puppet device to be locked across all targets, it makes a lot of sense to try and protect against a single proxy running puppet device against the same target multiple times simultaneously.

Just like each device target has its own cache, it should have its own lock file: /opt/puppetlabs/puppet/cache/devices/<target>/state/device_catalog_run.lock, most likely.

Josh Cooper (Jira)

unread,
Mar 31, 2020, 11:57:03 PM3/31/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
 
Change By: Josh Cooper
Team: Modules Network Automation
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages