[chef] Re: Fw: SSL error running workstation/client commands to hosted server


Chronological Thread 
  • From: phil helm < >
  • To: " " < >
  • Subject: [chef] Re: Fw: SSL error running workstation/client commands to hosted server
  • Date: Thu, 15 Aug 2013 11:16:15 -0700 (PDT)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=fGyiDcvfMsfgor84NF/FvPlKTDmAJ1Fdw2AilwoCOt7iTCz1Tv69XtiHS9zyz2ozw7Qq5jUI9qd3qIMBFtjPpiSGiotHSwVkCpIizeFkc+rKEbJoB8tl0gJrPv6aXqDnlDyPI0QLnePya5t3Cg8AB/j9z1HjKu7EFMIiUblNOxU=;

I never got a follow up so resending in case anyone has any other thoughts or ideas...

Sent from Yahoo! Mail on Android



From: phil helm < >;
To: < >; Lamont Granquist < >;
Subject: Fw: [chef] SSL error running workstation/client commands to hosted server
Sent: Mon, Aug 12, 2013 12:22:32 PM

meant to send this to your direct email addresses..

----- Forwarded Message -----
From: phil helm < >
To:
Cc: " " < >
Sent: Friday, August 9, 2013 4:29 PM
Subject: Re: [chef] SSL error running workstation/client commands to hosted server

Daniel,

>Does this happen consistently?
Yes. Its a hard failure.

>Can you re-run this with `-VV` ?
:/opt/chef/chef-repo/.chef# knife client list -V -V
DEBUG: Signing the request as philhelm
DEBUG: Sending HTTP Request via GET to api.opscode.com:443/organizations/phils_hosted_chef_server/clients
/opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:800:in `connect': Connection reset by peer - SSL_connect (Errno::ECONNRESET)
        from /opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:800:in `block in connect'
        from /opt/chef/embedded/lib/ruby/1.9.1/timeout.rb:55:in `timeout'
        from /opt/chef/embedded/lib/ruby/1.9.1/timeout.rb:100:in `timeout'
        from /opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:800:in `connect'
        from /opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:756:in `do_start'
        from /opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:745:in `start'
        from /opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:1285:in `request'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/rest-client-1.6.7/lib/restclient/net_http_ext.rb:51:in `request'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/rest/rest_request.rb:99:in `block in call'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/rest/rest_request.rb:114:in `hide_net_http_bug'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/rest/rest_request.rb:98:in `call'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/rest.rb:169:in `block in raw_http_request'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/rest.rb:289:in `retriable_rest_request'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/rest.rb:167:in `raw_http_request'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/rest.rb:161:in `api_request'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/rest.rb:102:in `get'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/api_client.rb:139:in `list'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/knife/client_list.rb:38:in `run'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/knife.rb:466:in `run_with_pretty_exceptions'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/knife.rb:173:in `run'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application/knife.rb:123:in `run'
        from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/bin/knife:25:in `<top (required)>'
        from /usr/bin/knife:23:in `load'
        from /usr/bin/knife:23:in `<main>'

Lamont,

>Also, are you gem installing chef or using omnibus? 
omnibus

>If you install 11.6 with omnibus (and validate that ls -la `which knife` is a symlink to omnibus) does it fix it?
:/opt/chef/chef-repo/.chef# ls -la `which knife`
lrwxrwxrwx 1 root root 19 Aug  8 08:24 /usr/bin/knife -> /opt/chef/bin/knife

> Are you using rbenv or rvm?
I have no idea. Do you think thats related? how do i switch back and forth to test?


From: Daniel DeLeo < >
To: phil helm < >
Cc: " " < >
Sent: Friday, August 9, 2013 2:41 PM
Subject: Re: [chef] SSL error running workstation/client commands to hosted server


On Friday, August 9, 2013 at 10:33 AM, phil helm wrote:
Hi all,

I am having some trouble getting anything on my Ubuntu box to connect to my hosted chef server. What I am trying to do (I think) is to set up a workstation and/or a chef client on this same machine (which, I guess is ok?). One example that produces the failure is 'knife client list' which returns:

:/opt/chef/chef-repo# knife client list
ERROR: Errno::ECONNRESET: Connection reset by peer - SSL_connect
Does this happen consistently?

Can you re-run this with `-VV` ?


-- 
Daniel DeLeo








Archive powered by MHonArc 2.6.16.

§