2014-12-19 95 views
0

我正在嘗試使用knife命令引導節點,並且出現以下錯誤。opscode廚師:引導節點時發出的問題

命令:

knife bootstrap <hostname> --sudo -x <username> -N <Nodename> -E <env> --bootstrap-proxy <proxy> 

Error : Connecting to <hostname> 
ERROR: Net::SSH::Disconnect: connection closed by remote host 

所以,我直接記錄在上節點和安裝了廚師轉速和產生的client.rb和複製個人證書validator.pem到節點,並且當我運行廚師客戶I得到以下錯誤。

[[email protected] bin]# chef-client 
Starting Chef Client, version 11.8.0 
[2014-12-19T15:58:03+11:00] ERROR: SSL Validation failure connecting to host: Chef_server - SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A 

================================================================================ 
Chef encountered an error attempting to load the node data for "test_DR" 
================================================================================ 


Unexpected Error: 
----------------- 
OpenSSL::SSL::SSLError: SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A 


[2014-12-19T15:58:03+11:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out 
Chef Client failed. 0 resources updated 
[2014-12-19T15:58:03+11:00] ERROR: SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A 
[2014-12-19T15:58:03+11:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) 
[[email protected] bin]# 
+0

與答案無關,但請對IRC有更多的耐心。當我回答時你已經離開了。 – coderanger 2014-12-19 07:05:32

回答