Error: Chef::Exceptions::JSON::ParseError: parse error: premature EOF
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
52.0.234.85
52.0.234.85 Starting Chef Client, version 11.18.6
52.0.234.85
52.0.234.85 ================================================================================
52.0.234.85 Chef encountered an error attempting to load the node data for "first1"
52.0.234.85 ================================================================================
52.0.234.85
52.0.234.85 Unexpected Error:
52.0.234.85 -----------------
52.0.234.85 Chef::Exceptions::JSON::ParseError: parse error: premature EOF
52.0.234.85
52.0.234.85                      (right here) ------^
52.0.234.85
52.0.234.85 [2015-02-09T02:36:38-05:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
52.0.234.85 Chef Client failed. 0 resources updated in 0.854925495 seconds
52.0.234.85 [2015-02-09T02:36:38-05:00] ERROR: parse error: premature EOF
52.0.234.85
52.0.234.85                      (right here) ------^
52.0.234.85
52.0.234.85 [2015-02-09T02:36:38-05:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
 ✘ ⮀ ~/devops/learnChef ⮀


Solution:


Go to the knife.rb file (generally in ~/.chef/)
And change the


chef_server_url          'https://manage.chef.io/organizations/my_org'

to

chef_server_url          'https://api.opscode.com/organizations/my_org'

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna Veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

Start Work With Me

Contact Us
Venu Murthy
+91 9886782890
WorldWide

CC. Powered by Blogger.

Twitter




Punch Line

“Excellence is never an accident. It is always the result of high intention, sincere effort, and intelligent execution.... ― Aristotle

Join My Professional Network







Feature Post

Featured Post

We wasted 3 months on Area 51 - Stackexchange

In the light of wanting a discussion forum to nurture the science of PLRT, we placed a proposal on StackExchange.  But very soon reali...

Statistik

Search This Blog

Providing Solutions For Life

Stack Overflow

Stack Overflow

Github

Author Details

Hey there, We are Blossom Themes! We are trying to provide you the new way to look and use the blogger templates. Our designers are working hard and pushing the boundaries of possibilities to widen the horizon of the regular templates and provide high quality blogger templates to all hardworking bloggers!

Popular Posts