Just deployed the latest bootstrap chef-server onto a redhat 6.3 node and I get this error when uploading a cookbook:DEBUG: Using configuration from /root/.chef/knife.rbDEBUG: No chefignore file found at /root/chef-repo/cookbooks/chefignore no files will be ignoredDEBUG: Signing the request as markpDEBUG: Sending HTTP Request via GET to localhost:80/cookbooksDEBUG: ---- HTTP Status and Header Data: ----DEBUG: HTTP 1.1 301 Moved PermanentlyDEBUG: server: nginx/1.0.15DEBUG: date: Wed, 12 Dec 2012 14:07:40 GMTDEBUG: content-type: text/htmlDEBUG: content-length: 185DEBUG: connection: closeDEBUG: location: https://hq-tor-chef.quickplay.local/cookbooks?num_versions=allDEBUG: ---- End HTTP Status/Header Data ----DEBUG: Following redirect 1/10DEBUG: Signing the request as markpDEBUG: Sending HTTP Request via GET to hq-tor-chef.quickplay.local:443/cookbooksDEBUG: ---- HTTP Status and Header Data: ----DEBUG: HTTP 1.1 200 OKDEBUG: server: nginx/1.0.15DEBUG: date: Wed, 12 Dec 2012 14:07:40 GMTDEBUG: content-type: application/json; charset=utf-8DEBUG: transfer-encoding: chunkedDEBUG: connection: closeDEBUG: ---- End HTTP Status/Header Data ----Uploading site [0.1.0]INFO: Validating ruby filesDEBUG: Ruby file /root/chef-repo/cookbooks/site/attributes/default.rb is unchanged, skipping syntax checkDEBUG: Ruby file /root/chef-repo/cookbooks/site/metadata.rb is unchanged, skipping syntax checkDEBUG: Ruby file /root/chef-repo/cookbooks/site/recipes/nfs.rb is unchanged, skipping syntax checkDEBUG: Ruby file /root/chef-repo/cookbooks/site/recipes/default.rb is unchanged, skipping syntax checkINFO: Validating templatesINFO: Syntax OKINFO: Saving siteDEBUG: Signing the request as markpDEBUG: Sending HTTP Request via POST to localhost:80/sandboxesDEBUG: ---- HTTP Status and Header Data: ----DEBUG: HTTP 1.1 301 Moved PermanentlyDEBUG: server: nginx/1.0.15DEBUG: date: Wed, 12 Dec 2012 14:07:40 GMTDEBUG: content-type: text/htmlDEBUG: content-length: 185DEBUG: connection: closeDEBUG: location: https://hq-tor-chef.quickplay.local/sandboxesDEBUG: ---- End HTTP Status/Header Data ----DEBUG: Following redirect 1/10DEBUG: Signing the request as markpDEBUG: Sending HTTP Request via GET to hq-tor-chef.quickplay.local:443/sandboxesDEBUG: ---- HTTP Status and Header Data: ----DEBUG: HTTP 1.1 200 OKDEBUG: server: nginx/1.0.15DEBUG: date: Wed, 12 Dec 2012 14:07:40 GMTDEBUG: content-type: application/json; charset=utf-8DEBUG: transfer-encoding: chunkedDEBUG: connection: closeDEBUG: ---- End HTTP Status/Header Data ----INFO: Uploading files/opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/cookbook_uploader.rb:80:in `upload_cookbooks': undefined method `each' for nil:NilClass (NoMethodError)from /opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/knife/cookbook_upload.rb:231:in `upload'from /opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/knife/cookbook_upload.rb:122:in `block in run'from /opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/knife/cookbook_upload.rb:119:in `each'from /opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/knife/cookbook_upload.rb:119:in `run'from /opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/knife.rb:408:in `run_with_pretty_exceptions'from /opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/knife.rb:168:in `run'from /opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/application/knife.rb:123:in `run'from /opt/ruby/lib/ruby/gems/1.9.1/gems/chef-10.16.2/bin/knife:25:in `<top (required)>'from /opt/ruby/bin/knife:23:in `load'from /opt/ruby/bin/knife:23:in `<main>'The install was done over a ruby-1.9.3 compiled from source.--
Thanks,
Mark
Archive powered by MHonArc 2.6.16.