Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Cannot Reproduce
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: knife-rackspace
-
Environment:
Server: Version 0.9.18 on Ubuntu 10.04 (installed from opscode repos, not Linux pkgs), Client: chef-0.10.4 gem MacOS Lion (Darwin Kernel Version 11.1.0)
Description
Running 'knife cookbook upload -a' the first time worked for a few cookbooks but but didn't upload all of them, only a few showed up on the server. Now running the command for a single cookbook or for all regardless I get the 'each for nil:NilClass' error. It's not clear why this is happening.
$ knife cookbook upload -a -VV
DEBUG: Using configuration from /Users/nicholas/chef-repo/.chef/knife.rb
DEBUG: No chefignore file found at /Users/nicholas/chef-repo/cookbooks/chefignore no files will be ignored
DEBUG: Signing the request as nicholas
DEBUG: Sending HTTP Request via GET to chef.ceosystem.net:4000/cookbooks
Uploading activemq [1.0.0]
/Users/nicholas/.rvm/gems/ruby-1.9.2-p180@global/gems/chef-0.10.4/lib/chef/knife/cookbook_upload.rb:216:in `check_server_side_cookbooks': undefined method `each' for nil:NilClass (NoMethodError)
from /Users/nicholas/.rvm/gems/ruby-1.9.2-p180@global/gems/chef-0.10.4/lib/chef/knife/cookbook_upload.rb:203:in `block in check_dependencies'
from /Users/nicholas/.rvm/gems/ruby-1.9.2-p180@global/gems/chef-0.10.4/lib/chef/knife/cookbook_upload.rb:202:in `each'
from /Users/nicholas/.rvm/gems/ruby-1.9.2-p180@global/gems/chef-0.10.4/lib/chef/knife/cookbook_upload.rb:202:in `check_dependencies'
from /Users/nicholas/.rvm/gems/ruby-1.9.2-p180@global/gems/chef-0.10.4/lib/chef/knife/cookbook_upload.rb:169:in `upload'
from /Users/nicholas/.rvm/gems/ruby-1.9.2-p180@global/gems/chef-0.10.4/lib/chef/knife/cookbook_upload.rb:84:in `block in run'
from /Users/nicholas/.rvm/gems/ruby-1.9.2-p180@global/gems/chef-0.10.4/lib/chef/cookbook_loader.rb:107:in `block in each'
from /Users/nicholas/.rvm/gems/ruby-1.9.2-p180@global/gems/chef-0.10.4/lib/chef/cookbook_loader.rb:106:in `each'
from /Users/nicholas/.rvm/gems/ruby-1.9.2-p180@global/gems/chef-0.10.4/lib/chef/cookbook_loader.rb:106:in `each'
from /Users/nicholas/.rvm/gems/ruby-1.9.2-p180@global/gems/chef-0.10.4/lib/chef/knife/cookbook_upload.rb:82:in `run'
from /Users/nicholas/.rvm/gems/ruby-1.9.2-p180@global/gems/chef-0.10.4/lib/chef/knife.rb:391:in `run_with_pretty_exceptions'
from /Users/nicholas/.rvm/gems/ruby-1.9.2-p180@global/gems/chef-0.10.4/lib/chef/knife.rb:166:in `run'
from /Users/nicholas/.rvm/gems/ruby-1.9.2-p180@global/gems/chef-0.10.4/lib/chef/application/knife.rb:128:in `run'
from /Users/nicholas/.rvm/gems/ruby-1.9.2-p180@global/gems/chef-0.10.4/bin/knife:25:in `<top (required)>'
from /Users/nicholas/.rvm/gems/ruby-1.9.2-p180@global/bin/knife:19:in `load'
from /Users/nicholas/.rvm/gems/ruby-1.9.2-p180@global/bin/knife:19:in `<main>'
Activity
- All
- Comments
- History
- Activity
- Transitions Summary