[chef] `render_template': uninitialized constant Chef::Knife::Core::BootstrapContext (NameError) ?


Chronological Thread 
  • From: Denis Haskin < >
  • To: chef < >
  • Subject: [chef] `render_template': uninitialized constant Chef::Knife::Core::BootstrapContext (NameError) ?
  • Date: Mon, 9 May 2011 15:23:05 -0400

(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>'


Thanks,

dwh



Archive powered by MHonArc 2.6.16.

§