Issue installing on Redhat 6.5


#1

I installed redhat 6.5
I get errors on the chef-server-ctl test command

These are the packages installed for the instance
@ Base
net-snmp
net-snmp-utils
ntp
sysstat
vnc-server
sudo
binutils
compat-libstdc+±33
elfutils-libelf
elfutils-libelf-devel
gcc
gcc-c++
glibc
glibc-common
glibc-devel
libaio
libaio-devel
libgcc
libstdc++
libstdc+±devel
samba
xinetd

I install the chef rpm
rpm -ivh chef-server-11.0.10-1.el6.x86_64.rpm
warning: chef-server-11.0.10-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature,
key ID 83ef826a: NOKEY
Preparing… ########################################### [100%]
1:chef-server ########################################### [100%]
Thank you for installing Chef Server!

The next step in the install process is to run:

sudo chef-server-ctl reconfigure

I run chef-server-ctl reconfigure
It does it thing with no issues as far as I can see
when I do the chef-server-ctl test
it does return errors

Failures:

  1. Data Bag API endpoint with no data bags a request to /data POST with a
    canonical payload behaves like a successful data bag POST returns success
    Failure/Error: @request.should look_like create_data_bag_success_response

    Expected a full match of the result

    {“uri”=>

https://cosch1.acclariscorp.com/data/pedant_testbag_1387900901-679716082-3048”}

   to the spec

 {"uri"=>

https://COSCH1.ACCLARISCORP.COM/data/pedant_testbag_1387900901-679716082-3048”}

   to succeed, but it didn't!
 Shared Example Group: "a successful data bag POST" called from

./spec/api/data_bag/complete_endpoint_spec.rb:52
# ./lib/pedant/rspec/data_bag_util.rb:293:in `block (2 levels) in
module:DataBagUtil

  1. Data Bag API endpoint with data bags that have items a request to
    /data/ GET shows a full data bag
    Failure/Error: get(named_data_bag_url, requestor).should look_like
    fetch_full_data_bag_success_response

    Expected a full match of the result

    {“pedant_item1_1387900901-679716082-3048”=>

https://cosch1.acclariscorp.com/data/pedant_bag1_1387900901-679716082-3048/pedant_item1_1387900901-679716082-3048”,
“pedant_item2_1387900901-679716082-3048”=>

https://cosch1.acclariscorp.com/data/pedant_bag1_1387900901-679716082-3048/pedant_item2_1387900901-679716082-3048”,
“pedant_item3_1387900901-679716082-3048”=>

https://cosch1.acclariscorp.com/data/pedant_bag1_1387900901-679716082-3048/pedant_item3_1387900901-679716082-3048”}

   to the spec

 {"pedant_item1_1387900901-679716082-3048"=>

https://COSCH1.ACCLARISCORP.COM/data/pedant_bag1_1387900901-679716082-3048/pedant_item1_1387900901-679716082-3048”,
“pedant_item2_1387900901-679716082-3048”=>

https://COSCH1.ACCLARISCORP.COM/data/pedant_bag1_1387900901-679716082-3048/pedant_item2_1387900901-679716082-3048”,
“pedant_item3_1387900901-679716082-3048”=>

https://COSCH1.ACCLARISCORP.COM/data/pedant_bag1_1387900901-679716082-3048/pedant_item3_1387900901-679716082-3048”}

   to succeed, but it didn't!
 # ./spec/api/data_bag/complete_endpoint_spec.rb:409:in `block (6 levels)

in <top (required)>’

  1. Data Bag API endpoint with data bags that have items a request to
    /data// DELETE deletes the item
    Failure/Error: get(named_data_bag_url, requestor).should look_like({

    Expected a full match of the result

    {“pedant_item2_1387900901-679716082-3048”=>

https://cosch1.acclariscorp.com/data/pedant_bag1_1387900901-679716082-3048/pedant_item2_1387900901-679716082-3048”,
“pedant_item3_1387900901-679716082-3048”=>

https://cosch1.acclariscorp.com/data/pedant_bag1_1387900901-679716082-3048/pedant_item3_1387900901-679716082-3048”}

   to the spec

 {"pedant_item2_1387900901-679716082-3048"=>

https://COSCH1.ACCLARISCORP.COM/data/pedant_bag1_1387900901-679716082-3048/pedant_item2_1387900901-679716082-3048”,
“pedant_item3_1387900901-679716082-3048”=>

https://COSCH1.ACCLARISCORP.COM/data/pedant_bag1_1387900901-679716082-3048/pedant_item3_1387900901-679716082-3048”}

   to succeed, but it didn't!
 # ./spec/api/data_bag/complete_endpoint_spec.rb:502:in `block (6 levels)

in <top (required)>’

  1. Search API endpoint /search/environment POST targeted toward many
    environments with body of {“possibly_nested”=>[“default_attributes”, “top”,
    “middle”, “bottom”], “the_name”=>[“name”], “not_found”=>[“foo”, “bar”, “baz”,
    “totally_not_a_real_field”], “empty”=>[]} should succeed, and return multiple
    environments
    Failure/Error: r.should look_like search_success_response

    Expected a full match of the result

    {“total”=>6,
    “start”=>0,
    “rows”=>
    [{“url”=>

https://cosch1.acclariscorp.com/environments/pedant_multiple_environment_1387900901-679716082-3048_1”,
“data”=>
{“possibly_nested”=>"",

“the_name”=>“pedant_multiple_environment_1387900901-679716082-3048_1”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://cosch1.acclariscorp.com/environments/pedant_multiple_environment_1387900901-679716082-3048_3”,
“data”=>
{“possibly_nested”=>"",

“the_name”=>“pedant_multiple_environment_1387900901-679716082-3048_3”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://cosch1.acclariscorp.com/environments/pedant_multiple_environment_1387900901-679716082-3048_4”,
“data”=>
{“possibly_nested”=>"",

“the_name”=>“pedant_multiple_environment_1387900901-679716082-3048_4”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://cosch1.acclariscorp.com/environments/pedant_multiple_environment_1387900901-679716082-3048_5”,
“data”=>
{“possibly_nested”=>"",

“the_name”=>“pedant_multiple_environment_1387900901-679716082-3048_5”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://cosch1.acclariscorp.com/environments/pedant_temporary_environment_1387900901-679716082-3048”,
“data”=>
{“possibly_nested”=>“behold my environment!”,

“the_name”=>“pedant_temporary_environment_1387900901-679716082-3048”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://cosch1.acclariscorp.com/environments/pedant_multiple_environment_1387900901-679716082-3048_2”,
“data”=>
{“possibly_nested”=>"",

“the_name”=>“pedant_multiple_environment_1387900901-679716082-3048_2”,
“not_found”=>nil,
“empty”=>nil}}]}

   to the spec

 {"total"=>6,
"start"=>0,
"rows"=>
 [{"url"=>

https://COSCH1.ACCLARISCORP.COM/environments/pedant_temporary_environment_1387900901-679716082-3048”,
“data”=>
{“possibly_nested”=>“behold my environment!”,

“the_name”=>“pedant_temporary_environment_1387900901-679716082-3048”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://COSCH1.ACCLARISCORP.COM/environments/pedant_multiple_environment_1387900901-679716082-3048_1”,
“data”=>
{“possibly_nested”=>"",

“the_name”=>“pedant_multiple_environment_1387900901-679716082-3048_1”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://COSCH1.ACCLARISCORP.COM/environments/pedant_multiple_environment_1387900901-679716082-3048_2”,
“data”=>
{“possibly_nested”=>"",

“the_name”=>“pedant_multiple_environment_1387900901-679716082-3048_2”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://COSCH1.ACCLARISCORP.COM/environments/pedant_multiple_environment_1387900901-679716082-3048_3”,
“data”=>
{“possibly_nested”=>"",

“the_name”=>“pedant_multiple_environment_1387900901-679716082-3048_3”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://COSCH1.ACCLARISCORP.COM/environments/pedant_multiple_environment_1387900901-679716082-3048_4”,
“data”=>
{“possibly_nested”=>"",

“the_name”=>“pedant_multiple_environment_1387900901-679716082-3048_4”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://COSCH1.ACCLARISCORP.COM/environments/pedant_multiple_environment_1387900901-679716082-3048_5”,
“data”=>
{“possibly_nested”=>"",

“the_name”=>“pedant_multiple_environment_1387900901-679716082-3048_5”,
“not_found”=>nil,
“empty”=>nil}}]}

   to succeed, but it didn't!
 # ./lib/pedant/rspec/search_util.rb:99:in `block (2 levels) in

performing_a_search’
# ./lib/pedant/rspec/search_util.rb:670:in with_search_polling' # ./lib/pedant/rspec/search_util.rb:86:inblock in performing_a_search’

  1. Search API endpoint /search/node POST targeted toward many nodes with body
    of {“possibly_nested”=>[“top”, “middle”, “bottom”], “the_name”=>[“name”],
    “not_found”=>[“foo”, “bar”, “baz”, “totally_not_a_real_field”], “empty”=>[]}
    should succeed, and return multiple nodes
    Failure/Error: r.should look_like search_success_response

    Expected a full match of the result

    {“total”=>6,
    “start”=>0,
    “rows”=>
    [{“url”=>

https://cosch1.acclariscorp.com/nodes/pedant_multiple_node_1387900901-679716082-3048_1”,
“data”=>
{“possibly_nested”=>nil,
“the_name”=>“pedant_multiple_node_1387900901-679716082-3048_1”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://cosch1.acclariscorp.com/nodes/pedant_multiple_node_1387900901-679716082-3048_2”,
“data”=>
{“possibly_nested”=>nil,
“the_name”=>“pedant_multiple_node_1387900901-679716082-3048_2”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://cosch1.acclariscorp.com/nodes/pedant_multiple_node_1387900901-679716082-3048_4”,
“data”=>
{“possibly_nested”=>nil,
“the_name”=>“pedant_multiple_node_1387900901-679716082-3048_4”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://cosch1.acclariscorp.com/nodes/pedant_multiple_node_1387900901-679716082-3048_5”,
“data”=>
{“possibly_nested”=>nil,
“the_name”=>“pedant_multiple_node_1387900901-679716082-3048_5”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>“https://cosch1.acclariscorp.com/nodes/pedant_node_test”,
“data”=>
{“possibly_nested”=>“found_it”,
“the_name”=>“pedant_node_test”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://cosch1.acclariscorp.com/nodes/pedant_multiple_node_1387900901-679716082-3048_3”,
“data”=>
{“possibly_nested”=>nil,
“the_name”=>“pedant_multiple_node_1387900901-679716082-3048_3”,
“not_found”=>nil,
“empty”=>nil}}]}

   to the spec

 {"total"=>6,
"start"=>0,
"rows"=>
 [{"url"=>"https://COSCH1.ACCLARISCORP.COM/nodes/pedant_node_test",
   "data"=>
    {"possibly_nested"=>"found_it",
     "the_name"=>"pedant_node_test",
     "not_found"=>nil,
     "empty"=>nil}},
  {"url"=>

https://COSCH1.ACCLARISCORP.COM/nodes/pedant_multiple_node_1387900901-679716082-3048_1”,
“data”=>
{“possibly_nested”=>nil,
“the_name”=>“pedant_multiple_node_1387900901-679716082-3048_1”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://COSCH1.ACCLARISCORP.COM/nodes/pedant_multiple_node_1387900901-679716082-3048_2”,
“data”=>
{“possibly_nested”=>nil,
“the_name”=>“pedant_multiple_node_1387900901-679716082-3048_2”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://COSCH1.ACCLARISCORP.COM/nodes/pedant_multiple_node_1387900901-679716082-3048_3”,
“data”=>
{“possibly_nested”=>nil,
“the_name”=>“pedant_multiple_node_1387900901-679716082-3048_3”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://COSCH1.ACCLARISCORP.COM/nodes/pedant_multiple_node_1387900901-679716082-3048_4”,
“data”=>
{“possibly_nested”=>nil,
“the_name”=>“pedant_multiple_node_1387900901-679716082-3048_4”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://COSCH1.ACCLARISCORP.COM/nodes/pedant_multiple_node_1387900901-679716082-3048_5”,
“data”=>
{“possibly_nested”=>nil,
“the_name”=>“pedant_multiple_node_1387900901-679716082-3048_5”,
“not_found”=>nil,
“empty”=>nil}}]}

   to succeed, but it didn't!
 # ./lib/pedant/rspec/search_util.rb:99:in `block (2 levels) in

performing_a_search’
# ./lib/pedant/rspec/search_util.rb:670:in with_search_polling' # ./lib/pedant/rspec/search_util.rb:86:inblock in performing_a_search’

  1. Search API endpoint /search/role POST targeted toward many roles with body
    of {“possibly_nested”=>[“override_attributes”, “top”, “middle”, “bottom”],
    “the_name”=>[“name”], “not_found”=>[“foo”, “bar”, “baz”,
    “totally_not_a_real_field”], “empty”=>[]} should succeed, and return multiple
    roles
    Failure/Error: r.should look_like search_success_response

    Expected a full match of the result

    {“total”=>6,
    “start”=>0,
    “rows”=>
    [{“url”=>

https://cosch1.acclariscorp.com/roles/pedant_multiple_role_1387900901-679716082-3048_1”,
“data”=>
{“possibly_nested”=>nil,
“the_name”=>“pedant_multiple_role_1387900901-679716082-3048_1”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://cosch1.acclariscorp.com/roles/pedant_multiple_role_1387900901-679716082-3048_2”,
“data”=>
{“possibly_nested”=>nil,
“the_name”=>“pedant_multiple_role_1387900901-679716082-3048_2”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://cosch1.acclariscorp.com/roles/pedant_multiple_role_1387900901-679716082-3048_4”,
“data”=>
{“possibly_nested”=>nil,
“the_name”=>“pedant_multiple_role_1387900901-679716082-3048_4”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://cosch1.acclariscorp.com/roles/pedant_multiple_role_1387900901-679716082-3048_5”,
“data”=>
{“possibly_nested”=>nil,
“the_name”=>“pedant_multiple_role_1387900901-679716082-3048_5”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://cosch1.acclariscorp.com/roles/pedant_temporary_role_1387900901-679716082-3048”,
“data”=>
{“possibly_nested”=>“found_it”,
“the_name”=>“pedant_temporary_role_1387900901-679716082-3048”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://cosch1.acclariscorp.com/roles/pedant_multiple_role_1387900901-679716082-3048_3”,
“data”=>
{“possibly_nested”=>nil,
“the_name”=>“pedant_multiple_role_1387900901-679716082-3048_3”,
“not_found”=>nil,
“empty”=>nil}}]}

   to the spec

 {"total"=>6,
"start"=>0,
"rows"=>
 [{"url"=>

https://COSCH1.ACCLARISCORP.COM/roles/pedant_temporary_role_1387900901-679716082-3048”,
“data”=>
{“possibly_nested”=>“found_it”,
“the_name”=>“pedant_temporary_role_1387900901-679716082-3048”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://COSCH1.ACCLARISCORP.COM/roles/pedant_multiple_role_1387900901-679716082-3048_1”,
“data”=>
{“possibly_nested”=>nil,
“the_name”=>“pedant_multiple_role_1387900901-679716082-3048_1”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://COSCH1.ACCLARISCORP.COM/roles/pedant_multiple_role_1387900901-679716082-3048_2”,
“data”=>
{“possibly_nested”=>nil,
“the_name”=>“pedant_multiple_role_1387900901-679716082-3048_2”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://COSCH1.ACCLARISCORP.COM/roles/pedant_multiple_role_1387900901-679716082-3048_3”,
“data”=>
{“possibly_nested”=>nil,
“the_name”=>“pedant_multiple_role_1387900901-679716082-3048_3”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://COSCH1.ACCLARISCORP.COM/roles/pedant_multiple_role_1387900901-679716082-3048_4”,
“data”=>
{“possibly_nested”=>nil,
“the_name”=>“pedant_multiple_role_1387900901-679716082-3048_4”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://COSCH1.ACCLARISCORP.COM/roles/pedant_multiple_role_1387900901-679716082-3048_5”,
“data”=>
{“possibly_nested”=>nil,
“the_name”=>“pedant_multiple_role_1387900901-679716082-3048_5”,
“not_found”=>nil,
“empty”=>nil}}]}

   to succeed, but it didn't!
 # ./lib/pedant/rspec/search_util.rb:99:in `block (2 levels) in

performing_a_search’
# ./lib/pedant/rspec/search_util.rb:670:in with_search_polling' # ./lib/pedant/rspec/search_util.rb:86:inblock in performing_a_search’

  1. Search API endpoint /search/client POST targeted toward many clients with
    body of {“possibly_nested”=>[“admin”], “the_name”=>[“name”],
    “not_found”=>[“foo”, “bar”, “baz”, “totally_not_a_real_field”], “empty”=>[]}
    should succeed, and return multiple clients
    Failure/Error: r.should look_like search_success_response

    Expected a full match of the result

    {“total”=>6,
    “start”=>0,
    “rows”=>
    [{“url”=>

https://cosch1.acclariscorp.com/clients/pedant_multiple_client_1387900901-679716082-3048_1”,
“data”=>
{“possibly_nested”=>false,
“the_name”=>“pedant_multiple_client_1387900901-679716082-3048_1”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://cosch1.acclariscorp.com/clients/pedant_multiple_client_1387900901-679716082-3048_2”,
“data”=>
{“possibly_nested”=>false,
“the_name”=>“pedant_multiple_client_1387900901-679716082-3048_2”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://cosch1.acclariscorp.com/clients/pedant_multiple_client_1387900901-679716082-3048_3”,
“data”=>
{“possibly_nested”=>false,
“the_name”=>“pedant_multiple_client_1387900901-679716082-3048_3”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://cosch1.acclariscorp.com/clients/pedant_multiple_client_1387900901-679716082-3048_4”,
“data”=>
{“possibly_nested”=>false,
“the_name”=>“pedant_multiple_client_1387900901-679716082-3048_4”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://cosch1.acclariscorp.com/clients/pedant_multiple_client_1387900901-679716082-3048_5”,
“data”=>
{“possibly_nested”=>false,
“the_name”=>“pedant_multiple_client_1387900901-679716082-3048_5”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://cosch1.acclariscorp.com/clients/pedant_temporary_client_1387900901-679716082-3048”,
“data”=>
{“possibly_nested”=>false,
“the_name”=>“pedant_temporary_client_1387900901-679716082-3048”,
“not_found”=>nil,
“empty”=>nil}}]}

   to the spec

 {"total"=>6,
"start"=>0,
"rows"=>
 [{"url"=>

https://COSCH1.ACCLARISCORP.COM/clients/pedant_temporary_client_1387900901-679716082-3048”,
“data”=>
{“possibly_nested”=>false,
“the_name”=>“pedant_temporary_client_1387900901-679716082-3048”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://COSCH1.ACCLARISCORP.COM/clients/pedant_multiple_client_1387900901-679716082-3048_1”,
“data”=>
{“possibly_nested”=>false,
“the_name”=>“pedant_multiple_client_1387900901-679716082-3048_1”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://COSCH1.ACCLARISCORP.COM/clients/pedant_multiple_client_1387900901-679716082-3048_2”,
“data”=>
{“possibly_nested”=>false,
“the_name”=>“pedant_multiple_client_1387900901-679716082-3048_2”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://COSCH1.ACCLARISCORP.COM/clients/pedant_multiple_client_1387900901-679716082-3048_3”,
“data”=>
{“possibly_nested”=>false,
“the_name”=>“pedant_multiple_client_1387900901-679716082-3048_3”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://COSCH1.ACCLARISCORP.COM/clients/pedant_multiple_client_1387900901-679716082-3048_4”,
“data”=>
{“possibly_nested”=>false,
“the_name”=>“pedant_multiple_client_1387900901-679716082-3048_4”,
“not_found”=>nil,
“empty”=>nil}},
{“url”=>

https://COSCH1.ACCLARISCORP.COM/clients/pedant_multiple_client_1387900901-679716082-3048_5”,
“data”=>
{“possibly_nested”=>false,
“the_name”=>“pedant_multiple_client_1387900901-679716082-3048_5”,
“not_found”=>nil,
“empty”=>nil}}]}

   to succeed, but it didn't!
 # ./lib/pedant/rspec/search_util.rb:99:in `block (2 levels) in

performing_a_search’
# ./lib/pedant/rspec/search_util.rb:670:in with_search_polling' # ./lib/pedant/rspec/search_util.rb:86:inblock in performing_a_search’

  1. Search API endpoint /search/<data_bag> using POST for an existing data bag
    a partial search should succeed
    Failure/Error: r.should look_like search_success_response

    Expected a full match of the result

    {“total”=>1,
    “start”=>0,
    “rows”=>
    [{“url”=>

https://cosch1.acclariscorp.com/data/pedant_temporary_bag_1387900901-679716082-3048/pedant_pedant_data_bag_item_1387900901-679716082-3048”,
“data”=>{“foo”=>“bar”}}]}

   to the spec

 {"total"=>1,
"start"=>0,
"rows"=>
 [{"url"=>

https://COSCH1.ACCLARISCORP.COM/data/pedant_temporary_bag_1387900901-679716082-3048/pedant_pedant_data_bag_item_1387900901-679716082-3048”,
“data”=>{“foo”=>“bar”}}]}

   to succeed, but it didn't!
 # ./lib/pedant/rspec/search_util.rb:99:in `block (2 levels) in

performing_a_search’
# ./lib/pedant/rspec/search_util.rb:670:in with_search_polling' # ./lib/pedant/rspec/search_util.rb:86:inblock in performing_a_search’

  1. Testing the Nodes API endpoint POST /nodes without existing node name
    should respond with 201 Created
    Failure/Error: should look_like expected_response

    Expected a full match of the result

    {“uri”=>

https://cosch1.acclariscorp.com/nodes/pedant_testing_node_1387900901-679716082-3048”}

   to the spec

 {"uri"=>

https://COSCH1.ACCLARISCORP.COM/nodes/pedant_testing_node_1387900901-679716082-3048”}

   to succeed, but it didn't!
 # ./lib/pedant/rspec/common.rb:75:in `block in should_respond_with'
  1. Testing the Roles API endpoint making a request to /roles using POST for
    a role that does not exist should respond with 201 and the correct path
    Failure/Error: should look_like create_role_success_response

    Expected a partial match of the result

 {"uri"=>

https://cosch1.acclariscorp.com/roles/pedant_pedant_testing_role_1387900901-679716082-3048”}

   to the spec

 {"uri"=>

https://COSCH1.ACCLARISCORP.COM/roles/pedant_pedant_testing_role_1387900901-679716082-3048”}

   to succeed, but it didn't!
 # ./lib/pedant/rspec/role_util.rb:42:in `block in

should_successfully_create_a_role’

  1. Open Source Client API endpoint POST /clients valid requests of various
    types to create a client with a “normal” admin client payload creates a new
    admin client
    Failure/Error: should look_like create_client_success_response

    Expected a full match of the result

 {"uri"=>

https://cosch1.acclariscorp.com/clients/pedant_testclient_1387900901-679716082-3048”,
“public_key”=>
"-----BEGIN PUBLIC
KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvXRa/jvdPtLGFoUfGorv\nVo0gnagdfsMHda+AVzoDt/AhCkmPqc0m/c6K7vceQ67XEXHjJWN9cOdX8PKZ6a03\nespRUtMwX1DHWdKStjE7ZekzlUuh7JPv26WVb4UkPG22Dhx1Kpx3yOsnLDtdprBb\nuw1/tm7VwF/Y339JmF+U7f5jftDnYxH2rPWAzJMxTAA497JJtb+3kHC4nAyLboak\nLVLqGBI/ijf4kcqQQIHVKWjUYb5HCT5exGJW41IZVR1XhsFlG7+M4YK9esvx/Ii+\nS79OGrtuVdy7YRAdzLlY1k4orGQGBmAyQmcTS2D/q4kUTKX2o1LmxFxztBywfH+d\nvwIDAQAB\n-----END
PUBLIC KEY-----\n",
“private_key”=>
"-----BEGIN RSA PRIVATE
KEY-----\nMIIEpQIBAAKCAQEAvXRa/jvdPtLGFoUfGorvVo0gnagdfsMHda+AVzoDt/AhCkmP\nqc0m/c6K7vceQ67XEXHjJWN9cOdX8PKZ6a03espRUtMwX1DHWdKStjE7ZekzlUuh\n7JPv26WVb4UkPG22Dhx1K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jNy6xCKWt\nKoOJGD80pahOncjrFhAD9ShbAoGAXOICbmCZ3RAkH04UbBGVFJECwCXIvDQX2jEX\ny6ywaYC2/xlkwwoI1Ty2AxgQY/PourxkcJ6xJp0RMaYxgjMzK8BxQ/oEFqJs5cJj\naOs413lJIgAer2s8cUYY2HNtoFtXnS/PuxdHisH02m7dflQ8fVS3MQbiumHcPRec\nrDxcQa0CgYEAr59hPUMJ5rJ+yWZEwbhVIHu2Xr+991IkWX7O+T/8/teDisI/fgsz\nTXgDArONtWGW13s8QU9OKJx8932td40Q+9rDSYg6+KnztW/VqMz78nQ0McIGRErW\nQVz0yznRc4cSwIPIg/nT7F8EkyMi/wiSdn0joK3cg67jEvBCXfQlBd4=\n-----END
RSA PRIVATE KEY-----\n"}

   to the spec

 {"uri"=>

https://COSCH1.ACCLARISCORP.COM/clients/pedant_testclient_1387900901-679716082-3048”,
“private_key”=>/^-----BEGIN RSA PRIVATE KEY-----/,
“public_key”=>/^-----BEGIN PUBLIC KEY-----/}

   to succeed, but it didn't!
 # ./spec/api/clients/open_source_complete_endpoint_spec.rb:162:in `block

(5 levels) in <top (required)>’

  1. Environments API Endpoint POST /environments with no additional
    environments when creating a valid environment should respond with 201 Created
    and a correct path
    Failure/Error: should look_like expected_response

    Expected a full match of the result

 {"uri"=>

https://cosch1.acclariscorp.com/environments/pedant_testing_environment”}

   to the spec

 {"uri"=>

https://COSCH1.ACCLARISCORP.COM/environments/pedant_testing_environment”}

   to succeed, but it didn't!
 # ./lib/pedant/rspec/common.rb:75:in `block in should_respond_with'
  1. /environments/ENVIRONMENT/cookbooks API endpoint with multiple versions
    of multiple cookbooks with no environment constraints from a non-default
    environment when fetching cookbooks should respond with 200 OK and latest
    versions of ALL cookbooks
    Failure/Error: should look_like expected_response

    Expected a full match of the result

 {"pedant_cb_one"=>
 {"url"=>"https://cosch1.acclariscorp.com/cookbooks/pedant_cb_one",
  "versions"=>

[{“url”=>“https://cosch1.acclariscorp.com/cookbooks/pedant_cb_one/3.0.0”,
“version”=>“3.0.0”}]},
“pedant_cb_three”=>
{“url”=>“https://cosch1.acclariscorp.com/cookbooks/pedant_cb_three”,
“versions”=>

[{“url”=>“https://cosch1.acclariscorp.com/cookbooks/pedant_cb_three/1.0.0”,
“version”=>“1.0.0”}]},
“pedant_cb_two”=>
{“url”=>“https://cosch1.acclariscorp.com/cookbooks/pedant_cb_two”,
“versions”=>

[{“url”=>“https://cosch1.acclariscorp.com/cookbooks/pedant_cb_two/1.2.5”,
“version”=>“1.2.5”}]}}

   to the spec

 {"pedant_cb_one"=>
 {"url"=>"https://COSCH1.ACCLARISCORP.COM/cookbooks/pedant_cb_one",
  "versions"=>

[{“url”=>“https://COSCH1.ACCLARISCORP.COM/cookbooks/pedant_cb_one/3.0.0”,
“version”=>“3.0.0”}]},
“pedant_cb_two”=>
{“url”=>“https://COSCH1.ACCLARISCORP.COM/cookbooks/pedant_cb_two”,
“versions”=>

[{“url”=>“https://COSCH1.ACCLARISCORP.COM/cookbooks/pedant_cb_two/1.2.5”,
“version”=>“1.2.5”}]},
“pedant_cb_three”=>
{“url”=>“https://COSCH1.ACCLARISCORP.COM/cookbooks/pedant_cb_three”,
“versions”=>

[{“url”=>“https://COSCH1.ACCLARISCORP.COM/cookbooks/pedant_cb_three/1.0.0”,
“version”=>“1.0.0”}]}}

   to succeed, but it didn't!
 # ./lib/pedant/rspec/common.rb:75:in `block in should_respond_with'
  1. Sandboxes API Endpoint Sandboxes Endpoint, POST when creating a new
    sandbox should respond with 201 Created
    Failure/Error: response.should look_like expected_response

    Expected a full match of the result

 {"sandbox_id"=>"000000000000b5ef3baea7dd4aa1d6b4",
"uri"=>

https://cosch1.acclariscorp.com/sandboxes/000000000000b5ef3baea7dd4aa1d6b4”,
“checksums”=>
{“cd3d25981139f740fc84e5d3bb628158”=>
{“url”=>

https://COSCH1.ACCLARISCORP.COM:443/bookshelf/organization-00000000000000000000000000000000/checksum-cd3d25981139f740fc84e5d3bb628158?AWSAccessKeyId=f306c4a5741b19d01a8a419ec27be28f853f3f82&Expires=1387901853&Signature=f8zbdUV92e8g%2BjwbxWDyiN%2BuYUU%3D”,
“needs_upload”=>true},
“ef4b820876a72e20cd44ce1cc323f343”=>
{“url”=>

https://COSCH1.ACCLARISCORP.COM:443/bookshelf/organization-00000000000000000000000000000000/checksum-ef4b820876a72e20cd44ce1cc323f343?AWSAccessKeyId=f306c4a5741b19d01a8a419ec27be28f853f3f82&Expires=1387901853&Signature=lqeBNO1v1UZ8ruGr%2BooIMIaLULI%3D”,
“needs_upload”=>true}}}

   to the spec

 {"sandbox_id"=>"000000000000b5ef3baea7dd4aa1d6b4",
"uri"=>

https://COSCH1.ACCLARISCORP.COM/sandboxes/000000000000b5ef3baea7dd4aa1d6b4”,
“checksums”=>
{“cd3d25981139f740fc84e5d3bb628158”=>
{“url”=>/^http[s]?://.*/, "needs_upload"=>true}, "ef4b820876a72e20cd44ce1cc323f343"=> {"url"=>/^http[s]?:\/\/.*/, “needs_upload”=>true}}}

   to succeed, but it didn't!
 # ./spec/api/sandboxes/complete_endpoint_spec.rb:78:in `block (4 levels)

in <top (required)>’

  1. Open Source /users endpoint POST /users as an admin without an existing
    user of the same name should respond with 201 Created and create the user
    Failure/Error: should look_like expected_response

    Expected a partial match of the result

 {"uri"=>"https://cosch1.acclariscorp.com/users/pedant_test_2962",
"public_key"=>
 "-----BEGIN PUBLIC

KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1fFawMQGkDrz2Usz483I\nBqNF7caM0dA2oVxssymcmFsTVu2+TrrNxMPfoTPYcI2+uBfoVSv1UxJqCsK3/CQn\n4sAavc+wSzlmSPO3m2XM7jb67mHSFHRurayOEVj3PQ0932dh2SLjzDdlENc0+ssS\nhgeFyJuHTcM3w+vGrgyMIVz4BtAdugmJwZEmC8L5Q9MVi9mb6CBiOo8cMUBm2u/h\n8OeBX8uxPIPehpQZ7wDLZEgtsb1e5oRmBL1/cBltrV0T0l5yYe/Pnx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jZ9Q3xKDvH5zUFKJhgxHD1aKZKz/rnK9HrIVVvR+gDUmT8ePge6\nChGF/oVlrIZHhH2kJWRvF9DFuWMrFdN5+3+og/YXg/Y1s481PoTuvK8kTEeiVdzH\ndEB6XPFZoF6rDpY9KZQdBg3CbSj6Wr8Cj3cx3msCgYAMxWyjyyCqm4ZhZygsEDFc\nXYr4vKeMKkvbSb5pVKoin6VSSFgEd3c1IYPos/LSef2+t4b37fUKZRxWFdNqx0se\n4alDhIKKIEYqvSr3t/mUbrXiS/5UjaNbNNr/fUzSmHd6QHNoaZ0q2HmCujWbYA+j\nfJ61qW+YzEfs4pVj5kD37QKBgFblup5jEBdcEO0nqfF6v/7QRLQvNr4lC+k6PLSD\nGHFRCq+dAp5ojyAfrgKzAFApAhAnB5hAlyumj1jPjj8JVVw+SirsDfwXstpNTGUu\nfvtR8iIB1vLGNkbNht91acJ7ZXuMdqBw1W/HNBztFgen7kSCwRCGe7j27XdY49Ph\nWqpjAoGBAK9Ceu7HW3J84HVLx10L7/hNVG56oVNJC0TpbVNCL1g9h3tnRUw3RB6m\nyReLT8G9G45ntBNhUYJHkwvGzVD2xzI6PsQUzolU+dPFEr1cjkKYhSrQwQVNCWVT\nJsybgo1Sln8A/eXLs16x40wZphSXy8lB5Lm4e6sc2jWFTRM1e8JV\n-----END
RSA PRIVATE KEY-----\n"}

   to the spec

 {"uri"=>"https://COSCH1.ACCLARISCORP.COM/users/pedant_test_2962"}


   to succeed, but it didn't!
 # ./lib/pedant/rspec/common.rb:75:in `block in should_respond_with'

Finished in 1 minute 1.92 seconds
70 examples, 15 failures

Failed examples:

rspec ./lib/pedant/rspec/data_bag_util.rb:292 # Data Bag API endpoint with no
data bags a request to /data POST with a canonical payload behaves like a
successful data bag POST returns success
rspec ./spec/api/data_bag/complete_endpoint_spec.rb:408 # Data Bag API endpoint
with data bags that have items a request to /data/ GET shows a full data
bag
rspec ./spec/api/data_bag/complete_endpoint_spec.rb:492 # Data Bag API endpoint
with data bags that have items a request to /data// DELETE deletes
the item
rspec ./lib/pedant/rspec/search_util.rb:85 # Search API endpoint
/search/environment POST targeted toward many environments with body of
{“possibly_nested”=>[“default_attributes”, “top”, “middle”, “bottom”],
“the_name”=>[“name”], “not_found”=>[“foo”, “bar”, “baz”,
“totally_not_a_real_field”], “empty”=>[]} should succeed, and return multiple
environments
rspec ./lib/pedant/rspec/search_util.rb:85 # Search API endpoint /search/node
POST targeted toward many nodes with body of {“possibly_nested”=>[“top”,
“middle”, “bottom”], “the_name”=>[“name”], “not_found”=>[“foo”, “bar”, “baz”,
“totally_not_a_real_field”], “empty”=>[]} should succeed, and return multiple
nodes
rspec ./lib/pedant/rspec/search_util.rb:85 # Search API endpoint /search/role
POST targeted toward many roles with body of
{“possibly_nested”=>[“override_attributes”, “top”, “middle”, “bottom”],
“the_name”=>[“name”], “not_found”=>[“foo”, “bar”, “baz”,
“totally_not_a_real_field”], “empty”=>[]} should succeed, and return multiple
roles
rspec ./lib/pedant/rspec/search_util.rb:85 # Search API endpoint /search/client
POST targeted toward many clients with body of {“possibly_nested”=>[“admin”],
“the_name”=>[“name”], “not_found”=>[“foo”, “bar”, “baz”,
“totally_not_a_real_field”], “empty”=>[]} should succeed, and return multiple
clients
rspec ./lib/pedant/rspec/search_util.rb:85 # Search API endpoint
/search/<data_bag> using POST for an existing data bag a partial search should
succeed
rspec ./lib/pedant/rspec/common.rb:74 # Testing the Nodes API endpoint POST
/nodes without existing node name should respond with 201 Created
rspec ./lib/pedant/rspec/role_util.rb:39 # Testing the Roles API endpoint
making a request to /roles using POST for a role that does not exist should
respond with 201 and the correct path
rspec ./spec/api/clients/open_source_complete_endpoint_spec.rb:161 # Open
Source Client API endpoint POST /clients valid requests of various types to
create a client with a “normal” admin client payload creates a new admin client
rspec ./lib/pedant/rspec/common.rb:74 # Environments API Endpoint POST
/environments with no additional environments when creating a valid environment
should respond with 201 Created and a correct path
rspec ./lib/pedant/rspec/common.rb:74 # /environments/ENVIRONMENT/cookbooks API
endpoint with multiple versions of multiple cookbooks with no environment
constraints from a non-default environment when fetching cookbooks should
respond with 200 OK and latest versions of ALL cookbooks
rspec ./spec/api/sandboxes/complete_endpoint_spec.rb:76 # Sandboxes API
Endpoint Sandboxes Endpoint, POST when creating a new sandbox should respond
with 201 Created
rspec ./lib/pedant/rspec/common.rb:74 # Open Source /users endpoint POST /users
as an admin without an existing user of the same name should respond with 201
Created and create the user


#2

Hi there,

ray.keckler@acclaris.com writes:

I install the chef rpm
rpm -ivh chef-server-11.0.10-1.el6.x86_64.rpm
warning: chef-server-11.0.10-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature,
key ID 83ef826a: NOKEY
Preparing… ########################################### [100%]
1:chef-server ########################################### [100%]
Thank you for installing Chef Server!

The next step in the install process is to run:

sudo chef-server-ctl reconfigure

I run chef-server-ctl reconfigure
It does it thing with no issues as far as I can see
when I do the chef-server-ctl test
it does return errors

Failures:

  1. Data Bag API endpoint with no data bags a request to /data POST with a
    canonical payload behaves like a successful data bag POST returns success
    Failure/Error: @request.should look_like create_data_bag_success_response

    Expected a full match of the result

{“uri”=>

https://cosch1.acclariscorp.com/data/pedant_testbag_1387900901-679716082-3048”}

   to the spec

{“uri”=>

https://COSCH1.ACCLARISCORP.COM/data/pedant_testbag_1387900901-679716082-3048”}

I’m pretty sure what you are running into is this recently reported
issue when Chef Server’s hostname contains uppercase letters:

https://tickets.opscode.com/browse/CHEF-4886[3]

We haven’t had a chance to investigate this yet, but I’m guessing this
is a deficiency in the test suite and that your server is operating
correctly.

  • seth


Seth Falcon | Development Lead | Chef | getchef.com | @sfalcon


#3

Thanks Seth

That was it. I changed the hostname to reflect lowercase.
I did the reconfigure and the test came out all good.

Ray

-----Original Message-----
From: Seth Falcon [mailto:seth@getchef.com]
Sent: Tuesday, December 24, 2013 12:15 PM
To: chef@lists.opscode.com
Subject: [chef] Re: Issue installing on Redhat 6.5

Hi there,

ray.keckler@acclaris.com writes:

I install the chef rpm
rpm -ivh chef-server-11.0.10-1.el6.x86_64.rpm
warning: chef-server-11.0.10-1.el6.x86_64.rpm: Header V4 DSA/SHA1
Signature, key ID 83ef826a: NOKEY
Preparing… ########################################### [100%]
1:chef-server ########################################### [100%]
Thank you for installing Chef Server!

The next step in the install process is to run:

sudo chef-server-ctl reconfigure

I run chef-server-ctl reconfigure
It does it thing with no issues as far as I can see when I do the
chef-server-ctl test it does return errors

Failures:

  1. Data Bag API endpoint with no data bags a request to /data POST
    with a canonical payload behaves like a successful data bag POST returns success
    Failure/Error: @request.should look_like
    create_data_bag_success_response

    Expected a full match of the result

{“uri”=>

https://cosch1.acclariscorp.com/data/pedant_testbag_1387900901-679716
082-3048”}

   to the spec

{“uri”=>

https://COSCH1.ACCLARISCORP.COM/data/pedant_testbag_1387900901-679716
082-3048”}

I’m pretty sure what you are running into is this recently reported issue when Chef Server’s hostname contains uppercase letters:

https://tickets.opscode.com/browse/CHEF-4886[3]

We haven’t had a chance to investigate this yet, but I’m guessing this is a deficiency in the test suite and that your server is operating correctly.

  • seth


Seth Falcon | Development Lead | Chef | getchef.com | @sfalcon