It it happening consistently on a particular cookbook? If so, are you willing to send me a tarball so I can try it myself?Thanks,ChrisOn Tue, Dec 7, 2010 at 9:52 AM, Tristan Sloughter < " target="_blank"> > wrote:
Makes sense.Correct, I'm using knife upload. I've been using it this way for weeks.Thanks,TristanOn Tue, Dec 7, 2010 at 11:48 AM, Chris Walters < " target="_blank"> > wrote:
Hi Tristan,Sandboxes are the mechanism by which files for cookbooks get onto the chef server. The files are checksummed to avoid forcing you to upload the same file multiple times; basically, we're optimizing for the "tweak one file, upload, test, repeat" use case. The first step in uploading a cookbook is to create a sandbox, indicating the checksums of the files that you want to upload to the server. The server then checks to see which checksums it already has and returns the list of unknown checksums and where they can be uploaded.This error indicates that the server is receiving a request to create a sandbox that includes an empty string for a checksum. I'm still investigating how this is possible. You're using knife from the command line to perform this operation, right?-chrisOn Tue, Dec 7, 2010 at 9:03 AM, Tristan Sloughter < " target="_blank"> > wrote:
I can't seem to find anything online related to this error I am getting when attempting to upload a new version of a cookbook. Does this trace make sense to anyone?INFO: Validating ruby filesINFO: Validating templatesINFO: Syntax OKINFO: Generating MetadataWARN: HTTP Request Returned 500 Internal Server Error: Named route sandbox_checksum could not be generated with {:sandbox_id=>"fb314161f0e547039636c9f64e850f02", :checksum=>""}/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:2097:in `error!': 500 "Internal Server Error" (Net::HTTPFatalError)from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/rest.rb:229:in `api_request'from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/rest.rb:280:in `retriable_rest_request'from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/rest.rb:210:in `api_request'from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/rest.rb:121:in `post_rest'from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/cookbook_uploader.rb:26:in `upload_cookbook'from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/knife/cookbook_upload.rb:67:in `run'from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/knife/cookbook_upload.rb:65:in `each'from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/knife/cookbook_upload.rb:65:in `run'from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/knife/cookbook_upload.rb:80:in `humanize_auth_exceptions'from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/knife/cookbook_upload.rb:53:in `run'from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/knife.rb:127:in `run'from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/application/knife.rb:118:in `run'from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/knife:25from /usr/bin/knife:19:in `load'from /usr/bin/knife:19Thanks,Tristan
Archive powered by MHonArc 2.6.16.