- From: Peter Crossley <
>
- To: "
" <
>
- Subject: [chef] RE: Re: Knife cookbook site share error
- Date: Wed, 9 Apr 2014 21:18:54 +0000
- Accept-language: en-US
Good catch.. That was it. There was a .tmp file in a directory that must not
have been cleaned up correctly. I was getting thrown by the JSON part of the
error.
Thanks
Pete
-----Original Message-----
From: Julian C. Dunn
[mailto:
Sent: Tuesday, April 08, 2014 8:30 PM
To:
Subject: [chef] Re: Knife cookbook site share error
413 is Request Entity Too Large, which is probably what our load balancer is
returning, and then knife is trying to parse the returned HTML error page as
JSON.
How big is this cookbook you're trying to share?
- Julian
On Tue, Apr 8, 2014 at 11:26 PM, Peter Crossley
<
>
wrote:
>
Hey,
>
>
I am doing what I have done for the past few time I have updated
>
cookbooks on the community site but this time I am getting an error.
>
It doesn't seem to be my metadata or anything with the cookbook. I
>
have ran food critic and every test on it to make sure it's valid.
>
Here is the verbose knife output while trying to update it.
>
>
>
>
Any help would be great.
>
>
>
>
Thanks,
>
>
Pete
>
>
>
>
>
>
knife cookbook site share rundeck Applications -o . -u pcross616 -k
>
~/.chef/pcross616.pem -VV
>
>
>
>
DEBUG: No chefignore file found at
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/chefignore
>
no files will be ignored
>
>
INFO: Validating ruby files
>
>
DEBUG: No chefignore file found at ./chefignore no files will be
>
ignored
>
>
DEBUG: Ruby file ./rundeck/recipes/chef-rundeck.rb is unchanged,
>
skipping syntax check
>
>
DEBUG: Ruby file ./rundeck/recipes/node_unix.rb is unchanged, skipping
>
syntax check
>
>
DEBUG: Ruby file ./rundeck/recipes/node_windows.rb is unchanged,
>
skipping syntax check
>
>
DEBUG: Ruby file ./rundeck/recipes/server.rb is unchanged, skipping
>
syntax check
>
>
DEBUG: Ruby file ./rundeck/recipes/default.rb is unchanged, skipping
>
syntax check
>
>
DEBUG: Ruby file ./rundeck/attributes/default.rb is unchanged,
>
skipping syntax check
>
>
DEBUG: Ruby file ./rundeck/metadata.rb is unchanged, skipping syntax
>
check
>
>
INFO: Validating templates
>
>
DEBUG: Template ./rundeck/templates/default/sv-rundeck-run.erb is
>
unchanged, skipping syntax check
>
>
DEBUG: Template ./rundeck/templates/default/rundeck.conf.erb is
>
unchanged, skipping syntax check
>
>
DEBUG: Template
>
./rundeck/templates/default/jaas-activedirectory.conf.erb is
>
unchanged, skipping syntax check
>
>
DEBUG: Template ./rundeck/templates/default/project.properties.erb is
>
unchanged, skipping syntax check
>
>
DEBUG: Template
>
./rundeck/templates/default/sv-chef-rundeck-log-run.erb is unchanged,
>
skipping syntax check
>
>
DEBUG: Template ./rundeck/templates/default/profile.erb is unchanged,
>
skipping syntax check
>
>
DEBUG: Template ./rundeck/templates/default/rundeck.rb.erb is
>
unchanged, skipping syntax check
>
>
DEBUG: Template ./rundeck/templates/default/framework.properties.erb
>
is unchanged, skipping syntax check
>
>
DEBUG: Template ./rundeck/templates/default/sv-chef-rundeck-run.erb is
>
unchanged, skipping syntax check
>
>
DEBUG: Template ./rundeck/templates/default/sv-rundeck-log-run.erb is
>
unchanged, skipping syntax check
>
>
DEBUG: Template
>
./rundeck/templates/default/rundeck-config.properties.erb is
>
unchanged, skipping syntax check
>
>
DEBUG: Template ./rundeck/templates/default/web.xml.erb is unchanged,
>
skipping syntax check
>
>
DEBUG: Template ./rundeck/templates/default/knife.rb.erb is unchanged,
>
skipping syntax check
>
>
INFO: Syntax OK
>
>
DEBUG: Staging at /tmp/chef-rundeck-build20140408-29393-1o3atys
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/rec
>
ipes/chef-rundeck.rb
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/recipes/chef-run
>
deck.rb
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/rec
>
ipes/node_unix.rb
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/recipes/node_uni
>
x.rb
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/rec
>
ipes/node_windows.rb
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/recipes/node_win
>
dows.rb
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/rec
>
ipes/server.rb to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/recipes/server.r
>
b
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/rec
>
ipes/default.rb to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/recipes/default.
>
rb
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/att
>
ributes/default.rb
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/attributes/defau
>
lt.rb
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/fil
>
es/default/rundeck-1.4.5-1.deb
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/files/default/ru
>
ndeck-1.4.5-1.deb
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/fil
>
es/default/rundeck-winrm-plugin-1.0-beta.jar
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/files/default/ru
>
ndeck-winrm-plugin-1.0-beta.jar
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/fil
>
es/default/rundeck-winrm-plugin-1.1.jar
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/files/default/ru
>
ndeck-winrm-plugin-1.1.jar
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/fil
>
es/default/rundeck.pub
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/files/default/ru
>
ndeck.pub
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/fil
>
es/default/chef-rundeck-0.2.2.gem
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/files/default/ch
>
ef-rundeck-0.2.2.gem
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/fil
>
es/default/rundeck
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/files/default/ru
>
ndeck
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/tem
>
plates/default/sv-rundeck-run.erb
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/defaul
>
t/sv-rundeck-run.erb
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/tem
>
plates/default/rundeck.conf.erb
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/defaul
>
t/rundeck.conf.erb
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/tem
>
plates/default/jaas-activedirectory.conf.erb
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/defaul
>
t/jaas-activedirectory.conf.erb
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/tem
>
plates/default/project.properties.erb
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/defaul
>
t/project.properties.erb
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/tem
>
plates/default/sv-rundeck-log-run.erb
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/defaul
>
t/sv-chef-rundeck-log-run.erb
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/tem
>
plates/default/profile.erb
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/defaul
>
t/profile.erb
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/tem
>
plates/default/rundeck.rb.erb
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/defaul
>
t/rundeck.rb.erb
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/tem
>
plates/default/framework.properties.erb
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/defaul
>
t/framework.properties.erb
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/tem
>
plates/default/sv-chef-rundeck-run.erb
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/defaul
>
t/sv-chef-rundeck-run.erb
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/tem
>
plates/default/sv-rundeck-log-run.erb
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/defaul
>
t/sv-rundeck-log-run.erb
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/tem
>
plates/default/rundeck-config.properties.erb
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/defaul
>
t/rundeck-config.properties.erb
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/tem
>
plates/default/web.xml.erb
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/defaul
>
t/web.xml.erb
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/tem
>
plates/default/knife.rb.erb
>
to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/defaul
>
t/knife.rb.erb
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/CON
>
TRIBUTING to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/CONTRIBUTING
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/REA
>
DME.rdoc to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/README.rdoc
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/Rak
>
efile to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/Rakefile
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/CHA
>
NGELOG.md to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/CHANGELOG.md
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/met
>
adata.rb to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/metadata.rb
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/REA
>
DME.md to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/README.md
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/LIC
>
ENSE to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/LICENSE
>
>
DEBUG: Staging
>
/home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/.tr
>
avis.yml to
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/.travis.yml
>
>
DEBUG: Generating metadata
>
>
Generating metadata for rundeck from
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/metadata.rb
>
>
DEBUG: Generated
>
/tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/metadata.json
>
>
DEBUG: Temp cookbook directory is
>
"/tmp/chef-rundeck-build20140408-29393-1o3atys"
>
>
Making tarball rundeck.tgz
>
>
DEBUG: Executing tar -czf rundeck.tgz rundeck
>
>
DEBUG: ---- Begin output of tar -czf rundeck.tgz rundeck ----
>
>
DEBUG: STDOUT:
>
>
DEBUG: STDERR:
>
>
DEBUG: ---- End output of tar -czf rundeck.tgz rundeck ----
>
>
DEBUG: Ran tar -czf rundeck.tgz rundeck returned 0
>
>
DEBUG: Signing: method: post, path: /api/v1/cookbooks, file:
>
#<File:0x0000000195a820>, User-id: pcross616, Timestamp:
>
2014-04-09T03:21:57Z
>
>
ERROR: Error uploading cookbook rundeck to the Opscode Cookbook Site:
>
lexical error: invalid char in json text.
>
>
<html> <head><title>413 Reques
>
>
(right here) ------^
>
>
. Increase log verbosity (-VV) for more information.
>
>
DEBUG:
>
>
/var/lib/gems/1.9.1/gems/yajl-ruby-1.2.0/lib/yajl.rb:37:in `parse'
>
>
/var/lib/gems/1.9.1/gems/yajl-ruby-1.2.0/lib/yajl.rb:37:in `parse'
>
>
/var/lib/gems/1.9.1/gems/chef-11.10.4/lib/chef/json_compat.rb:56:in
>
`from_json'
>
>
/var/lib/gems/1.9.1/gems/chef-11.10.4/lib/chef/knife/cookbook_site_sha
>
re.rb:94:in
>
`do_upload'
>
>
/var/lib/gems/1.9.1/gems/chef-11.10.4/lib/chef/knife/cookbook_site_sha
>
re.rb:67:in
>
`run'
>
>
/var/lib/gems/1.9.1/gems/chef-11.10.4/lib/chef/knife.rb:491:in
>
`run_with_pretty_exceptions'
>
>
/var/lib/gems/1.9.1/gems/chef-11.10.4/lib/chef/knife.rb:174:in `run'
>
>
/var/lib/gems/1.9.1/gems/chef-11.10.4/lib/chef/application/knife.rb:13
>
5:in
>
`run'
>
>
/var/lib/gems/1.9.1/gems/chef-11.10.4/bin/knife:25:in `<top (required)>'
>
>
/usr/local/bin/knife:23:in `load'
>
>
/usr/local/bin/knife:23:in `<main>'
>
>
--
[ Julian C. Dunn
<
>
* Sorry, I'm ]
[ WWW:
http://www.aquezada.com/staff/julian * only Web 1.0 ]
[
gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]
Archive powered by MHonArc 2.6.16.