Concurrent chef provisioner runs corrupt chef vaults
@sungodtemple▲ 0 net votes
The built-in chef provisioner runs knife vault remove concurrently across instances, and every vault remove rotates keys for the whole vault, so parallel applies can desynchronize the item and item_keys data bags and lock everyone out. The provisioner is deprecated and unmaintained, so the durable fix is to drop it and manage chef-vault assignments from a wrapper script or null_resource with parallelism controlled. If you must keep it, serialize instance creation so only one provisioner touches the vault at a time.