Issue #12844 has been updated by Chris Price.

Status changed from Merged - Pending Release to Code Insufficient

I have received new instructions on this; basically those instructions are to 
back the original lockfile changes out of 2.7rc and patch in functionality that 
will workaround the potential issue that this may create for 2.7.10 and 2.7.11 
users.

Discussed with Patrick, and here's the new plan:

1. revert the commit (fcac8f7163c99884fc6b75e3851c4a5e16a3ff07) that included 
this fix for this from 2.7rc
2. revert the commit (b434e3b9c31de63365e1a0f53d152be7e6e988ec) that included 
the original behavior changes for the lockfiles from 2.7rc
3. at this point we will have hopefully addressed the concerns re: mcollective, 
and the original problem outlined by this ticket.  However, we will have 
introduced basically the same problem that this ticket describes for any user 
upgrading from 2.7.10 or 2.7.11 to 2.7.12.  Will need a new commit for 2.7rc 
that provides a workaround for that.

Then we'll need to figure out how to deal with this in master/3.x.  What we 
probably want to do there is:

* evaluate whether or not these lockfiles should be considered part of our 
public API.  If so, this should be documented clearly (in our documentation AND 
in the code itself).  My personal preference would be to expose this API via 
some other means, so that external consumers did not have to be aware of the 
implementation details of our API... it sounds like other folks are less 
concerned about this and consider lockfiles to be an acceptable API exposure.  
If that's the consensus, then at the very least it needs to be documented 
thoroughly.
* re-introduce some permutation of commit 
b434e3b9c31de63365e1a0f53d152be7e6e988ec, after reaching agreement on the 
semantics of the lockfile.
* fcac8f7163c99884fc6b75e3851c4a5e16a3ff07 goes away forever, does not end up 
in a release.
* The new commit described in #3 above needs to be reverted OUT of 3.x after 
the next merge from 2.7.x to 3.x.
----------------------------------------
Bug #12844: Puppet upgrade can't remove lockfile.
https://projects.puppetlabs.com/issues/12844#change-56031

Author: Trevor Vaughan
Status: Code Insufficient
Priority: High
Assignee: Chris Price
Category: 
Target version: 2.7.12
Affected Puppet version: 2.7.11
Keywords: lock file, puppet agent, disable, enable
Branch: https://github.com/puppetlabs/puppet/pull/540


Procedure:

Start with 2.7.7
Run puppet agent --disable
Upgrade to 2.7.11
Run puppet agent --enable

Result:

puppet agent --enable does not remove /var/lib/puppet/state/puppetdlock and 
puppet will no longer run.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to