[chef] Re: First run on Ubuntu 12 node: /var/cache/chef/cookbooks hierarchy contains no files


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: First run on Ubuntu 12 node: /var/cache/chef/cookbooks hierarchy contains no files
  • Date: Fri, 7 Sep 2012 08:36:49 -0700

On Friday, September 7, 2012 at 12:56 AM, Kevin Yank wrote:
Running chef-client 10.12.0 for the first time on a fresh Ubuntu 12.04 LTS node, the run fails after downloading the cookbooks from Chef Server, because all the files it supposedly downloaded into the /var/cache/chef/cookbooks directory hierarchy are missing!
Any ideas what could be wrong?

This same bootstrapping process is working perfectly for us on Ubuntu 11.04. I’m working on moving to Ubuntu 12.04, however, and this problem is where I’m stuck.

--
Kevin Yank
Chief Technology Officer, Avalanche Technology Group / AVG (AU/NZ) Pty Ltd

2/101 Tulip Street, Sandringham Victoria 3191 Australia
ph: +61 3 9581 0806
Is it possible you're running two chef-client instances at once, perhaps one out of init/cron/upstart/runit/etc. and one in the foreground of the bootstrap? The run_list doesn't get saved until the end of the bootstrap run, so a second chef-client will see an empty run_list and then purge the cache of "unneeded" files. 

-- 
Daniel DeLeo




Archive powered by MHonArc 2.6.16.

§