[chef] Re: Double converge, blocking on search, event-driven chef-client?


Chronological Thread 
  • From: Lamont Granquist < >
  • To:
  • Subject: [chef] Re: Double converge, blocking on search, event-driven chef-client?
  • Date: Thu, 02 Oct 2014 08:53:16 -0700

On 10/1/14, 12:48 PM, Justin Dossey wrote:

would cause the recipe to poll the Chef server every ten seconds until a response came back, or until the client token expired (usually around 15 minutes).

Such behavior is not ideal (particularly because of the client token expiry issue) but besides supporting a second converge, it's the only way I have seen that will accomplish the desired result.

You can set `no_lazy_load true` in client.rb to avoid cookbook_file resources failing after 15m. This will be the default in Chef 12 client. The Chef 12 server also uses solr 4 and is going to populate search results in seconds rather than minutes.



Archive powered by MHonArc 2.6.16.

§