For example, if a process updates a node while the chef client is running, the chef-client will overwrite the node data:
The same thing happens if we have two processes storing node data at the same moment.
EDIT
We need an external modification, because we have a good Chef server user interface for remote management of many computers shown as a tree (similar to LDAP). The administrator can update the value of recipes from here. This project is OpenSource: https://github.com/gecos-team/
Although we had a semaphore system, we found that if we have two or more simultaneous queries, we might have a match problem:
EDIT 2
I have added a document with a lot of information about our problem.
- , . , node chef-client ( , - ), .
, .
- node chef-, node / .
Consul.io / . - LWRP, consul (http, DNS,...).
push-job chef-client (IMHO , push jobs "-", ACL/ Chefs), . , node script.
Chef , , .
, , :
( ), api ( - 12, 25 , )
node ( URL- - /, 11.16 backport)
node , node .
- node node -.
, Chef node node . , , , .
, node . -: -)
, node. - -. , node , , , , .
If you want to disable dependency on another external service, perhaps you can use some slicing time.
Roughly: nodes only run the chef client for odd minutes. Api updates the chef’s data even within minutes (distribute these even minutes if you have a longer queue).
Source: https://habr.com/ru/post/1613682/More articles:Node fs Error: EPERM: operation not allowed, open - node.js--Enable-pcregrep-libbz2 failed because bzlib.h was not found - linuxAccess https sites with IP address - sslИспользование docker-compose Mysql + App - mysqlPython split confusion - pythonMkdir error. Access is denied. google api - file-permissionsCeylon 1.2 Binary Compatibility - ceylonHow to make Visual Studio better find method overloads in C #? - c #Incorrect vsnprintf output - c ++Python, opening files in a loop (dicom) - pythonAll Articles