[chef] Chef 11 server on ubuntu 12.04 pedant fails


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] Chef 11 server on ubuntu 12.04 pedant fails
  • Date: Mon, 17 Feb 2014 22:08:41 -0800 (PST)

I'm looking for pointers on how to debug my problem with chef server 11 on
ubuntu 12.04.

I've tried the following versions:

11.0.4
11.0.6
11.0.8
11.0.10

and in every case:

The package installs successfully.
The command "chef-server-ctl reconfigure" completes successfully
The command "chef-server-ctl test" fails with the following output:

Configuring logging...
Creating platform...
Starting Pedant Run: 2014-02-18 06:07:43 UTC
setting up rspec config for #<Pedant::OpenSourcePlatform:0x0000000248af10>
Configuring RSpec for Open-Source Tests
 _______  _______  _______  _______  _______  ______   _______
|       ||       ||       ||       ||       ||      | |       |
|   _   ||    _  ||  _____||       ||   _   ||  _    ||    ___|
|  | |  ||   |_| || |_____ |       ||  | |  || | |   ||   |___
|  |_|  ||    ___||_____  ||      _||  |_|  || |_|   ||    ___|
|       ||   |     _____| ||     |_ |       ||       ||   |___
|_______||___|    |_______||_______||_______||______| |_______|

     _______  _______  ______   _______  __    _  _______
    |       ||       ||      | |   _   ||  |  | ||       |
    |    _  ||    ___||  _    ||  |_|  ||   |_| ||_     _|
    |   |_| ||   |___ | | |   ||       ||       |  |   |
    |    ___||    ___|| |_|   ||       ||  _    |  |   |
    |   |    |   |___ |       ||   _   || | |   |  |   |
    |___|    |_______||______| |__| |__||_|  |__|  |___|

                    "Accuracy Over Tact"

                  === Testing Environment ===
                 Config File:
/var/opt/chef-server/chef-pedant/etc/pedant_config.rb
       HTTP Traffic Log File: 
/var/log/chef-server/chef-pedant/http-traffic.log

Running tests from the following directories:
/opt/chef-server/embedded/service/chef-pedant/spec/api
Ruby?  Erlang? true
Run options:
  include {:focus=>true, :smoke=>true}
  exclude {:platform=>:multitenant, :cleanup=>true}
Creating client pedant_admin_client...
Exception during Pedant credentials setup
#<Errno::ECONNRESET: Connection reset by peer - SSL_connect>
/opt/chef-server/embedded/lib/ruby/1.9.1/net/http.rb:799:in `connect'
/opt/chef-server/embedded/lib/ruby/1.9.1/net/http.rb:799:in `block in connect'
/opt/chef-server/embedded/lib/ruby/1.9.1/timeout.rb:54:in `timeout'
/opt/chef-server/embedded/lib/ruby/1.9.1/timeout.rb:99:in `timeout'
/opt/chef-server/embedded/lib/ruby/1.9.1/net/http.rb:799:in `connect'
/opt/chef-server/embedded/lib/ruby/1.9.1/net/http.rb:755:in `do_start'
/opt/chef-server/embedded/lib/ruby/1.9.1/net/http.rb:744:in `start'
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:172:in
`transmit'
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:64:in
`execute'
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in
`execute'
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient.rb:72:in
`post'
/opt/chef-server/embedded/service/chef-pedant/lib/pedant/request.rb:103:in
`authenticated_request'
/opt/chef-server/embedded/service/chef-pedant/lib/pedant/request.rb:125:in
`post'
/opt/chef-server/embedded/service/chef-pedant/lib/pedant/opensource/platform.rb:81:in
`create_client'
/opt/chef-server/embedded/service/chef-pedant/lib/pedant/opensource/platform.rb:122:in
`client_from_config'
/opt/chef-server/embedded/service/chef-pedant/lib/pedant/opensource/platform.rb:40:in
`block in setup'
/opt/chef-server/embedded/service/chef-pedant/lib/pedant/opensource/platform.rb:35:in
`each'
/opt/chef-server/embedded/service/chef-pedant/lib/pedant/opensource/platform.rb:35:in
`setup'
/opt/chef-server/embedded/service/chef-pedant/lib/pedant.rb:102:in `block (2
levels) in configure_rspec'
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/hooks.rb:23:in
`instance_eval'
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/hooks.rb:23:in
`run'
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/hooks.rb:72:in
`block in run'
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/hooks.rb:72:in
`each'
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/hooks.rb:72:in
`run'
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/hooks.rb:424:in
`run_hook'
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:27:in
`block in run'
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in
`report'
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in
`run'
/opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in
`run'
./bin/chef-pedant:29:in `<main>'

Finished in 0.86836 seconds
0 examples, 0 failures



Archive powered by MHonArc 2.6.16.

§