[chef] Re: chef-server 0.9.14 not updating cookbook_index on upload


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: chef-server 0.9.14 not updating cookbook_index on upload
  • Date: Thu, 17 Mar 2011 10:29:34 -0700

On Thursday, March 17, 2011 at 9:35 AM, Jon Wood wrote:

Hi there,


merb : chef-server (api) : worker (port 4000) ~ Started request
handling: Thu Mar 17 16:22:29 +0000 2011
merb : chef-server (api) : worker (port 4000) ~ Params:
{"cookbook_version"=>"0.21.4", "action"=>"show_file",
"cookbook_name"=>"mysql",
"checksum"=>"2ddc3a4aa15c27989a74dd69a72e13ea",
"controller"=>"cookbooks"}
merb : chef-server (api) : worker (port 4000) ~ File with checksum
2ddc3a4aa15c27989a74dd69a72e13ea not found in the repository (this
should not happen) - (Merb::ControllerExceptions::InternalServerError)

When checking the filesystem that checksum does not exist in
/var/lib/chef/cookbook_index/2d/2ddc3a4aa15c27989a74dd69a72e13ea, but
does exist in the original path of
/var/cache/chef/checksums/2d/2ddc3a4aa15c27989a74dd69a72e13ea.
Deleting the contents of /var/cache/chef/ didn't help either.

I'm fairly stumped with this now, so any pointers in the right
direction would be very much appreciated.
You can either move the files over from the original location, or you could delete all of your cookbooks with the --purge option and re-upload.



Cheers,
Jon

-- 
Dan DeLeo




Archive powered by MHonArc 2.6.16.

§