Runtime error bootstrap

Hello Chefs!

I’m new to this whole Chef thing and having some trouble with my initial
install. I’ve installed open source Chef 11.0.8-1 on a Ubuntu 12.04 amd64
system. As well as Chef client 11.06-1 via deb package on another Ubuntu
instance.

After some self inflicted issues everything seems to be okay except for it
throws this error when I try to bootstrap a node.

/log.rb:97:in `level=’: Log level must be one of :debug, :info, :warn,
:error, or :fatal (ArgumentError)

http://pastebin.com/WEMfnDYZ

Some googling leads me to this https://github.com/opscode/chef/pull/541 However
it doesn’t seem to do the trick as it still throws the same error. Any
thoughts on what I might be doing wrong.

Thanks in advance, I’m sure its something easy. I don’t grok at the moment
unfortunately.

-James

Is log_level set in your knife.rb file on the workstation you’re bootstrapping from? An example of this argument (also shown in github link you posted) is:

log_level :info

On September 11, 2013 at 8:48:13 AM, James Dickenson (jdickenson@gmail.com) wrote:

Hello Chefs!

I’m new to this whole Chef thing and having some trouble with my initial install. I’ve installed open source Chef 11.0.8-1 on a Ubuntu 12.04 amd64 system. As well as Chef client 11.06-1 via deb package on another Ubuntu instance.

After some self inflicted issues everything seems to be okay except for it throws this error when I try to bootstrap a node.

/log.rb:97:in `level=’: Log level must be one of :debug, :info, :warn, :error, or :fatal (ArgumentError)

http://pastebin.com/WEMfnDYZ

Some googling leads me to this https://github.com/opscode/chef/pull/541 However it doesn’t seem to do the trick as it still throws the same error. Any thoughts on what I might be doing wrong.

Thanks in advance, I’m sure its something easy. I don’t grok at the moment unfortunately.

-James

On Wednesday, September 11, 2013 at 5:48 AM, James Dickenson wrote:

Hello Chefs!

I'm new to this whole Chef thing and having some trouble with my initial install. I've installed open source Chef 11.0.8-1 on a Ubuntu 12.04 amd64 system. As well as Chef client 11.06-1 via deb package on another Ubuntu instance.

After some self inflicted issues everything seems to be okay except for it throws this error when I try to bootstrap a node.

/log.rb:97:in `level=': Log level must be one of :debug, :info, :warn, :error, or :fatal (ArgumentError)

http://pastebin.com/WEMfnDYZ

Some googling leads me to this Only set log_level to :auto in version 11 or greater by jkeiser · Pull Request #541 · chef/chef · GitHub However it doesn't seem to do the trick as it still throws the same error. Any thoughts on what I might be doing wrong.

Thanks in advance, I'm sure its something easy. I don't grok at the moment unfortunately.

-James
This error happens when you bootstrap Chef 10.x client from a Chef 11.x version of knife. What's the command line you're using for knife bootstrap?

--
Daniel DeLeo