Thanks - it seems the cookbooks I'm using (cluster_chef) aren't real happy with chef 0.10; downgrading to the last 0.9 version fixed this.
On May 10, 2011 2:28 AM, "Daniel DeLeo" <
">
> wrote:
> On Monday, May 9, 2011 at 12:23 PM, Denis Haskin wrote:
> (this may be an issue with some 3rd-party cookbooks I'm using, but I figure I would ask here:)
>>
>> Does the error below ring any bells for anyone? Any pointers on where I should be poking to try and figure out why this is happening and fix it?
>>
>> $ knife cluster bootstrap cm-cassandra datanode
mumble.compute-1.amazonaws.com -VV
>> DEBUG: Using configuration from /Users/dhaskin/.chef/knife.rb
>> Bootstrapping Chef on
mumble.compute-1.amazonaws.com>> DEBUG: Looking for bootstrap template in /Users/dhaskin/.rvm/gems/
/gems/chef-0.10.0/lib/chef/knife/bootstrap
>> DEBUG: Found bootstrap template in /Users/dhaskin/.rvm/gems/
/gems/chef-0.10.0/lib/chef/knife/bootstrap
>> /Users/dhaskin/.rvm/gems/
/gems/chef-0.10.0/lib/chef/knife/bootstrap.rb:131:in `render_template': uninitialized constant Chef::Knife::Core::BootstrapContext (NameError)
>> from /Users/dhaskin/.rvm/gems/
/gems/chef-0.10.0/lib/chef/knife/bootstrap.rb:187:in `ssh_command'
>> from /Users/dhaskin/.rvm/gems/
/gems/chef-0.10.0/lib/chef/knife/bootstrap.rb:169:in `knife_ssh'
>> from /Users/dhaskin/.rvm/gems/
/gems/chef-0.10.0/lib/chef/knife/bootstrap.rb:147:in `run'
>> from /Users/dhaskin/.rvm/gems/
/gems/chef-0.10.0/lib/chef/knife/cluster_bootstrap.rb:81:in `run'
>> from /Users/dhaskin/.rvm/gems/
/gems/chef-0.10.0/lib/chef/knife.rb:391:in `run_with_pretty_exceptions'
>> from /Users/dhaskin/.rvm/gems/
/gems/chef-0.10.0/lib/chef/knife.rb:166:in `run'
>> from /Users/dhaskin/.rvm/gems/
/gems/chef-0.10.0/lib/chef/application/knife.rb:128:in `run'
>> from /Users/dhaskin/.rvm/gems/
/gems/chef-0.10.0/bin/knife:25:in `<top (required)>'
>> from /Users/dhaskin/.rvm/gems/
/bin/knife:19:in `load'
>> from /Users/dhaskin/.rvm/gems/
/bin/knife:19:in `<main>'
>>
> Looks like a bug in your `cluster bootstrap` command. You could put this:
>
> deps { Chef::Knife::Bootstrap.load_deps }
>
> in the class body to fix it.
>
> --
> Dan DeLeo
>
>> Thanks,
>>
>> dwh
>>