[chef] Re: Re: test-kitchen with docker-remote


Chronological Thread 
  • From: Morgan Blackthorne < >
  • To: " " < >
  • Subject: [chef] Re: Re: test-kitchen with docker-remote
  • Date: Mon, 23 Feb 2015 10:37:13 -0800

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

On Thu, Feb 19, 2015 at 11:07 AM, Morgan Blackthorne < " target="_blank"> > 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

On Thu, Feb 19, 2015 at 10:46 AM, Tyler Ball < " target="_blank"> > 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 < " target="_blank"> > 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:

:~/git/ntp$ kitchen converge               
-----> Starting Kitchen (v1.3.1)
-----> Converging <default-ubuntu-1204>...
       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

:~/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 <default-ubuntu-1204>...
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: ----------------------
:~/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
      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
      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
      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
:~/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

On Thu, Feb 19, 2015 at 8:59 AM, Tyler Ball < " target="_blank"> > 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 < " target="_blank"> > 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 <default-ubuntu-1204>...
       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








Archive powered by MHonArc 2.6.16.

§