I’ve seen this when I have an unsaved buffer and temporary emacs files
configured to drop in the same folder e.g
You can customize the temp file location.
On 8/12/2010 8:08 AM, “Chris Walters” firstname.lastname@example.org wrote:
Glad to hear it’s working now. I guess the tests missed that case
I’ve created http://tickets.opscode.com/browse/CHEF-1922 to track the fix.
On Tue, Dec 7, 2010 at 10:05 AM, Tristan Sloughter <
Wait wait… I “fixed” it.
So I decided to ensure all changes were saved and I started closing all
emacs buffers to make sure of that. I got to a template that hadn’t been
saved. After saving it upload worked fine… But the file did exist in
former state on disk, and already existed in the repo.
I hope that helps explain why the checksum would be empty.
On Tue, Dec 7, 2010 at 12:03 PM, Tristan Sloughter <
So I realized I “could”, but it would have to be modified, so not sure
that’ll be good enough. And I wouldn’t want to not remove everything…
On Tue, Dec 7, 2010 at 11:58 AM, Tristan Sloughter <
Its consistent, I can not get my current changes to upload.
I’ll check if I can send out a tarball to you.
On Tue, Dec 7, 2010 at 11:56 AM, Chris Walters email@example.com wrote:
It it happening consistently on a particular cookbook? If so, are you
willing to send me a tarball so I can try it myself?
On Tue, Dec 7, 2010 at 9:52 AM, Tristan Sloughter <
Correct, I’m using knife upload. I’ve been using it this way for
On Tue, Dec 7, 2010 at 11:48 AM, Chris Walters firstname.lastname@example.org
Sandboxes are the mechanism by which files for cookbooks get onto
chef server. The files are checksummed to avoid forcing you to
same file multiple times; basically, we’re optimizing for the "tweak
file, upload, test, repeat" use case. The first step in uploading a
is to create a sandbox, indicating the checksums of the files that
to upload to the server. The server then checks to see which
already has and returns the list of unknown checksums and where they
This error indicates that the server is receiving a request to
a sandbox that includes an empty string for a checksum. I’m still
investigating how this is possible. You’re using knife from the
to perform this operation, right?
On Tue, Dec 7, 2010 at 9:03 AM, Tristan Sloughter <
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
trace make sense to anyone?
INFO: Validating ruby files
INFO: Validating templates
INFO: Syntax OK
INFO: Generating Metadata
WARN: HTTP Request Returned 500 Internal Server Error: Named route
sandbox_checksum could not be generated with
error!': 500 "Internal Server Error" (Net::HTTPFatalError) from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/rest.rb:229:inapi_request’
retriable_rest_request' from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/rest.rb:210:inapi_request’
run' from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/lib/chef/knife.rb:127:inrun’
run' from /Library/Ruby/Gems/1.8/gems/chef-0.9.8/bin/knife:25 from /usr/bin/knife:19:inload’