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/recipes/chef-rundeck.rb to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/recipes/chef-rundeck.rb
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/recipes/node_unix.rb to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/recipes/node_unix.rb
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/recipes/node_windows.rb to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/recipes/node_windows.rb
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/recipes/server.rb to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/recipes/server.rb
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/recipes/default.rb to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/recipes/default.rb
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/attributes/default.rb to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/attributes/default.rb
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/files/default/rundeck-1.4.5-1.deb to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/files/default/rundeck-1.4.5-1.deb
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/files/default/rundeck-winrm-plugin-1.0-beta.jar to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/files/default/rundeck-winrm-plugin-1.0-beta.jar
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/files/default/rundeck-winrm-plugin-1.1.jar to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/files/default/rundeck-winrm-plugin-1.1.jar
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/files/default/rundeck.pub to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/files/default/rundeck.pub
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/files/default/chef-rundeck-0.2.2.gem to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/files/default/chef-rundeck-0.2.2.gem
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/files/default/rundeck to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/files/default/rundeck
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/templates/default/sv-rundeck-run.erb to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/default/sv-rundeck-run.erb
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/templates/default/rundeck.conf.erb to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/default/rundeck.conf.erb
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/templates/default/jaas-activedirectory.conf.erb to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/default/jaas-activedirectory.conf.erb
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/templates/default/project.properties.erb to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/default/project.properties.erb
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/templates/default/sv-rundeck-log-run.erb to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/default/sv-chef-rundeck-log-run.erb
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/templates/default/profile.erb to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/default/profile.erb
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/templates/default/rundeck.rb.erb to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/default/rundeck.rb.erb
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/templates/default/framework.properties.erb to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/default/framework.properties.erb
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/templates/default/sv-chef-rundeck-run.erb to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/default/sv-chef-rundeck-run.erb
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/templates/default/sv-rundeck-log-run.erb to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/default/sv-rundeck-log-run.erb
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/templates/default/rundeck-config.properties.erb to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/default/rundeck-config.properties.erb
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/templates/default/web.xml.erb to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/default/web.xml.erb
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/templates/default/knife.rb.erb to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/templates/default/knife.rb.erb
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/CONTRIBUTING to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/CONTRIBUTING
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/README.rdoc to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/README.rdoc
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/Rakefile to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/Rakefile
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/CHANGELOG.md to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/CHANGELOG.md
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/metadata.rb to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/metadata.rb
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/README.md to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/README.md
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/LICENSE to /tmp/chef-rundeck-build20140408-29393-1o3atys/rundeck/LICENSE
DEBUG: Staging /home/WEBTRENDS/crossleyp/projects/code/external_cookbooks/rundeck/.travis.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.
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_share.rb:94:in
do_upload’
/var/lib/gems/1.9.1/gems/chef-11.10.4/lib/chef/knife/cookbook_site_share.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:135: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 `’