Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Unknown
-
Resolution: Duplicate
-
Affects Version/s: 0.10.4
-
Fix Version/s: None
-
Component/s: Chef Client, Knife
-
Labels:None
Description
If you make changes to a node's run_list through knife while chef-client is running on the node, chef-client overwrites the run_list with the old one when it completes.
Repro Steps:
1. Add a recipe to a node's run_list
2. Run chef-client on the node
3. While it's running, delete the recipe from the run_list on that node and add another with knife
When chef-client completes it overwrites the run_list with the original one from step 1. There are no errors in chef-client or knife, and there is no way to tell this occurred until you realize chef-client isn't running with the expected run_list the next time you start it.
No related tickets, just an issue I ran into while testing.
Issue Links
- duplicates
-
CHEF-1812
When running chef-client and using "knife node edit" operations at the same time, node data (at least run_list) gets overwritten
-
It looks same as CHEF-1812.
http://tickets.opscode.com/browse/CHEF-1812