Amazon ec2 消息:未能完成聚合操作 PS C:\App\cookbook\windows\u settings>kitchen verify --->启动厨房(v1.4.2) C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/webagent cookie.rb:458:warning:a lready已初始化常量HTTPClient::CookieManager C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/cookie.rb:8:警告:以前的定义 Cookie经理的名字就在这里 --->会聚。。。 准备要传输的文件 准备dna.json 使用Berkshelf 4.0.1解决cookbook依赖项。。。 传输前删除非cookbook文件 准备validation.pem 准备client.rb >>>>>>----例外------- >>>>>>类:Kitchen::ActionFailed >>>>>>消息:未能完成#converge操作:[连接尝试失败,因为连接方未进行连接 在一段时间后操作响应,或由于连接的主机未能响应而建立的连接失败- 连接“ec2-54-213-41-35.us-west-2.compute.amazonaws.com”端口5985的(2)(http://ec2-54-213-41-35.us-west-2.compute.a (mazonaws.com:5985) >>>>>> ---------------------- >>>>>>有关更多详细信息,请参见.kitchen/logs/kitchen.log >>>>>>还可以尝试运行'kitchen diagnose--all'进行配置

Amazon ec2 消息:未能完成聚合操作 PS C:\App\cookbook\windows\u settings>kitchen verify --->启动厨房(v1.4.2) C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/webagent cookie.rb:458:warning:a lready已初始化常量HTTPClient::CookieManager C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/cookie.rb:8:警告:以前的定义 Cookie经理的名字就在这里 --->会聚。。。 准备要传输的文件 准备dna.json 使用Berkshelf 4.0.1解决cookbook依赖项。。。 传输前删除非cookbook文件 准备validation.pem 准备client.rb >>>>>>----例外------- >>>>>>类:Kitchen::ActionFailed >>>>>>消息:未能完成#converge操作:[连接尝试失败,因为连接方未进行连接 在一段时间后操作响应,或由于连接的主机未能响应而建立的连接失败- 连接“ec2-54-213-41-35.us-west-2.compute.amazonaws.com”端口5985的(2)(http://ec2-54-213-41-35.us-west-2.compute.a (mazonaws.com:5985) >>>>>> ---------------------- >>>>>>有关更多详细信息,请参见.kitchen/logs/kitchen.log >>>>>>还可以尝试运行'kitchen diagnose--all'进行配置,amazon-ec2,test-kitchen,windows2012,Amazon Ec2,Test Kitchen,Windows2012,您好,每次面对上述问题时,我都无法采取行动。请帮助我解决此问题。看起来,测试服务器上的端口5985未打开。如果在入站规则中打开了连接5985的规则“WinRM HTTP”,请检查服务器的安全组。 如果端口打开,您可以使用kitchen.yml中的以下参数告诉测试厨房等待WinRM准备就绪: max_等待_,直到_准备就绪:true 连接超时:900 如图所示,测试服务器上的端口5985未打开。如果在入站规则中打开了连接5985的规则“WinRM HTTP”,请检查服务器的安全组。 如果端口打开,

您好,每次面对上述问题时,我都无法采取行动。请帮助我解决此问题。看起来,测试服务器上的端口5985未打开。如果在入站规则中打开了连接5985的规则“WinRM HTTP”,请检查服务器的安全组。 如果端口打开,您可以使用kitchen.yml中的以下参数告诉测试厨房等待WinRM准备就绪:

max_等待_,直到_准备就绪:true 连接超时:900


如图所示,测试服务器上的端口5985未打开。如果在入站规则中打开了连接5985的规则“WinRM HTTP”,请检查服务器的安全组。 如果端口打开,您可以使用kitchen.yml中的以下参数告诉测试厨房等待WinRM准备就绪:

max_等待_,直到_准备就绪:true 连接超时:900

看这里

PS C:\App\cookbooks\windows_settings> kitchen verify
---> Starting Kitchen (v1.4.2)
C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/webagent-cookie.rb:458: warning: a
lready initialized constant HTTPClient::CookieManager
C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/cookie.rb:8: warning: previous def
inition of CookieManager was here
---> Converging <default-windows-2012r2>...
      Preparing files for transfer
      Preparing dna.json
      Resolving cookbook dependencies with Berkshelf 4.0.1...
      Removing non-cookbook files before transfer
      Preparing validation.pem
      Preparing client.rb
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: Failed to complete #converge action: [A connection attempt failed because the connected party did not pr
operly respond after a period of time, or established connection failed because connected host has failed to respond. -
connect(2) for "ec2-54-213-41-35.us-west-2.compute.amazonaws.com" port 5985 (http://ec2-54-213-41-35.us-west-2.compute.a
mazonaws.com:5985)]
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration