# Test-kitchen with docker-remote

**URL:** <https://discourse.chef.io/t/test-kitchen-with-docker-remote/6325>\
**Category:** Chef Infra (archive)\
**Created:** [February 19, 2015, 12:44am UTC](https://discourse.chef.io/t/test-kitchen-with-docker-remote/6325 "2015-02-19T00:44:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Morgan\_Blackthorne](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/morgan_blackthorne/32/100_2.png) [@Morgan\_Blackthorne](https://discourse.chef.io/u/Morgan_Blackthorne)\
**Post date:** [February 19, 2015, 12:44am UTC](https://discourse.chef.io/t/test-kitchen-with-docker-remote/6325/1 "2015-02-19T00:44:32Z")

</div>

Trying to test this out, but running into a problem with Berkshelf. Is  
there a good way to tell Berkshelf inside TK to skip trying to validate SSL  
certs?

-----\> Converging …  
Preparing files for transfer  
Preparing dna.json  
Resolving cookbook dependencies with Berkshelf 3.2.3…  
E, [2015-02-18T16:39:42.217792 #66682] ERROR – : Actor crashed!  
OpenSSL::SSL::SSLError: SSL\_connect returned=1 errno=0 state=SSLv3 read  
server certificate B: certificate verify failed  
/opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in`block in  
connect’  
/opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:76:in `timeout' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in`connect’  
/opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do_start' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:852:in`start’  
/opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:313:in `open_http' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:724:in`buffer\_open’  
/opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:210:in `block in open_loop' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in`catch’  
/opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `open_loop' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:149:in`open\_uri’  
/opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:704:in `open' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:34:in`open’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:186:in  
`block in stream’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/retryable-2.0.1/lib/retryable.rb:63:in  
`retryable’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:185:in  
`stream’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:103:in  
`download’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:62:in  
`try\_download’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:36:in  
`block in download’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
`each’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
`download’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/installer.rb:105:in  
`install’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
`public\_send’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
`dispatch’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in  
`dispatch’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in  
`block in invoke’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in  
`block in task’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in  
`block in task’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in  
`block in initialize’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in  
`block in create' (celluloid):0:in`remote procedure call’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:92:in  
`value’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/proxies/sync\_proxy.rb:33:in  
`method\_missing’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/proxies/cell\_proxy.rb:17:in  
`_send_’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/pool\_manager.rb:41:in  
`_send_’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/pool\_manager.rb:140:in  
`method\_missing’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
`public\_send’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
`dispatch’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in  
`dispatch’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in  
`block in invoke’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in  
`block in task’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in  
`block in task’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in  
`block in initialize’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in  
`block in create' E, [2015-02-18T16:39:42.223998 #66682] ERROR -- : Actor crashed! OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in`connect’  
/opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect' /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:76:in`timeout’  
/opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:863:in`do\_start’  
/opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:313:in`open\_http’  
/opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:724:in `buffer_open' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:210:in`block in  
open\_loop’  
/opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `catch' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in`open\_loop’  
/opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:149:in `open_uri' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:704:in`open’  
/opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:34:in `open’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:186:in  
`block in stream’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/retryable-2.0.1/lib/retryable.rb:63:in  
`retryable’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:185:in  
`stream’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:103:in  
`download’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:62:in  
`try\_download’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:36:in  
`block in download’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
`each’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
`download’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/installer.rb:105:in  
`install’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
`public\_send’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
`dispatch’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in  
`dispatch’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in  
`block in invoke’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in  
`block in task’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in  
`block in task’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in  
`block in initialize’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in  
`block in create' E, [2015-02-18T16:39:42.227916 #66682] ERROR -- : Actor crashed! OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in`connect’  
/opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect' /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:76:in`timeout’  
/opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:863:in`do\_start’  
/opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:313:in`open\_http’  
/opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:724:in `buffer_open' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:210:in`block in  
open\_loop’  
/opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `catch' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in`open\_loop’  
/opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:149:in `open_uri' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:704:in`open’  
/opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:34:in `open’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:186:in  
`block in stream’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/retryable-2.0.1/lib/retryable.rb:63:in  
`retryable’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:185:in  
`stream’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:103:in  
`download’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:62:in  
`try\_download’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:36:in  
`block in download’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
`each’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
`download’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/installer.rb:105:in  
`install’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
`public\_send’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
`dispatch’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in  
`dispatch’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in  
`block in invoke’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in  
`block in task’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in  
`block in task’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in  
`block in initialize’

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in  
`block in create’  
cocoa:~/git/ntp$

Though to be honest I’m also wondering where it pulls which Berkshelf  
server to talk to as well.

–  
~_~ StormeRider ~_~

“Every world needs its heroes […] They inspire us to be better than we  
are. And they protect from the darkness that’s just around the corner.”

(from Smallville Season 6x1: “Zod”)

On why I hate the phrase “that’s so lame”… [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS)

---

<div class="post-metadata">

**Author:** ![Tyler\_Ball](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/tyler_ball/32/14_2.png) [@Tyler\_Ball](https://discourse.chef.io/u/Tyler_Ball)\
**Post date:** [February 19, 2015, 4:59pm UTC](https://discourse.chef.io/t/test-kitchen-with-docker-remote/6325/2 "2015-02-19T16:59:40Z")

</div>

It looks like Berkshelf has an option `Berkshelf::Config.instance.ssl.verify` - you could try setting that to false. I don’t see anything in Test Kitchen that will set that value, but because the Berkshelf::Config object is a singleton you should be able to set it near code startup time.

You can set the berkshelf API server inside the Berksfile at the root of the cookbook you are testing.

Actually, that may be a good place to set the Berkshelf config - can you try setting `Berkshelf::Config.instance.ssl.verify = false` in your Berksfile? This is a totally stab in the dark, so I have no idea if it will work.

-Tyler

> On Feb 18, 2015, at 4:44 PM, Morgan Blackthorne [stormerider@gmail.com](mailto:stormerider@gmail.com) wrote:
> 
> Trying to test this out, but running into a problem with Berkshelf. Is there a good way to tell Berkshelf inside TK to skip trying to validate SSL certs?
> 
> -----\> Converging ...  
> Preparing files for transfer  
> Preparing dna.json  
> Resolving cookbook dependencies with Berkshelf 3.2.3...  
> E, [2015-02-18T16:39:42.217792 #66682] ERROR -- : Actor crashed!  
> OpenSSL::SSL::SSLError: SSL\_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed  
> /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:76:in `timeout' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do_start' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:313:in `open_http' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:724:in `buffer\_open'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:210:in `block in open_loop' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `catch'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `open_loop' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:149:in `open\_uri'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:704:in `open' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:34:in `open'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:186:in `block in stream' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/retryable-2.0.1/lib/retryable.rb:63:in `retryable'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:185:in `stream' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community_rest.rb:103:in `download'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:62:in `try_download' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:36:in `block in download'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in `each' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in `download'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/installer.rb:105:in `install' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public\_send'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in `dispatch'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in `block in create' (celluloid):0:in `remote procedure call'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:92:in `value' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/proxies/sync_proxy.rb:33:in `method\_missing'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/proxies/cell\_proxy.rb:17:in `_send_' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/pool_manager.rb:41:in `_send_'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/pool\_manager.rb:140:in `method_missing' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public\_send'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in `dispatch'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in `block in create' E, [2015-02-18T16:39:42.223998 #66682] ERROR -- : Actor crashed! OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect' /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:76:in `timeout'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do\_start'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:313:in `open\_http'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:724:in `buffer_open' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:210:in `block in open\_loop'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `catch' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `open\_loop'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:149:in `open_uri' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:704:in `open'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:34:in `open' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community_rest.rb:186:in `block in stream'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/retryable-2.0.1/lib/retryable.rb:63:in `retryable' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community_rest.rb:185:in `stream'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:103:in `download' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:62:in `try\_download'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:36:in `block in download' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in `each'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in `download' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/installer.rb:105:in `install'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in `dispatch' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'  
> E, [2015-02-18T16:39:42.227916 #66682] ERROR -- : Actor crashed!  
> OpenSSL::SSL::SSLError: SSL\_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed  
> /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:76:in `timeout' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do_start' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:313:in `open_http' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:724:in `buffer\_open'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:210:in `block in open_loop' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `catch'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `open_loop' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:149:in `open\_uri'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:704:in `open' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:34:in `open'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:186:in `block in stream' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/retryable-2.0.1/lib/retryable.rb:63:in `retryable'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:185:in `stream' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community_rest.rb:103:in `download'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:62:in `try_download' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:36:in `block in download'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in `each' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in `download'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/installer.rb:105:in `install' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public\_send'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in `dispatch'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'  
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in `block in create'  
> cocoa:~/git/ntp$
> 
> Though to be honest I'm also wondering where it pulls which Berkshelf server to talk to as well.
> 
> --  
> ~_~ StormeRider ~_~
> 
> "Every world needs its heroes [...] They inspire us to be better than we are. And they protect from the darkness that's just around the corner."
> 
> (from Smallville Season 6x1: "Zod")
> 
> On why I hate the phrase "that's so lame"... [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS) [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS)

---

<div class="post-metadata">

**Author:** ![Morgan\_Blackthorne](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/morgan_blackthorne/32/100_2.png) [@Morgan\_Blackthorne](https://discourse.chef.io/u/Morgan_Blackthorne)\
**Post date:** [February 19, 2015, 5:50pm UTC](https://discourse.chef.io/t/test-kitchen-with-docker-remote/6325/3 "2015-02-19T17:50:26Z")

</div>

That actually seemed to help, though that's confusing since my  
~/.berkshelf/config.json has ssl verification set to off.

In any case, here's what I'm seeing now:

nclemons@ashdcsbamboo00:~/git/ntp$ kitchen converge  
-----\> Starting Kitchen (v1.3.1)  
-----\> Converging ...  
Preparing files for transfer  
Preparing dna.json  
Resolving cookbook dependencies with Berkshelf 3.2.3...  
Removing non-cookbook files before transfer  
Preparing solo.rb  
[SSH] connection failed, retrying (#\<Errno::ECONNREFUSED: Connection  
refused - connect(2)\>)  
[SSH] connection failed, retrying (#\<Errno::ECONNREFUSED: Connection  
refused - connect(2)\>)  
$$$$$$ [SSH] connection failed, terminating (#\<Errno::ECONNREFUSED:  
Connection refused - connect(2)\>)

> > > > > > ## ------Exception------- Class: Kitchen::ActionFailed Message: Failed to complete #converge action: [Connection refused - connect(2)]
> > > > > > 
> > > > > > Please see .kitchen/logs/kitchen.log for more details  
> > > > > > Also try running `kitchen diagnose --all` for configuration

## nclemons@ashdcsbamboo00:~/git/ntp$ more .kitchen/logs/kitchen.log I, [2015-02-19T12:47:17.704951 #2478] INFO -- Kitchen: -----\> Starting Kitchen (v1.3.1) I, [2015-02-19T12:47:20.769813 #2478] INFO -- Kitchen: -----\> Converging ... E, [2015-02-19T12:47:23.743041 #2478] ERROR -- Kitchen: ------Exception------- E, [2015-02-19T12:47:23.743104 #2478] ERROR -- Kitchen: Class: Kitchen::ActionFailed E, [2015-02-19T12:47:23.743158 #2478] ERROR -- Kitchen: Message: Failed to complete #converge action: [Connection refused - connect(2)] E, [2015-02-19T12:47:23.743196 #2478] ERROR -- Kitchen: ---Nested Exception--- E, [2015-02-19T12:47:23.743232 #2478] ERROR -- Kitchen: Class: Errno::ECONNREFUSED E, [2015-02-19T12:47:23.743267 #2478] ERROR -- Kitchen: Message: Connection refused - connect(2) E, [2015-02-19T12:47:23.743303 #2478] ERROR -- Kitchen: ------Backtrace------- E, [2015-02-19T12:47:23.743349 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh/transport/session.rb:70:in `initialize' E, [2015-02-19T12:47:23.743386 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh/transport/session.rb:70:in `open' E, [2015-02-19T12:47:23.743423 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh/transport/session.rb:70:in `block in initialize' E, [2015-02-19T12:47:23.743459 #2478] ERROR -- Kitchen: /usr/lib/ruby/1.9.1/timeout.rb:55:in `timeout' E, [2015-02-19T12:47:23.743511 #2478] ERROR -- Kitchen: /usr/lib/ruby/1.9.1/timeout.rb:100:in `timeout' E, [2015-02-19T12:47:23.743547 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh/transport/session.rb:67:in `initialize' E, [2015-02-19T12:47:23.743583 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh.rb:207:in `new' E, [2015-02-19T12:47:23.743619 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh.rb:207:in `start' E, [2015-02-19T12:47:23.743654 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:201:in `establish_connection' E, [2015-02-19T12:47:23.743690 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:184:in `session' E, [2015-02-19T12:47:23.743737 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:236:in `exec_with_exit' E, [2015-02-19T12:47:23.743773 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:81:in `exec' E, [2015-02-19T12:47:23.743817 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/driver/ssh\_base.rb:150:in `run_remote' E, [2015-02-19T12:47:23.743867 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/driver/ssh_base.rb:46:in `block in converge' E, [2015-02-19T12:47:23.743915 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:70:in `initialize' E, [2015-02-19T12:47:23.743953 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/driver/ssh_base.rb:45:in `new' E, [2015-02-19T12:47:23.743989 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/driver/ssh\_base.rb:45:in `converge' E, [2015-02-19T12:47:23.744034 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:352:in `public\_send' E, [2015-02-19T12:47:23.744070 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:352:in `block in perform_action' E, [2015-02-19T12:47:23.744113 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:416:in `call' E, [2015-02-19T12:47:23.744152 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:416:in `synchronize_or_call' E, [2015-02-19T12:47:23.744199 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:381:in `block in action' E, [2015-02-19T12:47:23.744236 #2478] ERROR -- Kitchen: /usr/lib/ruby/1.9.1/benchmark.rb:280:in `measure' E, [2015-02-19T12:47:23.744273 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:380:in `action' E, [2015-02-19T12:47:23.744337 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:352:in `perform_action' E, [2015-02-19T12:47:23.744379 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:312:in `converge\_action' E, [2015-02-19T12:47:23.744430 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:292:in `block in transition_to' E, [2015-02-19T12:47:23.744469 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:291:in `each' E, [2015-02-19T12:47:23.744506 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:291:in `transition_to' E, [2015-02-19T12:47:23.744543 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:130:in `converge' E, [2015-02-19T12:47:23.744579 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/command.rb:176:in `public_send' E, [2015-02-19T12:47:23.744616 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/command.rb:176:in `block (2 levels) in run\_action' E, [2015-02-19T12:47:23.744665 #2478] ERROR -- Kitchen:

## nclemons@ashdcsbamboo00:~/git/ntp$ kitchen diagnose --all

timestamp: !binary |-  
MjAxNS0wMi0xOSAxNzo0Nzo0OSBVVEM=  
kitchen\_version: 1.3.1  
loader:  
process\_erb: true  
process\_local: true  
process\_global: true  
global\_config:  
project\_config:  
filename: /home/nclemons/git/ntp/.kitchen.yml  
raw\_data:  
driver:  
name: docker  
socket: tcp://localhost:5000  
provisioner:  
name: chef\_solo  
platforms:  
- name: ubuntu-12.04  
- name: ubuntu-14.04  
- name: centos-6.4  
suites:  
- name: default  
run\_list:  
- recipe[ntp::default]  
attributes:  
local\_config:  
combined\_config:  
filename:  
raw\_data:  
driver:  
name: docker  
socket: tcp://localhost:5000  
provisioner:  
name: chef\_solo  
platforms:  
- name: ubuntu-12.04  
- name: ubuntu-14.04  
- name: centos-6.4  
suites:  
- name: default  
run\_list:  
- recipe[ntp::default]  
attributes:  
instances:  
default-ubuntu-1204:  
state\_file:  
container\_id:  
be59d778470b44adb3f0f1ed71f9bfb983e31973daff3641cb4023b8b71d0143  
hostname: ashdcsbamboo00.lan.flt  
image\_id: 6d3b7dc1cc1e  
last\_action: create  
port: 49153  
driver:  
binary: docker  
disable\_upstart: true  
image: ubuntu:12.04  
kitchen\_root: /home/nclemons/git/ntp  
log\_level: :info  
name: docker  
password: kitchen  
platform: ubuntu  
port: 22  
privileged: false  
publish\_all: false  
remove\_images: false  
run\_command: /usr/sbin/sshd -D -o UseDNS=no -o UsePAM=no -o  
PasswordAuthentication=yes  
-o UsePrivilegeSeparation=no -o PidFile=/tmp/sshd.pid  
socket: tcp://localhost:5000  
sudo: true  
test\_base\_path: /home/nclemons/git/ntp/test/integration  
tls: false  
tls\_cacert:  
tls\_cert:  
tls\_key:  
tls\_verify: false  
use\_cache: true  
use\_sudo: false  
username: kitchen  
provisioner:  
attributes: {}  
chef\_omnibus\_install\_options:  
chef\_omnibus\_root: /opt/chef  
chef\_omnibus\_url: [https://www.chef.io/chef/install.sh](https://www.chef.io/chef/install.sh)  
chef\_solo\_path: /opt/chef/bin/chef-solo  
clients\_path:  
cookbook\_files\_glob:  
README._,metadata.{json,rb},attributes/\*\*/_,definitions/ **/\*,files/** /_,libraries/\*\*/_,providers/ **/\*,recipes/** /_,resources/\*\*/_,templates/**/\*  
data\_bags\_path:  
data\_path:  
encrypted\_data\_bag\_secret\_key\_path:  
environments\_path:  
kitchen\_root: /home/nclemons/git/ntp  
log\_file:  
log\_level: :info  
name: chef\_solo  
nodes\_path:  
require\_chef\_omnibus: true  
roles\_path:  
root\_path: /tmp/kitchen  
run\_list:  
- recipe[ntp::default]  
solo\_rb: {}  
sudo: true  
test\_base\_path: /home/nclemons/git/ntp/test/integration  
busser:  
busser\_bin: /tmp/busser/bin/busser  
kitchen\_root: /home/nclemons/git/ntp  
root\_path: /tmp/busser  
ruby\_bindir: /opt/chef/embedded/bin  
sudo: true  
suite\_name: default  
test\_base\_path: /home/nclemons/git/ntp/test/integration  
version: busser  
default-ubuntu-1404:  
state\_file: {}  
driver:  
binary: docker  
disable\_upstart: true  
image: ubuntu:14.04  
kitchen\_root: /home/nclemons/git/ntp  
log\_level: :info  
name: docker  
password: kitchen  
platform: ubuntu  
port: 22  
privileged: false  
publish\_all: false  
remove\_images: false  
run\_command: /usr/sbin/sshd -D -o UseDNS=no -o UsePAM=no -o  
PasswordAuthentication=yes  
-o UsePrivilegeSeparation=no -o PidFile=/tmp/sshd.pid  
socket: tcp://localhost:5000  
sudo: true  
test\_base\_path: /home/nclemons/git/ntp/test/integration  
tls: false  
tls\_cacert:  
tls\_cert:  
tls\_key:  
tls\_verify: false  
use\_cache: true  
use\_sudo: false  
username: kitchen  
provisioner:  
attributes: {}  
chef\_omnibus\_install\_options:  
chef\_omnibus\_root: /opt/chef  
chef\_omnibus\_url: [https://www.chef.io/chef/install.sh](https://www.chef.io/chef/install.sh)  
chef\_solo\_path: /opt/chef/bin/chef-solo  
clients\_path:  
cookbook\_files\_glob:  
README.\*,metadata.{json,rb},attributes/ **/_,definitions/\*\*/_,files/** /\*,libraries/ **/_,providers/\*\*/_,recipes/** /\*,resources/**/_,templates/\*\*/_  
data\_bags\_path:  
data\_path:  
encrypted\_data\_bag\_secret\_key\_path:  
environments\_path:  
kitchen\_root: /home/nclemons/git/ntp  
log\_file:  
log\_level: :info  
name: chef\_solo  
nodes\_path:  
require\_chef\_omnibus: true  
roles\_path:  
root\_path: /tmp/kitchen  
run\_list:  
- recipe[ntp::default]  
solo\_rb: {}  
sudo: true  
test\_base\_path: /home/nclemons/git/ntp/test/integration  
busser:  
busser\_bin: /tmp/busser/bin/busser  
kitchen\_root: /home/nclemons/git/ntp  
root\_path: /tmp/busser  
ruby\_bindir: /opt/chef/embedded/bin  
sudo: true  
suite\_name: default  
test\_base\_path: /home/nclemons/git/ntp/test/integration  
version: busser  
default-centos-64:  
state\_file: {}  
driver:  
binary: docker  
disable\_upstart: true  
image: centos:centos6  
kitchen\_root: /home/nclemons/git/ntp  
log\_level: :info  
name: docker  
password: kitchen  
platform: centos  
port: 22  
privileged: false  
publish\_all: false  
remove\_images: false  
run\_command: /usr/sbin/sshd -D -o UseDNS=no -o UsePAM=no -o  
PasswordAuthentication=yes  
-o UsePrivilegeSeparation=no -o PidFile=/tmp/sshd.pid  
socket: tcp://localhost:5000  
sudo: true  
test\_base\_path: /home/nclemons/git/ntp/test/integration  
tls: false  
tls\_cacert:  
tls\_cert:  
tls\_key:  
tls\_verify: false  
use\_cache: true  
use\_sudo: false  
username: kitchen  
provisioner:  
attributes: {}  
chef\_omnibus\_install\_options:  
chef\_omnibus\_root: /opt/chef  
chef\_omnibus\_url: [https://www.chef.io/chef/install.sh](https://www.chef.io/chef/install.sh)  
chef\_solo\_path: /opt/chef/bin/chef-solo  
clients\_path:  
cookbook\_files\_glob:  
README._,metadata.{json,rb},attributes/\*\*/_,definitions/ **/\*,files/** /_,libraries/\*\*/_,providers/ **/\*,recipes/** /_,resources/\*\*/_,templates/\*\*/\*  
data\_bags\_path:  
data\_path:  
encrypted\_data\_bag\_secret\_key\_path:  
environments\_path:  
kitchen\_root: /home/nclemons/git/ntp  
log\_file:  
log\_level: :info  
name: chef\_solo  
nodes\_path:  
require\_chef\_omnibus: true  
roles\_path:  
root\_path: /tmp/kitchen  
run\_list:  
- recipe[ntp::default]  
solo\_rb: {}  
sudo: true  
test\_base\_path: /home/nclemons/git/ntp/test/integration  
busser:  
busser\_bin: /tmp/busser/bin/busser  
kitchen\_root: /home/nclemons/git/ntp  
root\_path: /tmp/busser  
ruby\_bindir: /opt/chef/embedded/bin  
sudo: true  
suite\_name: default  
test\_base\_path: /home/nclemons/git/ntp/test/integration  
version: busser  
nclemons@ashdcsbamboo00:~/git/ntp$

It's somewhat aggravating, but it doesn't actually say what IP/host it's  
trying to SSH into, so debugging this is a bit difficult.

--  
~_~ StormeRider ~_~

"Every world needs its heroes [...] They inspire us to be better than we  
are. And they protect from the darkness that's just around the corner."

(from Smallville Season 6x1: "Zod")

On why I hate the phrase "that's so lame"... [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS)

On Thu, Feb 19, 2015 at 8:59 AM, Tyler Ball [tball@chef.io](mailto:tball@chef.io) wrote:

> It looks like Berkshelf has an option  
> `Berkshelf::Config.instance.ssl.verify` - you could try setting that to  
> false. I don’t see anything in Test Kitchen that will set that value, but  
> because the Berkshelf::Config object is a singleton you should be able to  
> set it near code startup time.
> 
> You can set the berkshelf API server inside the Berksfile at the root of  
> the cookbook you are testing.
> 
> Actually, that may be a good place to set the Berkshelf config - can you  
> try setting `Berkshelf::Config.instance.ssl.verify = false` in your  
> Berksfile? This is a totally stab in the dark, so I have no idea if it  
> will work.
> 
> -Tyler
> 
> On Feb 18, 2015, at 4:44 PM, Morgan Blackthorne [stormerider@gmail.com](mailto:stormerider@gmail.com)  
> wrote:
> 
> Trying to test this out, but running into a problem with Berkshelf. Is  
> there a good way to tell Berkshelf inside TK to skip trying to validate SSL  
> certs?
> 
> -----\> Converging ...  
> Preparing files for transfer  
> Preparing dna.json  
> Resolving cookbook dependencies with Berkshelf 3.2.3...  
> E, [2015-02-18T16:39:42.217792 #66682] ERROR -- : Actor crashed!  
> OpenSSL::SSL::SSLError: SSL\_connect returned=1 errno=0 state=SSLv3 read  
> server certificate B: certificate verify failed  
> /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in  
> connect'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:76:in `timeout' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do_start' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:313:in `open_http' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:724:in `buffer\_open'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:210:in `block in open_loop' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `catch'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `open_loop' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:149:in `open\_uri'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:704:in `open' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:34:in `open'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:186:in  
> `block in stream'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/retryable-2.0.1/lib/retryable.rb:63:in  
> `retryable'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:185:in  
> `stream'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:103:in  
> `download'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:62:in  
> `try\_download'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:36:in  
> `block in download'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
> `each'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
> `download'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/installer.rb:105:in  
> `install'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> `public\_send'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> `dispatch'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in  
> `dispatch'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in  
> `block in invoke'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in  
> `block in task'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in  
> `block in task'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in  
> `block in initialize'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in  
> `block in create' (celluloid):0:in `remote procedure call'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:92:in  
> `value'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/proxies/sync\_proxy.rb:33:in  
> `method\_missing'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/proxies/cell\_proxy.rb:17:in  
> `_send_'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/pool\_manager.rb:41:in  
> `_send_'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/pool\_manager.rb:140:in  
> `method\_missing'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> `public\_send'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> `dispatch'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in  
> `dispatch'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in  
> `block in invoke'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in  
> `block in task'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in  
> `block in task'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in  
> `block in initialize'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in  
> `block in create' E, [2015-02-18T16:39:42.223998 #66682] ERROR -- : Actor crashed! OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect' /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:76:in `timeout'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do\_start'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:313:in `open\_http'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:724:in  
> `buffer_open' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:210:in `block in  
> open\_loop'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `catch' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `open\_loop'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:149:in `open_uri' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:704:in `open'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:34:in `open'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:186:in  
> `block in stream'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/retryable-2.0.1/lib/retryable.rb:63:in  
> `retryable'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:185:in  
> `stream'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:103:in  
> `download'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:62:in  
> `try\_download'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:36:in  
> `block in download'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
> `each'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
> `download'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/installer.rb:105:in  
> `install'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> `public\_send'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> `dispatch'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in  
> `dispatch'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in  
> `block in invoke'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in  
> `block in task'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in  
> `block in task'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in  
> `block in initialize'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in  
> `block in create' E, [2015-02-18T16:39:42.227916 #66682] ERROR -- : Actor crashed! OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect' /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:76:in `timeout'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do\_start'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:313:in `open\_http'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:724:in  
> `buffer_open' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:210:in `block in  
> open\_loop'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `catch' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `open\_loop'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:149:in `open_uri' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:704:in `open'  
> /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:34:in `open'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:186:in  
> `block in stream'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/retryable-2.0.1/lib/retryable.rb:63:in  
> `retryable'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:185:in  
> `stream'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:103:in  
> `download'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:62:in  
> `try\_download'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:36:in  
> `block in download'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
> `each'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
> `download'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/installer.rb:105:in  
> `install'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> `public\_send'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> `dispatch'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in  
> `dispatch'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in  
> `block in invoke'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in  
> `block in task'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in  
> `block in task'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in  
> `block in initialize'
> 
> /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in  
> `block in create'  
> cocoa:~/git/ntp$
> 
> Though to be honest I'm also wondering where it pulls which Berkshelf  
> server to talk to as well.
> 
> --  
> ~_~ StormeRider ~_~
> 
> "Every world needs its heroes [...] They inspire us to be better than we  
> are. And they protect from the darkness that's just around the corner."
> 
> (from Smallville Season 6x1: "Zod")
> 
> On why I hate the phrase "that's so lame"... [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS)

---

<div class="post-metadata">

**Author:** ![Tyler\_Ball](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/tyler_ball/32/14_2.png) [@Tyler\_Ball](https://discourse.chef.io/u/Tyler_Ball)\
**Post date:** [February 19, 2015, 6:46pm UTC](https://discourse.chef.io/t/test-kitchen-with-docker-remote/6325/4 "2015-02-19T18:46:07Z")

</div>

Does it have any better info in the .kitchen/logs/default-ubuntu-1204.log file? Each instance gets its own log file.

-T

> On Feb 19, 2015, at 9:50 AM, Morgan Blackthorne [stormerider@gmail.com](mailto:stormerider@gmail.com) wrote:
> 
> That actually seemed to help, though that's confusing since my ~/.berkshelf/config.json has ssl verification set to off.
> 
> In any case, here's what I'm seeing now:
> 
> nclemons@ashdcsbamboo00:~/git/ntp$ kitchen converge  
> -----\> Starting Kitchen (v1.3.1)  
> -----\> Converging ...  
> Preparing files for transfer  
> Preparing dna.json  
> Resolving cookbook dependencies with Berkshelf 3.2.3...  
> Removing non-cookbook files before transfer  
> Preparing solo.rb  
> [SSH] connection failed, retrying (#\<Errno::ECONNREFUSED: Connection refused - connect(2)\>)  
> [SSH] connection failed, retrying (#\<Errno::ECONNREFUSED: Connection refused - connect(2)\>)  
> $$$$$$ [SSH] connection failed, terminating (#\<Errno::ECONNREFUSED: Connection refused - connect(2)\>)
> 
> > > > > > > ## ------Exception------- Class: Kitchen::ActionFailed Message: Failed to complete #converge action: [Connection refused - connect(2)]
> > > > > > > 
> > > > > > > Please see .kitchen/logs/kitchen.log for more details  
> > > > > > > Also try running `kitchen diagnose --all` for configuration
> 
> ## nclemons@ashdcsbamboo00:~/git/ntp$ more .kitchen/logs/kitchen.log I, [2015-02-19T12:47:17.704951 #2478] INFO -- Kitchen: -----\> Starting Kitchen (v1.3.1) I, [2015-02-19T12:47:20.769813 #2478] INFO -- Kitchen: -----\> Converging ... E, [2015-02-19T12:47:23.743041 #2478] ERROR -- Kitchen: ------Exception------- E, [2015-02-19T12:47:23.743104 #2478] ERROR -- Kitchen: Class: Kitchen::ActionFailed E, [2015-02-19T12:47:23.743158 #2478] ERROR -- Kitchen: Message: Failed to complete #converge action: [Connection refused - connect(2)] E, [2015-02-19T12:47:23.743196 #2478] ERROR -- Kitchen: ---Nested Exception--- E, [2015-02-19T12:47:23.743232 #2478] ERROR -- Kitchen: Class: Errno::ECONNREFUSED E, [2015-02-19T12:47:23.743267 #2478] ERROR -- Kitchen: Message: Connection refused - connect(2) E, [2015-02-19T12:47:23.743303 #2478] ERROR -- Kitchen: ------Backtrace------- E, [2015-02-19T12:47:23.743349 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh/transport/session.rb:70:in `initialize' E, [2015-02-19T12:47:23.743386 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh/transport/session.rb:70:in `open' E, [2015-02-19T12:47:23.743423 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh/transport/session.rb:70:in `block in initialize' E, [2015-02-19T12:47:23.743459 #2478] ERROR -- Kitchen: /usr/lib/ruby/1.9.1/timeout.rb:55:in `timeout' E, [2015-02-19T12:47:23.743511 #2478] ERROR -- Kitchen: /usr/lib/ruby/1.9.1/timeout.rb:100:in `timeout' E, [2015-02-19T12:47:23.743547 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh/transport/session.rb:67:in `initialize' E, [2015-02-19T12:47:23.743583 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh.rb:207:in `new' E, [2015-02-19T12:47:23.743619 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh.rb:207:in `start' E, [2015-02-19T12:47:23.743654 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:201:in `establish_connection' E, [2015-02-19T12:47:23.743690 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:184:in `session' E, [2015-02-19T12:47:23.743737 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:236:in `exec_with_exit' E, [2015-02-19T12:47:23.743773 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:81:in `exec' E, [2015-02-19T12:47:23.743817 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/driver/ssh\_base.rb:150:in `run_remote' E, [2015-02-19T12:47:23.743867 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/driver/ssh_base.rb:46:in `block in converge' E, [2015-02-19T12:47:23.743915 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:70:in `initialize' E, [2015-02-19T12:47:23.743953 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/driver/ssh_base.rb:45:in `new' E, [2015-02-19T12:47:23.743989 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/driver/ssh\_base.rb:45:in `converge' E, [2015-02-19T12:47:23.744034 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:352:in `public\_send' E, [2015-02-19T12:47:23.744070 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:352:in `block in perform_action' E, [2015-02-19T12:47:23.744113 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:416:in `call' E, [2015-02-19T12:47:23.744152 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:416:in `synchronize_or_call' E, [2015-02-19T12:47:23.744199 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:381:in `block in action' E, [2015-02-19T12:47:23.744236 #2478] ERROR -- Kitchen: /usr/lib/ruby/1.9.1/benchmark.rb:280:in `measure' E, [2015-02-19T12:47:23.744273 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:380:in `action' E, [2015-02-19T12:47:23.744337 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:352:in `perform_action' E, [2015-02-19T12:47:23.744379 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:312:in `converge\_action' E, [2015-02-19T12:47:23.744430 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:292:in `block in transition_to' E, [2015-02-19T12:47:23.744469 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:291:in `each' E, [2015-02-19T12:47:23.744506 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:291:in `transition_to' E, [2015-02-19T12:47:23.744543 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:130:in `converge' E, [2015-02-19T12:47:23.744579 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/command.rb:176:in `public_send' E, [2015-02-19T12:47:23.744616 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/command.rb:176:in `block (2 levels) in run\_action' E, [2015-02-19T12:47:23.744665 #2478] ERROR -- Kitchen: ---------------------- nclemons@ashdcsbamboo00:~/git/ntp$ kitchen diagnose --all
> 
> timestamp: !binary |-  
> MjAxNS0wMi0xOSAxNzo0Nzo0OSBVVEM=  
> kitchen\_version: 1.3.1  
> loader:  
> process\_erb: true  
> process\_local: true  
> process\_global: true  
> global\_config:  
> project\_config:  
> filename: /home/nclemons/git/ntp/.kitchen.yml  
> raw\_data:  
> driver:  
> name: docker  
> socket: tcp://localhost:5000  
> provisioner:  
> name: chef\_solo  
> platforms:  
> - name: ubuntu-12.04  
> - name: ubuntu-14.04  
> - name: centos-6.4  
> suites:  
> - name: default  
> run\_list:  
> - recipe[ntp::default]  
> attributes:  
> local\_config:  
> combined\_config:  
> filename:  
> raw\_data:  
> driver:  
> name: docker  
> socket: tcp://localhost:5000  
> provisioner:  
> name: chef\_solo  
> platforms:  
> - name: ubuntu-12.04  
> - name: ubuntu-14.04  
> - name: centos-6.4  
> suites:  
> - name: default  
> run\_list:  
> - recipe[ntp::default]  
> attributes:  
> instances:  
> default-ubuntu-1204:  
> state\_file:  
> container\_id: be59d778470b44adb3f0f1ed71f9bfb983e31973daff3641cb4023b8b71d0143  
> hostname: ashdcsbamboo00.lan.flt  
> image\_id: 6d3b7dc1cc1e  
> last\_action: create  
> port: 49153  
> driver:  
> binary: docker  
> disable\_upstart: true  
> image: ubuntu:12.04  
> kitchen\_root: /home/nclemons/git/ntp  
> log\_level: :info  
> name: docker  
> password: kitchen  
> platform: ubuntu  
> port: 22  
> privileged: false  
> publish\_all: false  
> remove\_images: false  
> run\_command: /usr/sbin/sshd -D -o UseDNS=no -o UsePAM=no -o PasswordAuthentication=yes  
> -o UsePrivilegeSeparation=no -o PidFile=/tmp/sshd.pid  
> socket: tcp://localhost:5000  
> sudo: true  
> test\_base\_path: /home/nclemons/git/ntp/test/integration  
> tls: false  
> tls\_cacert:  
> tls\_cert:  
> tls\_key:  
> tls\_verify: false  
> use\_cache: true  
> use\_sudo: false  
> username: kitchen  
> provisioner:  
> attributes: {}  
> chef\_omnibus\_install\_options:  
> chef\_omnibus\_root: /opt/chef  
> chef\_omnibus\_url: [https://www.chef.io/chef/install.sh](https://www.chef.io/chef/install.sh) [https://www.chef.io/chef/install.sh](https://www.chef.io/chef/install.sh)  
> chef\_solo\_path: /opt/chef/bin/chef-solo  
> clients\_path:  
> cookbook\_files\_glob: README._,metadata.{json,rb},attributes/\*\*/_,definitions/ **/\*,files/** /_,libraries/\*\*/_,providers/ **/\*,recipes/** /_,resources/\*\*/_,templates/**/\*  
> data\_bags\_path:  
> data\_path:  
> encrypted\_data\_bag\_secret\_key\_path:  
> environments\_path:  
> kitchen\_root: /home/nclemons/git/ntp  
> log\_file:  
> log\_level: :info  
> name: chef\_solo  
> nodes\_path:  
> require\_chef\_omnibus: true  
> roles\_path:  
> root\_path: /tmp/kitchen  
> run\_list:  
> - recipe[ntp::default]  
> solo\_rb: {}  
> sudo: true  
> test\_base\_path: /home/nclemons/git/ntp/test/integration  
> busser:  
> busser\_bin: /tmp/busser/bin/busser  
> kitchen\_root: /home/nclemons/git/ntp  
> root\_path: /tmp/busser  
> ruby\_bindir: /opt/chef/embedded/bin  
> sudo: true  
> suite\_name: default  
> test\_base\_path: /home/nclemons/git/ntp/test/integration  
> version: busser  
> default-ubuntu-1404:  
> state\_file: {}  
> driver:  
> binary: docker  
> disable\_upstart: true  
> image: ubuntu:14.04  
> kitchen\_root: /home/nclemons/git/ntp  
> log\_level: :info  
> name: docker  
> password: kitchen  
> platform: ubuntu  
> port: 22  
> privileged: false  
> publish\_all: false  
> remove\_images: false  
> run\_command: /usr/sbin/sshd -D -o UseDNS=no -o UsePAM=no -o PasswordAuthentication=yes  
> -o UsePrivilegeSeparation=no -o PidFile=/tmp/sshd.pid  
> socket: tcp://localhost:5000  
> sudo: true  
> test\_base\_path: /home/nclemons/git/ntp/test/integration  
> tls: false  
> tls\_cacert:  
> tls\_cert:  
> tls\_key:  
> tls\_verify: false  
> use\_cache: true  
> use\_sudo: false  
> username: kitchen  
> provisioner:  
> attributes: {}  
> chef\_omnibus\_install\_options:  
> chef\_omnibus\_root: /opt/chef  
> chef\_omnibus\_url: [https://www.chef.io/chef/install.sh](https://www.chef.io/chef/install.sh) [https://www.chef.io/chef/install.sh](https://www.chef.io/chef/install.sh)  
> chef\_solo\_path: /opt/chef/bin/chef-solo  
> clients\_path:  
> cookbook\_files\_glob: README.\*,metadata.{json,rb},attributes/ **/_,definitions/\*\*/_,files/** /\*,libraries/ **/_,providers/\*\*/_,recipes/** /\*,resources/**/_,templates/\*\*/_  
> data\_bags\_path:  
> data\_path:  
> encrypted\_data\_bag\_secret\_key\_path:  
> environments\_path:  
> kitchen\_root: /home/nclemons/git/ntp  
> log\_file:  
> log\_level: :info  
> name: chef\_solo  
> nodes\_path:  
> require\_chef\_omnibus: true  
> roles\_path:  
> root\_path: /tmp/kitchen  
> run\_list:  
> - recipe[ntp::default]  
> solo\_rb: {}  
> sudo: true  
> test\_base\_path: /home/nclemons/git/ntp/test/integration  
> busser:  
> busser\_bin: /tmp/busser/bin/busser  
> kitchen\_root: /home/nclemons/git/ntp  
> root\_path: /tmp/busser  
> ruby\_bindir: /opt/chef/embedded/bin  
> sudo: true  
> suite\_name: default  
> test\_base\_path: /home/nclemons/git/ntp/test/integration  
> version: busser  
> default-centos-64:  
> state\_file: {}  
> driver:  
> binary: docker  
> disable\_upstart: true  
> image: centos:centos6  
> kitchen\_root: /home/nclemons/git/ntp  
> log\_level: :info  
> name: docker  
> password: kitchen  
> platform: centos  
> port: 22  
> privileged: false  
> publish\_all: false  
> remove\_images: false  
> run\_command: /usr/sbin/sshd -D -o UseDNS=no -o UsePAM=no -o PasswordAuthentication=yes  
> -o UsePrivilegeSeparation=no -o PidFile=/tmp/sshd.pid  
> socket: tcp://localhost:5000  
> sudo: true  
> test\_base\_path: /home/nclemons/git/ntp/test/integration  
> tls: false  
> tls\_cacert:  
> tls\_cert:  
> tls\_key:  
> tls\_verify: false  
> use\_cache: true  
> use\_sudo: false  
> username: kitchen  
> provisioner:  
> attributes: {}  
> chef\_omnibus\_install\_options:  
> chef\_omnibus\_root: /opt/chef  
> chef\_omnibus\_url: [https://www.chef.io/chef/install.sh](https://www.chef.io/chef/install.sh) [https://www.chef.io/chef/install.sh](https://www.chef.io/chef/install.sh)  
> chef\_solo\_path: /opt/chef/bin/chef-solo  
> clients\_path:  
> cookbook\_files\_glob: README._,metadata.{json,rb},attributes/\*\*/_,definitions/ **/\*,files/** /_,libraries/\*\*/_,providers/ **/\*,recipes/** /_,resources/\*\*/_,templates/\*\*/\*  
> data\_bags\_path:  
> data\_path:  
> encrypted\_data\_bag\_secret\_key\_path:  
> environments\_path:  
> kitchen\_root: /home/nclemons/git/ntp  
> log\_file:  
> log\_level: :info  
> name: chef\_solo  
> nodes\_path:  
> require\_chef\_omnibus: true  
> roles\_path:  
> root\_path: /tmp/kitchen  
> run\_list:  
> - recipe[ntp::default]  
> solo\_rb: {}  
> sudo: true  
> test\_base\_path: /home/nclemons/git/ntp/test/integration  
> busser:  
> busser\_bin: /tmp/busser/bin/busser  
> kitchen\_root: /home/nclemons/git/ntp  
> root\_path: /tmp/busser  
> ruby\_bindir: /opt/chef/embedded/bin  
> sudo: true  
> suite\_name: default  
> test\_base\_path: /home/nclemons/git/ntp/test/integration  
> version: busser  
> nclemons@ashdcsbamboo00:~/git/ntp$
> 
> It's somewhat aggravating, but it doesn't actually say what IP/host it's trying to SSH into, so debugging this is a bit difficult.
> 
> --  
> ~_~ StormeRider ~_~
> 
> "Every world needs its heroes [...] They inspire us to be better than we are. And they protect from the darkness that's just around the corner."
> 
> (from Smallville Season 6x1: "Zod")
> 
> On why I hate the phrase "that's so lame"... [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS) [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS)  
> On Thu, Feb 19, 2015 at 8:59 AM, Tyler Ball \<[tball@chef.io](mailto:tball@chef.io) [mailto:tball@chef.io](mailto:tball@chef.io)\> wrote:  
> It looks like Berkshelf has an option `Berkshelf::Config.instance.ssl.verify` - you could try setting that to false. I don’t see anything in Test Kitchen that will set that value, but because the Berkshelf::Config object is a singleton you should be able to set it near code startup time.
> 
> You can set the berkshelf API server inside the Berksfile at the root of the cookbook you are testing.
> 
> Actually, that may be a good place to set the Berkshelf config - can you try setting `Berkshelf::Config.instance.ssl.verify = false` in your Berksfile? This is a totally stab in the dark, so I have no idea if it will work.
> 
> -Tyler
> 
> > On Feb 18, 2015, at 4:44 PM, Morgan Blackthorne \<[stormerider@gmail.com](mailto:stormerider@gmail.com) [mailto:stormerider@gmail.com](mailto:stormerider@gmail.com)\> wrote:
> > 
> > Trying to test this out, but running into a problem with Berkshelf. Is there a good way to tell Berkshelf inside TK to skip trying to validate SSL certs?
> > 
> > -----\> Converging ...  
> > Preparing files for transfer  
> > Preparing dna.json  
> > Resolving cookbook dependencies with Berkshelf 3.2.3...  
> > E, [2015-02-18T16:39:42.217792 #66682] ERROR -- : Actor crashed!  
> > OpenSSL::SSL::SSLError: SSL\_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:76:in `timeout' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do_start' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:313:in `open_http' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:724:in `buffer\_open'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:210:in `block in open_loop' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `catch'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `open_loop' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:149:in `open\_uri'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:704:in `open' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:34:in `open'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:186:in `block in stream' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/retryable-2.0.1/lib/retryable.rb:63:in `retryable'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:185:in `stream' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community_rest.rb:103:in `download'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:62:in `try_download' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:36:in `block in download'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in `each' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in `download'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/installer.rb:105:in `install' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public\_send'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in `dispatch'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in `block in create' (celluloid):0:in `remote procedure call'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:92:in `value' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/proxies/sync_proxy.rb:33:in `method\_missing'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/proxies/cell\_proxy.rb:17:in `_send_' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/pool_manager.rb:41:in `_send_'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/pool\_manager.rb:140:in `method_missing' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public\_send'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in `dispatch'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in `block in create' E, [2015-02-18T16:39:42.223998 #66682] ERROR -- : Actor crashed! OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect' /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:76:in `timeout'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do\_start'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:313:in `open\_http'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:724:in `buffer_open' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:210:in `block in open\_loop'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `catch' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `open\_loop'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:149:in `open_uri' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:704:in `open'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:34:in `open' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community_rest.rb:186:in `block in stream'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/retryable-2.0.1/lib/retryable.rb:63:in `retryable' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community_rest.rb:185:in `stream'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:103:in `download' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:62:in `try\_download'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:36:in `block in download' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in `each'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in `download' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/installer.rb:105:in `install'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in `dispatch' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'  
> > E, [2015-02-18T16:39:42.227916 #66682] ERROR -- : Actor crashed!  
> > OpenSSL::SSL::SSLError: SSL\_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:76:in `timeout' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do_start' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:313:in `open_http' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:724:in `buffer\_open'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:210:in `block in open_loop' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `catch'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `open_loop' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:149:in `open\_uri'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:704:in `open' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:34:in `open'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:186:in `block in stream' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/retryable-2.0.1/lib/retryable.rb:63:in `retryable'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:185:in `stream' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community_rest.rb:103:in `download'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:62:in `try_download' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:36:in `block in download'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in `each' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in `download'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/installer.rb:105:in `install' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public\_send'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in `dispatch'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'  
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in `block in create'  
> > cocoa:~/git/ntp$
> > 
> > Though to be honest I'm also wondering where it pulls which Berkshelf server to talk to as well.
> > 
> > --  
> > ~_~ StormeRider ~_~
> > 
> > "Every world needs its heroes [...] They inspire us to be better than we are. And they protect from the darkness that's just around the corner."
> > 
> > (from Smallville Season 6x1: "Zod")
> > 
> > On why I hate the phrase "that's so lame"... [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS) [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS)

---

<div class="post-metadata">

**Author:** ![Morgan\_Blackthorne](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/morgan_blackthorne/32/100_2.png) [@Morgan\_Blackthorne](https://discourse.chef.io/u/Morgan_Blackthorne)\
**Post date:** [February 19, 2015, 7:07pm UTC](https://discourse.chef.io/t/test-kitchen-with-docker-remote/6325/5 "2015-02-19T19:07:59Z")

</div>

No, sorry, it's just the same error.

--  
~_~ StormeRider ~_~

"Every world needs its heroes [...] They inspire us to be better than we  
are. And they protect from the darkness that's just around the corner."

(from Smallville Season 6x1: "Zod")

On why I hate the phrase "that's so lame"... [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS)

On Thu, Feb 19, 2015 at 10:46 AM, Tyler Ball [tball@chef.io](mailto:tball@chef.io) wrote:

> Does it have any better info in the .kitchen/logs/default-ubuntu-1204.log  
> file? Each instance gets its own log file.
> 
> -T
> 
> On Feb 19, 2015, at 9:50 AM, Morgan Blackthorne [stormerider@gmail.com](mailto:stormerider@gmail.com)  
> wrote:
> 
> That actually seemed to help, though that's confusing since my  
> ~/.berkshelf/config.json has ssl verification set to off.
> 
> In any case, here's what I'm seeing now:
> 
> nclemons@ashdcsbamboo00:~/git/ntp$ kitchen converge  
> -----\> Starting Kitchen (v1.3.1)  
> -----\> Converging ...  
> Preparing files for transfer  
> Preparing dna.json  
> Resolving cookbook dependencies with Berkshelf 3.2.3...  
> Removing non-cookbook files before transfer  
> Preparing solo.rb  
> [SSH] connection failed, retrying (#\<Errno::ECONNREFUSED:  
> Connection refused - connect(2)\>)  
> [SSH] connection failed, retrying (#\<Errno::ECONNREFUSED:  
> Connection refused - connect(2)\>)  
> $$$$$$ [SSH] connection failed, terminating (#\<Errno::ECONNREFUSED:  
> Connection refused - connect(2)\>)
> 
> > > > > > > ## ------Exception------- Class: Kitchen::ActionFailed Message: Failed to complete #converge action: [Connection refused - connect(2)]
> > > > > > > 
> > > > > > > Please see .kitchen/logs/kitchen.log for more details  
> > > > > > > Also try running `kitchen diagnose --all` for configuration
> 
> ## nclemons@ashdcsbamboo00:~/git/ntp$ more .kitchen/logs/kitchen.log I, [2015-02-19T12:47:17.704951 #2478] INFO -- Kitchen: -----\> Starting Kitchen (v1.3.1) I, [2015-02-19T12:47:20.769813 #2478] INFO -- Kitchen: -----\> Converging ... E, [2015-02-19T12:47:23.743041 #2478] ERROR -- Kitchen: ------Exception------- E, [2015-02-19T12:47:23.743104 #2478] ERROR -- Kitchen: Class: Kitchen::ActionFailed E, [2015-02-19T12:47:23.743158 #2478] ERROR -- Kitchen: Message: Failed to complete #converge action: [Connection refused - connect(2)] E, [2015-02-19T12:47:23.743196 #2478] ERROR -- Kitchen: ---Nested Exception--- E, [2015-02-19T12:47:23.743232 #2478] ERROR -- Kitchen: Class: Errno::ECONNREFUSED E, [2015-02-19T12:47:23.743267 #2478] ERROR -- Kitchen: Message: Connection refused - connect(2) E, [2015-02-19T12:47:23.743303 #2478] ERROR -- Kitchen: ------Backtrace------- E, [2015-02-19T12:47:23.743349 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh/transport/session.rb:70:in `initialize' E, [2015-02-19T12:47:23.743386 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh/transport/session.rb:70:in `open' E, [2015-02-19T12:47:23.743423 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh/transport/session.rb:70:in `block in initialize' E, [2015-02-19T12:47:23.743459 #2478] ERROR -- Kitchen: /usr/lib/ruby/1.9.1/timeout.rb:55:in `timeout' E, [2015-02-19T12:47:23.743511 #2478] ERROR -- Kitchen: /usr/lib/ruby/1.9.1/timeout.rb:100:in `timeout' E, [2015-02-19T12:47:23.743547 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh/transport/session.rb:67:in `initialize' E, [2015-02-19T12:47:23.743583 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh.rb:207:in `new' E, [2015-02-19T12:47:23.743619 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh.rb:207:in `start' E, [2015-02-19T12:47:23.743654 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:201:in `establish_connection' E, [2015-02-19T12:47:23.743690 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:184:in `session' E, [2015-02-19T12:47:23.743737 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:236:in `exec_with_exit' E, [2015-02-19T12:47:23.743773 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:81:in `exec' E, [2015-02-19T12:47:23.743817 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/driver/ssh\_base.rb:150:in `run_remote' E, [2015-02-19T12:47:23.743867 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/driver/ssh_base.rb:46:in `block in converge' E, [2015-02-19T12:47:23.743915 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:70:in `initialize' E, [2015-02-19T12:47:23.743953 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/driver/ssh_base.rb:45:in `new' E, [2015-02-19T12:47:23.743989 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/driver/ssh\_base.rb:45:in `converge' E, [2015-02-19T12:47:23.744034 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:352:in `public\_send' E, [2015-02-19T12:47:23.744070 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:352:in `block in perform_action' E, [2015-02-19T12:47:23.744113 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:416:in `call' E, [2015-02-19T12:47:23.744152 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:416:in `synchronize_or_call' E, [2015-02-19T12:47:23.744199 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:381:in `block in action' E, [2015-02-19T12:47:23.744236 #2478] ERROR -- Kitchen: /usr/lib/ruby/1.9.1/benchmark.rb:280:in `measure' E, [2015-02-19T12:47:23.744273 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:380:in `action' E, [2015-02-19T12:47:23.744337 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:352:in `perform_action' E, [2015-02-19T12:47:23.744379 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:312:in `converge\_action' E, [2015-02-19T12:47:23.744430 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:292:in `block in transition_to' E, [2015-02-19T12:47:23.744469 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:291:in `each' E, [2015-02-19T12:47:23.744506 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:291:in `transition_to' E, [2015-02-19T12:47:23.744543 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:130:in `converge' E, [2015-02-19T12:47:23.744579 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/command.rb:176:in `public_send' E, [2015-02-19T12:47:23.744616 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/command.rb:176:in `block (2 levels) in run\_action' E, [2015-02-19T12:47:23.744665 #2478] ERROR -- Kitchen:
> 
> ## nclemons@ashdcsbamboo00:~/git/ntp$ kitchen diagnose --all
> 
> timestamp: !binary |-  
> MjAxNS0wMi0xOSAxNzo0Nzo0OSBVVEM=  
> kitchen\_version: 1.3.1  
> loader:  
> process\_erb: true  
> process\_local: true  
> process\_global: true  
> global\_config:  
> project\_config:  
> filename: /home/nclemons/git/ntp/.kitchen.yml  
> raw\_data:  
> driver:  
> name: docker  
> socket: tcp://localhost:5000  
> provisioner:  
> name: chef\_solo  
> platforms:  
> - name: ubuntu-12.04  
> - name: ubuntu-14.04  
> - name: centos-6.4  
> suites:  
> - name: default  
> run\_list:  
> - recipe[ntp::default]  
> attributes:  
> local\_config:  
> combined\_config:  
> filename:  
> raw\_data:  
> driver:  
> name: docker  
> socket: tcp://localhost:5000  
> provisioner:  
> name: chef\_solo  
> platforms:  
> - name: ubuntu-12.04  
> - name: ubuntu-14.04  
> - name: centos-6.4  
> suites:  
> - name: default  
> run\_list:  
> - recipe[ntp::default]  
> attributes:  
> instances:  
> default-ubuntu-1204:  
> state\_file:  
> container\_id:  
> be59d778470b44adb3f0f1ed71f9bfb983e31973daff3641cb4023b8b71d0143  
> hostname: ashdcsbamboo00.lan.flt  
> image\_id: 6d3b7dc1cc1e  
> last\_action: create  
> port: 49153  
> driver:  
> binary: docker  
> disable\_upstart: true  
> image: ubuntu:12.04  
> kitchen\_root: /home/nclemons/git/ntp  
> log\_level: :info  
> name: docker  
> password: kitchen  
> platform: ubuntu  
> port: 22  
> privileged: false  
> publish\_all: false  
> remove\_images: false  
> run\_command: /usr/sbin/sshd -D -o UseDNS=no -o UsePAM=no -o  
> PasswordAuthentication=yes  
> -o UsePrivilegeSeparation=no -o PidFile=/tmp/sshd.pid  
> socket: tcp://localhost:5000  
> sudo: true  
> test\_base\_path: /home/nclemons/git/ntp/test/integration  
> tls: false  
> tls\_cacert:  
> tls\_cert:  
> tls\_key:  
> tls\_verify: false  
> use\_cache: true  
> use\_sudo: false  
> username: kitchen  
> provisioner:  
> attributes: {}  
> chef\_omnibus\_install\_options:  
> chef\_omnibus\_root: /opt/chef  
> chef\_omnibus\_url: [https://www.chef.io/chef/install.sh](https://www.chef.io/chef/install.sh)  
> chef\_solo\_path: /opt/chef/bin/chef-solo  
> clients\_path:  
> cookbook\_files\_glob:  
> README._,metadata.{json,rb},attributes/\*\*/_,definitions/ **/\*,files/** /_,libraries/\*\*/_,providers/ **/\*,recipes/** /_,resources/\*\*/_,templates/**/\*  
> data\_bags\_path:  
> data\_path:  
> encrypted\_data\_bag\_secret\_key\_path:  
> environments\_path:  
> kitchen\_root: /home/nclemons/git/ntp  
> log\_file:  
> log\_level: :info  
> name: chef\_solo  
> nodes\_path:  
> require\_chef\_omnibus: true  
> roles\_path:  
> root\_path: /tmp/kitchen  
> run\_list:  
> - recipe[ntp::default]  
> solo\_rb: {}  
> sudo: true  
> test\_base\_path: /home/nclemons/git/ntp/test/integration  
> busser:  
> busser\_bin: /tmp/busser/bin/busser  
> kitchen\_root: /home/nclemons/git/ntp  
> root\_path: /tmp/busser  
> ruby\_bindir: /opt/chef/embedded/bin  
> sudo: true  
> suite\_name: default  
> test\_base\_path: /home/nclemons/git/ntp/test/integration  
> version: busser  
> default-ubuntu-1404:  
> state\_file: {}  
> driver:  
> binary: docker  
> disable\_upstart: true  
> image: ubuntu:14.04  
> kitchen\_root: /home/nclemons/git/ntp  
> log\_level: :info  
> name: docker  
> password: kitchen  
> platform: ubuntu  
> port: 22  
> privileged: false  
> publish\_all: false  
> remove\_images: false  
> run\_command: /usr/sbin/sshd -D -o UseDNS=no -o UsePAM=no -o  
> PasswordAuthentication=yes  
> -o UsePrivilegeSeparation=no -o PidFile=/tmp/sshd.pid  
> socket: tcp://localhost:5000  
> sudo: true  
> test\_base\_path: /home/nclemons/git/ntp/test/integration  
> tls: false  
> tls\_cacert:  
> tls\_cert:  
> tls\_key:  
> tls\_verify: false  
> use\_cache: true  
> use\_sudo: false  
> username: kitchen  
> provisioner:  
> attributes: {}  
> chef\_omnibus\_install\_options:  
> chef\_omnibus\_root: /opt/chef  
> chef\_omnibus\_url: [https://www.chef.io/chef/install.sh](https://www.chef.io/chef/install.sh)  
> chef\_solo\_path: /opt/chef/bin/chef-solo  
> clients\_path:  
> cookbook\_files\_glob:  
> README.\*,metadata.{json,rb},attributes/ **/_,definitions/\*\*/_,files/** /\*,libraries/ **/_,providers/\*\*/_,recipes/** /\*,resources/**/_,templates/\*\*/_  
> data\_bags\_path:  
> data\_path:  
> encrypted\_data\_bag\_secret\_key\_path:  
> environments\_path:  
> kitchen\_root: /home/nclemons/git/ntp  
> log\_file:  
> log\_level: :info  
> name: chef\_solo  
> nodes\_path:  
> require\_chef\_omnibus: true  
> roles\_path:  
> root\_path: /tmp/kitchen  
> run\_list:  
> - recipe[ntp::default]  
> solo\_rb: {}  
> sudo: true  
> test\_base\_path: /home/nclemons/git/ntp/test/integration  
> busser:  
> busser\_bin: /tmp/busser/bin/busser  
> kitchen\_root: /home/nclemons/git/ntp  
> root\_path: /tmp/busser  
> ruby\_bindir: /opt/chef/embedded/bin  
> sudo: true  
> suite\_name: default  
> test\_base\_path: /home/nclemons/git/ntp/test/integration  
> version: busser  
> default-centos-64:  
> state\_file: {}  
> driver:  
> binary: docker  
> disable\_upstart: true  
> image: centos:centos6  
> kitchen\_root: /home/nclemons/git/ntp  
> log\_level: :info  
> name: docker  
> password: kitchen  
> platform: centos  
> port: 22  
> privileged: false  
> publish\_all: false  
> remove\_images: false  
> run\_command: /usr/sbin/sshd -D -o UseDNS=no -o UsePAM=no -o  
> PasswordAuthentication=yes  
> -o UsePrivilegeSeparation=no -o PidFile=/tmp/sshd.pid  
> socket: tcp://localhost:5000  
> sudo: true  
> test\_base\_path: /home/nclemons/git/ntp/test/integration  
> tls: false  
> tls\_cacert:  
> tls\_cert:  
> tls\_key:  
> tls\_verify: false  
> use\_cache: true  
> use\_sudo: false  
> username: kitchen  
> provisioner:  
> attributes: {}  
> chef\_omnibus\_install\_options:  
> chef\_omnibus\_root: /opt/chef  
> chef\_omnibus\_url: [https://www.chef.io/chef/install.sh](https://www.chef.io/chef/install.sh)  
> chef\_solo\_path: /opt/chef/bin/chef-solo  
> clients\_path:  
> cookbook\_files\_glob:  
> README._,metadata.{json,rb},attributes/\*\*/_,definitions/ **/\*,files/** /_,libraries/\*\*/_,providers/ **/\*,recipes/** /_,resources/\*\*/_,templates/\*\*/\*  
> data\_bags\_path:  
> data\_path:  
> encrypted\_data\_bag\_secret\_key\_path:  
> environments\_path:  
> kitchen\_root: /home/nclemons/git/ntp  
> log\_file:  
> log\_level: :info  
> name: chef\_solo  
> nodes\_path:  
> require\_chef\_omnibus: true  
> roles\_path:  
> root\_path: /tmp/kitchen  
> run\_list:  
> - recipe[ntp::default]  
> solo\_rb: {}  
> sudo: true  
> test\_base\_path: /home/nclemons/git/ntp/test/integration  
> busser:  
> busser\_bin: /tmp/busser/bin/busser  
> kitchen\_root: /home/nclemons/git/ntp  
> root\_path: /tmp/busser  
> ruby\_bindir: /opt/chef/embedded/bin  
> sudo: true  
> suite\_name: default  
> test\_base\_path: /home/nclemons/git/ntp/test/integration  
> version: busser  
> nclemons@ashdcsbamboo00:~/git/ntp$
> 
> It's somewhat aggravating, but it doesn't actually say what IP/host it's  
> trying to SSH into, so debugging this is a bit difficult.
> 
> --  
> ~_~ StormeRider ~_~
> 
> "Every world needs its heroes [...] They inspire us to be better than we  
> are. And they protect from the darkness that's just around the corner."
> 
> (from Smallville Season 6x1: "Zod")
> 
> On why I hate the phrase "that's so lame"... [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS)
> 
> On Thu, Feb 19, 2015 at 8:59 AM, Tyler Ball [tball@chef.io](mailto:tball@chef.io) wrote:
> 
> > It looks like Berkshelf has an option  
> > `Berkshelf::Config.instance.ssl.verify` - you could try setting that to  
> > false. I don’t see anything in Test Kitchen that will set that value, but  
> > because the Berkshelf::Config object is a singleton you should be able to  
> > set it near code startup time.
> > 
> > You can set the berkshelf API server inside the Berksfile at the root of  
> > the cookbook you are testing.
> > 
> > Actually, that may be a good place to set the Berkshelf config - can you  
> > try setting `Berkshelf::Config.instance.ssl.verify = false` in your  
> > Berksfile? This is a totally stab in the dark, so I have no idea if it  
> > will work.
> > 
> > -Tyler
> > 
> > On Feb 18, 2015, at 4:44 PM, Morgan Blackthorne [stormerider@gmail.com](mailto:stormerider@gmail.com)  
> > wrote:
> > 
> > Trying to test this out, but running into a problem with Berkshelf. Is  
> > there a good way to tell Berkshelf inside TK to skip trying to validate SSL  
> > certs?
> > 
> > -----\> Converging ...  
> > Preparing files for transfer  
> > Preparing dna.json  
> > Resolving cookbook dependencies with Berkshelf 3.2.3...  
> > E, [2015-02-18T16:39:42.217792 #66682] ERROR -- : Actor crashed!  
> > OpenSSL::SSL::SSLError: SSL\_connect returned=1 errno=0 state=SSLv3 read  
> > server certificate B: certificate verify failed  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in  
> > connect'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:76:in `timeout' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do_start' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:313:in `open_http' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:724:in `buffer\_open'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:210:in `block in open_loop' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `catch'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `open_loop' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:149:in `open\_uri'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:704:in `open' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:34:in `open'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:186:in  
> > `block in stream'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/retryable-2.0.1/lib/retryable.rb:63:in  
> > `retryable'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:185:in  
> > `stream'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:103:in  
> > `download'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:62:in  
> > `try\_download'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:36:in  
> > `block in download'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
> > `each'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
> > `download'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/installer.rb:105:in  
> > `install'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> > `public\_send'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> > `dispatch'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in  
> > `dispatch'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in  
> > `block in invoke'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in  
> > `block in task'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in  
> > `block in task'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in  
> > `block in initialize'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in  
> > `block in create' (celluloid):0:in `remote procedure call'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:92:in  
> > `value'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/proxies/sync\_proxy.rb:33:in  
> > `method\_missing'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/proxies/cell\_proxy.rb:17:in  
> > `_send_'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/pool\_manager.rb:41:in  
> > `_send_'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/pool\_manager.rb:140:in  
> > `method\_missing'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> > `public\_send'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> > `dispatch'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in  
> > `dispatch'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in  
> > `block in invoke'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in  
> > `block in task'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in  
> > `block in task'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in  
> > `block in initialize'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in  
> > `block in create' E, [2015-02-18T16:39:42.223998 #66682] ERROR -- : Actor crashed! OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect' /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:76:in `timeout'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do\_start'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:313:in `open\_http'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:724:in  
> > `buffer_open' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:210:in `block in  
> > open\_loop'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `catch' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `open\_loop'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:149:in `open_uri' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:704:in `open'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:34:in `open'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:186:in  
> > `block in stream'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/retryable-2.0.1/lib/retryable.rb:63:in  
> > `retryable'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:185:in  
> > `stream'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:103:in  
> > `download'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:62:in  
> > `try\_download'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:36:in  
> > `block in download'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
> > `each'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
> > `download'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/installer.rb:105:in  
> > `install'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> > `public\_send'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> > `dispatch'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in  
> > `dispatch'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in  
> > `block in invoke'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in  
> > `block in task'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in  
> > `block in task'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in  
> > `block in initialize'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in  
> > `block in create' E, [2015-02-18T16:39:42.227916 #66682] ERROR -- : Actor crashed! OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect' /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:76:in `timeout'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do\_start'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:313:in `open\_http'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:724:in  
> > `buffer_open' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:210:in `block in  
> > open\_loop'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `catch' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `open\_loop'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:149:in `open_uri' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:704:in `open'  
> > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:34:in `open'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:186:in  
> > `block in stream'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/retryable-2.0.1/lib/retryable.rb:63:in  
> > `retryable'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:185:in  
> > `stream'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:103:in  
> > `download'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:62:in  
> > `try\_download'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:36:in  
> > `block in download'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
> > `each'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
> > `download'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/installer.rb:105:in  
> > `install'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> > `public\_send'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> > `dispatch'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in  
> > `dispatch'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in  
> > `block in invoke'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in  
> > `block in task'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in  
> > `block in task'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in  
> > `block in initialize'
> > 
> > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in  
> > `block in create'  
> > cocoa:~/git/ntp$
> > 
> > Though to be honest I'm also wondering where it pulls which Berkshelf  
> > server to talk to as well.
> > 
> > --  
> > ~_~ StormeRider ~_~
> > 
> > "Every world needs its heroes [...] They inspire us to be better than we  
> > are. And they protect from the darkness that's just around the corner."
> > 
> > (from Smallville Season 6x1: "Zod")
> > 
> > On why I hate the phrase "that's so lame"... [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS)

---

<div class="post-metadata">

**Author:** ![Morgan\_Blackthorne](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/morgan_blackthorne/32/100_2.png) [@Morgan\_Blackthorne](https://discourse.chef.io/u/Morgan_Blackthorne)\
**Post date:** [February 23, 2015, 6:37pm UTC](https://discourse.chef.io/t/test-kitchen-with-docker-remote/6325/6 "2015-02-23T18:37:13Z")

</div>

Anyone have any thoughts on how to debug this? This is a fresh docker  
install that I'm using, and I'm pretty new to TK as well. I'm not really  
sure how to troubleshoot this.

--  
~_~ StormeRider ~_~

"Every world needs its heroes [...] They inspire us to be better than we  
are. And they protect from the darkness that's just around the corner."

(from Smallville Season 6x1: "Zod")

On why I hate the phrase "that's so lame"... [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS)

On Thu, Feb 19, 2015 at 11:07 AM, Morgan Blackthorne [stormerider@gmail.com](mailto:stormerider@gmail.com)  
wrote:

> No, sorry, it's just the same error.
> 
> --  
> ~_~ StormeRider ~_~
> 
> "Every world needs its heroes [...] They inspire us to be better than we  
> are. And they protect from the darkness that's just around the corner."
> 
> (from Smallville Season 6x1: "Zod")
> 
> On why I hate the phrase "that's so lame"... [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS)
> 
> On Thu, Feb 19, 2015 at 10:46 AM, Tyler Ball [tball@chef.io](mailto:tball@chef.io) wrote:
> 
> > Does it have any better info in the .kitchen/logs/default-ubuntu-1204.log  
> > file? Each instance gets its own log file.
> > 
> > -T
> > 
> > On Feb 19, 2015, at 9:50 AM, Morgan Blackthorne [stormerider@gmail.com](mailto:stormerider@gmail.com)  
> > wrote:
> > 
> > That actually seemed to help, though that's confusing since my  
> > ~/.berkshelf/config.json has ssl verification set to off.
> > 
> > In any case, here's what I'm seeing now:
> > 
> > nclemons@ashdcsbamboo00:~/git/ntp$ kitchen converge  
> > -----\> Starting Kitchen (v1.3.1)  
> > -----\> Converging ...  
> > Preparing files for transfer  
> > Preparing dna.json  
> > Resolving cookbook dependencies with Berkshelf 3.2.3...  
> > Removing non-cookbook files before transfer  
> > Preparing solo.rb  
> > [SSH] connection failed, retrying (#\<Errno::ECONNREFUSED:  
> > Connection refused - connect(2)\>)  
> > [SSH] connection failed, retrying (#\<Errno::ECONNREFUSED:  
> > Connection refused - connect(2)\>)  
> > $$$$$$ [SSH] connection failed, terminating (#\<Errno::ECONNREFUSED:  
> > Connection refused - connect(2)\>)
> > 
> > > > > > > > ------Exception-------  
> > > > > > > > Class: Kitchen::ActionFailed  
> > > > > > > > Message: Failed to complete #converge action: [Connection refused
> > 
> > - connect(2)]
> > 
> > > > > > > > * * *
> > > > > > > > 
> > > > > > > > Please see .kitchen/logs/kitchen.log for more details  
> > > > > > > > Also try running `kitchen diagnose --all` for configuration
> > 
> > ## nclemons@ashdcsbamboo00:~/git/ntp$ more .kitchen/logs/kitchen.log I, [2015-02-19T12:47:17.704951 #2478] INFO -- Kitchen: -----\> Starting Kitchen (v1.3.1) I, [2015-02-19T12:47:20.769813 #2478] INFO -- Kitchen: -----\> Converging ... E, [2015-02-19T12:47:23.743041 #2478] ERROR -- Kitchen: ------Exception------- E, [2015-02-19T12:47:23.743104 #2478] ERROR -- Kitchen: Class: Kitchen::ActionFailed E, [2015-02-19T12:47:23.743158 #2478] ERROR -- Kitchen: Message: Failed to complete #converge action: [Connection refused - connect(2)] E, [2015-02-19T12:47:23.743196 #2478] ERROR -- Kitchen: ---Nested Exception--- E, [2015-02-19T12:47:23.743232 #2478] ERROR -- Kitchen: Class: Errno::ECONNREFUSED E, [2015-02-19T12:47:23.743267 #2478] ERROR -- Kitchen: Message: Connection refused - connect(2) E, [2015-02-19T12:47:23.743303 #2478] ERROR -- Kitchen: ------Backtrace------- E, [2015-02-19T12:47:23.743349 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh/transport/session.rb:70:in `initialize' E, [2015-02-19T12:47:23.743386 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh/transport/session.rb:70:in `open' E, [2015-02-19T12:47:23.743423 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh/transport/session.rb:70:in `block in initialize' E, [2015-02-19T12:47:23.743459 #2478] ERROR -- Kitchen: /usr/lib/ruby/1.9.1/timeout.rb:55:in `timeout' E, [2015-02-19T12:47:23.743511 #2478] ERROR -- Kitchen: /usr/lib/ruby/1.9.1/timeout.rb:100:in `timeout' E, [2015-02-19T12:47:23.743547 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh/transport/session.rb:67:in `initialize' E, [2015-02-19T12:47:23.743583 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh.rb:207:in `new' E, [2015-02-19T12:47:23.743619 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh.rb:207:in `start' E, [2015-02-19T12:47:23.743654 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:201:in `establish_connection' E, [2015-02-19T12:47:23.743690 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:184:in `session' E, [2015-02-19T12:47:23.743737 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:236:in `exec_with_exit' E, [2015-02-19T12:47:23.743773 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:81:in `exec' E, [2015-02-19T12:47:23.743817 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/driver/ssh\_base.rb:150:in `run_remote' E, [2015-02-19T12:47:23.743867 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/driver/ssh_base.rb:46:in `block in converge' E, [2015-02-19T12:47:23.743915 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:70:in `initialize' E, [2015-02-19T12:47:23.743953 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/driver/ssh_base.rb:45:in `new' E, [2015-02-19T12:47:23.743989 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/driver/ssh\_base.rb:45:in `converge' E, [2015-02-19T12:47:23.744034 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:352:in `public\_send' E, [2015-02-19T12:47:23.744070 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:352:in `block in perform_action' E, [2015-02-19T12:47:23.744113 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:416:in `call' E, [2015-02-19T12:47:23.744152 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:416:in `synchronize_or_call' E, [2015-02-19T12:47:23.744199 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:381:in `block in action' E, [2015-02-19T12:47:23.744236 #2478] ERROR -- Kitchen: /usr/lib/ruby/1.9.1/benchmark.rb:280:in `measure' E, [2015-02-19T12:47:23.744273 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:380:in `action' E, [2015-02-19T12:47:23.744337 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:352:in `perform_action' E, [2015-02-19T12:47:23.744379 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:312:in `converge\_action' E, [2015-02-19T12:47:23.744430 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:292:in `block in transition_to' E, [2015-02-19T12:47:23.744469 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:291:in `each' E, [2015-02-19T12:47:23.744506 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:291:in `transition_to' E, [2015-02-19T12:47:23.744543 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:130:in `converge' E, [2015-02-19T12:47:23.744579 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/command.rb:176:in `public_send' E, [2015-02-19T12:47:23.744616 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/command.rb:176:in `block (2 levels) in run\_action' E, [2015-02-19T12:47:23.744665 #2478] ERROR -- Kitchen:
> > 
> > ## nclemons@ashdcsbamboo00:~/git/ntp$ kitchen diagnose --all
> > 
> > timestamp: !binary |-  
> > MjAxNS0wMi0xOSAxNzo0Nzo0OSBVVEM=  
> > kitchen\_version: 1.3.1  
> > loader:  
> > process\_erb: true  
> > process\_local: true  
> > process\_global: true  
> > global\_config:  
> > project\_config:  
> > filename: /home/nclemons/git/ntp/.kitchen.yml  
> > raw\_data:  
> > driver:  
> > name: docker  
> > socket: tcp://localhost:5000  
> > provisioner:  
> > name: chef\_solo  
> > platforms:  
> > - name: ubuntu-12.04  
> > - name: ubuntu-14.04  
> > - name: centos-6.4  
> > suites:  
> > - name: default  
> > run\_list:  
> > - recipe[ntp::default]  
> > attributes:  
> > local\_config:  
> > combined\_config:  
> > filename:  
> > raw\_data:  
> > driver:  
> > name: docker  
> > socket: tcp://localhost:5000  
> > provisioner:  
> > name: chef\_solo  
> > platforms:  
> > - name: ubuntu-12.04  
> > - name: ubuntu-14.04  
> > - name: centos-6.4  
> > suites:  
> > - name: default  
> > run\_list:  
> > - recipe[ntp::default]  
> > attributes:  
> > instances:  
> > default-ubuntu-1204:  
> > state\_file:  
> > container\_id:  
> > be59d778470b44adb3f0f1ed71f9bfb983e31973daff3641cb4023b8b71d0143  
> > hostname: ashdcsbamboo00.lan.flt  
> > image\_id: 6d3b7dc1cc1e  
> > last\_action: create  
> > port: 49153  
> > driver:  
> > binary: docker  
> > disable\_upstart: true  
> > image: ubuntu:12.04  
> > kitchen\_root: /home/nclemons/git/ntp  
> > log\_level: :info  
> > name: docker  
> > password: kitchen  
> > platform: ubuntu  
> > port: 22  
> > privileged: false  
> > publish\_all: false  
> > remove\_images: false  
> > run\_command: /usr/sbin/sshd -D -o UseDNS=no -o UsePAM=no -o  
> > PasswordAuthentication=yes  
> > -o UsePrivilegeSeparation=no -o PidFile=/tmp/sshd.pid  
> > socket: tcp://localhost:5000  
> > sudo: true  
> > test\_base\_path: /home/nclemons/git/ntp/test/integration  
> > tls: false  
> > tls\_cacert:  
> > tls\_cert:  
> > tls\_key:  
> > tls\_verify: false  
> > use\_cache: true  
> > use\_sudo: false  
> > username: kitchen  
> > provisioner:  
> > attributes: {}  
> > chef\_omnibus\_install\_options:  
> > chef\_omnibus\_root: /opt/chef  
> > chef\_omnibus\_url: [https://www.chef.io/chef/install.sh](https://www.chef.io/chef/install.sh)  
> > chef\_solo\_path: /opt/chef/bin/chef-solo  
> > clients\_path:  
> > cookbook\_files\_glob:  
> > README._,metadata.{json,rb},attributes/\*\*/_,definitions/ **/\*,files/** /_,libraries/\*\*/_,providers/ **/\*,recipes/** /_,resources/\*\*/_,templates/**/\*  
> > data\_bags\_path:  
> > data\_path:  
> > encrypted\_data\_bag\_secret\_key\_path:  
> > environments\_path:  
> > kitchen\_root: /home/nclemons/git/ntp  
> > log\_file:  
> > log\_level: :info  
> > name: chef\_solo  
> > nodes\_path:  
> > require\_chef\_omnibus: true  
> > roles\_path:  
> > root\_path: /tmp/kitchen  
> > run\_list:  
> > - recipe[ntp::default]  
> > solo\_rb: {}  
> > sudo: true  
> > test\_base\_path: /home/nclemons/git/ntp/test/integration  
> > busser:  
> > busser\_bin: /tmp/busser/bin/busser  
> > kitchen\_root: /home/nclemons/git/ntp  
> > root\_path: /tmp/busser  
> > ruby\_bindir: /opt/chef/embedded/bin  
> > sudo: true  
> > suite\_name: default  
> > test\_base\_path: /home/nclemons/git/ntp/test/integration  
> > version: busser  
> > default-ubuntu-1404:  
> > state\_file: {}  
> > driver:  
> > binary: docker  
> > disable\_upstart: true  
> > image: ubuntu:14.04  
> > kitchen\_root: /home/nclemons/git/ntp  
> > log\_level: :info  
> > name: docker  
> > password: kitchen  
> > platform: ubuntu  
> > port: 22  
> > privileged: false  
> > publish\_all: false  
> > remove\_images: false  
> > run\_command: /usr/sbin/sshd -D -o UseDNS=no -o UsePAM=no -o  
> > PasswordAuthentication=yes  
> > -o UsePrivilegeSeparation=no -o PidFile=/tmp/sshd.pid  
> > socket: tcp://localhost:5000  
> > sudo: true  
> > test\_base\_path: /home/nclemons/git/ntp/test/integration  
> > tls: false  
> > tls\_cacert:  
> > tls\_cert:  
> > tls\_key:  
> > tls\_verify: false  
> > use\_cache: true  
> > use\_sudo: false  
> > username: kitchen  
> > provisioner:  
> > attributes: {}  
> > chef\_omnibus\_install\_options:  
> > chef\_omnibus\_root: /opt/chef  
> > chef\_omnibus\_url: [https://www.chef.io/chef/install.sh](https://www.chef.io/chef/install.sh)  
> > chef\_solo\_path: /opt/chef/bin/chef-solo  
> > clients\_path:  
> > cookbook\_files\_glob:  
> > README.\*,metadata.{json,rb},attributes/ **/_,definitions/\*\*/_,files/** /\*,libraries/ **/_,providers/\*\*/_,recipes/** /\*,resources/**/_,templates/\*\*/_  
> > data\_bags\_path:  
> > data\_path:  
> > encrypted\_data\_bag\_secret\_key\_path:  
> > environments\_path:  
> > kitchen\_root: /home/nclemons/git/ntp  
> > log\_file:  
> > log\_level: :info  
> > name: chef\_solo  
> > nodes\_path:  
> > require\_chef\_omnibus: true  
> > roles\_path:  
> > root\_path: /tmp/kitchen  
> > run\_list:  
> > - recipe[ntp::default]  
> > solo\_rb: {}  
> > sudo: true  
> > test\_base\_path: /home/nclemons/git/ntp/test/integration  
> > busser:  
> > busser\_bin: /tmp/busser/bin/busser  
> > kitchen\_root: /home/nclemons/git/ntp  
> > root\_path: /tmp/busser  
> > ruby\_bindir: /opt/chef/embedded/bin  
> > sudo: true  
> > suite\_name: default  
> > test\_base\_path: /home/nclemons/git/ntp/test/integration  
> > version: busser  
> > default-centos-64:  
> > state\_file: {}  
> > driver:  
> > binary: docker  
> > disable\_upstart: true  
> > image: centos:centos6  
> > kitchen\_root: /home/nclemons/git/ntp  
> > log\_level: :info  
> > name: docker  
> > password: kitchen  
> > platform: centos  
> > port: 22  
> > privileged: false  
> > publish\_all: false  
> > remove\_images: false  
> > run\_command: /usr/sbin/sshd -D -o UseDNS=no -o UsePAM=no -o  
> > PasswordAuthentication=yes  
> > -o UsePrivilegeSeparation=no -o PidFile=/tmp/sshd.pid  
> > socket: tcp://localhost:5000  
> > sudo: true  
> > test\_base\_path: /home/nclemons/git/ntp/test/integration  
> > tls: false  
> > tls\_cacert:  
> > tls\_cert:  
> > tls\_key:  
> > tls\_verify: false  
> > use\_cache: true  
> > use\_sudo: false  
> > username: kitchen  
> > provisioner:  
> > attributes: {}  
> > chef\_omnibus\_install\_options:  
> > chef\_omnibus\_root: /opt/chef  
> > chef\_omnibus\_url: [https://www.chef.io/chef/install.sh](https://www.chef.io/chef/install.sh)  
> > chef\_solo\_path: /opt/chef/bin/chef-solo  
> > clients\_path:  
> > cookbook\_files\_glob:  
> > README._,metadata.{json,rb},attributes/\*\*/_,definitions/ **/\*,files/** /_,libraries/\*\*/_,providers/ **/\*,recipes/** /_,resources/\*\*/_,templates/\*\*/\*  
> > data\_bags\_path:  
> > data\_path:  
> > encrypted\_data\_bag\_secret\_key\_path:  
> > environments\_path:  
> > kitchen\_root: /home/nclemons/git/ntp  
> > log\_file:  
> > log\_level: :info  
> > name: chef\_solo  
> > nodes\_path:  
> > require\_chef\_omnibus: true  
> > roles\_path:  
> > root\_path: /tmp/kitchen  
> > run\_list:  
> > - recipe[ntp::default]  
> > solo\_rb: {}  
> > sudo: true  
> > test\_base\_path: /home/nclemons/git/ntp/test/integration  
> > busser:  
> > busser\_bin: /tmp/busser/bin/busser  
> > kitchen\_root: /home/nclemons/git/ntp  
> > root\_path: /tmp/busser  
> > ruby\_bindir: /opt/chef/embedded/bin  
> > sudo: true  
> > suite\_name: default  
> > test\_base\_path: /home/nclemons/git/ntp/test/integration  
> > version: busser  
> > nclemons@ashdcsbamboo00:~/git/ntp$
> > 
> > It's somewhat aggravating, but it doesn't actually say what IP/host it's  
> > trying to SSH into, so debugging this is a bit difficult.
> > 
> > --  
> > ~_~ StormeRider ~_~
> > 
> > "Every world needs its heroes [...] They inspire us to be better than we  
> > are. And they protect from the darkness that's just around the corner."
> > 
> > (from Smallville Season 6x1: "Zod")
> > 
> > On why I hate the phrase "that's so lame"... [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS)
> > 
> > On Thu, Feb 19, 2015 at 8:59 AM, Tyler Ball [tball@chef.io](mailto:tball@chef.io) wrote:
> > 
> > > It looks like Berkshelf has an option  
> > > `Berkshelf::Config.instance.ssl.verify` - you could try setting that to  
> > > false. I don’t see anything in Test Kitchen that will set that value, but  
> > > because the Berkshelf::Config object is a singleton you should be able to  
> > > set it near code startup time.
> > > 
> > > You can set the berkshelf API server inside the Berksfile at the root of  
> > > the cookbook you are testing.
> > > 
> > > Actually, that may be a good place to set the Berkshelf config - can you  
> > > try setting `Berkshelf::Config.instance.ssl.verify = false` in your  
> > > Berksfile? This is a totally stab in the dark, so I have no idea if it  
> > > will work.
> > > 
> > > -Tyler
> > > 
> > > On Feb 18, 2015, at 4:44 PM, Morgan Blackthorne [stormerider@gmail.com](mailto:stormerider@gmail.com)  
> > > wrote:
> > > 
> > > Trying to test this out, but running into a problem with Berkshelf. Is  
> > > there a good way to tell Berkshelf inside TK to skip trying to validate SSL  
> > > certs?
> > > 
> > > -----\> Converging ...  
> > > Preparing files for transfer  
> > > Preparing dna.json  
> > > Resolving cookbook dependencies with Berkshelf 3.2.3...  
> > > E, [2015-02-18T16:39:42.217792 #66682] ERROR -- : Actor crashed!  
> > > OpenSSL::SSL::SSLError: SSL\_connect returned=1 errno=0 state=SSLv3 read  
> > > server certificate B: certificate verify failed  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in  
> > > connect'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:76:in `timeout' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do_start' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:313:in  
> > > `open_http' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:724:in `buffer\_open'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:210:in `block in open_loop' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `catch'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in  
> > > `open_loop' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:149:in `open\_uri'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:704:in `open' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:34:in `open'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:186:in  
> > > `block in stream'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/retryable-2.0.1/lib/retryable.rb:63:in  
> > > `retryable'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:185:in  
> > > `stream'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:103:in  
> > > `download'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:62:in  
> > > `try\_download'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:36:in  
> > > `block in download'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
> > > `each'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
> > > `download'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/installer.rb:105:in  
> > > `install'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> > > `public\_send'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> > > `dispatch'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in  
> > > `dispatch'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in  
> > > `block in invoke'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in  
> > > `block in task'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in  
> > > `block in task'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in  
> > > `block in initialize'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in  
> > > `block in create' (celluloid):0:in `remote procedure call'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:92:in  
> > > `value'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/proxies/sync\_proxy.rb:33:in  
> > > `method\_missing'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/proxies/cell\_proxy.rb:17:in  
> > > `_send_'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/pool\_manager.rb:41:in  
> > > `_send_'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/pool\_manager.rb:140:in  
> > > `method\_missing'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> > > `public\_send'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> > > `dispatch'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in  
> > > `dispatch'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in  
> > > `block in invoke'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in  
> > > `block in task'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in  
> > > `block in task'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in  
> > > `block in initialize'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in  
> > > `block in create' E, [2015-02-18T16:39:42.223998 #66682] ERROR -- : Actor crashed! OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect' /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:76:in `timeout'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do\_start'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:313:in `open\_http'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:724:in  
> > > `buffer_open' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:210:in `block in  
> > > open\_loop'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `catch' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `open\_loop'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:149:in `open_uri' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:704:in `open'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:34:in `open'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:186:in  
> > > `block in stream'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/retryable-2.0.1/lib/retryable.rb:63:in  
> > > `retryable'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:185:in  
> > > `stream'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:103:in  
> > > `download'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:62:in  
> > > `try\_download'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:36:in  
> > > `block in download'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
> > > `each'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
> > > `download'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/installer.rb:105:in  
> > > `install'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> > > `public\_send'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> > > `dispatch'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in  
> > > `dispatch'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in  
> > > `block in invoke'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in  
> > > `block in task'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in  
> > > `block in task'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in  
> > > `block in initialize'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in  
> > > `block in create' E, [2015-02-18T16:39:42.227916 #66682] ERROR -- : Actor crashed! OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect' /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:76:in `timeout'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do\_start'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:313:in `open\_http'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:724:in  
> > > `buffer_open' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:210:in `block in  
> > > open\_loop'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `catch' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `open\_loop'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:149:in `open_uri' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:704:in `open'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:34:in `open'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:186:in  
> > > `block in stream'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/retryable-2.0.1/lib/retryable.rb:63:in  
> > > `retryable'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:185:in  
> > > `stream'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:103:in  
> > > `download'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:62:in  
> > > `try\_download'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:36:in  
> > > `block in download'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
> > > `each'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in  
> > > `download'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/installer.rb:105:in  
> > > `install'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> > > `public\_send'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in  
> > > `dispatch'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in  
> > > `dispatch'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in  
> > > `block in invoke'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in  
> > > `block in task'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in  
> > > `block in task'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in  
> > > `block in initialize'
> > > 
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in  
> > > `block in create'  
> > > cocoa:~/git/ntp$
> > > 
> > > Though to be honest I'm also wondering where it pulls which Berkshelf  
> > > server to talk to as well.
> > > 
> > > --  
> > > ~_~ StormeRider ~_~
> > > 
> > > "Every world needs its heroes [...] They inspire us to be better than we  
> > > are. And they protect from the darkness that's just around the corner."
> > > 
> > > (from Smallville Season 6x1: "Zod")
> > > 
> > > On why I hate the phrase "that's so lame"... [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS)

---

<div class="post-metadata">

**Author:** ![Tyler\_Ball](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/tyler_ball/32/14_2.png) [@Tyler\_Ball](https://discourse.chef.io/u/Tyler_Ball)\
**Post date:** [February 23, 2015, 9:06pm UTC](https://discourse.chef.io/t/test-kitchen-with-docker-remote/6325/7 "2015-02-23T21:06:20Z")

</div>

Are you using the ChefDK locally? If not, I would suggest using that - you can install kitchen-docker with `chef gem install kitchen-docker`. If you use the ChefDK you will also have pry installed locally - you can add a `require ‘pry’; binding.pry` inside the kitchen ssh\_base.rb file and see what address it is trying and failing to connect to.

My other suggestion is to use the `chef_zero` provisioner instead of `chef_solo`, but I don’t think that is causing the issue you are seeing below.

-T

> On Feb 23, 2015, at 10:37 AM, Morgan Blackthorne [stormerider@gmail.com](mailto:stormerider@gmail.com) wrote:
> 
> Anyone have any thoughts on how to debug this? This is a fresh docker install that I'm using, and I'm pretty new to TK as well. I'm not really sure how to troubleshoot this.
> 
> --  
> ~_~ StormeRider ~_~
> 
> "Every world needs its heroes [...] They inspire us to be better than we are. And they protect from the darkness that's just around the corner."
> 
> (from Smallville Season 6x1: "Zod")
> 
> On why I hate the phrase "that's so lame"... [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS) [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS)  
> On Thu, Feb 19, 2015 at 11:07 AM, Morgan Blackthorne \<[stormerider@gmail.com](mailto:stormerider@gmail.com) [mailto:stormerider@gmail.com](mailto:stormerider@gmail.com)\> wrote:  
> No, sorry, it's just the same error.
> 
> --  
> ~_~ StormeRider ~_~
> 
> "Every world needs its heroes [...] They inspire us to be better than we are. And they protect from the darkness that's just around the corner."
> 
> (from Smallville Season 6x1: "Zod")
> 
> On why I hate the phrase "that's so lame"... [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS) [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS)  
> On Thu, Feb 19, 2015 at 10:46 AM, Tyler Ball \<[tball@chef.io](mailto:tball@chef.io) [mailto:tball@chef.io](mailto:tball@chef.io)\> wrote:  
> Does it have any better info in the .kitchen/logs/default-ubuntu-1204.log file? Each instance gets its own log file.
> 
> -T
> 
> > On Feb 19, 2015, at 9:50 AM, Morgan Blackthorne \<[stormerider@gmail.com](mailto:stormerider@gmail.com) [mailto:stormerider@gmail.com](mailto:stormerider@gmail.com)\> wrote:
> > 
> > That actually seemed to help, though that's confusing since my ~/.berkshelf/config.json has ssl verification set to off.
> > 
> > In any case, here's what I'm seeing now:
> > 
> > nclemons@ashdcsbamboo00:~/git/ntp$ kitchen converge  
> > -----\> Starting Kitchen (v1.3.1)  
> > -----\> Converging ...  
> > Preparing files for transfer  
> > Preparing dna.json  
> > Resolving cookbook dependencies with Berkshelf 3.2.3...  
> > Removing non-cookbook files before transfer  
> > Preparing solo.rb  
> > [SSH] connection failed, retrying (#\<Errno::ECONNREFUSED: Connection refused - connect(2)\>)  
> > [SSH] connection failed, retrying (#\<Errno::ECONNREFUSED: Connection refused - connect(2)\>)  
> > $$$$$$ [SSH] connection failed, terminating (#\<Errno::ECONNREFUSED: Connection refused - connect(2)\>)
> > 
> > > > > > > > ## ------Exception------- Class: Kitchen::ActionFailed Message: Failed to complete #converge action: [Connection refused - connect(2)]
> > > > > > > > 
> > > > > > > > Please see .kitchen/logs/kitchen.log for more details  
> > > > > > > > Also try running `kitchen diagnose --all` for configuration
> > 
> > ## nclemons@ashdcsbamboo00:~/git/ntp$ more .kitchen/logs/kitchen.log I, [2015-02-19T12:47:17.704951 #2478] INFO -- Kitchen: -----\> Starting Kitchen (v1.3.1) I, [2015-02-19T12:47:20.769813 #2478] INFO -- Kitchen: -----\> Converging ... E, [2015-02-19T12:47:23.743041 #2478] ERROR -- Kitchen: ------Exception------- E, [2015-02-19T12:47:23.743104 #2478] ERROR -- Kitchen: Class: Kitchen::ActionFailed E, [2015-02-19T12:47:23.743158 #2478] ERROR -- Kitchen: Message: Failed to complete #converge action: [Connection refused - connect(2)] E, [2015-02-19T12:47:23.743196 #2478] ERROR -- Kitchen: ---Nested Exception--- E, [2015-02-19T12:47:23.743232 #2478] ERROR -- Kitchen: Class: Errno::ECONNREFUSED E, [2015-02-19T12:47:23.743267 #2478] ERROR -- Kitchen: Message: Connection refused - connect(2) E, [2015-02-19T12:47:23.743303 #2478] ERROR -- Kitchen: ------Backtrace------- E, [2015-02-19T12:47:23.743349 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh/transport/session.rb:70:in `initialize' E, [2015-02-19T12:47:23.743386 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh/transport/session.rb:70:in `open' E, [2015-02-19T12:47:23.743423 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh/transport/session.rb:70:in `block in initialize' E, [2015-02-19T12:47:23.743459 #2478] ERROR -- Kitchen: /usr/lib/ruby/1.9.1/timeout.rb:55:in `timeout' E, [2015-02-19T12:47:23.743511 #2478] ERROR -- Kitchen: /usr/lib/ruby/1.9.1/timeout.rb:100:in `timeout' E, [2015-02-19T12:47:23.743547 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh/transport/session.rb:67:in `initialize' E, [2015-02-19T12:47:23.743583 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh.rb:207:in `new' E, [2015-02-19T12:47:23.743619 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/net-ssh-2.9.2/lib/net/ssh.rb:207:in `start' E, [2015-02-19T12:47:23.743654 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:201:in `establish_connection' E, [2015-02-19T12:47:23.743690 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:184:in `session' E, [2015-02-19T12:47:23.743737 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:236:in `exec_with_exit' E, [2015-02-19T12:47:23.743773 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:81:in `exec' E, [2015-02-19T12:47:23.743817 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/driver/ssh\_base.rb:150:in `run_remote' E, [2015-02-19T12:47:23.743867 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/driver/ssh_base.rb:46:in `block in converge' E, [2015-02-19T12:47:23.743915 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/ssh.rb:70:in `initialize' E, [2015-02-19T12:47:23.743953 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/driver/ssh_base.rb:45:in `new' E, [2015-02-19T12:47:23.743989 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/driver/ssh\_base.rb:45:in `converge' E, [2015-02-19T12:47:23.744034 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:352:in `public\_send' E, [2015-02-19T12:47:23.744070 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:352:in `block in perform_action' E, [2015-02-19T12:47:23.744113 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:416:in `call' E, [2015-02-19T12:47:23.744152 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:416:in `synchronize_or_call' E, [2015-02-19T12:47:23.744199 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:381:in `block in action' E, [2015-02-19T12:47:23.744236 #2478] ERROR -- Kitchen: /usr/lib/ruby/1.9.1/benchmark.rb:280:in `measure' E, [2015-02-19T12:47:23.744273 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:380:in `action' E, [2015-02-19T12:47:23.744337 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:352:in `perform_action' E, [2015-02-19T12:47:23.744379 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:312:in `converge\_action' E, [2015-02-19T12:47:23.744430 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:292:in `block in transition_to' E, [2015-02-19T12:47:23.744469 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:291:in `each' E, [2015-02-19T12:47:23.744506 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:291:in `transition_to' E, [2015-02-19T12:47:23.744543 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/instance.rb:130:in `converge' E, [2015-02-19T12:47:23.744579 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/command.rb:176:in `public_send' E, [2015-02-19T12:47:23.744616 #2478] ERROR -- Kitchen: /var/lib/gems/1.9.1/gems/test-kitchen-1.3.1/lib/kitchen/command.rb:176:in `block (2 levels) in run\_action' E, [2015-02-19T12:47:23.744665 #2478] ERROR -- Kitchen: ---------------------- nclemons@ashdcsbamboo00:~/git/ntp$ kitchen diagnose --all
> > 
> > timestamp: !binary |-  
> > MjAxNS0wMi0xOSAxNzo0Nzo0OSBVVEM=  
> > kitchen\_version: 1.3.1  
> > loader:  
> > process\_erb: true  
> > process\_local: true  
> > process\_global: true  
> > global\_config:  
> > project\_config:  
> > filename: /home/nclemons/git/ntp/.kitchen.yml  
> > raw\_data:  
> > driver:  
> > name: docker  
> > socket: tcp://localhost:5000 \<\>  
> > provisioner:  
> > name: chef\_solo  
> > platforms:  
> > - name: ubuntu-12.04  
> > - name: ubuntu-14.04  
> > - name: centos-6.4  
> > suites:  
> > - name: default  
> > run\_list:  
> > - recipe[ntp::default]  
> > attributes:  
> > local\_config:  
> > combined\_config:  
> > filename:  
> > raw\_data:  
> > driver:  
> > name: docker  
> > socket: tcp://localhost:5000 \<\>  
> > provisioner:  
> > name: chef\_solo  
> > platforms:  
> > - name: ubuntu-12.04  
> > - name: ubuntu-14.04  
> > - name: centos-6.4  
> > suites:  
> > - name: default  
> > run\_list:  
> > - recipe[ntp::default]  
> > attributes:  
> > instances:  
> > default-ubuntu-1204:  
> > state\_file:  
> > container\_id: be59d778470b44adb3f0f1ed71f9bfb983e31973daff3641cb4023b8b71d0143  
> > hostname: ashdcsbamboo00.lan.flt  
> > image\_id: 6d3b7dc1cc1e  
> > last\_action: create  
> > port: 49153  
> > driver:  
> > binary: docker  
> > disable\_upstart: true  
> > image: ubuntu:12.04  
> > kitchen\_root: /home/nclemons/git/ntp  
> > log\_level: :info  
> > name: docker  
> > password: kitchen  
> > platform: ubuntu  
> > port: 22  
> > privileged: false  
> > publish\_all: false  
> > remove\_images: false  
> > run\_command: /usr/sbin/sshd -D -o UseDNS=no -o UsePAM=no -o PasswordAuthentication=yes  
> > -o UsePrivilegeSeparation=no -o PidFile=/tmp/sshd.pid  
> > socket: tcp://localhost:5000 \<\>  
> > sudo: true  
> > test\_base\_path: /home/nclemons/git/ntp/test/integration  
> > tls: false  
> > tls\_cacert:  
> > tls\_cert:  
> > tls\_key:  
> > tls\_verify: false  
> > use\_cache: true  
> > use\_sudo: false  
> > username: kitchen  
> > provisioner:  
> > attributes: {}  
> > chef\_omnibus\_install\_options:  
> > chef\_omnibus\_root: /opt/chef  
> > chef\_omnibus\_url: [https://www.chef.io/chef/install.sh](https://www.chef.io/chef/install.sh) [https://www.chef.io/chef/install.sh](https://www.chef.io/chef/install.sh)  
> > chef\_solo\_path: /opt/chef/bin/chef-solo  
> > clients\_path:  
> > cookbook\_files\_glob: README._,metadata.{json,rb},attributes/\*\*/_,definitions/ **/\*,files/** /_,libraries/\*\*/_,providers/ **/\*,recipes/** /_,resources/\*\*/_,templates/**/\*  
> > data\_bags\_path:  
> > data\_path:  
> > encrypted\_data\_bag\_secret\_key\_path:  
> > environments\_path:  
> > kitchen\_root: /home/nclemons/git/ntp  
> > log\_file:  
> > log\_level: :info  
> > name: chef\_solo  
> > nodes\_path:  
> > require\_chef\_omnibus: true  
> > roles\_path:  
> > root\_path: /tmp/kitchen  
> > run\_list:  
> > - recipe[ntp::default]  
> > solo\_rb: {}  
> > sudo: true  
> > test\_base\_path: /home/nclemons/git/ntp/test/integration  
> > busser:  
> > busser\_bin: /tmp/busser/bin/busser  
> > kitchen\_root: /home/nclemons/git/ntp  
> > root\_path: /tmp/busser  
> > ruby\_bindir: /opt/chef/embedded/bin  
> > sudo: true  
> > suite\_name: default  
> > test\_base\_path: /home/nclemons/git/ntp/test/integration  
> > version: busser  
> > default-ubuntu-1404:  
> > state\_file: {}  
> > driver:  
> > binary: docker  
> > disable\_upstart: true  
> > image: ubuntu:14.04  
> > kitchen\_root: /home/nclemons/git/ntp  
> > log\_level: :info  
> > name: docker  
> > password: kitchen  
> > platform: ubuntu  
> > port: 22  
> > privileged: false  
> > publish\_all: false  
> > remove\_images: false  
> > run\_command: /usr/sbin/sshd -D -o UseDNS=no -o UsePAM=no -o PasswordAuthentication=yes  
> > -o UsePrivilegeSeparation=no -o PidFile=/tmp/sshd.pid  
> > socket: tcp://localhost:5000 \<\>  
> > sudo: true  
> > test\_base\_path: /home/nclemons/git/ntp/test/integration  
> > tls: false  
> > tls\_cacert:  
> > tls\_cert:  
> > tls\_key:  
> > tls\_verify: false  
> > use\_cache: true  
> > use\_sudo: false  
> > username: kitchen  
> > provisioner:  
> > attributes: {}  
> > chef\_omnibus\_install\_options:  
> > chef\_omnibus\_root: /opt/chef  
> > chef\_omnibus\_url: [https://www.chef.io/chef/install.sh](https://www.chef.io/chef/install.sh) [https://www.chef.io/chef/install.sh](https://www.chef.io/chef/install.sh)  
> > chef\_solo\_path: /opt/chef/bin/chef-solo  
> > clients\_path:  
> > cookbook\_files\_glob: README.\*,metadata.{json,rb},attributes/ **/_,definitions/\*\*/_,files/** /\*,libraries/ **/_,providers/\*\*/_,recipes/** /\*,resources/**/_,templates/\*\*/_  
> > data\_bags\_path:  
> > data\_path:  
> > encrypted\_data\_bag\_secret\_key\_path:  
> > environments\_path:  
> > kitchen\_root: /home/nclemons/git/ntp  
> > log\_file:  
> > log\_level: :info  
> > name: chef\_solo  
> > nodes\_path:  
> > require\_chef\_omnibus: true  
> > roles\_path:  
> > root\_path: /tmp/kitchen  
> > run\_list:  
> > - recipe[ntp::default]  
> > solo\_rb: {}  
> > sudo: true  
> > test\_base\_path: /home/nclemons/git/ntp/test/integration  
> > busser:  
> > busser\_bin: /tmp/busser/bin/busser  
> > kitchen\_root: /home/nclemons/git/ntp  
> > root\_path: /tmp/busser  
> > ruby\_bindir: /opt/chef/embedded/bin  
> > sudo: true  
> > suite\_name: default  
> > test\_base\_path: /home/nclemons/git/ntp/test/integration  
> > version: busser  
> > default-centos-64:  
> > state\_file: {}  
> > driver:  
> > binary: docker  
> > disable\_upstart: true  
> > image: centos:centos6  
> > kitchen\_root: /home/nclemons/git/ntp  
> > log\_level: :info  
> > name: docker  
> > password: kitchen  
> > platform: centos  
> > port: 22  
> > privileged: false  
> > publish\_all: false  
> > remove\_images: false  
> > run\_command: /usr/sbin/sshd -D -o UseDNS=no -o UsePAM=no -o PasswordAuthentication=yes  
> > -o UsePrivilegeSeparation=no -o PidFile=/tmp/sshd.pid  
> > socket: tcp://localhost:5000 \<\>  
> > sudo: true  
> > test\_base\_path: /home/nclemons/git/ntp/test/integration  
> > tls: false  
> > tls\_cacert:  
> > tls\_cert:  
> > tls\_key:  
> > tls\_verify: false  
> > use\_cache: true  
> > use\_sudo: false  
> > username: kitchen  
> > provisioner:  
> > attributes: {}  
> > chef\_omnibus\_install\_options:  
> > chef\_omnibus\_root: /opt/chef  
> > chef\_omnibus\_url: [https://www.chef.io/chef/install.sh](https://www.chef.io/chef/install.sh) [https://www.chef.io/chef/install.sh](https://www.chef.io/chef/install.sh)  
> > chef\_solo\_path: /opt/chef/bin/chef-solo  
> > clients\_path:  
> > cookbook\_files\_glob: README._,metadata.{json,rb},attributes/\*\*/_,definitions/ **/\*,files/** /_,libraries/\*\*/_,providers/ **/\*,recipes/** /_,resources/\*\*/_,templates/\*\*/\*  
> > data\_bags\_path:  
> > data\_path:  
> > encrypted\_data\_bag\_secret\_key\_path:  
> > environments\_path:  
> > kitchen\_root: /home/nclemons/git/ntp  
> > log\_file:  
> > log\_level: :info  
> > name: chef\_solo  
> > nodes\_path:  
> > require\_chef\_omnibus: true  
> > roles\_path:  
> > root\_path: /tmp/kitchen  
> > run\_list:  
> > - recipe[ntp::default]  
> > solo\_rb: {}  
> > sudo: true  
> > test\_base\_path: /home/nclemons/git/ntp/test/integration  
> > busser:  
> > busser\_bin: /tmp/busser/bin/busser  
> > kitchen\_root: /home/nclemons/git/ntp  
> > root\_path: /tmp/busser  
> > ruby\_bindir: /opt/chef/embedded/bin  
> > sudo: true  
> > suite\_name: default  
> > test\_base\_path: /home/nclemons/git/ntp/test/integration  
> > version: busser  
> > nclemons@ashdcsbamboo00:~/git/ntp$
> > 
> > It's somewhat aggravating, but it doesn't actually say what IP/host it's trying to SSH into, so debugging this is a bit difficult.
> > 
> > --  
> > ~_~ StormeRider ~_~
> > 
> > "Every world needs its heroes [...] They inspire us to be better than we are. And they protect from the darkness that's just around the corner."
> > 
> > (from Smallville Season 6x1: "Zod")
> > 
> > On why I hate the phrase "that's so lame"... [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS) [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS)  
> > On Thu, Feb 19, 2015 at 8:59 AM, Tyler Ball \<[tball@chef.io](mailto:tball@chef.io) [mailto:tball@chef.io](mailto:tball@chef.io)\> wrote:  
> > It looks like Berkshelf has an option `Berkshelf::Config.instance.ssl.verify` - you could try setting that to false. I don’t see anything in Test Kitchen that will set that value, but because the Berkshelf::Config object is a singleton you should be able to set it near code startup time.
> > 
> > You can set the berkshelf API server inside the Berksfile at the root of the cookbook you are testing.
> > 
> > Actually, that may be a good place to set the Berkshelf config - can you try setting `Berkshelf::Config.instance.ssl.verify = false` in your Berksfile? This is a totally stab in the dark, so I have no idea if it will work.
> > 
> > -Tyler
> > 
> > > On Feb 18, 2015, at 4:44 PM, Morgan Blackthorne \<[stormerider@gmail.com](mailto:stormerider@gmail.com) [mailto:stormerider@gmail.com](mailto:stormerider@gmail.com)\> wrote:
> > > 
> > > Trying to test this out, but running into a problem with Berkshelf. Is there a good way to tell Berkshelf inside TK to skip trying to validate SSL certs?
> > > 
> > > -----\> Converging ...  
> > > Preparing files for transfer  
> > > Preparing dna.json  
> > > Resolving cookbook dependencies with Berkshelf 3.2.3...  
> > > E, [2015-02-18T16:39:42.217792 #66682] ERROR -- : Actor crashed!  
> > > OpenSSL::SSL::SSLError: SSL\_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:76:in `timeout' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do_start' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:313:in `open_http' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:724:in `buffer\_open'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:210:in `block in open_loop' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `catch'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `open_loop' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:149:in `open\_uri'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:704:in `open' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:34:in `open'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:186:in `block in stream' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/retryable-2.0.1/lib/retryable.rb:63:in `retryable'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:185:in `stream' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community_rest.rb:103:in `download'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:62:in `try_download' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:36:in `block in download'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in `each' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in `download'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/installer.rb:105:in `install' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public\_send'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in `dispatch'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in `block in create' (celluloid):0:in `remote procedure call'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:92:in `value' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/proxies/sync_proxy.rb:33:in `method\_missing'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/proxies/cell\_proxy.rb:17:in `_send_' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/pool_manager.rb:41:in `_send_'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/pool\_manager.rb:140:in `method_missing' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public\_send'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in `dispatch'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in `block in create' E, [2015-02-18T16:39:42.223998 #66682] ERROR -- : Actor crashed! OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect' /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:76:in `timeout'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do\_start'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:313:in `open\_http'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:724:in `buffer_open' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:210:in `block in open\_loop'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `catch' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `open\_loop'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:149:in `open_uri' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:704:in `open'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:34:in `open' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community_rest.rb:186:in `block in stream'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/retryable-2.0.1/lib/retryable.rb:63:in `retryable' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community_rest.rb:185:in `stream'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:103:in `download' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:62:in `try\_download'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:36:in `block in download' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in `each'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in `download' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/installer.rb:105:in `install'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in `dispatch' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'  
> > > E, [2015-02-18T16:39:42.227916 #66682] ERROR -- : Actor crashed!  
> > > OpenSSL::SSL::SSLError: SSL\_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `block in connect'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/timeout.rb:76:in `timeout' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:920:in `connect'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do_start' /opt/chefdk/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:313:in `open_http' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:724:in `buffer\_open'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:210:in `block in open_loop' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `catch'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:208:in `open_loop' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:149:in `open\_uri'  
> > > /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:704:in `open' /opt/chefdk/embedded/lib/ruby/2.1.0/open-uri.rb:34:in `open'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:186:in `block in stream' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/retryable-2.0.1/lib/retryable.rb:63:in `retryable'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community\_rest.rb:185:in `stream' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/community_rest.rb:103:in `download'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:62:in `try_download' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:36:in `block in download'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in `each' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/downloader.rb:35:in `download'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/berkshelf-3.2.3/lib/berkshelf/installer.rb:105:in `install' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public\_send'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in `dispatch'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task' /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'  
> > > /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task\_fiber.rb:15:in `block in create'  
> > > cocoa:~/git/ntp$
> > > 
> > > Though to be honest I'm also wondering where it pulls which Berkshelf server to talk to as well.
> > > 
> > > --  
> > > ~_~ StormeRider ~_~
> > > 
> > > "Every world needs its heroes [...] They inspire us to be better than we are. And they protect from the darkness that's just around the corner."
> > > 
> > > (from Smallville Season 6x1: "Zod")
> > > 
> > > On why I hate the phrase "that's so lame"... [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS) [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS)
