- From: Carlos Camacho <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Problem running chef-client, just from 2 days ago.
- Date: Wed, 14 May 2014 15:43:10 +0200
Hello!
I already isolated the problem, i have a case base, and from that
point i'll try to fix it.
PROBLEM:
chef-client errors when it is executed (EOF exception). This is a
chef-server and node as Rackspace virtual machines.
SOURCE OF THE PROBLEM:
A RST TCP package sent to the client in some point in the connection
(Using Default Rackspace RackConnect network).
SOLUTION TO ISOLATE THE PROBLEM:
Create a VPN tunnel between the server and the node and it works flawlessly.
REAL SOLUTION:
I created a ticket in Rackspace and they told me that the rackconnect
network doesn't have any restriction, so I'm discussing that with
them.
Do you know reasons to this RST package appears?
Thanks!
On Tue, May 13, 2014 at 8:50 AM, Carlos Camacho
<
>
wrote:
>
Hello, its a really odd problem... Check the chef logs...
>
>
==> /var/log/chef-server/nginx/access.log <==
>
chef.server - - [13/May/2014:06:45:27 +0000] "GET /nodes/mynode
>
HTTP/1.1" 200 "0.011" 16264 "-" "Chef Client/11.12.4 (ruby-1.9.3-p484;
>
ohai-7.0.4; i386-mingw32; +http://opscode.com)" "127.0.0.1:8000" "200"
>
"0.011" "11.12.4" "algorithm=sha1;version=1.0;" "mynode "
>
"2014-05-13T06:45:27Z" "2jmj7l5rSw0yVb/vlWAYkK/YBwk=" 999
>
>
==> /var/log/chef-server/erchef/erchef.log.1 <==
>
2014-05-13T06:45:27Z
>
>
INFO
>
req_id=65+VupG/n3XInsE2MRqX8A==; status=200; method=GET;
>
path=/nodes/mynode ; user=mynode ; msg=[]; req_time=7; rdbms_time=2;
>
rdbms_count=2
>
>
>
All seems to be 200 XD..
>
>
I don't know were to find more information about the error..
>
>
From the client, the output..
>
>
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>
* *
>
>
Starting Chef Client, version 11.12.4
>
[2014-05-13T06:45:19+00:00] INFO: *** Chef 11.12.4 ***
>
[2014-05-13T06:45:19+00:00] INFO: Chef-client pid: 2612
>
>
================================================================================
>
Chef encountered an error attempting to load the node data for "mynode"
>
================================================================================
>
>
Unexpected Error:
>
-----------------
>
EOFError: end of file reached
>
>
[2014-05-13T06:45:27+00:00] FATAL: Stacktrace dumped to
>
c:/chef/cache/chef-stacktrace.out
>
Chef Client failed. 0 resources updated in 14.457618 seconds
>
[2014-05-13T06:45:27+00:00] FATAL: EOFError: end of file reached
>
PS C:\Users\Administrator>
>
>
>
>
>
Cheers!!
>
>
On Fri, May 9, 2014 at 6:07 PM, Daniel DeLeo
>
<
>
>
wrote:
>
> You’ll need to look at the chef-server logs, not clients/knife.
>
>
>
> ssh into your chef-server and run chef-server-ctl tail to view the server
>
> logs.
>
>
>
> --
>
> Daniel DeLeo
>
>
>
>
>
> On Friday, May 9, 2014 at 8:38 AM, Carlos Camacho wrote:
>
>
>
>> I just made a lot of tests, re install the chef server using Ubuntu
>
>> 12.04 LTS Ubuntu 14.04 LTS, and im receiving the same issues. Maybe my
>
>> workstation is messed up...
>
>>
>
>> Here are the complete logs..
>
>>
>
>> Stacktrace output from c:/chef/cache/chef-stacktrace.out:
>
>>
>
>> Generated at 2014-05-09 10:37:19 +0000
>
>> EOFError: end of file reached
>
>> C:/opscode/chef/embedded/lib/ruby/1.9.1/openssl/buffering.rb:174:in
>
>> `sysread_nonblock'
>
>> C:/opscode/chef/embedded/lib/ruby/1.9.1/openssl/buffering.rb:174:in
>
>> `read_nonblock'
>
>> C:/opscode/chef/embedded/lib/ruby/1.9.1/net/protocol.rb:141:in `rbuf_fill'
>
>> C:/opscode/chef/embedded/lib/ruby/1.9.1/net/protocol.rb:122:in `readuntil'
>
>> C:/opscode/chef/embedded/lib/ruby/1.9.1/net/protocol.rb:132:in `readline'
>
>> C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:2563:in
>
>> `read_status_line'
>
>> C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:2552:in `read_new'
>
>> C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:1320:in `block
>
>> in transport_request'
>
>> C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:1317:in `catch'
>
>> C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:1317:in
>
>> `transport_request'
>
>> C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:1294:in `request'
>
>> C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/rest-client-1.6.7/lib/restclient/net_http_ext.rb:51:in
>
>> `request'
>
>> C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:1287:in `block
>
>> in request'
>
>> C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:746:in `start'
>
>> C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:1285:in `request'
>
>> C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/rest-client-1.6.7/lib/restclient/net_http_ext.rb:51:in
>
>> `request'
>
>> C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/http/basic_client.rb:65:in
>
>> `request'
>
>> C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/http.rb:257:in
>
>> `block in send_http_request'
>
>> C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/http.rb:289:in
>
>> `retrying_http_errors'
>
>> C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/http.rb:251:in
>
>> `send_http_request'
>
>> C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/http.rb:141:in
>
>> `request'
>
>> C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/rest.rb:115:in
>
>> `get'
>
>> C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/node.rb:507:in
>
>> `load'
>
>> C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/node.rb:491:in
>
>> `find_or_create'
>
>> C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/policy_builder/expand_node_object.rb:92:in
>
>> `load_node'
>
>> C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/client.rb:249:in
>
>> `load_node'
>
>> C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/client.rb:418:in
>
>> `do_run'
>
>> C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/client.rb:227:in
>
>> `run'
>
>> C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/application.rb:217:in
>
>> `run_chef_client'
>
>> C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/application/client.rb:328:in
>
>> `block in run_application'
>
>> C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/application/client.rb:317:in
>
>> `loop'
>
>> C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/application/client.rb:317:in
>
>> `run_application'
>
>> C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/application.rb:67:in
>
>> `run'
>
>> C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/bin/chef-client:26:in
>
>> `<top (required)>'
>
>> C:/opscode/chef/bin/chef-client:23:in `load'
>
>> C:/opscode/chef/bin/chef-client:23:in `<main>
>
>>
>
>>
>
>>
>
>>
>
>>
>
>> This is my chef-client output.
>
>>
>
>> PS C:\Users\Administrator> chef-client
>
>> [2014-05-09T10:42:42+00:00] WARN:
>
>> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>
>> * * * * * * *
>
>> SSL validation of HTTPS requests is disabled. HTTPS connections are still
>
>> encrypted, but chef is not able to detect forged replies or man in
>
>> the middle
>
>> attacks.
>
>>
>
>> To fix this issue add an entry like this to your configuration file:
>
>>
>
>> ```
>
>> # Verify all HTTPS connections (recommended)
>
>> ssl_verify_mode :verify_peer
>
>>
>
>> # OR, Verify only connections to chef-server
>
>> verify_api_cert true
>
>> ```
>
>>
>
>> To check your SSL configuration, or troubleshoot errors, you can use the
>
>> `knife ssl check` command like so:
>
>>
>
>> ```
>
>> knife ssl check -c C:\chef\client.rb
>
>> ```
>
>>
>
>> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>
>> * * * * * * *
>
>>
>
>> Starting Chef Client, version 11.12.4
>
>> [2014-05-09T10:42:45+00:00] INFO: *** Chef 11.12.4 ***
>
>> [2014-05-09T10:42:45+00:00] INFO: Chef-client pid: 1048
>
>>
>
>> ================================================================================
>
>> Chef encountered an error attempting to load the node data for "mynode"
>
>> ================================================================================
>
>>
>
>> Unexpected Error:
>
>> -----------------
>
>> EOFError: end of file reached
>
>>
>
>> [2014-05-09T10:42:54+00:00] FATAL: Stacktrace dumped to
>
>> c:/chef/cache/chef-stacktrace.out
>
>> Chef Client failed. 0 resources updated in 11.232079 seconds
>
>> [2014-05-09T10:42:54+00:00] FATAL: EOFError: end of file reached
>
>> PS C:\Users\Administrator>
>
>>
>
>>
>
>>
>
>>
>
>>
>
>> And this is the output of the knife rackspace create server output:
>
>>
>
>> localhost "Rendering
>
>> "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-7917-1399629922.bat"
>
>> chunk 1"
>
>> localhost "Rendering
>
>> "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-7917-1399629922.bat"
>
>> chunk 2"
>
>> localhost "Rendering
>
>> "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-7917-1399629922.bat"
>
>> chunk 3"
>
>> localhost "Rendering
>
>> "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-7917-1399629922.bat"
>
>> chunk 4"
>
>> localhost "Rendering
>
>> "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-7917-1399629922.bat"
>
>> chunk 5"
>
>> localhost "Rendering
>
>> "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-7917-1399629922.bat"
>
>> chunk 6"
>
>> localhost "Rendering
>
>> "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-7917-1399629922.bat"
>
>> chunk 7"
>
>> localhost "Rendering
>
>> "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-7917-1399629922.bat"
>
>> chunk 8"
>
>> localhost "Rendering
>
>> "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-7917-1399629922.bat"
>
>> chunk 9"
>
>> localhost "Rendering
>
>> "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-7917-1399629922.bat"
>
>> chunk 10"
>
>> localhost "Rendering
>
>> "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-7917-1399629922.bat"
>
>> chunk 11"
>
>> localhost "Rendering
>
>> "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-7917-1399629922.bat"
>
>> chunk 12"
>
>> localhost "Rendering
>
>> "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-7917-1399629922.bat"
>
>> chunk 13"
>
>> localhost Checking for existing directory "C:\chef"...
>
>> localhost Existing directory not found, creating.
>
>> localhost
>
>> localhost C:\Users\Administrator>(
>
>> localhost echo.url = WScript.Arguments.Named("url")
>
>> localhost echo.path = WScript.Arguments.Named("path")
>
>> localhost echo.proxy = null
>
>> localhost echo.Set objXMLHTTP = CreateObject("MSXML2.ServerXMLHTTP")
>
>> localhost echo.Set wshShell = CreateObject( "WScript.Shell" )
>
>> localhost echo.Set objUserVariables = wshShell.Environment("USER")
>
>> localhost echo.
>
>> localhost echo.rem http proxy is optional
>
>> localhost echo.rem attempt to read from HTTP_PROXY env var first
>
>> localhost echo.On Error Resume Next
>
>> localhost echo.
>
>> localhost echo.If NOT (objUserVariables("HTTP_PROXY") = "") Then
>
>> localhost echo.proxy = objUserVariables("HTTP_PROXY")
>
>> localhost echo.
>
>> localhost echo.rem fall back to named arg
>
>> localhost echo.ElseIf NOT (WScript.Arguments.Named("proxy") = "") Then
>
>> localhost echo.proxy = WScript.Arguments.Named("proxy")
>
>> localhost echo.End If
>
>> localhost echo.
>
>> localhost echo.If NOT isNull(proxy) Then
>
>> localhost echo.rem setProxy method is only available on
>
>> ServerXMLHTTP 6.0+
>
>> localhost echo.Set objXMLHTTP = CreateObject("MSXML2.ServerXMLHTTP.6.0")
>
>> localhost echo.objXMLHTTP.setProxy 2, proxy
>
>> localhost echo.End If
>
>> localhost echo.
>
>> localhost echo.On Error Goto 0
>
>> localhost echo.
>
>> localhost echo.objXMLHTTP.open "GET", url, false
>
>> localhost echo.objXMLHTTP.send()
>
>> localhost echo.If objXMLHTTP.Status = 200 Then
>
>> localhost echo.Set objADOStream = CreateObject("ADODB.Stream")
>
>> localhost echo.objADOStream.Open
>
>> localhost echo.objADOStream.Type = 1
>
>> localhost echo.objADOStream.Write objXMLHTTP.ResponseBody
>
>> localhost echo.objADOStream.Position = 0
>
>> localhost echo.Set objFSO = Createobject("Scripting.FileSystemObject")
>
>> localhost echo.If objFSO.Fileexists(path) Then objFSO.DeleteFile path
>
>> localhost echo.Set objFSO = Nothing
>
>> localhost echo.objADOStream.SaveToFile path
>
>> localhost echo.objADOStream.Close
>
>> localhost echo.Set objADOStream = Nothing
>
>> localhost echo.End if
>
>> localhost echo.Set objXMLHTTP = Nothing
>
>> localhost ) 1>C:\chef\wget.vbs
>
>> localhost
>
>> localhost C:\Users\Administrator>(
>
>> localhost echo.param(
>
>> localhost echo. [String] $remoteUrl,
>
>> localhost echo. [String] $localPath
>
>> localhost echo.)
>
>> localhost echo.
>
>> localhost echo.$webClient = new-object System.Net.WebClient;
>
>> localhost echo.
>
>> localhost echo.$webClient.DownloadFile($remoteUrl, $localPath);
>
>> localhost ) 1>C:\chef\wget.ps1
>
>> localhost
>
>> localhost C:\Users\Administrator>(
>
>> localhost
>
>> localhost
>
>> localhost
>
>> localhost )
>
>> localhost Detected Windows Version 6.2 Build 9200
>
>> localhost
>
>> localhost C:\Users\Administrator>goto Version6.2
>
>> localhost
>
>> localhost C:\Users\Administrator>goto architecture_select
>
>> localhost
>
>> localhost C:\Users\Administrator>goto Architecture
>
>> localhost
>
>> localhost C:\Users\Administrator>goto ArchitectureAMD64
>
>> localhost
>
>> localhost C:\Users\Administrator>goto install
>
>> localhost Checking for existing downloaded package at
>
>> "C:\Users\ADMINI~1\AppData\Local\Temp\chef-client-latest.msi"
>
>> localhost No existing downloaded packages to delete.
>
>> localhost Attempting to download client package using cscript...
>
>> localhost
>
>> localhost C:\Users\Administrator>cscript /nologo C:\chef\wget.vbs
>
>> /url:"https://www.opscode.com/chef/download?p=windows&pv=2012&m=x86_64&v="
>
>> /path:"C:\Users\ADMINI~1\AppData\Local\Temp\chef-client-latest.msi"
>
>> localhost Download via cscript succeeded.
>
>> localhost Installing downloaded client package...
>
>> localhost
>
>> localhost C:\Users\Administrator>msiexec /qn /log
>
>> "C:\Users\ADMINI~1\AppData\Local\Temp\chef-client-msi23498.log" /i
>
>> "C:\Users\ADMINI~1\AppData\Local\Temp\chef-client-latest.msi"
>
>> localhost Installation completed successfully
>
>> localhost Writing validation key...
>
>> localhost Validation key written.
>
>> localhost
>
>> localhost C:\Users\Administrator>mkdir C:\chef\ohai\hints
>
>> localhost
>
>> localhost C:\Users\Administrator>(echo.{})
>
>> 1>C:\chef\ohai\hints\rackspace.json
>
>> localhost
>
>> localhost C:\Users\Administrator>(
>
>> localhost echo.log_level :info
>
>> localhost echo.log_location STDOUT
>
>> localhost echo.
>
>> localhost echo.chef_server_url "https://chef.server.net"
>
>> localhost echo.validation_client_name "chef-validator"
>
>> localhost echo.client_key "c:/chef/client.pem"
>
>> localhost echo.validation_key "c:/chef/validation.pem"
>
>> localhost echo.
>
>> localhost echo.file_cache_path "c:/chef/cache"
>
>> localhost echo.file_backup_path "c:/chef/backup"
>
>> localhost echo.cache_options ({:path =>
>
>> "c:/chef/cache/checksums", :skip_expires => true})
>
>> localhost echo.
>
>> localhost echo.node_name "mynode"
>
>> localhost ) 1>C:\chef\client.rb
>
>> localhost
>
>> localhost C:\Users\Administrator>(echo.{"run_list":["role[windows]"]})
>
>> 1>C:\chef\first-boot.json
>
>> localhost Starting chef to bootstrap the node...
>
>> localhost
>
>> localhost C:\Users\Administrator>SET
>
>> "PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ruby\bin;C:\opscode\chef\bin;C:\opscode\chef\embedded\bin"
>
>> localhost
>
>> localhost C:\Users\Administrator>chef-client -c c:/chef/client.rb
>
>> -j c:/chef/first-boot.json -E _default
>
>> localhost [2014-05-09T10:06:37+00:00] WARN:
>
>> localhost * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>
>> * * * * * * * * * * * *
>
>> localhost SSL validation of HTTPS requests is disabled. HTTPS
>
>> connections are still
>
>> localhost encrypted, but chef is not able to detect forged replies
>
>> or man in the middle
>
>> localhost attacks.
>
>> localhost
>
>> localhost To fix this issue add an entry like this to your
>
>> configuration file:
>
>> localhost
>
>> localhost ```
>
>> localhost # Verify all HTTPS connections (recommended)
>
>> localhost ssl_verify_mode :verify_peer
>
>> localhost
>
>> localhost # OR, Verify only connections to chef-server
>
>> localhost verify_api_cert true
>
>> localhost ```
>
>> localhost
>
>> localhost To check your SSL configuration, or troubleshoot errors,
>
>> you can use the
>
>> localhost `knife ssl check` command like so:
>
>> localhost
>
>> localhost ```
>
>> localhost knife ssl check -c c:/chef/client.rb
>
>> localhost ```
>
>> localhost
>
>> localhost * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>
>> * * * * * * * * * * * *
>
>> localhost
>
>> localhost [2014-05-09T10:06:39+00:00] INFO: *** Chef 11.12.4 ***
>
>> localhost [2014-05-09T10:06:39+00:00] INFO: Chef-client pid: 1408
>
>> localhost [2014-05-09T10:07:14+00:00] INFO: Client key
>
>> c:/chef/client.pem is not present - registering
>
>> localhost [2014-05-09T10:07:15+00:00] INFO: HTTP Request Returned
>
>> 404 Object Not Found: error
>
>> localhost [2014-05-09T10:07:15+00:00] INFO: Setting the run_list
>
>> to ["role[windows]"] from CLI options
>
>> localhost [2014-05-09T10:07:15+00:00] INFO: Run List is [role[windows]]
>
>> localhost [2014-05-09T10:07:15+00:00] INFO: Run List expands to
>
>> [newrelic::server-monitor-agent, ms_dotnet45, powershell]
>
>> localhost [2014-05-09T10:07:15+00:00] INFO: Starting Chef Run for mynode
>
>> localhost [2014-05-09T10:07:15+00:00] INFO: Running start handlers
>
>> localhost [2014-05-09T10:07:15+00:00] INFO: Start handlers complete.
>
>> localhost [2014-05-09T10:07:15+00:00] INFO: HTTP Request Returned
>
>> 404 Object Not Found:
>
>> localhost
>
>> localhost
>
>> ================================================================================
>
>> localhost Error Resolving Cookbooks for Run List:
>
>> localhost
>
>> ================================================================================
>
>> localhost
>
>> localhost Unexpected Error:
>
>> localhost -----------------
>
>> localhost EOFError: end of file reached
>
>> localhost
>
>> localhost [2014-05-09T10:07:15+00:00] ERROR: Running exception handlers
>
>> localhost [2014-05-09T10:07:15+00:00] ERROR: Exception handlers complete
>
>> localhost [2014-05-09T10:07:15+00:00] FATAL: Stacktrace dumped to
>
>> c:/chef/cache/chef-stacktrace.out
>
>> localhost [2014-05-09T10:07:15+00:00] FATAL: EOFError: end of file reached
>
>>
>
>>
>
>> Thanks!
>
>>
>
>> On Fri, May 9, 2014 at 5:32 PM, Daniel DeLeo
>
>> <
>
>>
>
>> (mailto:
)>
>
>> wrote:
>
>> > The server is closing the connection before it sends even the first
>
>> > line of the HTTP response. Try looking at the server logs for hints
>
>> > about why it might be doing that.
>
>> >
>
>> > --
>
>> > Daniel DeLeo
>
>> >
>
>> >
>
>> > On Friday, May 9, 2014 at 3:40 AM, Carlos Camacho wrote:
>
>> >
>
>> > > Hello!
>
>> > >
>
>> > > I'm having some troubles with new windows node deployments. The
>
>> > > chef-client fails with this error
>
>> > >
>
>> > > I want to solve this, but i don't know were to find errors which can
>
>> > > help me to solve this.
>
>> > >
>
>> > > Thanks!!!
>
>> > >
>
>> > >
>
>> > > Generated at 2014-05-09 10:37:19 +0000
>
>> > > EOFError: end of file reached
>
>> > > C:/opscode/chef/embedded/lib/ruby/1.9.1/openssl/buffering.rb:174:in
>
>> > > `sysread_nonblock'
>
>> > > C:/opscode/chef/embedded/lib/ruby/1.9.1/openssl/buffering.rb:174:in
>
>> > > `read_nonblock'
>
>> > > C:/opscode/chef/embedded/lib/ruby/1.9.1/net/protocol.rb:141:in
>
>> > > `rbuf_fill'
>
>> > > C:/opscode/chef/embedded/lib/ruby/1.9.1/net/protocol.rb:122:in
>
>> > > `readuntil'
>
>> > > C:/opscode/chef/embedded/lib/ruby/1.9.1/net/protocol.rb:132:in
>
>> > > `readline'
>
>> > > C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:2563:in
>
>> > > `read_status_line'
>
>> > > C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:2552:in `read_new'
>
>> > > C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:1320:in `block in
>
>> > > transport_request'
>
>> > > C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:1317:in `catch'
>
>> > > C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:1317:in
>
>> > > `transport_request'
>
>> > > C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:1294:in `request'
>
>> > > C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/rest-client-1.6.7/lib/restclient/net_http_ext.rb:51:in
>
>> > > `request'
>
>> > > C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:1287:in `block in
>
>> > > request'
>
>> > > C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:746:in `start'
>
>> > > C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:1285:in `request'
>
>> > > C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/rest-client-1.6.7/lib/restclient/net_http_ext.rb:51:in
>
>> > > `request'
>
>> > > C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/http/basic_client.rb:65:in
>
>> > > `request'
>
>> > > C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/http.rb:257:in
>
>> > > `block in send_http_request'
>
>> > > C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/http.rb:289:in
>
>> > > `retrying_http_errors'
>
>> > > C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/http.rb:251:in
>
>> > > `send_http_request'
>
>> > > C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/http.rb:141:in
>
>> > > `request'
>
>> > > C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/rest.rb:115:in
>
>> > > `get'
>
>> > > C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/node.rb:507:in
>
>> > > `load'
>
>> > > C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/node.rb:491:in
>
>> > > `find_or_create'
>
>> > > C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/policy_builder/expand_node_object.rb:92:in
>
>> > > `load_node'
>
>> > > C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/client.rb:249:in
>
>> > > `load_node'
>
>> > > C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/client.rb:418:in
>
>> > > `do_run'
>
>> > > C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/client.rb:227:in
>
>> > > `run'
>
>> > > C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/application.rb:217:in
>
>> > > `run_chef_client'
>
>> > > C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/application/client.rb:328:in
>
>> > > `block in run_application'
>
>> > > C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/application/client.rb:317:in
>
>> > > `loop'
>
>> > > C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/application/client.rb:317:in
>
>> > > `run_application'
>
>> > > C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/application.rb:67:in
>
>> > > `run'
>
>> > > C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/bin/chef-client:26:in
>
>> > > `<top (required)>'
>
>> > > C:/opscode/chef/bin/chef-client:23:in `load'
>
>> > > C:/opscode/chef/bin/chef-client:23:in `<main>
>
>> >
>
>>
>
>
>
>
>
>
- [chef] Problem running chef-client, just from 2 days ago., Carlos Camacho, 05/09/2014
- [chef] Re: Problem running chef-client, just from 2 days ago., Daniel DeLeo, 05/09/2014
- [chef] Re: Re: Problem running chef-client, just from 2 days ago., Carlos Camacho, 05/09/2014
- [chef] Re: Re: Re: Problem running chef-client, just from 2 days ago., Daniel DeLeo, 05/09/2014
- [chef] Re: Re: Re: Re: Problem running chef-client, just from 2 days ago., Carlos Camacho, 05/12/2014
- [chef] Re: Re: Re: Re: Problem running chef-client, just from 2 days ago., Carlos Camacho, 05/14/2014
- [chef] Re: Re: Re: Re: Re: Problem running chef-client, just from 2 days ago., Daniel DeLeo, 05/14/2014
- [chef] Re: Re: Re: Re: Re: Re: Problem running chef-client, just from 2 days ago., Carlos Camacho, 05/15/2014
- [chef] Re: Re: Re: Re: Re: Re: Re: Problem running chef-client, just from 2 days ago., Daniel DeLeo, 05/15/2014
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Problem running chef-client, just from 2 days ago., Carlos Camacho, 05/15/2014
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Problem running chef-client, just from 2 days ago., Carlos Camacho, 05/16/2014
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Problem running chef-client, just from 2 days ago., Julian C. Dunn, 05/16/2014
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Problem running chef-client, just from 2 days ago., Lamont Granquist, 05/16/2014
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Problem running chef-client, just from 2 days ago., Carlos Camacho, 05/19/2014
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Problem running chef-client, just from 2 days ago., Carlos Camacho, 05/19/2014
- [chef] RE: Re: Re: Re: Re: Re: Re: Re: Re: Re: Problem running chef-client, just from 2 days ago., Adam Edwards, 05/19/2014
Archive powered by MHonArc 2.6.16.