引导 VM 时
$ knife bootstrap localhost --ssh-user vagrant --ssh-password vagrant --ssh-port 2222 --sudo
引导过程返回以下异常:
Bootstrapping Chef on localhost
localhost /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/mixlib-log-1.4.1/lib/mixlib/log.rb:97:in `level=': Log level must be one of :debug, :info, :warn, :error, or :fatal (ArgumentError)
localhost from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.2/lib/chef/application.rb:117:in `configure_logging'
localhost from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.2/lib/chef/application/client.rb:242:in `configure_logging'
localhost from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.2/lib/chef/application.rb:63:in `reconfigure'
localhost from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.2/lib/chef/application/client.rb:197:in `reconfigure'
localhost from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.2/lib/chef/application.rb:68:in `run'
localhost from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.14.2/bin/chef-client:26:in `<top (required)>'
localhost from /usr/bin/chef-client:23:in `load'
localhost from /usr/bin/chef-client:23:in `<main>'
我刚刚更新了我的厨师版本:
$ knife -v
Chef 11.8.0
这是厨师的错误吗?