Coder Social home page Coder Social logo

sous-chefs / sc-mongodb Goto Github PK

View Code? Open in Web Editor NEW
75.0 24.0 93.0 836 KB

Development repository for the sc-mongodb cookbook

Home Page: https://supermarket.chef.io/cookbooks/sc-mongodb

License: Apache License 2.0

Ruby 89.77% Shell 8.91% HTML 1.32%
chef-cookbook chef-resource chef hacktoberfest sc-mongodb managed-by-terraform

sc-mongodb's Introduction

sc-MongoDB Cookbook

Cookbook Version CI State OpenCollective OpenCollective License

Installs and configures MongoDB

Maintainers

This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.

Supports

  • Single MongoDB instance
  • Replication
  • Sharding
  • Replication and Sharding
  • MongoDB Monitoring System

Requirements

Cookbooks

  • none

Chef Infra Client

  • Chef Infra Client 14+

Platform

Currently we 'actively' test using test-kitchen on Ubuntu, Debian, CentOS, Redhat

Definitions

This cookbook contains a definition mongodb_instance which can be used to configure a certain type of mongodb instance, like the default mongodb or various components of a sharded setup.

For examples see the USAGE section below.

Attributes

MongoDB setup

  • default['mongodb']['install_method'] - This option can be "mongodb-org" or "none" - Default ("mongodb-org")

MongoDB Configuration

The node['mongodb']['config'] is split into 2 keys, mongod and mongos (i.e. node['mongodb']['config']['mongod']). They attributes are rendered out as a yaml config file. All settings defined in the Configuration File Options documentation page can be added to the node['mongodb']['config'][<setting>] attribute: https://docs.mongodb.com/manual/reference/configuration-options/

Several important attributes to note:

  • node['mongodb']['config']['mongod']['net']['bindIp'] - Configure from which address to accept connections
  • node['mongodb']['config']['mongod']['net']['port'] - Port the mongod listens on, default is 27017
  • node['mongodb']['config']['mongod']['replication']['oplogSizeMB'] - Specifies a maximum size in megabytes for the replication operation log
  • node['mongodb']['config']['mongod']['storage']['dbPath'] - Location for mongodb data directory, defaults to "/var/lib/mongodb"
  • node['mongodb']['config']['mongod']['storage']['engine'] - Storage engine to use, default is "wiredTiger"
  • node['mongodb']['config']['mongod']['systemLog']['path'] - Path for the logfiles, default is "/var/lib/mongo" for rhel and fedora and "/var/log/mongodb/mongod.log" for all others
  • node['mongodb']['config']['mongod'][<setting>] - General MongoDB Configuration File option

Cookbook specific attributes

  • node['mongodb']['reload_action'] - Action to take when MongoDB conf files are modified, default is "restart"
  • node['mongodb']['package_version'] - Version of the MongoDB package to install, default is nil
  • node['mongodb']['client_roles'] - Role identifying all external clients which should have access to a mongod instance

Sharding and replication attributes

  • node['mongodb']['config']['mongod']['replication']['replSetName'] - Define name of replicaset
  • node['mongodb']['cluster_name'] - Name of the cluster, all members of the cluster must reference to the same name, as this name is used internally to identify all members of a cluster.
  • node['mongodb']['shard_name'] - Name of a shard, default is "default"
  • node['mongodb']['sharded_collections'] - Define which collections are sharded
  • node['mongodb']['replica_arbiter_only'] - Set to true to make node an arbiter.
  • node['mongodb']['replica_build_indexes'] - Set to false to omit index creation.
  • node['mongodb']['replica_hidden'] - Set to true to hide node from replicaset.
  • node['mongodb']['replica_slave_delay'] - Number of seconds to delay slave replication.
  • node['mongodb']['replica_priority'] - Node priority.
  • node['mongodb']['replica_tags'] - Node tags.
  • node['mongodb']['replica_votes'] - Number of votes node will cast in an election.

shared MMS Agent attributes

  • node['mongodb']['mms_agent']['api_key'] - MMS Agent API Key. No default, required.
  • node['mongodb']['mms_agent']['automation']['config'][<setting>] - General MongoDB MMS Automation Agent configuration file option.
  • node['mongodb']['mms_agent']['backup']['config'][<setting>] - General MongoDB MMS Monitoring Agent configuration file option.
  • node['mongodb']['mms_agent']['monitoring']['config'][<setting>] - General MongoDB MMS Monitoring Agent configuration file option.

Automation Agent Settings

The defaults values installed by the package are:

mmsBaseUrl=https://mms.mongodb.com
logFile=/var/log/mongodb-mms-automation/automation-agent.log
mmsConfigBackup=/var/lib/mongodb-mms-automation/mms-cluster-config-backup.json
logLevel=INFO
maxLogFiles=10
maxLogFileSize=268435456

Backup Agent Settings

The defaults values installed by the package are:

mothership=api-backup.mongodb.com
https=true

Monitoring Agent Settings

The defaults values installed by the package are:

mmsBaseUrl=https://mms.mongodb.com

User management attributes

  • node['mongodb']['config']['auth'] - Require authentication to access or modify the database (True or False), Default is nil
  • node['mongodb']['admin'] - The admin user with userAdmin privileges that allows user management
  • node['mongodb']['users'] - Array of users to add when running the user management recipe

Usage

Single mongodb instance

Simply add

include_recipe "sc-mongodb::default"

to your recipe. This will run the mongodb instance as configured by your distribution. You can change the dbpath, logpath and port settings (see ATTRIBUTES) for this node by using the mongodb_instance definition:

mongodb_instance "mongodb" do
  port node['application']['port']
end

This definition also allows you to run another mongod instance with a different name on the same node

mongodb_instance "my_instance" do
  port node['mongodb']['port'] + 100
end

The result is a new system service with

  /etc/init.d/my_instance <start|stop|restart|status>

Replicasets

Add sc-mongodb::replicaset (instead of sc-mongodb::default) to the node's run_list. Also choose a name for your replicaset cluster and set the value of node['mongodb']['cluster_name'] for each member to this name.

The recipe will try to configure the replicaset with the instances already registered in your chef-server with the same node['mongodb']['cluster_name'], to configure various machines with the replicaset you'll need to deactivate the automatic configuration with node['mongodb']['auto_configure']['replicaset'] = false and enable that flag only on the last instance of the replicaset.

Sharding

You need a few more components, but the idea is the same: identification of the members with their different internal roles (mongos, configserver, etc.) is done via the node['mongodb']['cluster_name'] and node['mongodb']['shard_name'] attributes.

Let's have a look at a simple sharding setup, consisting of two shard servers, one config server and one mongos.

First, we would like to configure the two shards. For doing so, just use sc-mongodb::shard in the node's run_list and define a unique mongodb['shard_name'] for each of these two nodes, say "shard1" and "shard2".

Then configure a node to act as a config server - by using the sc-mongodb::configserver recipe.

And finally, you need to configure the mongos. This can be done by using the sc-mongodb::mongos recipe. The mongos needs some special configuration, as these mongos are actually doing the configuration of the whole sharded cluster. Most importantly you need to define what collections should be sharded by setting the attribute mongodb['sharded_collections']:

{
  "mongodb": {
    "sharded_collections": {
      "test.addressbook": "name",
      "mydatabase.calendar": "date"
    }
  }
}

Now mongos will automatically enable sharding for the "test" and the "mydatabase" database. Also, the "addressbook" and the "calendar" collection will be sharded, with sharding key "name" resp. "date". In the context of a sharding cluster always keep in mind to use a single role which is added to all members of the cluster to identify all member nodes. Also, shard names are important to distinguish the different shards. This is esp. important when you want to replicate shards.

Sharding + Replication

The setup is not much different from the one described above. All you have to do is add the sc-mongodb::replicaset recipe to all shard nodes, and make sure that all shard nodes which should be in the same replicaset have the same shard name.

For more details, you can find a tutorial for Sharding + Replication in the wiki.

MMS Agent

This cookbook also includes support for MongoDB Monitoring System (MMS) agent. MMS is a hosted monitoring service, provided by MongoDB, Inc. Once the small agent program is installed on the MongoDB host, it automatically collects the metrics and uploads them to the MMS server. The graphs of these metrics are shown on the web page. It helps a lot for tackling MongoDB related problems, so MMS is the baseline for all production MongoDB deployments.

To setup MMS, simply set your keys in node['mongodb']['mms_agent']['api_key'] and then add the sc-mongodb::mms_monitoring_agent recipe to your run list. Your current keys should be available at your MMS Settings page.

The agent install and configurations is also available via a custom resource for wrapper cookbooks. This allows for further customization outside of this cookbook

mongodb_agent 'monitoring' do
  config {} # Key and value pairs that will be in the config file
  group 'group' # Group to own the config file
  package_url 'package_url' # Download URL of the agent package
  user 'user' # User to own the config file
end

User Management

--NOTE:-- Using the sc-mongodb::user_management is not secure since passwords are stored plain text in your node attributes. Please concider using a wrapper recipe with encrypted data bags when using this cookbook in production.

An optional recipe is sc-mongodb::user_management which will enable authentication in the configuration file by default and create any users in the node['mongodb']['users']. The users array expects a hash of username, password, roles, and database. Roles should be an array of roles the user should have on the database given.

By default, authentication is not required on the database. This can be overridden by setting the node['mongodb']['config']['auth'] attribute to true in the chef json.

If the auth configuration is true, it will try to create the node['mongodb']['admin'] user, or update them if they already exist. Before using on a new database, ensure you're overwriting the node['mongodb']['authentication']['username'] and node['mongodb']['authentication']['password'] to something besides their default values.

To update the admin username or password after already having deployed the recipe with authentication as required, simply change node['mongodb']['admin']['password'] to the new password while keeping the value of node['mongodb']['authentication']['password'] the old value. After the recipe runs successfully, be sure to change the latter variable to the new password so that subsequent attempts to authenticate will work.

There's also a user resource which has the actions :add, :modify and :delete. If modify is used on a user that doesn't exist, it will be added. If add is used on a user that exists, it will be modified.

If using this recipe with replication and sharding, ensure that the node['mongodb']['key_file_content'] is set. All nodes must have the same key file in order for the replica set to initialize successfully when authentication is required. For mongos instances, set node['mongodb']['mongos_create_admin'] to true to force the creation of the admin user on mongos instances.

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers!

https://opencollective.com/sous-chefs#backers

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website.

https://opencollective.com/sous-chefs/sponsor/0/website https://opencollective.com/sous-chefs/sponsor/1/website https://opencollective.com/sous-chefs/sponsor/2/website https://opencollective.com/sous-chefs/sponsor/3/website https://opencollective.com/sous-chefs/sponsor/4/website https://opencollective.com/sous-chefs/sponsor/5/website https://opencollective.com/sous-chefs/sponsor/6/website https://opencollective.com/sous-chefs/sponsor/7/website https://opencollective.com/sous-chefs/sponsor/8/website https://opencollective.com/sous-chefs/sponsor/9/website

sc-mongodb's People

Contributors

amilu avatar astral303 avatar citruspi avatar cjhubert avatar damacus avatar daspilker avatar dcrosta avatar dylan-m avatar gigo6000 avatar jamesonjlee avatar josephholsten avatar jspiewak avatar kitchen-porter avatar luishdez avatar mateusduboli avatar mattchukabam avatar miketheman avatar mjreed-wbd avatar nklya avatar ramereth avatar renovate[bot] avatar rex avatar shortdudey123 avatar tas50 avatar tobami avatar vitalis avatar wolf31o2 avatar xorima avatar xorimabot avatar zeezooz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sc-mongodb's Issues

State of Test Kitchen Suite

This is an ongoing issue to track the test kitchen state across the mongodb cookbook. As I get some time I will run these tests initially to get a view of where we stand. From there we can choose what tests to fix, enhance, remove etc...

Instance Driver State Comments
default-ubuntu-1204 Vagrant Passing one test, checks mongo started
default-ubuntu-1004 Vagrant Passing one test, checks mongo started
default-debian-720 Vagrant Passing one test, checks mongo started
default-centos-70 Vagrant Passing one test, checks mongo started
default-centos-65 Vagrant Passing one test, checks mongo started
default-centos-510 Vagrant Passing one test, checks mongo started
default-mongodb-org-repo-ubuntu-1204 Vagrant Failing #49
default-mongodb-org-repo-ubuntu-1004 Vagrant Failing #50
default-mongodb-org-repo-debian-720 Vagrant Failing #51
default-mongodb-org-repo-centos-70 Vagrant Converging No Tests
default-mongodb-org-repo-centos-65 Vagrant Converging No Tests
default-mongodb-org-repo-centos-510 Vagrant Converging No Tests
replicaset-ubuntu-1204 Vagrant Failing #52
replicaset-debian-720 Vagrant Failing #53 Two tests: start mongo, replica set up(failing)
replicaset-centos-70 Vagrant Failing #54
replicaset-centos-65 Vagrant Not Executed
replicaset-centos-510 Vagrant Not Executed
configserver-ubuntu-1204 Vagrant Not Executed
configserver-ubuntu-1004 Vagrant Not Executed
configserver-debian-720 Vagrant Not Executed
configserver-centos-70 Vagrant Not Executed
configserver-centos-65 Vagrant Not Executed
configserver-centos-510 Vagrant Not Executed
mongos-ubuntu-1204 Vagrant Not Executed
mongos-ubuntu-1004 Vagrant Not Executed
mongos-debian-720 Vagrant Not Executed
mongos-centos-70 Vagrant Not Executed
mongos-centos-65 Vagrant Not Executed
mongos-centos-510 Vagrant Not Executed
mms-monitoring-agent-ubuntu-1204 Vagrant Not Executed
mms-monitoring-agent-centos-70 Vagrant Not Executed
mms-monitoring-agent-centos-65 Vagrant Not Executed
mms-backup-agent-ubuntu-1204 Vagrant Not Executed
mms-backup-agent-centos-70 Vagrant Not Executed
mms-backup-agent-centos-65 Vagrant Not Executed
user-management-ubuntu-1204 Vagrant Failing #48
user-management-debian-720 Vagrant Failing #47
user-management-centos-70 Vagrant Passing Three tests: Start mongo, require authentication, create user
user-management-centos-65 Vagrant Not Executed
user-management-centos-510 Vagrant Not Executed

user_management - error adding admin and other users

Admittedly I'm relatively new to chef and am in the process of using the mongodb-cookbook. I've got the process of actually creating a standalong mongodb instance working fine. It's understanding how to use the subsequent user_management recipe to create the initial admin user and regular users.

When I add "default['mongodb']['config']['auth'] = true" to the attributes/default.rb file, and run the mongodb::default recipe, the db is created and authentication is on. However I'm getting this error when running the user_management recipe.

Error executing action `add` on resource 'mongodb_user[admin]'
============================================================================
NameError
---------
uninitialized constant Mongo::MongoClient

The stacktrace is shown below.

Generated at 2015-07-07 17:10:16 -0700
NameError: mongodb_user[admin] (mongodb::user_management line 14) had an error: NameError: uninitialized constant Mongo::MongoClient
/var/chef/cache/cookbooks/mongodb/providers/user.rb:62:in `retrieve_db'
/var/chef/cache/cookbooks/mongodb/providers/user.rb:9:in `add_user'
/var/chef/cache/cookbooks/mongodb/providers/user.rb:71:in `block in class_from_file'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/provider/lwrp_base.rb:138:in `instance_eval'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/provider/lwrp_base.rb:138:in `block in action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/provider.rb:118:in `run_action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource.rb:625:in `run_action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:49:in `run_action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:81:in `block (2 levels) in converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:81:in `each'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:81:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection.rb:98:in `block in execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/resource_collection.rb:96:in `execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/runner.rb:80:in `converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:429:in `converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:494:in `do_run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:199:in `block in run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:193:in `fork'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/client.rb:193:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application.rb:183:in `run_chef_client'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application/client.rb:302:in `block in run_application'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application/client.rb:294:in `loop'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application/client.rb:294:in `run_application'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application.rb:66:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/bin/chef-client:26:in `<top (required)>'
/usr/bin/chef-client:23:in `load'
/usr/bin/chef-client:23:in `<main>'

Run Travis on all open PRs

I'd like us to start making progress, so it would be awesome to know which PRs can be merged. Step one: get travis running our tests.

@luishdez what's outstanding for this?

Failing Test: default-mongodb-org-repo-ubuntu-1204

% kitchen test default-mongodb-org-repo-ubuntu-1204
-----> Starting Kitchen (v1.4.0)
-----> Cleaning up any prior instances of <default-mongodb-org-repo-ubuntu-1204>
-----> Destroying <default-mongodb-org-repo-ubuntu-1204>...
       Finished destroying <default-mongodb-org-repo-ubuntu-1204> (0m0.00s).
-----> Testing <default-mongodb-org-repo-ubuntu-1204>
-----> Creating <default-mongodb-org-repo-ubuntu-1204>...
       Bringing machine 'default' up with 'virtualbox' provider...
       ==> default: Importing base box 'opscode-ubuntu-12.04'...
==> default: Matching MAC address for NAT networking...
       ==> default: Setting the name of the VM: kitchen-mongodb-cookbook-default-mongodb-org-repo-ubuntu-1204_default_1436900748999_75184
       ==> default: Fixed port collision for 22 => 2222. Now on port 2202.
       ==> default: Clearing any previously set network interfaces...
       ==> default: Preparing network interfaces based on configuration...
           default: Adapter 1: nat
       ==> default: Forwarding ports...
           default: 22 => 2202 (adapter 1)
       ==> default: Running 'pre-boot' VM customizations...
       ==> default: Booting VM...
       ==> default: Waiting for machine to boot. This may take a few minutes...
           default: SSH address: 127.0.0.1:2202
           default: SSH username: vagrant
           default: SSH auth method: private key
           default: Warning: Connection timeout. Retrying...
           default:
           default: Vagrant insecure key detected. Vagrant will automatically replace
           default: this with a newly generated keypair for better security.
           default:
           default: Inserting generated public key within guest...
           default: Removing insecure key from the guest if it's present...
           default: Key inserted! Disconnecting and reconnecting using new SSH key...
       ==> default: Machine booted and ready!
       ==> default: Checking for guest additions in VM...
       ==> default: Setting hostname...
       The following SSH command responded with a non-zero exit status.
       Vagrant assumes that this means the command failed!

       hostnamectl set-hostname 'default-mongodb-org-repo-ubuntu-1204'

       Stdout from the command:



       Stderr from the command:

       stdin: is not a tty
       bash: line 2: hostnamectl: command not found
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: Failed to complete #create action: [Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-ubuntu-12.04'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: kitchen-mongodb-cookbook-default-mongodb-org-repo-ubuntu-1204_default_1436900748999_75184
==> default: Fixed port collision for 22 => 2222. Now on port 2202.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2202 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2202
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

hostnamectl set-hostname 'default-mongodb-org-repo-ubuntu-1204'

Stdout from the command:



Stderr from the command:

stdin: is not a tty
bash: line 2: hostnamectl: command not found
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1]
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration

Failing Test: default-mongodb-org-repo-ubuntu-1004

% kitchen test default-mongodb-org-repo-ubuntu-1004                                                                                                   20 ↵
-----> Starting Kitchen (v1.4.0)
-----> Cleaning up any prior instances of <default-mongodb-org-repo-ubuntu-1004>
-----> Destroying <default-mongodb-org-repo-ubuntu-1004>...
       Finished destroying <default-mongodb-org-repo-ubuntu-1004> (0m0.00s).
-----> Testing <default-mongodb-org-repo-ubuntu-1004>
-----> Creating <default-mongodb-org-repo-ubuntu-1004>...
       Bringing machine 'default' up with 'virtualbox' provider...
       ==> default: Importing base box 'opscode-ubuntu-10.04'...
==> default: Matching MAC address for NAT networking...
       ==> default: Setting the name of the VM: kitchen-mongodb-cookbook-default-mongodb-org-repo-ubuntu-1004_default_1436913996945_4160
       ==> default: Fixed port collision for 22 => 2222. Now on port 2203.
       ==> default: Clearing any previously set network interfaces...
       ==> default: Preparing network interfaces based on configuration...
           default: Adapter 1: nat
       ==> default: Forwarding ports...
           default: 22 => 2203 (adapter 1)
       ==> default: Running 'pre-boot' VM customizations...
       ==> default: Booting VM...
       ==> default: Waiting for machine to boot. This may take a few minutes...
           default: SSH address: 127.0.0.1:2203
           default: SSH username: vagrant    default: SSH auth method: private key
           default: Warning: Connection timeout. Retrying...
           default:
           default: Vagrant insecure key detected. Vagrant will automatically replace
           default: this with a newly generated keypair for better security.
           default:
           default: Inserting generated public key within guest...
           default: Removing insecure key from the guest if it's present...
           default: Key inserted! Disconnecting and reconnecting using new SSH key...
       ==> default: Machine booted and ready!
       ==> default: Checking for guest additions in VM...
       ==> default: Setting hostname...
       The following SSH command responded with a non-zero exit status.
       Vagrant assumes that this means the command failed!

       hostnamectl set-hostname 'default-mongodb-org-repo-ubuntu-1004'

       Stdout from the command:



       Stderr from the command:

       stdin: is not a tty
       bash: line 2: hostnamectl: command not found
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: Failed to complete #create action: [Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-ubuntu-10.04'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: kitchen-mongodb-cookbook-default-mongodb-org-repo-ubuntu-1004_default_1436913996945_4160
==> default: Fixed port collision for 22 => 2222. Now on port 2203.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2203 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2203
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

hostnamectl set-hostname 'default-mongodb-org-repo-ubuntu-1004'

Stdout from the command:



Stderr from the command:

stdin: is not a tty
bash: line 2: hostnamectl: command not found
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1]
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration

Failing Test: mms-backup-agent-centos-70

       Running handlers:
       Running handlers complete
       Chef Client finished, 11/11 resources updated in 15.334889671 seconds
       Finished converging <mms-backup-agent-centos-70> (0m29.98s).
-----> Setting up <mms-backup-agent-centos-70>...
       Finished setting up <mms-backup-agent-centos-70> (0m0.00s).
-----> Verifying <mms-backup-agent-centos-70>...
       Preparing files for transfer
-----> Installing Busser (busser)
Fetching: thor-0.19.0.gem (100%)
Fetching: busser-0.7.1.gem (100%)
       Successfully installed thor-0.19.0
       Successfully installed busser-0.7.1
       2 gems installed
-----> Setting up Busser
       Creating BUSSER_ROOT in /tmp/verifier
       Creating busser binstub
       Installing Busser plugins: busser-bats
       Plugin bats installed (version 0.3.0)
-----> Running postinstall for bats plugin
       Installed Bats to /tmp/verifier/vendor/bats/bin/bats
       Suite path directory /tmp/verifier/suites does not exist, skipping.
       Transferring files to <mms-backup-agent-centos-70>
-----> Running bats test suite
 ✗ starts mms backup agent
          (in test file /tmp/verifier/suites/bats/default.bats, line 6)
            `[ "$status" -eq 0 ]' failed
 ✓ sets sslRequireValidServerCertificates to false

       2 tests, 1 failure
       !!!!!! Command [/tmp/verifier/vendor/bats/bin/bats /tmp/verifier/suites/bats] exit code was 1
-----> Destroying <mms-backup-agent-centos-70>...
       ==> default: Forcing shutdown of VM...
       ==> default: Destroying VM and associated drives...
       Vagrant instance <mms-backup-agent-centos-70> destroyed.
       Finished destroying <mms-backup-agent-centos-70> (0m3.64s).
rake aborted!
Kitchen::InstanceFailure: Verify failed on instance <mms-backup-agent-centos-70>.  Please see .kitchen/logs/mms-backup-agent-centos-70.log for more details
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/verifier/base.rb:79:in `rescue in call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/verifier/base.rb:82:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:398:in `block in verify_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:488:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:488:in `synchronize_or_call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:453:in `block in action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:452:in `action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:394:in `verify_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:341:in `block in transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `each'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:160:in `verify'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:189:in `block in test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:185:in `test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/rake_tasks.rb:54:in `block (3 levels) in define'
Kitchen::ActionFailed: SSH exited (1) for command: [sh -c '

BUSSER_ROOT="/tmp/verifier"; export BUSSER_ROOT
GEM_HOME="/tmp/verifier/gems"; export GEM_HOME
GEM_PATH="/tmp/verifier/gems"; export GEM_PATH
GEM_CACHE="/tmp/verifier/gems/cache"; export GEM_CACHE

sudo -E /tmp/verifier/bin/busser test
']/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/verifier/base.rb:79:in `rescue in call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/verifier/base.rb:82:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:398:in `block in verify_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:488:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:488:in `synchronize_or_call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:453:in `block in action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:452:in `action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:394:in `verify_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:341:in `block in transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `each'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:160:in `verify'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:189:in `block in test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:185:in `test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/rake_tasks.rb:54:in `block (3 levels) in define'
Kitchen::Transport::SshFailed: SSH exited (1) for command: [sh -c '

BUSSER_ROOT="/tmp/verifier"; export BUSSER_ROOT
GEM_HOME="/tmp/verifier/gems"; export GEM_HOME
GEM_PATH="/tmp/verifier/gems"; export GEM_PATH
GEM_CACHE="/tmp/verifier/gems/cache"; export GEM_CACHE

sudo -E /tmp/verifier/bin/busser test
']/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/transport/ssh.rb:103:in `execute'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/verifier/base.rb:76:in `block in call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/transport/ssh.rb:342:in `reuse_connection'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/transport/ssh.rb:72:in `connection'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/verifier/base.rb:69:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:398:in `block in verify_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:488:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:488:in `synchronize_or_call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:453:in `block in action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:452:in `action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:394:in `verify_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:341:in `block in transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `each'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:160:in `verify'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:189:in `block in test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:185:in `test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/rake_tasks.rb:54:in `block (3 levels) in define'
Tasks: TOP => kitchen:mms-backup-agent-centos-70
(See full trace by running task with --trace)

Failing Test: replicaset-centos-510

         * package[mongodb-org] action install
           - install version 2.6.10-1 of package mongodb-org
       Recipe: mongodb::replicaset

       ================================================================================
       Error executing action `run` on resource 'ruby_block[chef_gem_at_converge_time]'
       ================================================================================

       Gem::Installer::ExtensionBuildError
       -----------------------------------
       ERROR: Failed to build gem native extension.

        /opt/chef/embedded/bin/ruby extconf.rb
       checking for asprintf()... *** extconf.rb failed ***
       Could not create Makefile due to some reason, probably lack of
       necessary libraries and/or headers.  Check the mkmf.log file for more
       details.  You may need configuration options.

       Provided configuration options:
        --with-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/opt/chef/embedded/bin/ruby
       /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
       You have to install development tools first.
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:461:in `try_link0'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:476:in `try_link'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:619:in `try_func'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:894:in `block in have_func'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:790:in `block in checking_for'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block in postpone'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:280:in `postpone'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:789:in `checking_for'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:893:in `have_func'
        from extconf.rb:3:in `<main>'


       Gem files will remain installed in /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/bson_ext-1.12.3 for inspection.
       Results logged to /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/bson_ext-1.12.3/ext/cbson/gem_make.out

       Cookbook Trace:
       ---------------
       /tmp/kitchen/cache/cookbooks/mongodb/recipes/replicaset.rb:29:in `block (3 levels) in from_file'
       /tmp/kitchen/cache/cookbooks/mongodb/recipes/replicaset.rb:27:in `each'


       Resource Declaration:
       ---------------------
       # In /tmp/kitchen/cache/cookbooks/mongodb/recipes/replicaset.rb

        25: ruby_block 'chef_gem_at_converge_time' do
        26:   block do
        27:     node['mongodb']['ruby_gems'].each do |gem, version|
        28:       version = Gem::Dependency.new(gem, version)
        29:       Chef::Provider::Package::Rubygems::GemEnvironment.new.install(version)
        30:     end
        31:   end
        32: end
        33:

       Compiled Resource:
       ------------------
       # Declared in /tmp/kitchen/cache/cookbooks/mongodb/recipes/replicaset.rb:25:in `from_file'

       ruby_block("chef_gem_at_converge_time") do
         action "run"
         retries 0
         retry_delay 2
         guard_interpreter :default
         block_name "chef_gem_at_converge_time"
         cookbook_name "mongodb"
         recipe_name "replicaset"
         block #<Proc:0x0000001c388648@/tmp/kitchen/cache/cookbooks/mongodb/recipes/replicaset.rb:26>
       end

         * service[mongod] action restart
           - restart service service[mongod]
             ** Notice: The native BSON extension was not loaded. **

             For optimal performance, use of the BSON extension is recommended.

             To enable the extension make sure ENV['BSON_EXT_DISABLED'] is not set
             and run the following command:

        gem install bson_ext

             If you continue to receive this message after installing, make sure that
             the bson_ext gem is in your load path.

       [2015-07-16T16:40:43+00:00] WARN: Cannot configure replicaset 'kitchen', no member nodes found




       [2015-07-16T16:40:43+00:00] ERROR: Running exception handlers
       Running handlers complete
       [2015-07-16T16:40:43+00:00] ERROR: Exception handlers complete
       [2015-07-16T16:40:43+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       Chef Client failed. 18 resources updated in 63.575936 seconds
       [2015-07-16T16:40:43+00:00] ERROR: ruby_block[chef_gem_at_converge_time] (mongodb::replicaset line 25) had an error: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

        /opt/chef/embedded/bin/ruby extconf.rb
       checking for asprintf()... *** extconf.rb failed ***
       Could not create Makefile due to some reason, probably lack of
       necessary libraries and/or headers.  Check the mkmf.log file for more
       details.  You may need configuration options.

       Provided configuration options:
        --with-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/opt/chef/embedded/bin/ruby
       /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
       You have to install development tools first.
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:461:in `try_link0'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:476:in `try_link'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:619:in `try_func'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:894:in `block in have_func'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:790:in `block in checking_for'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block in postpone'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:280:in `postpone'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:789:in `checking_for'
        from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:893:in `have_func'
        from extconf.rb:3:in `<main>'


       Gem files will remain installed in /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/bson_ext-1.12.3 for inspection.
       Results logged to /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/bson_ext-1.12.3/ext/cbson/gem_make.out

       [2015-07-16T16:40:43+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
-----> Destroying <replicaset-centos-510>...
       ==> default: Forcing shutdown of VM...
       ==> default: Destroying VM and associated drives...
       Vagrant instance <replicaset-centos-510> destroyed.
       Finished destroying <replicaset-centos-510> (0m3.89s).
rake aborted!
Kitchen::InstanceFailure: Converge failed on instance <replicaset-centos-510>.  Please see .kitchen/logs/replicaset-centos-510.log for more details
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/provisioner/base.rb:74:in `rescue in call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/provisioner/base.rb:77:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:366:in `block in converge_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:488:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:488:in `synchronize_or_call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:453:in `block in action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:452:in `action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:362:in `converge_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:341:in `block in transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `each'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:160:in `verify'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:189:in `block in test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:185:in `test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/rake_tasks.rb:54:in `block (3 levels) in define'
Kitchen::ActionFailed: SSH exited (1) for command: [sh -c '

sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/provisioner/base.rb:74:in `rescue in call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/provisioner/base.rb:77:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:366:in `block in converge_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:488:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:488:in `synchronize_or_call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:453:in `block in action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:452:in `action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:362:in `converge_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:341:in `block in transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `each'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:160:in `verify'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:189:in `block in test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:185:in `test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/rake_tasks.rb:54:in `block (3 levels) in define'
Kitchen::Transport::SshFailed: SSH exited (1) for command: [sh -c '

sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/transport/ssh.rb:103:in `execute'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/provisioner/base.rb:71:in `block in call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/transport/ssh.rb:342:in `reuse_connection'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/transport/ssh.rb:72:in `connection'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/provisioner/base.rb:64:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:366:in `block in converge_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:488:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:488:in `synchronize_or_call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:453:in `block in action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:452:in `action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:362:in `converge_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:341:in `block in transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `each'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:160:in `verify'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:189:in `block in test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:185:in `test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/rake_tasks.rb:54:in `block (3 levels) in define'
Tasks: TOP => kitchen:replicaset-centos-510
(See full trace by running task with --trace)

Failing Test: replicaset-centos-70

I, [2015-07-14T22:06:25.728588 #47672]  INFO -- replicaset-centos-70: -----> Cleaning up any prior instances of <replicaset-centos-70>
I, [2015-07-14T22:06:25.728712 #47672]  INFO -- replicaset-centos-70: -----> Destroying <replicaset-centos-70>...
I, [2015-07-14T22:06:25.730753 #47672]  INFO -- replicaset-centos-70: Finished destroying <replicaset-centos-70> (0m0.00s).
I, [2015-07-14T22:06:25.730937 #47672]  INFO -- replicaset-centos-70: -----> Testing <replicaset-centos-70>
I, [2015-07-14T22:06:25.731012 #47672]  INFO -- replicaset-centos-70: -----> Creating <replicaset-centos-70>...
I, [2015-07-14T22:06:27.764808 #47672]  INFO -- replicaset-centos-70: Bringing machine 'default' up with 'virtualbox' provider...
I, [2015-07-14T22:06:28.370129 #47672]  INFO -- replicaset-centos-70: ==> default: VirtualBox VM is already running.
I, [2015-07-14T22:06:30.487002 #47672]  INFO -- replicaset-centos-70: [SSH] Established
I, [2015-07-14T22:06:30.487414 #47672]  INFO -- replicaset-centos-70: Vagrant instance <replicaset-centos-70> created.
I, [2015-07-14T22:06:30.489019 #47672]  INFO -- replicaset-centos-70: Finished creating <replicaset-centos-70> (0m4.76s).
I, [2015-07-14T22:06:30.489122 #47672]  INFO -- replicaset-centos-70: -----> Converging <replicaset-centos-70>...
I, [2015-07-14T22:06:30.490295 #47672]  INFO -- replicaset-centos-70: Preparing files for transfer
I, [2015-07-14T22:06:30.490425 #47672]  INFO -- replicaset-centos-70: Preparing dna.json
I, [2015-07-14T22:06:30.490830 #47672]  INFO -- replicaset-centos-70: Resolving cookbook dependencies with Berkshelf 3.3.0...
I, [2015-07-14T22:06:31.174015 #47672]  INFO -- replicaset-centos-70: Removing non-cookbook files before transfer
I, [2015-07-14T22:06:31.194931 #47672]  INFO -- replicaset-centos-70: Preparing nodes
I, [2015-07-14T22:06:31.195759 #47672]  INFO -- replicaset-centos-70: Preparing validation.pem
I, [2015-07-14T22:06:31.196765 #47672]  INFO -- replicaset-centos-70: Preparing client.rb
I, [2015-07-14T22:06:31.212502 #47672]  INFO -- replicaset-centos-70: -----> Installing Chef Omnibus (11.12.8)
I, [2015-07-14T22:06:31.217206 #47672]  INFO -- replicaset-centos-70: Downloading https://www.chef.io/chef/install.sh to file /tmp/install.sh
I, [2015-07-14T22:06:31.217282 #47672]  INFO -- replicaset-centos-70: Trying wget...
I, [2015-07-14T22:06:36.726596 #47672]  INFO -- replicaset-centos-70: Download complete.
I, [2015-07-14T22:06:36.781989 #47672]  INFO -- replicaset-centos-70: Downloading Chef 11.12.8 for el...
I, [2015-07-14T22:06:36.782070 #47672]  INFO -- replicaset-centos-70: downloading https://www.chef.io/chef/metadata?v=11.12.8&prerelease=false&nightlies=false&p=el&pv=7&m=x86_64
I, [2015-07-14T22:06:36.782102 #47672]  INFO -- replicaset-centos-70:   to file /tmp/install.sh.16901/metadata.txt
I, [2015-07-14T22:06:36.782127 #47672]  INFO -- replicaset-centos-70: trying wget...
I, [2015-07-14T22:06:42.403003 #47672]  INFO -- replicaset-centos-70: url   https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.12.8-2.el6.x86_64.rpm
I, [2015-07-14T22:06:42.403072 #47672]  INFO -- replicaset-centos-70: md5   3dfacef6e6640adefc12bf6956a3a4e2
I, [2015-07-14T22:06:42.403097 #47672]  INFO -- replicaset-centos-70: sha256    ee45e0f226ffd503a949c1b10944064a4655d0255e03a16b073bed85eac83e95
I, [2015-07-14T22:06:42.406670 #47672]  INFO -- replicaset-centos-70: downloaded metadata file looks valid...
I, [2015-07-14T22:06:42.418784 #47672]  INFO -- replicaset-centos-70: downloading https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.12.8-2.el6.x86_64.rpm
I, [2015-07-14T22:06:42.418841 #47672]  INFO -- replicaset-centos-70:   to file /tmp/install.sh.16901/chef-11.12.8-2.el6.x86_64.rpm
I, [2015-07-14T22:06:42.418860 #47672]  INFO -- replicaset-centos-70: trying wget...
I, [2015-07-14T22:06:57.215210 #47672]  INFO -- replicaset-centos-70: Comparing checksum with sha256sum...
I, [2015-07-14T22:06:57.369096 #47672]  INFO -- replicaset-centos-70: Installing Chef 11.12.8
I, [2015-07-14T22:06:57.369151 #47672]  INFO -- replicaset-centos-70: installing with rpm...
I, [2015-07-14T22:06:57.437172 #47672]  INFO -- replicaset-centos-70: warning: /tmp/install.sh.16901/chef-11.12.8-2.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
I, [2015-07-14T22:06:57.760130 #47672]  INFO -- replicaset-centos-70: Preparing...                                                            (100%)����������������������������������������#                                 (100%)����������������������������������������##                                (100%)����������������������������������������###                               (100%)����������������������������������������####                              (100%)����������������������������������������#####                             (100%)����������������������������������������######                            (100%)����������������������������������������#######                           (100%)����������������������������������������########                          (100%)����������������������������������������#########                         (100%)����������������������������������������##########                        (100%)����������������������������������������###########                       (100%)����������������������������������������############                      (100%)����������������������������������������#############                     (100%)����������������������������������������##############                    (100%)����������������������������������������###############                   (100%)����������������������������������������################                  (100%)����������������������������������������#################                 (100%)����������������������������������������##################                (100%)����������������������������������������###################               (100%)����������������������������������������####################              (100%)����������������������������������������#####################             (100%)����������������������������������������######################            (100%)����������������������������������������#######################           (100%)����������������������������������������########################          (100%)����������������������������������������#########################         (100%)����������������������������������������##########################        (100%)����������������������������������������###########################       (100%)����������������������������������������############################      (100%)����������������������������������������#############################     (100%)����������������������������������������##############################    (100%)����������������������������������������###############################   (100%)����������������������������������������################################  (100%)����������������������������������������################################# (100%)����������������������������������������################################# [100%]
I, [2015-07-14T22:06:57.771245 #47672]  INFO -- replicaset-centos-70: Updating / installing...
I, [2015-07-14T22:07:01.153904 #47672]  INFO -- replicaset-centos-70:                            (  2%)����������������������������������������#                                 (  4%)����������������������������������������##                                (  7%)����������������������������������������###                               ( 10%)����������������������������������������####                              ( 13%)����������������������������������������#####                             ( 16%)����������������������������������������######                            ( 19%)����������������������������������������#######                           ( 22%)����������������������������������������########                          ( 25%)����������������������������������������#########                         ( 28%)����������������������������������������##########                        ( 31%)����������������������������������������###########                       ( 34%)����������������������������������������############                      ( 37%)����������������������������������������#############                     ( 40%)����������������������������������������##############                    ( 43%)����������������������������������������###############                   ( 46%)����������������������������������������################                  ( 49%)����������������������������������������#################                 ( 52%)����������������������������������������##################                ( 54%)����������������������������������������###################               ( 57%)����������������������������������������####################              ( 60%)����������������������������������������#####################             ( 63%)����������������������������������������######################            ( 66%)����������������������������������������#######################           ( 69%)����������������������������������������########################          ( 72%)����������������������������������������#########################         ( 75%)����������������������������������������##########################        ( 78%)����������������������������������������###########################       ( 81%)����������������������������������������############################      ( 84%)����������������������������������������#############################     ( 87%)����������������������������������������##############################    ( 90%)����������������������������������������###############################   ( 93%)����������������������������������������################################  ( 96%)����������������������������������������################################# ( 99%)����������������������������������������################################# [100%]
I, [2015-07-14T22:07:01.514229 #47672]  INFO -- replicaset-centos-70: Thank you for installing Chef!
I, [2015-07-14T22:07:01.601410 #47672]  INFO -- replicaset-centos-70: Transferring files to <replicaset-centos-70>
I, [2015-07-14T22:07:03.023105 #47672]  INFO -- replicaset-centos-70: [2015-07-15T02:07:03+00:00] WARN: 
I, [2015-07-14T22:07:03.023438 #47672]  INFO -- replicaset-centos-70: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
I, [2015-07-14T22:07:03.023471 #47672]  INFO -- replicaset-centos-70: SSL validation of HTTPS requests is disabled. HTTPS connections are still
I, [2015-07-14T22:07:03.023490 #47672]  INFO -- replicaset-centos-70: encrypted, but chef is not able to detect forged replies or man in the middle
I, [2015-07-14T22:07:03.023506 #47672]  INFO -- replicaset-centos-70: attacks.
I, [2015-07-14T22:07:03.023520 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:07:03.023535 #47672]  INFO -- replicaset-centos-70: To fix this issue add an entry like this to your configuration file:
I, [2015-07-14T22:07:03.023550 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:07:03.023564 #47672]  INFO -- replicaset-centos-70: ```
I, [2015-07-14T22:07:03.023579 #47672]  INFO -- replicaset-centos-70:   # Verify all HTTPS connections (recommended)
I, [2015-07-14T22:07:03.023592 #47672]  INFO -- replicaset-centos-70:   ssl_verify_mode :verify_peer
I, [2015-07-14T22:07:03.023606 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:07:03.023620 #47672]  INFO -- replicaset-centos-70:   # OR, Verify only connections to chef-server
I, [2015-07-14T22:07:03.023634 #47672]  INFO -- replicaset-centos-70:   verify_api_cert true
I, [2015-07-14T22:07:03.023648 #47672]  INFO -- replicaset-centos-70: ```
I, [2015-07-14T22:07:03.023662 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:07:03.023675 #47672]  INFO -- replicaset-centos-70: To check your SSL configuration, or troubleshoot errors, you can use the
I, [2015-07-14T22:07:03.023690 #47672]  INFO -- replicaset-centos-70: `knife ssl check` command like so:
I, [2015-07-14T22:07:03.023704 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:07:03.023717 #47672]  INFO -- replicaset-centos-70: ```
I, [2015-07-14T22:07:03.023748 #47672]  INFO -- replicaset-centos-70:   knife ssl check -c /tmp/kitchen/client.rb
I, [2015-07-14T22:07:03.023764 #47672]  INFO -- replicaset-centos-70: ```
I, [2015-07-14T22:07:03.023778 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:07:03.023792 #47672]  INFO -- replicaset-centos-70: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
I, [2015-07-14T22:07:03.023807 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:07:03.023821 #47672]  INFO -- replicaset-centos-70: Starting Chef Client, version 11.12.8
I, [2015-07-14T22:07:09.772706 #47672]  INFO -- replicaset-centos-70: Creating a new client identity for replicaset-centos-70 using the validator key.
I, [2015-07-14T22:07:10.010083 #47672]  INFO -- replicaset-centos-70: resolving cookbooks for run list: ["yum", "yum-epel", "mongodb::replicaset"]
I, [2015-07-14T22:07:10.385164 #47672]  INFO -- replicaset-centos-70: Synchronizing Cookbooks:
I, [2015-07-14T22:07:10.495689 #47672]  INFO -- replicaset-centos-70:   - yum
I, [2015-07-14T22:07:10.654177 #47672]  INFO -- replicaset-centos-70:   - yum-epel
I, [2015-07-14T22:07:11.020862 #47672]  INFO -- replicaset-centos-70:   - mongodb
I, [2015-07-14T22:07:11.258536 #47672]  INFO -- replicaset-centos-70:   - apt
I, [2015-07-14T22:07:11.440792 #47672]  INFO -- replicaset-centos-70:   - python
I, [2015-07-14T22:07:11.707061 #47672]  INFO -- replicaset-centos-70:   - build-essential
I, [2015-07-14T22:07:11.707117 #47672]  INFO -- replicaset-centos-70: Compiling Cookbooks...
I, [2015-07-14T22:07:11.727927 #47672]  INFO -- replicaset-centos-70: [2015-07-15T02:07:11+00:00] WARN: CentOS doesn't provide mongodb, forcing use of mongodb-org repo
I, [2015-07-14T22:07:11.816020 #47672]  INFO -- replicaset-centos-70: [2015-07-15T02:07:11+00:00] WARN: 10gen_repo is deprecated, use mongodb_org_repo
I, [2015-07-14T22:07:11.816082 #47672]  INFO -- replicaset-centos-70: [2015-07-15T02:07:11+00:00] WARN: Cloning resource attributes for template[/etc/mongodb.conf] from prior resource (CHEF-3694)
I, [2015-07-14T22:07:11.816102 #47672]  INFO -- replicaset-centos-70: [2015-07-15T02:07:11+00:00] WARN: Previous template[/etc/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:14:in `from_file'
I, [2015-07-14T22:07:11.816118 #47672]  INFO -- replicaset-centos-70: [2015-07-15T02:07:11+00:00] WARN: Current  template[/etc/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:139:in `block in from_file'
I, [2015-07-14T22:07:11.832471 #47672]  INFO -- replicaset-centos-70: [2015-07-15T02:07:11+00:00] WARN: Cloning resource attributes for execute[mongodb-systemctl-daemon-reload] from prior resource (CHEF-3694)
I, [2015-07-14T22:07:11.832529 #47672]  INFO -- replicaset-centos-70: [2015-07-15T02:07:11+00:00] WARN: Previous execute[mongodb-systemctl-daemon-reload]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:37:in `from_file'
I, [2015-07-14T22:07:11.832549 #47672]  INFO -- replicaset-centos-70: [2015-07-15T02:07:11+00:00] WARN: Current  execute[mongodb-systemctl-daemon-reload]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:174:in `block in from_file'
I, [2015-07-14T22:07:11.832566 #47672]  INFO -- replicaset-centos-70: [2015-07-15T02:07:11+00:00] WARN: Cloning resource attributes for template[/etc/init.d/mongod] from prior resource (CHEF-3694)
I, [2015-07-14T22:07:11.832581 #47672]  INFO -- replicaset-centos-70: [2015-07-15T02:07:11+00:00] WARN: Previous template[/etc/init.d/mongod]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:42:in `from_file'
I, [2015-07-14T22:07:11.832596 #47672]  INFO -- replicaset-centos-70: [2015-07-15T02:07:11+00:00] WARN: Current  template[/etc/init.d/mongod]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:180:in `block in from_file'
I, [2015-07-14T22:07:11.841283 #47672]  INFO -- replicaset-centos-70: Converging 18 resources
I, [2015-07-14T22:07:11.841336 #47672]  INFO -- replicaset-centos-70: Recipe: yum::default
I, [2015-07-14T22:07:11.841366 #47672]  INFO -- replicaset-centos-70:   * yum_globalconfig[/etc/yum.conf] action createRecipe: <Dynamically Defined Resource>
I, [2015-07-14T22:07:11.864209 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:07:11.864269 #47672]  INFO -- replicaset-centos-70:     - update content in file /etc/yum.conf from 08310b to 31c39a
I, [2015-07-14T22:07:11.864299 #47672]  INFO -- replicaset-centos-70:  --- /etc/yum.conf    2014-06-27 11:07:01.000000000 +0000
I, [2015-07-14T22:07:11.864322 #47672]  INFO -- replicaset-centos-70:  +++ /tmp/chef-rendered-template20150715-17005-sa596z 2015-07-15 02:07:11.875764602 +0000
I, [2015-07-14T22:07:11.864342 #47672]  INFO -- replicaset-centos-70:  @@ -1,27 +1,15 @@
I, [2015-07-14T22:07:11.864361 #47672]  INFO -- replicaset-centos-70:  +# This file was generated by Chef
I, [2015-07-14T22:07:11.864380 #47672]  INFO -- replicaset-centos-70:  +# Do NOT modify this file by hand.
I, [2015-07-14T22:07:11.864399 #47672]  INFO -- replicaset-centos-70:  +
I, [2015-07-14T22:07:11.864417 #47672]  INFO -- replicaset-centos-70:   [main]
I, [2015-07-14T22:07:11.864436 #47672]  INFO -- replicaset-centos-70:   cachedir=/var/cache/yum/$basearch/$releasever
I, [2015-07-14T22:07:11.864454 #47672]  INFO -- replicaset-centos-70:  -keepcache=0
I, [2015-07-14T22:07:11.864480 #47672]  INFO -- replicaset-centos-70:   debuglevel=2
I, [2015-07-14T22:07:11.864497 #47672]  INFO -- replicaset-centos-70:  -logfile=/var/log/yum.log
I, [2015-07-14T22:07:11.864513 #47672]  INFO -- replicaset-centos-70:  +distroverpkg=centos-release
I, [2015-07-14T22:07:11.864530 #47672]  INFO -- replicaset-centos-70:   exactarch=1
I, [2015-07-14T22:07:11.864547 #47672]  INFO -- replicaset-centos-70:  -obsoletes=1
I, [2015-07-14T22:07:11.864563 #47672]  INFO -- replicaset-centos-70:   gpgcheck=1
I, [2015-07-14T22:07:11.864581 #47672]  INFO -- replicaset-centos-70:  +installonly_limit=3
I, [2015-07-14T22:07:11.864597 #47672]  INFO -- replicaset-centos-70:  +keepcache=0
I, [2015-07-14T22:07:11.864613 #47672]  INFO -- replicaset-centos-70:  +logfile=/var/log/yum.log
I, [2015-07-14T22:07:11.864630 #47672]  INFO -- replicaset-centos-70:  +obsoletes=1
I, [2015-07-14T22:07:11.864646 #47672]  INFO -- replicaset-centos-70:   plugins=1
I, [2015-07-14T22:07:11.864663 #47672]  INFO -- replicaset-centos-70:  -installonly_limit=5
I, [2015-07-14T22:07:11.864680 #47672]  INFO -- replicaset-centos-70:  -bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum
I, [2015-07-14T22:07:11.864698 #47672]  INFO -- replicaset-centos-70:  -distroverpkg=centos-release
I, [2015-07-14T22:07:11.864715 #47672]  INFO -- replicaset-centos-70:  -
I, [2015-07-14T22:07:11.864731 #47672]  INFO -- replicaset-centos-70:  -
I, [2015-07-14T22:07:11.864749 #47672]  INFO -- replicaset-centos-70:  -#  This is the default, if you make this bigger yum won't see if the metadata
I, [2015-07-14T22:07:11.864767 #47672]  INFO -- replicaset-centos-70:  -# is newer on the remote and so you'll "gain" the bandwidth of not having to
I, [2015-07-14T22:07:11.864785 #47672]  INFO -- replicaset-centos-70:  -# download the new metadata and "pay" for it by yum not having correct
I, [2015-07-14T22:07:11.864803 #47672]  INFO -- replicaset-centos-70:  -# information.
I, [2015-07-14T22:07:11.864820 #47672]  INFO -- replicaset-centos-70:  -#  It is esp. important, to have correct metadata, for distributions like
I, [2015-07-14T22:07:11.864838 #47672]  INFO -- replicaset-centos-70:  -# Fedora which don't keep old packages around. If you don't like this checking
I, [2015-07-14T22:07:11.864856 #47672]  INFO -- replicaset-centos-70:  -# interupting your command line usage, it's much better to have something
I, [2015-07-14T22:07:11.864874 #47672]  INFO -- replicaset-centos-70:  -# manually check the metadata once an hour (yum-updatesd will do this).
I, [2015-07-14T22:07:11.864891 #47672]  INFO -- replicaset-centos-70:  -# metadata_expire=90m
I, [2015-07-14T22:07:11.864908 #47672]  INFO -- replicaset-centos-70:  -
I, [2015-07-14T22:07:11.864925 #47672]  INFO -- replicaset-centos-70:  -# PUT YOUR REPOS HERE OR IN separate files named file.repo
I, [2015-07-14T22:07:12.007341 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:07:12.007406 #47672]  INFO -- replicaset-centos-70:     - restore selinux security context
I, [2015-07-14T22:07:12.007430 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:07:12.007449 #47672]  INFO -- replicaset-centos-70: Recipe: yum-epel::default
I, [2015-07-14T22:07:12.007468 #47672]  INFO -- replicaset-centos-70:   * yum_repository[epel] action createRecipe: <Dynamically Defined Resource>
I, [2015-07-14T22:07:12.041005 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:07:12.043459 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:07:12.043503 #47672]  INFO -- replicaset-centos-70:     - update content in file /etc/yum.repos.d/epel.repo from none to 19be5f
I, [2015-07-14T22:07:12.043532 #47672]  INFO -- replicaset-centos-70:  --- /etc/yum.repos.d/epel.repo   2015-07-15 02:07:12.055764595 +0000
I, [2015-07-14T22:07:12.043554 #47672]  INFO -- replicaset-centos-70:  +++ /tmp/chef-rendered-template20150715-17005-woalzb 2015-07-15 02:07:12.056764595 +0000
I, [2015-07-14T22:07:12.043574 #47672]  INFO -- replicaset-centos-70:  @@ -1 +1,11 @@
I, [2015-07-14T22:07:12.043593 #47672]  INFO -- replicaset-centos-70:  +# This file was generated by Chef
I, [2015-07-14T22:07:12.043612 #47672]  INFO -- replicaset-centos-70:  +# Do NOT modify this file by hand.
I, [2015-07-14T22:07:12.043630 #47672]  INFO -- replicaset-centos-70:  +
I, [2015-07-14T22:07:12.043649 #47672]  INFO -- replicaset-centos-70:  +[epel]
I, [2015-07-14T22:07:12.043668 #47672]  INFO -- replicaset-centos-70:  +name=Extra Packages for Enterprise Linux 7 - $basearch
I, [2015-07-14T22:07:12.043687 #47672]  INFO -- replicaset-centos-70:  +enabled=1
I, [2015-07-14T22:07:12.043705 #47672]  INFO -- replicaset-centos-70:  +failovermethod=priority
I, [2015-07-14T22:07:12.043723 #47672]  INFO -- replicaset-centos-70:  +gpgcheck=1
I, [2015-07-14T22:07:12.043741 #47672]  INFO -- replicaset-centos-70:  +gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
I, [2015-07-14T22:07:12.043760 #47672]  INFO -- replicaset-centos-70:  +mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
I, [2015-07-14T22:07:12.083671 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:07:12.083747 #47672]  INFO -- replicaset-centos-70:     - restore selinux security context
I, [2015-07-14T22:07:12.555385 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:07:12.555458 #47672]  INFO -- replicaset-centos-70:     - execute yum clean all --disablerepo=* --enablerepo=epel
I, [2015-07-14T22:07:59.555813 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:07:59.555874 #47672]  INFO -- replicaset-centos-70:     - execute yum -q -y makecache --disablerepo=* --enablerepo=epel
I, [2015-07-14T22:07:59.555903 #47672]  INFO -- replicaset-centos-70:   * ruby_block[yum-cache-reload-epel] action create
I, [2015-07-14T22:07:59.555922 #47672]  INFO -- replicaset-centos-70:     - execute the ruby block yum-cache-reload-epel
I, [2015-07-14T22:07:59.555937 #47672]  INFO -- replicaset-centos-70:   * execute[yum clean epel] action nothing (skipped due to action :nothing)
I, [2015-07-14T22:07:59.555952 #47672]  INFO -- replicaset-centos-70:   * execute[yum-makecache-epel] action nothing (skipped due to action :nothing)
I, [2015-07-14T22:07:59.555966 #47672]  INFO -- replicaset-centos-70:   * ruby_block[yum-cache-reload-epel] action nothing (skipped due to action :nothing)
I, [2015-07-14T22:07:59.555980 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:07:59.555994 #47672]  INFO -- replicaset-centos-70: Recipe: mongodb::mongodb_org_repo
I, [2015-07-14T22:07:59.556008 #47672]  INFO -- replicaset-centos-70:   * yum_repository[mongodb] action createRecipe: <Dynamically Defined Resource>
I, [2015-07-14T22:07:59.556022 #47672]  INFO -- replicaset-centos-70:   * template[/etc/yum.repos.d/mongodb.repo] action create
I, [2015-07-14T22:07:59.556036 #47672]  INFO -- replicaset-centos-70:     - create new file /etc/yum.repos.d/mongodb.repo
I, [2015-07-14T22:07:59.556071 #47672]  INFO -- replicaset-centos-70:     - update content in file /etc/yum.repos.d/mongodb.repo from none to bf24c8
I, [2015-07-14T22:07:59.556096 #47672]  INFO -- replicaset-centos-70:  --- /etc/yum.repos.d/mongodb.repo    2015-07-15 02:07:59.568762914 +0000
I, [2015-07-14T22:07:59.556116 #47672]  INFO -- replicaset-centos-70:  +++ /tmp/chef-rendered-template20150715-17005-1pxnqhp    2015-07-15 02:07:59.570762914 +0000
I, [2015-07-14T22:07:59.556134 #47672]  INFO -- replicaset-centos-70:  @@ -1 +1,9 @@
I, [2015-07-14T22:07:59.556151 #47672]  INFO -- replicaset-centos-70:  +# This file was generated by Chef
I, [2015-07-14T22:07:59.556168 #47672]  INFO -- replicaset-centos-70:  +# Do NOT modify this file by hand.
I, [2015-07-14T22:07:59.556184 #47672]  INFO -- replicaset-centos-70:  +
I, [2015-07-14T22:07:59.556200 #47672]  INFO -- replicaset-centos-70:  +[mongodb]
I, [2015-07-14T22:07:59.556217 #47672]  INFO -- replicaset-centos-70:  +name=mongodb RPM Repository
I, [2015-07-14T22:07:59.556233 #47672]  INFO -- replicaset-centos-70:  +baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64
I, [2015-07-14T22:07:59.556250 #47672]  INFO -- replicaset-centos-70:  +enabled=1
I, [2015-07-14T22:07:59.556266 #47672]  INFO -- replicaset-centos-70:  +gpgcheck=0
I, [2015-07-14T22:07:59.618613 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:07:59.618676 #47672]  INFO -- replicaset-centos-70:     - restore selinux security context
I, [2015-07-14T22:07:59.813355 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:07:59.813430 #47672]  INFO -- replicaset-centos-70:     - execute yum clean all --disablerepo=* --enablerepo=mongodb
I, [2015-07-14T22:08:11.561513 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:08:11.561584 #47672]  INFO -- replicaset-centos-70:     - execute yum -q -y makecache --disablerepo=* --enablerepo=mongodb
I, [2015-07-14T22:08:11.561614 #47672]  INFO -- replicaset-centos-70:   * ruby_block[yum-cache-reload-mongodb] action create
I, [2015-07-14T22:08:11.561639 #47672]  INFO -- replicaset-centos-70:     - execute the ruby block yum-cache-reload-mongodb
I, [2015-07-14T22:08:11.561662 #47672]  INFO -- replicaset-centos-70:   * execute[yum clean mongodb] action nothing (skipped due to action :nothing)
I, [2015-07-14T22:08:11.561683 #47672]  INFO -- replicaset-centos-70:   * execute[yum-makecache-mongodb] action nothing (skipped due to action :nothing)
I, [2015-07-14T22:08:11.561704 #47672]  INFO -- replicaset-centos-70:   * ruby_block[yum-cache-reload-mongodb] action nothing (skipped due to action :nothing)
I, [2015-07-14T22:08:11.561725 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:08:11.561746 #47672]  INFO -- replicaset-centos-70: Recipe: mongodb::install
I, [2015-07-14T22:08:11.565651 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:08:11.565720 #47672]  INFO -- replicaset-centos-70:     - create new file /etc/sysconfig/mongodb
I, [2015-07-14T22:08:11.565745 #47672]  INFO -- replicaset-centos-70:     - update content in file /etc/sysconfig/mongodb from none to a35762
I, [2015-07-14T22:08:11.565777 #47672]  INFO -- replicaset-centos-70:  --- /etc/sysconfig/mongodb   2015-07-15 02:08:11.578762489 +0000
I, [2015-07-14T22:08:11.565804 #47672]  INFO -- replicaset-centos-70:  +++ /tmp/.mongodb20150715-17005-18exk0n  2015-07-15 02:08:11.579762489 +0000
I, [2015-07-14T22:08:11.565828 #47672]  INFO -- replicaset-centos-70:  @@ -1 +1,2 @@
I, [2015-07-14T22:08:11.565851 #47672]  INFO -- replicaset-centos-70:  +ENABLE_MONGODB=no
I, [2015-07-14T22:08:11.565870 #47672]  INFO -- replicaset-centos-70:     - change mode from '' to '0644'
I, [2015-07-14T22:08:11.565889 #47672]  INFO -- replicaset-centos-70:     - change owner from '' to 'root'
I, [2015-07-14T22:08:11.631025 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:08:11.631097 #47672]  INFO -- replicaset-centos-70:     - restore selinux security context
I, [2015-07-14T22:08:11.645571 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:08:11.646493 #47672]  INFO -- replicaset-centos-70:     - create new file /etc/mongodb.conf
I, [2015-07-14T22:08:11.646532 #47672]  INFO -- replicaset-centos-70:     - update content in file /etc/mongodb.conf from none to 58e508
I, [2015-07-14T22:08:11.646561 #47672]  INFO -- replicaset-centos-70:  --- /etc/mongodb.conf    2015-07-15 02:08:11.659762486 +0000
I, [2015-07-14T22:08:11.646583 #47672]  INFO -- replicaset-centos-70:  +++ /tmp/chef-rendered-template20150715-17005-1u0u0gb    2015-07-15 02:08:11.659762486 +0000
I, [2015-07-14T22:08:11.646604 #47672]  INFO -- replicaset-centos-70:  @@ -1 +1,16 @@
I, [2015-07-14T22:08:11.646622 #47672]  INFO -- replicaset-centos-70:  +#
I, [2015-07-14T22:08:11.646641 #47672]  INFO -- replicaset-centos-70:  +# Automatically Generated by Chef, do not edit directly!
I, [2015-07-14T22:08:11.646660 #47672]  INFO -- replicaset-centos-70:  +#
I, [2015-07-14T22:08:11.646677 #47672]  INFO -- replicaset-centos-70:  +
I, [2015-07-14T22:08:11.646695 #47672]  INFO -- replicaset-centos-70:  +bind_ip = 0.0.0.0
I, [2015-07-14T22:08:11.646712 #47672]  INFO -- replicaset-centos-70:  +dbpath = /var/lib/mongodb
I, [2015-07-14T22:08:11.646730 #47672]  INFO -- replicaset-centos-70:  +fork = true
I, [2015-07-14T22:08:11.646747 #47672]  INFO -- replicaset-centos-70:  +logappend = true
I, [2015-07-14T22:08:11.646765 #47672]  INFO -- replicaset-centos-70:  +logpath = /var/log/mongodb/mongodb.log
I, [2015-07-14T22:08:11.646782 #47672]  INFO -- replicaset-centos-70:  +nojournal = false
I, [2015-07-14T22:08:11.646799 #47672]  INFO -- replicaset-centos-70:  +pidfilepath = /var/run/mongodb/mongodb.pid
I, [2015-07-14T22:08:11.646816 #47672]  INFO -- replicaset-centos-70:  +port = 27017
I, [2015-07-14T22:08:11.646833 #47672]  INFO -- replicaset-centos-70:  +replSet = kitchen
I, [2015-07-14T22:08:11.646850 #47672]  INFO -- replicaset-centos-70:  +rest = false
I, [2015-07-14T22:08:11.646868 #47672]  INFO -- replicaset-centos-70:  +smallfiles = false
I, [2015-07-14T22:08:11.646883 #47672]  INFO -- replicaset-centos-70:     - change mode from '' to '0644'
I, [2015-07-14T22:08:11.646897 #47672]  INFO -- replicaset-centos-70:     - change owner from '' to 'root'
I, [2015-07-14T22:08:11.707182 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:08:11.707258 #47672]  INFO -- replicaset-centos-70:     - restore selinux security context
I, [2015-07-14T22:08:11.707287 #47672]  INFO -- replicaset-centos-70:   * execute[mongodb-systemctl-daemon-reload] action nothing (skipped due to action :nothing)
I, [2015-07-14T22:08:11.736086 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:08:11.736159 #47672]  INFO -- replicaset-centos-70:     - create new file /etc/init.d/mongod
I, [2015-07-14T22:08:11.736187 #47672]  INFO -- replicaset-centos-70:     - update content in file /etc/init.d/mongod from none to 7d67f0
I, [2015-07-14T22:08:11.736223 #47672]  INFO -- replicaset-centos-70:  --- /etc/init.d/mongod   2015-07-15 02:08:11.742762483 +0000
I, [2015-07-14T22:08:11.736253 #47672]  INFO -- replicaset-centos-70:  +++ /tmp/chef-rendered-template20150715-17005-66nkls 2015-07-15 02:08:11.743762483 +0000
I, [2015-07-14T22:08:11.736281 #47672]  INFO -- replicaset-centos-70:  @@ -1 +1,107 @@
I, [2015-07-14T22:08:11.736308 #47672]  INFO -- replicaset-centos-70:  +#!/bin/bash
I, [2015-07-14T22:08:11.736334 #47672]  INFO -- replicaset-centos-70:  +
I, [2015-07-14T22:08:11.736361 #47672]  INFO -- replicaset-centos-70:  +# mongod - Startup script for mongod
I, [2015-07-14T22:08:11.736387 #47672]  INFO -- replicaset-centos-70:  +
I, [2015-07-14T22:08:11.736415 #47672]  INFO -- replicaset-centos-70:  +# chkconfig: 35 85 15
I, [2015-07-14T22:08:11.736442 #47672]  INFO -- replicaset-centos-70:  +# description: Mongo is a scalable, document-oriented database.
I, [2015-07-14T22:08:11.736468 #47672]  INFO -- replicaset-centos-70:  +# processname: mongod
I, [2015-07-14T22:08:11.736494 #47672]  INFO -- replicaset-centos-70:  +# config: /etc/mongodb.conf
I, [2015-07-14T22:08:11.736519 #47672]  INFO -- replicaset-centos-70:  +
I, [2015-07-14T22:08:11.736544 #47672]  INFO -- replicaset-centos-70:  +. /etc/rc.d/init.d/functions
I, [2015-07-14T22:08:11.736595 #47672]  INFO -- replicaset-centos-70:  +
I, [2015-07-14T22:08:11.736624 #47672]  INFO -- replicaset-centos-70:  +NAME=mongod
I, [2015-07-14T22:08:11.736650 #47672]  INFO -- replicaset-centos-70:  +SYSCONFIG=/etc/sysconfig/mongodb
I, [2015-07-14T22:08:11.736676 #47672]  INFO -- replicaset-centos-70:  +DAEMON_USER=mongod
I, [2015-07-14T22:08:11.736701 #47672]  INFO -- replicaset-centos-70:  +ENABLE_MONGODB=yes
I, [2015-07-14T22:08:11.736727 #47672]  INFO -- replicaset-centos-70:  +
I, [2015-07-14T22:08:11.736752 #47672]  INFO -- replicaset-centos-70:  +SUBSYS_LOCK_FILE=/var/lock/subsys/mongod
I, [2015-07-14T22:08:11.736778 #47672]  INFO -- replicaset-centos-70:  +
I, [2015-07-14T22:08:11.736805 #47672]  INFO -- replicaset-centos-70:  +if [ -f "$SYSCONFIG" ]; then
I, [2015-07-14T22:08:11.736831 #47672]  INFO -- replicaset-centos-70:  +    . "$SYSCONFIG"
I, [2015-07-14T22:08:11.736860 #47672]  INFO -- replicaset-centos-70:  +fi
I, [2015-07-14T22:08:11.736902 #47672]  INFO -- replicaset-centos-70:  +
I, [2015-07-14T22:08:11.736939 #47672]  INFO -- replicaset-centos-70:  +# FIXME: 1.9.x has a --shutdown flag that parses the config file and
I, [2015-07-14T22:08:11.736965 #47672]  INFO -- replicaset-centos-70:  +# shuts down the correct running pid, but that's unavailable in 1.8
I, [2015-07-14T22:08:11.736989 #47672]  INFO -- replicaset-centos-70:  +# for now.  This can go away when this script stops supporting 1.8.
I, [2015-07-14T22:08:11.737012 #47672]  INFO -- replicaset-centos-70:  +DBPATH=`awk -F= '/^dbpath[[:blank:]]*=[[:blank:]]*/{print $2}' "$CONFIGFILE"`
I, [2015-07-14T22:08:11.737036 #47672]  INFO -- replicaset-centos-70:  +PIDFILE=`awk -F= '/^pidfilepath[[:blank:]]*=[[:blank:]]*/{print $2}' "$CONFIGFILE"`
I, [2015-07-14T22:08:11.737059 #47672]  INFO -- replicaset-centos-70:  +
I, [2015-07-14T22:08:11.737082 #47672]  INFO -- replicaset-centos-70:  +# Handle NUMA access to CPUs (SERVER-3574)
I, [2015-07-14T22:08:11.737105 #47672]  INFO -- replicaset-centos-70:  +# This verifies the existence of numactl as well as testing that the command works
I, [2015-07-14T22:08:11.737129 #47672]  INFO -- replicaset-centos-70:  +NUMACTL_ARGS="--interleave=all"
I, [2015-07-14T22:08:11.737152 #47672]  INFO -- replicaset-centos-70:  +if which numactl >/dev/null 2>/dev/null && numactl $NUMACTL_ARGS ls / >/dev/null 2>/dev/null
I, [2015-07-14T22:08:11.737174 #47672]  INFO -- replicaset-centos-70:  +then
I, [2015-07-14T22:08:11.737197 #47672]  INFO -- replicaset-centos-70:  +    NUMACTL="numactl $NUMACTL_ARGS"
I, [2015-07-14T22:08:11.737220 #47672]  INFO -- replicaset-centos-70:  +else
I, [2015-07-14T22:08:11.737242 #47672]  INFO -- replicaset-centos-70:  +    NUMACTL=""
I, [2015-07-14T22:08:11.737264 #47672]  INFO -- replicaset-centos-70:  +fi
I, [2015-07-14T22:08:11.737286 #47672]  INFO -- replicaset-centos-70:  +
I, [2015-07-14T22:08:11.737309 #47672]  INFO -- replicaset-centos-70:  +start()
I, [2015-07-14T22:08:11.737331 #47672]  INFO -- replicaset-centos-70:  +{
I, [2015-07-14T22:08:11.737354 #47672]  INFO -- replicaset-centos-70:  +  ulimit -f unlimited
I, [2015-07-14T22:08:11.737377 #47672]  INFO -- replicaset-centos-70:  +  ulimit -t unlimited
I, [2015-07-14T22:08:11.737399 #47672]  INFO -- replicaset-centos-70:  +  ulimit -v unlimited
I, [2015-07-14T22:08:11.737421 #47672]  INFO -- replicaset-centos-70:  +  ulimit -n 64000
I, [2015-07-14T22:08:11.737443 #47672]  INFO -- replicaset-centos-70:  +  ulimit -m unlimited
I, [2015-07-14T22:08:11.737465 #47672]  INFO -- replicaset-centos-70:  +  ulimit -u 32000
I, [2015-07-14T22:08:11.737487 #47672]  INFO -- replicaset-centos-70:  +
I, [2015-07-14T22:08:11.737510 #47672]  INFO -- replicaset-centos-70:  +  echo -n $"Starting mongod: "
I, [2015-07-14T22:08:11.737533 #47672]  INFO -- replicaset-centos-70:  +  daemon --user "$DAEMON_USER" $NUMACTL $DAEMON $DAEMON_OPTS
I, [2015-07-14T22:08:11.737556 #47672]  INFO -- replicaset-centos-70:  +  RETVAL=$?
I, [2015-07-14T22:08:11.737578 #47672]  INFO -- replicaset-centos-70:  +  echo
I, [2015-07-14T22:08:11.737612 #47672]  INFO -- replicaset-centos-70:  +  [ $RETVAL -eq 0 ] && touch $SUBSYS_LOCK_FILE
I, [2015-07-14T22:08:11.737636 #47672]  INFO -- replicaset-centos-70:  +}
I, [2015-07-14T22:08:11.737658 #47672]  INFO -- replicaset-centos-70:  +
I, [2015-07-14T22:08:11.737681 #47672]  INFO -- replicaset-centos-70:  +stop()
I, [2015-07-14T22:08:11.737702 #47672]  INFO -- replicaset-centos-70:  +{
I, [2015-07-14T22:08:11.737725 #47672]  INFO -- replicaset-centos-70:  +  echo -n $"Stopping mongod: "
I, [2015-07-14T22:08:11.737748 #47672]  INFO -- replicaset-centos-70:  +  if test "x$PIDFILE" != "x"; then
I, [2015-07-14T22:08:11.737770 #47672]  INFO -- replicaset-centos-70:  +    killproc -p $PIDFILE -d 300 $DAEMON
I, [2015-07-14T22:08:11.737792 #47672]  INFO -- replicaset-centos-70:  +  else
I, [2015-07-14T22:08:11.737815 #47672]  INFO -- replicaset-centos-70:  +    killproc -d 300 $DAEMON
I, [2015-07-14T22:08:11.737837 #47672]  INFO -- replicaset-centos-70:  +  fi
I, [2015-07-14T22:08:11.737860 #47672]  INFO -- replicaset-centos-70:  +  RETVAL=$?
I, [2015-07-14T22:08:11.737882 #47672]  INFO -- replicaset-centos-70:  +  echo
I, [2015-07-14T22:08:11.737906 #47672]  INFO -- replicaset-centos-70:  +  [ $RETVAL -eq 0 ] && rm -f $SUBSYS_LOCK_FILE
I, [2015-07-14T22:08:11.737928 #47672]  INFO -- replicaset-centos-70:  +}
I, [2015-07-14T22:08:11.737951 #47672]  INFO -- replicaset-centos-70:  +
I, [2015-07-14T22:08:11.737974 #47672]  INFO -- replicaset-centos-70:  +restart () {
I, [2015-07-14T22:08:11.737996 #47672]  INFO -- replicaset-centos-70:  +  stop
I, [2015-07-14T22:08:11.738018 #47672]  INFO -- replicaset-centos-70:  +  start
I, [2015-07-14T22:08:11.738041 #47672]  INFO -- replicaset-centos-70:  +}
I, [2015-07-14T22:08:11.738063 #47672]  INFO -- replicaset-centos-70:  +
I, [2015-07-14T22:08:11.738085 #47672]  INFO -- replicaset-centos-70:  +RETVAL=0
I, [2015-07-14T22:08:11.738107 #47672]  INFO -- replicaset-centos-70:  +
I, [2015-07-14T22:08:11.738130 #47672]  INFO -- replicaset-centos-70:  +if test "x$ENABLE_MONGODB" != "xyes"; then
I, [2015-07-14T22:08:11.738153 #47672]  INFO -- replicaset-centos-70:  +    exit $RETVAL
I, [2015-07-14T22:08:11.738175 #47672]  INFO -- replicaset-centos-70:  +fi
I, [2015-07-14T22:08:11.738197 #47672]  INFO -- replicaset-centos-70:  +
I, [2015-07-14T22:08:11.738219 #47672]  INFO -- replicaset-centos-70:  +case "$1" in
I, [2015-07-14T22:08:11.738241 #47672]  INFO -- replicaset-centos-70:  +  start)
I, [2015-07-14T22:08:11.738264 #47672]  INFO -- replicaset-centos-70:  +    start
I, [2015-07-14T22:08:11.738286 #47672]  INFO -- replicaset-centos-70:  +    ;;
I, [2015-07-14T22:08:11.738308 #47672]  INFO -- replicaset-centos-70:  +  stop)
I, [2015-07-14T22:08:11.738330 #47672]  INFO -- replicaset-centos-70:  +    stop
I, [2015-07-14T22:08:11.738353 #47672]  INFO -- replicaset-centos-70:  +    ;;
I, [2015-07-14T22:08:11.738376 #47672]  INFO -- replicaset-centos-70:  +  restart|reload|force-reload)
I, [2015-07-14T22:08:11.738399 #47672]  INFO -- replicaset-centos-70:  +    restart
I, [2015-07-14T22:08:11.738421 #47672]  INFO -- replicaset-centos-70:  +    ;;
I, [2015-07-14T22:08:11.738444 #47672]  INFO -- replicaset-centos-70:  +  condrestart)
I, [2015-07-14T22:08:11.738467 #47672]  INFO -- replicaset-centos-70:  +    [ -f $SUBSYS_LOCK_FILE ] && restart || :
I, [2015-07-14T22:08:11.738490 #47672]  INFO -- replicaset-centos-70:  +    ;;
I, [2015-07-14T22:08:11.738512 #47672]  INFO -- replicaset-centos-70:  +  status)
I, [2015-07-14T22:08:11.738535 #47672]  INFO -- replicaset-centos-70:  +    if test "x$PIDFILE" != "x"; then
I, [2015-07-14T22:08:11.738558 #47672]  INFO -- replicaset-centos-70:  +      status -p $PIDFILE $DAEMON
I, [2015-07-14T22:08:11.738581 #47672]  INFO -- replicaset-centos-70:  +    else
I, [2015-07-14T22:08:11.738604 #47672]  INFO -- replicaset-centos-70:  +      status $DAEMON
I, [2015-07-14T22:08:11.738626 #47672]  INFO -- replicaset-centos-70:  +    fi
I, [2015-07-14T22:08:11.738648 #47672]  INFO -- replicaset-centos-70:  +    RETVAL=$?
I, [2015-07-14T22:08:11.738678 #47672]  INFO -- replicaset-centos-70:  +    ;;
I, [2015-07-14T22:08:11.738701 #47672]  INFO -- replicaset-centos-70:  +  *)
I, [2015-07-14T22:08:11.738724 #47672]  INFO -- replicaset-centos-70:  +    echo "Usage: $0 {start|stop|status|restart|reload|force-reload|condrestart}"
I, [2015-07-14T22:08:11.738747 #47672]  INFO -- replicaset-centos-70:  +    RETVAL=1
I, [2015-07-14T22:08:11.738769 #47672]  INFO -- replicaset-centos-70:  +esac
I, [2015-07-14T22:08:11.738792 #47672]  INFO -- replicaset-centos-70:  +
I, [2015-07-14T22:08:11.738814 #47672]  INFO -- replicaset-centos-70:  +exit $RETVAL
I, [2015-07-14T22:08:11.751917 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:08:11.751971 #47672]  INFO -- replicaset-centos-70:     - change mode from '' to '0755'
I, [2015-07-14T22:08:11.751989 #47672]  INFO -- replicaset-centos-70:     - change owner from '' to 'root'
I, [2015-07-14T22:08:11.796413 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:08:11.796489 #47672]  INFO -- replicaset-centos-70:     - restore selinux security context
I, [2015-07-14T22:08:11.796518 #47672]  INFO -- replicaset-centos-70: Recipe: mongodb::replicaset
I, [2015-07-14T22:08:12.037610 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:08:12.037702 #47672]  INFO -- replicaset-centos-70:     - execute systemctl daemon-reload
I, [2015-07-14T22:08:12.121670 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:08:12.121731 #47672]  INFO -- replicaset-centos-70:     - execute systemctl daemon-reload
I, [2015-07-14T22:08:12.121751 #47672]  INFO -- replicaset-centos-70: Recipe: mongodb::install
I, [2015-07-14T22:14:29.477119 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:14:29.477182 #47672]  INFO -- replicaset-centos-70:     - install version 2.6.10-1 of package mongodb-org
I, [2015-07-14T22:14:29.478353 #47672]  INFO -- replicaset-centos-70: Recipe: mongodb::replicaset
I, [2015-07-14T22:16:47.726373 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:47.726714 #47672]  INFO -- replicaset-centos-70: ================================================================================
I, [2015-07-14T22:16:47.726765 #47672]  INFO -- replicaset-centos-70: Error executing action `run` on resource 'ruby_block[chef_gem_at_converge_time]'
I, [2015-07-14T22:16:47.726794 #47672]  INFO -- replicaset-centos-70: ================================================================================
I, [2015-07-14T22:16:47.726817 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:47.726839 #47672]  INFO -- replicaset-centos-70: Gem::Installer::ExtensionBuildError
I, [2015-07-14T22:16:47.726861 #47672]  INFO -- replicaset-centos-70: -----------------------------------
I, [2015-07-14T22:16:47.726882 #47672]  INFO -- replicaset-centos-70: ERROR: Failed to build gem native extension.
I, [2015-07-14T22:16:47.726902 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:47.726935 #47672]  INFO -- replicaset-centos-70:  /opt/chef/embedded/bin/ruby extconf.rb
I, [2015-07-14T22:16:47.726958 #47672]  INFO -- replicaset-centos-70: checking for asprintf()... *** extconf.rb failed ***
I, [2015-07-14T22:16:47.726980 #47672]  INFO -- replicaset-centos-70: Could not create Makefile due to some reason, probably lack of
I, [2015-07-14T22:16:47.727001 #47672]  INFO -- replicaset-centos-70: necessary libraries and/or headers.  Check the mkmf.log file for more
I, [2015-07-14T22:16:47.727023 #47672]  INFO -- replicaset-centos-70: details.  You may need configuration options.
I, [2015-07-14T22:16:47.727043 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:47.727063 #47672]  INFO -- replicaset-centos-70: Provided configuration options:
I, [2015-07-14T22:16:47.727083 #47672]  INFO -- replicaset-centos-70:   --with-opt-dir
I, [2015-07-14T22:16:47.727103 #47672]  INFO -- replicaset-centos-70:   --with-opt-include
I, [2015-07-14T22:16:47.727124 #47672]  INFO -- replicaset-centos-70:   --without-opt-include=${opt-dir}/include
I, [2015-07-14T22:16:47.727144 #47672]  INFO -- replicaset-centos-70:   --with-opt-lib
I, [2015-07-14T22:16:47.727548 #47672]  INFO -- replicaset-centos-70:   --without-opt-lib=${opt-dir}/lib
I, [2015-07-14T22:16:47.727587 #47672]  INFO -- replicaset-centos-70:   --with-make-prog
I, [2015-07-14T22:16:47.727609 #47672]  INFO -- replicaset-centos-70:   --without-make-prog
I, [2015-07-14T22:16:47.727628 #47672]  INFO -- replicaset-centos-70:   --srcdir=.
I, [2015-07-14T22:16:47.727647 #47672]  INFO -- replicaset-centos-70:   --curdir
I, [2015-07-14T22:16:47.727666 #47672]  INFO -- replicaset-centos-70:   --ruby=/opt/chef/embedded/bin/ruby
I, [2015-07-14T22:16:47.727684 #47672]  INFO -- replicaset-centos-70: /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
I, [2015-07-14T22:16:47.727704 #47672]  INFO -- replicaset-centos-70: You have to install development tools first.
I, [2015-07-14T22:16:47.727722 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:461:in `try_link0'
I, [2015-07-14T22:16:47.727742 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:476:in `try_link'
I, [2015-07-14T22:16:47.727829 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:619:in `try_func'
I, [2015-07-14T22:16:47.727877 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:894:in `block in have_func'
I, [2015-07-14T22:16:47.727901 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:790:in `block in checking_for'
I, [2015-07-14T22:16:47.727921 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone'
I, [2015-07-14T22:16:47.727941 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
I, [2015-07-14T22:16:47.727961 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block in postpone'
I, [2015-07-14T22:16:47.727981 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
I, [2015-07-14T22:16:47.728000 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:280:in `postpone'
I, [2015-07-14T22:16:47.728019 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:789:in `checking_for'
I, [2015-07-14T22:16:47.728038 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:893:in `have_func'
I, [2015-07-14T22:16:47.728057 #47672]  INFO -- replicaset-centos-70:   from extconf.rb:3:in `<main>'
I, [2015-07-14T22:16:47.728075 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:47.728094 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:47.728115 #47672]  INFO -- replicaset-centos-70: Gem files will remain installed in /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/bson_ext-1.12.3 for inspection.
I, [2015-07-14T22:16:47.728135 #47672]  INFO -- replicaset-centos-70: Results logged to /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/bson_ext-1.12.3/ext/cbson/gem_make.out
I, [2015-07-14T22:16:47.728153 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:47.728172 #47672]  INFO -- replicaset-centos-70: Cookbook Trace:
I, [2015-07-14T22:16:47.728190 #47672]  INFO -- replicaset-centos-70: ---------------
I, [2015-07-14T22:16:47.728208 #47672]  INFO -- replicaset-centos-70: /tmp/kitchen/cache/cookbooks/mongodb/recipes/replicaset.rb:29:in `block (3 levels) in from_file'
I, [2015-07-14T22:16:47.728227 #47672]  INFO -- replicaset-centos-70: /tmp/kitchen/cache/cookbooks/mongodb/recipes/replicaset.rb:27:in `each'
I, [2015-07-14T22:16:47.728246 #47672]  INFO -- replicaset-centos-70: /tmp/kitchen/cache/cookbooks/mongodb/recipes/replicaset.rb:27:in `block (2 levels) in from_file'
I, [2015-07-14T22:16:47.728264 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:47.728281 #47672]  INFO -- replicaset-centos-70: Resource Declaration:
I, [2015-07-14T22:16:47.728299 #47672]  INFO -- replicaset-centos-70: ---------------------
I, [2015-07-14T22:16:47.728333 #47672]  INFO -- replicaset-centos-70: # In /tmp/kitchen/cache/cookbooks/mongodb/recipes/replicaset.rb
I, [2015-07-14T22:16:47.728355 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:47.728373 #47672]  INFO -- replicaset-centos-70:  25: ruby_block 'chef_gem_at_converge_time' do
I, [2015-07-14T22:16:47.728392 #47672]  INFO -- replicaset-centos-70:  26:   block do
I, [2015-07-14T22:16:47.728410 #47672]  INFO -- replicaset-centos-70:  27:     node['mongodb']['ruby_gems'].each do |gem, version|
I, [2015-07-14T22:16:47.728429 #47672]  INFO -- replicaset-centos-70:  28:       version = Gem::Dependency.new(gem, version)
I, [2015-07-14T22:16:47.728449 #47672]  INFO -- replicaset-centos-70:  29:       Chef::Provider::Package::Rubygems::GemEnvironment.new.install(version)
I, [2015-07-14T22:16:47.728468 #47672]  INFO -- replicaset-centos-70:  30:     end
I, [2015-07-14T22:16:47.728486 #47672]  INFO -- replicaset-centos-70:  31:   end
I, [2015-07-14T22:16:47.728504 #47672]  INFO -- replicaset-centos-70:  32: end
I, [2015-07-14T22:16:47.728521 #47672]  INFO -- replicaset-centos-70:  33: 
I, [2015-07-14T22:16:47.728539 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:47.728557 #47672]  INFO -- replicaset-centos-70: Compiled Resource:
I, [2015-07-14T22:16:47.728575 #47672]  INFO -- replicaset-centos-70: ------------------
I, [2015-07-14T22:16:47.728593 #47672]  INFO -- replicaset-centos-70: # Declared in /tmp/kitchen/cache/cookbooks/mongodb/recipes/replicaset.rb:25:in `from_file'
I, [2015-07-14T22:16:47.728611 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:47.728630 #47672]  INFO -- replicaset-centos-70: ruby_block("chef_gem_at_converge_time") do
I, [2015-07-14T22:16:47.728648 #47672]  INFO -- replicaset-centos-70:   action "run"
I, [2015-07-14T22:16:47.728666 #47672]  INFO -- replicaset-centos-70:   retries 0
I, [2015-07-14T22:16:47.728684 #47672]  INFO -- replicaset-centos-70:   retry_delay 2
I, [2015-07-14T22:16:47.728702 #47672]  INFO -- replicaset-centos-70:   guard_interpreter :default
I, [2015-07-14T22:16:47.728721 #47672]  INFO -- replicaset-centos-70:   block_name "chef_gem_at_converge_time"
I, [2015-07-14T22:16:47.728739 #47672]  INFO -- replicaset-centos-70:   cookbook_name "mongodb"
I, [2015-07-14T22:16:47.728757 #47672]  INFO -- replicaset-centos-70:   recipe_name "replicaset"
I, [2015-07-14T22:16:47.728775 #47672]  INFO -- replicaset-centos-70:   block #<Proc:0x00000002797488@/tmp/kitchen/cache/cookbooks/mongodb/recipes/replicaset.rb:26>
I, [2015-07-14T22:16:47.728794 #47672]  INFO -- replicaset-centos-70: end
I, [2015-07-14T22:16:47.728811 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:48.484004 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:48.484062 #47672]  INFO -- replicaset-centos-70:     - restart service service[mongod]
I, [2015-07-14T22:16:48.531442 #47672]  INFO -- replicaset-centos-70:       ** Notice: The native BSON extension was not loaded. **
I, [2015-07-14T22:16:48.531499 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:48.531519 #47672]  INFO -- replicaset-centos-70:       For optimal performance, use of the BSON extension is recommended.
I, [2015-07-14T22:16:48.531535 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:48.531550 #47672]  INFO -- replicaset-centos-70:       To enable the extension make sure ENV['BSON_EXT_DISABLED'] is not set
I, [2015-07-14T22:16:48.531564 #47672]  INFO -- replicaset-centos-70:       and run the following command:
I, [2015-07-14T22:16:48.531578 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:48.531601 #47672]  INFO -- replicaset-centos-70:  gem install bson_ext
I, [2015-07-14T22:16:48.531616 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:48.531630 #47672]  INFO -- replicaset-centos-70:       If you continue to receive this message after installing, make sure that
I, [2015-07-14T22:16:48.531644 #47672]  INFO -- replicaset-centos-70:       the bson_ext gem is in your load path.
I, [2015-07-14T22:16:48.531678 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:48.682895 #47672]  INFO -- replicaset-centos-70: [2015-07-15T02:16:48+00:00] WARN: Cannot configure replicaset 'kitchen', no member nodes found
I, [2015-07-14T22:16:48.682954 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:48.682974 #47672]  INFO -- replicaset-centos-70:     - execute the ruby block config_replicaset
I, [2015-07-14T22:16:48.682990 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:48.683005 #47672]  INFO -- replicaset-centos-70: Running handlers:
I, [2015-07-14T22:16:48.683020 #47672]  INFO -- replicaset-centos-70: [2015-07-15T02:16:48+00:00] ERROR: Running exception handlers
I, [2015-07-14T22:16:48.683035 #47672]  INFO -- replicaset-centos-70: Running handlers complete
I, [2015-07-14T22:16:48.683049 #47672]  INFO -- replicaset-centos-70: [2015-07-15T02:16:48+00:00] ERROR: Exception handlers complete
I, [2015-07-14T22:16:48.683063 #47672]  INFO -- replicaset-centos-70: [2015-07-15T02:16:48+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
I, [2015-07-14T22:16:48.683078 #47672]  INFO -- replicaset-centos-70: Chef Client failed. 20 resources updated in 585.685110562 seconds
I, [2015-07-14T22:16:48.760021 #47672]  INFO -- replicaset-centos-70: [2015-07-15T02:16:48+00:00] ERROR: ruby_block[chef_gem_at_converge_time] (mongodb::replicaset line 25) had an error: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
I, [2015-07-14T22:16:48.760109 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:48.760152 #47672]  INFO -- replicaset-centos-70:  /opt/chef/embedded/bin/ruby extconf.rb
I, [2015-07-14T22:16:48.760172 #47672]  INFO -- replicaset-centos-70: checking for asprintf()... *** extconf.rb failed ***
I, [2015-07-14T22:16:48.760190 #47672]  INFO -- replicaset-centos-70: Could not create Makefile due to some reason, probably lack of
I, [2015-07-14T22:16:48.760206 #47672]  INFO -- replicaset-centos-70: necessary libraries and/or headers.  Check the mkmf.log file for more
I, [2015-07-14T22:16:48.760221 #47672]  INFO -- replicaset-centos-70: details.  You may need configuration options.
I, [2015-07-14T22:16:48.760237 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:48.760252 #47672]  INFO -- replicaset-centos-70: Provided configuration options:
I, [2015-07-14T22:16:48.760266 #47672]  INFO -- replicaset-centos-70:   --with-opt-dir
I, [2015-07-14T22:16:48.760281 #47672]  INFO -- replicaset-centos-70:   --with-opt-include
I, [2015-07-14T22:16:48.760296 #47672]  INFO -- replicaset-centos-70:   --without-opt-include=${opt-dir}/include
I, [2015-07-14T22:16:48.760310 #47672]  INFO -- replicaset-centos-70:   --with-opt-lib
I, [2015-07-14T22:16:48.760325 #47672]  INFO -- replicaset-centos-70:   --without-opt-lib=${opt-dir}/lib
I, [2015-07-14T22:16:48.760339 #47672]  INFO -- replicaset-centos-70:   --with-make-prog
I, [2015-07-14T22:16:48.760353 #47672]  INFO -- replicaset-centos-70:   --without-make-prog
I, [2015-07-14T22:16:48.760366 #47672]  INFO -- replicaset-centos-70:   --srcdir=.
I, [2015-07-14T22:16:48.760387 #47672]  INFO -- replicaset-centos-70:   --curdir
I, [2015-07-14T22:16:48.760411 #47672]  INFO -- replicaset-centos-70:   --ruby=/opt/chef/embedded/bin/ruby
I, [2015-07-14T22:16:48.760427 #47672]  INFO -- replicaset-centos-70: /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
I, [2015-07-14T22:16:48.760443 #47672]  INFO -- replicaset-centos-70: You have to install development tools first.
I, [2015-07-14T22:16:48.760457 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:461:in `try_link0'
I, [2015-07-14T22:16:48.760472 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:476:in `try_link'
I, [2015-07-14T22:16:48.760487 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:619:in `try_func'
I, [2015-07-14T22:16:48.760502 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:894:in `block in have_func'
I, [2015-07-14T22:16:48.760547 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:790:in `block in checking_for'
I, [2015-07-14T22:16:48.760565 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone'
I, [2015-07-14T22:16:48.760581 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
I, [2015-07-14T22:16:48.760595 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block in postpone'
I, [2015-07-14T22:16:48.760614 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
I, [2015-07-14T22:16:48.760639 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:280:in `postpone'
I, [2015-07-14T22:16:48.760655 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:789:in `checking_for'
I, [2015-07-14T22:16:48.760671 #47672]  INFO -- replicaset-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:893:in `have_func'
I, [2015-07-14T22:16:48.760686 #47672]  INFO -- replicaset-centos-70:   from extconf.rb:3:in `<main>'
I, [2015-07-14T22:16:48.760703 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:48.760726 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:48.760771 #47672]  INFO -- replicaset-centos-70: Gem files will remain installed in /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/bson_ext-1.12.3 for inspection.
I, [2015-07-14T22:16:48.760798 #47672]  INFO -- replicaset-centos-70: Results logged to /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/bson_ext-1.12.3/ext/cbson/gem_make.out
I, [2015-07-14T22:16:48.760817 #47672]  INFO -- replicaset-centos-70: 
I, [2015-07-14T22:16:48.826507 #47672]  INFO -- replicaset-centos-70: [2015-07-15T02:16:48+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
E, [2015-07-14T22:16:48.894591 #47672] ERROR -- replicaset-centos-70: Converge failed on instance <replicaset-centos-70>.
E, [2015-07-14T22:16:48.894707 #47672] ERROR -- replicaset-centos-70: ------Exception-------
E, [2015-07-14T22:16:48.894733 #47672] ERROR -- replicaset-centos-70: Class: Kitchen::ActionFailed
E, [2015-07-14T22:16:48.894748 #47672] ERROR -- replicaset-centos-70: Message: SSH exited (1) for command: [sh -c '

sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']
E, [2015-07-14T22:16:48.894762 #47672] ERROR -- replicaset-centos-70: ---Nested Exception---
E, [2015-07-14T22:16:48.894775 #47672] ERROR -- replicaset-centos-70: Class: Kitchen::Transport::SshFailed
E, [2015-07-14T22:16:48.894787 #47672] ERROR -- replicaset-centos-70: Message: SSH exited (1) for command: [sh -c '

sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']
E, [2015-07-14T22:16:48.894801 #47672] ERROR -- replicaset-centos-70: ------Backtrace-------
E, [2015-07-14T22:16:48.894813 #47672] ERROR -- replicaset-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/provisioner/base.rb:74:in `rescue in call'
E, [2015-07-14T22:16:48.894826 #47672] ERROR -- replicaset-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/provisioner/base.rb:77:in `call'
E, [2015-07-14T22:16:48.894839 #47672] ERROR -- replicaset-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:366:in `block in converge_action'
E, [2015-07-14T22:16:48.894852 #47672] ERROR -- replicaset-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:488:in `call'
E, [2015-07-14T22:16:48.894865 #47672] ERROR -- replicaset-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:488:in `synchronize_or_call'
E, [2015-07-14T22:16:48.894878 #47672] ERROR -- replicaset-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:453:in `block in action'
E, [2015-07-14T22:16:48.894900 #47672] ERROR -- replicaset-centos-70: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-14T22:16:48.894915 #47672] ERROR -- replicaset-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:452:in `action'
E, [2015-07-14T22:16:48.894928 #47672] ERROR -- replicaset-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:362:in `converge_action'
E, [2015-07-14T22:16:48.894941 #47672] ERROR -- replicaset-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:341:in `block in transition_to'
E, [2015-07-14T22:16:48.894953 #47672] ERROR -- replicaset-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `each'
E, [2015-07-14T22:16:48.894966 #47672] ERROR -- replicaset-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `transition_to'
E, [2015-07-14T22:16:48.894978 #47672] ERROR -- replicaset-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:160:in `verify'
E, [2015-07-14T22:16:48.894991 #47672] ERROR -- replicaset-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:189:in `block in test'
E, [2015-07-14T22:16:48.895004 #47672] ERROR -- replicaset-centos-70: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-14T22:16:48.895016 #47672] ERROR -- replicaset-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:185:in `test'
E, [2015-07-14T22:16:48.895028 #47672] ERROR -- replicaset-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `public_send'
E, [2015-07-14T22:16:48.895041 #47672] ERROR -- replicaset-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `block (2 levels) in run_action'
E, [2015-07-14T22:16:48.895053 #47672] ERROR -- replicaset-centos-70: ----------------------

Failing Test: configserver-centos-65

test hangs

I, [2015-07-15T21:29:28.227922 #34243]  INFO -- configserver-centos-65: -----> Cleaning up any prior instances of <configserver-centos-65>
I, [2015-07-15T21:29:28.228385 #34243]  INFO -- configserver-centos-65: -----> Destroying <configserver-centos-65>...
I, [2015-07-15T21:29:30.910209 #34243]  INFO -- configserver-centos-65: ==> default: Forcing shutdown of VM...
I, [2015-07-15T21:29:32.012087 #34243]  INFO -- configserver-centos-65: ==> default: Destroying VM and associated drives...
I, [2015-07-15T21:29:32.293002 #34243]  INFO -- configserver-centos-65: Vagrant instance <configserver-centos-65> destroyed.
I, [2015-07-15T21:29:32.294792 #34243]  INFO -- configserver-centos-65: Finished destroying <configserver-centos-65> (0m4.06s).
I, [2015-07-15T21:29:32.295104 #34243]  INFO -- configserver-centos-65: -----> Testing <configserver-centos-65>
I, [2015-07-15T21:29:32.295226 #34243]  INFO -- configserver-centos-65: -----> Creating <configserver-centos-65>...
I, [2015-07-15T21:29:33.920527 #34243]  INFO -- configserver-centos-65: Bringing machine 'default' up with 'virtualbox' provider...
I, [2015-07-15T21:29:34.128327 #34243]  INFO -- configserver-centos-65: ==> default: Importing base box 'opscode-centos-6.5'...
I, [2015-07-15T21:29:41.366053 #34243]  INFO -- configserver-centos-65: 
�[KProgress: 20%
�[KProgress: 30%
�[KProgress: 40%
�[KProgress: 50%
�[KProgress: 60%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
I, [2015-07-15T21:29:42.094770 #34243]  INFO -- configserver-centos-65: ==> default: Setting the name of the VM: kitchen-mongodb-cookbook-configserver-centos-65_default_1437010182041_90468
I, [2015-07-15T21:29:44.058321 #34243]  INFO -- configserver-centos-65: ==> default: Fixed port collision for 22 => 2222. Now on port 2213.
I, [2015-07-15T21:29:44.113649 #34243]  INFO -- configserver-centos-65: ==> default: Clearing any previously set network interfaces...
I, [2015-07-15T21:29:44.164868 #34243]  INFO -- configserver-centos-65: ==> default: Preparing network interfaces based on configuration...
I, [2015-07-15T21:29:44.165359 #34243]  INFO -- configserver-centos-65:     default: Adapter 1: nat
I, [2015-07-15T21:29:44.216676 #34243]  INFO -- configserver-centos-65: ==> default: Forwarding ports...
I, [2015-07-15T21:29:44.291395 #34243]  INFO -- configserver-centos-65:     default: 22 => 2213 (adapter 1)
I, [2015-07-15T21:29:44.448086 #34243]  INFO -- configserver-centos-65: ==> default: Running 'pre-boot' VM customizations...
I, [2015-07-15T21:29:44.496791 #34243]  INFO -- configserver-centos-65: ==> default: Booting VM...
I, [2015-07-15T21:29:44.779588 #34243]  INFO -- configserver-centos-65: ==> default: Waiting for machine to boot. This may take a few minutes...
I, [2015-07-15T21:29:45.066456 #34243]  INFO -- configserver-centos-65:     default: SSH address: 127.0.0.1:2213
I, [2015-07-15T21:29:45.066587 #34243]  INFO -- configserver-centos-65:     default: SSH username: vagrant
I, [2015-07-15T21:29:45.066775 #34243]  INFO -- configserver-centos-65:     default: SSH auth method: private key
I, [2015-07-15T21:30:00.216764 #34243]  INFO -- configserver-centos-65:     default: Warning: Connection timeout. Retrying...
I, [2015-07-15T21:30:07.712861 #34243]  INFO -- configserver-centos-65:     default: 
I, [2015-07-15T21:30:07.712926 #34243]  INFO -- configserver-centos-65:     default: Vagrant insecure key detected. Vagrant will automatically replace
I, [2015-07-15T21:30:07.712948 #34243]  INFO -- configserver-centos-65:     default: this with a newly generated keypair for better security.
I, [2015-07-15T21:30:08.328837 #34243]  INFO -- configserver-centos-65:     default: 
I, [2015-07-15T21:30:08.328912 #34243]  INFO -- configserver-centos-65:     default: Inserting generated public key within guest...
I, [2015-07-15T21:30:08.480941 #34243]  INFO -- configserver-centos-65:     default: Removing insecure key from the guest if it's present...
I, [2015-07-15T21:30:08.581324 #34243]  INFO -- configserver-centos-65:     default: Key inserted! Disconnecting and reconnecting using new SSH key...
I, [2015-07-15T21:30:09.886746 #34243]  INFO -- configserver-centos-65: ==> default: Machine booted and ready!
I, [2015-07-15T21:30:09.887243 #34243]  INFO -- configserver-centos-65: ==> default: Checking for guest additions in VM...
I, [2015-07-15T21:30:09.930640 #34243]  INFO -- configserver-centos-65: ==> default: Setting hostname...
I, [2015-07-15T21:30:16.140712 #34243]  INFO -- configserver-centos-65: ==> default: Machine not provisioned because `--no-provision` is specified.
I, [2015-07-15T21:30:18.626818 #34243]  INFO -- configserver-centos-65: [SSH] Established
I, [2015-07-15T21:30:18.627267 #34243]  INFO -- configserver-centos-65: Vagrant instance <configserver-centos-65> created.
I, [2015-07-15T21:30:18.628371 #34243]  INFO -- configserver-centos-65: Finished creating <configserver-centos-65> (0m46.33s).
I, [2015-07-15T21:30:18.628691 #34243]  INFO -- configserver-centos-65: -----> Converging <configserver-centos-65>...
I, [2015-07-15T21:30:18.630303 #34243]  INFO -- configserver-centos-65: Preparing files for transfer
I, [2015-07-15T21:30:18.630414 #34243]  INFO -- configserver-centos-65: Preparing dna.json
I, [2015-07-15T21:30:18.630926 #34243]  INFO -- configserver-centos-65: Resolving cookbook dependencies with Berkshelf 3.3.0...
I, [2015-07-15T21:30:19.452212 #34243]  INFO -- configserver-centos-65: Removing non-cookbook files before transfer
I, [2015-07-15T21:30:19.480291 #34243]  INFO -- configserver-centos-65: Preparing nodes
I, [2015-07-15T21:30:19.481210 #34243]  INFO -- configserver-centos-65: Preparing validation.pem
I, [2015-07-15T21:30:19.482203 #34243]  INFO -- configserver-centos-65: Preparing client.rb
I, [2015-07-15T21:30:19.498877 #34243]  INFO -- configserver-centos-65: -----> Installing Chef Omnibus (11.12.8)
I, [2015-07-15T21:30:19.501378 #34243]  INFO -- configserver-centos-65: Downloading https://www.chef.io/chef/install.sh to file /tmp/install.sh
I, [2015-07-15T21:30:19.501439 #34243]  INFO -- configserver-centos-65: Trying wget...
I, [2015-07-15T21:30:19.758185 #34243]  INFO -- configserver-centos-65: Trying curl...
I, [2015-07-15T21:30:20.073572 #34243]  INFO -- configserver-centos-65: Download complete.
I, [2015-07-15T21:30:20.117500 #34243]  INFO -- configserver-centos-65: Downloading Chef 11.12.8 for el...
I, [2015-07-15T21:30:20.117559 #34243]  INFO -- configserver-centos-65: downloading https://www.getchef.com/chef/metadata?v=11.12.8&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64
I, [2015-07-15T21:30:20.117587 #34243]  INFO -- configserver-centos-65:   to file /tmp/install.sh.2356/metadata.txt
I, [2015-07-15T21:30:20.117628 #34243]  INFO -- configserver-centos-65: trying wget...
I, [2015-07-15T21:30:20.245079 #34243]  INFO -- configserver-centos-65: trying curl...
I, [2015-07-15T21:30:20.379828 #34243]  INFO -- configserver-centos-65: url https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.12.8-2.el6.x86_64.rpm
I, [2015-07-15T21:30:20.379901 #34243]  INFO -- configserver-centos-65: md5 3dfacef6e6640adefc12bf6956a3a4e2
I, [2015-07-15T21:30:20.379925 #34243]  INFO -- configserver-centos-65: sha256  ee45e0f226ffd503a949c1b10944064a4655d0255e03a16b073bed85eac83e95
I, [2015-07-15T21:30:20.383549 #34243]  INFO -- configserver-centos-65: downloaded metadata file looks valid...
I, [2015-07-15T21:30:20.394076 #34243]  INFO -- configserver-centos-65: downloading https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.12.8-2.el6.x86_64.rpm
I, [2015-07-15T21:30:20.394137 #34243]  INFO -- configserver-centos-65:   to file /tmp/install.sh.2356/chef-11.12.8-2.el6.x86_64.rpm
I, [2015-07-15T21:30:20.394172 #34243]  INFO -- configserver-centos-65: trying wget...
I, [2015-07-15T21:30:35.838291 #34243]  INFO -- configserver-centos-65: Comparing checksum with sha256sum...
I, [2015-07-15T21:30:36.019961 #34243]  INFO -- configserver-centos-65: Installing Chef 11.12.8
I, [2015-07-15T21:30:36.020017 #34243]  INFO -- configserver-centos-65: installing with rpm...
I, [2015-07-15T21:30:36.114668 #34243]  INFO -- configserver-centos-65: warning: /tmp/install.sh.2356/chef-11.12.8-2.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
I, [2015-07-15T21:30:36.429740 #34243]  INFO -- configserver-centos-65: Preparing...                                                            (100%)��������������������������������������������������#                                           (100%)��������������������������������������������������##                                          (100%)��������������������������������������������������###                                         (100%)��������������������������������������������������####                                        (100%)��������������������������������������������������#####                                       (100%)��������������������������������������������������######                                      (100%)��������������������������������������������������#######                                     (100%)��������������������������������������������������########                                    (100%)��������������������������������������������������#########                                   (100%)��������������������������������������������������##########                                  (100%)��������������������������������������������������###########                                 (100%)��������������������������������������������������############                                (100%)��������������������������������������������������#############                               (100%)��������������������������������������������������##############                              (100%)��������������������������������������������������###############                             (100%)��������������������������������������������������################                            (100%)��������������������������������������������������#################                           (100%)��������������������������������������������������##################                          (100%)��������������������������������������������������###################                         (100%)��������������������������������������������������####################                        (100%)��������������������������������������������������#####################                       (100%)��������������������������������������������������######################                      (100%)��������������������������������������������������#######################                     (100%)��������������������������������������������������########################                    (100%)��������������������������������������������������#########################                   (100%)��������������������������������������������������##########################                  (100%)��������������������������������������������������###########################                 (100%)��������������������������������������������������############################                (100%)��������������������������������������������������#############################               (100%)��������������������������������������������������##############################              (100%)��������������������������������������������������###############################             (100%)��������������������������������������������������################################            (100%)��������������������������������������������������#################################           (100%)��������������������������������������������������##################################          (100%)��������������������������������������������������###################################         (100%)��������������������������������������������������####################################        (100%)��������������������������������������������������#####################################       (100%)��������������������������������������������������######################################      (100%)��������������������������������������������������#######################################     (100%)��������������������������������������������������########################################    (100%)��������������������������������������������������#########################################   (100%)��������������������������������������������������##########################################  (100%)��������������������������������������������������########################################### (100%)��������������������������������������������������########################################### [100%]
I, [2015-07-15T21:30:39.719434 #34243]  INFO -- configserver-centos-65:    1:chef                                                               (  1%)��������������������������������������������������#                                           (  3%)��������������������������������������������������##                                          (  6%)��������������������������������������������������###                                         (  8%)��������������������������������������������������####                                        ( 10%)��������������������������������������������������#####                                       ( 13%)��������������������������������������������������######                                      ( 15%)��������������������������������������������������#######                                     ( 17%)��������������������������������������������������########                                    ( 19%)��������������������������������������������������#########                                   ( 22%)��������������������������������������������������##########                                  ( 24%)��������������������������������������������������###########                                 ( 26%)��������������������������������������������������############                                ( 28%)��������������������������������������������������#############                               ( 31%)��������������������������������������������������##############                              ( 33%)��������������������������������������������������###############                             ( 35%)��������������������������������������������������################                            ( 38%)��������������������������������������������������#################                           ( 40%)��������������������������������������������������##################                          ( 42%)��������������������������������������������������###################                         ( 44%)��������������������������������������������������####################                        ( 47%)��������������������������������������������������#####################                       ( 49%)��������������������������������������������������######################                      ( 51%)��������������������������������������������������#######################                     ( 53%)��������������������������������������������������########################                    ( 56%)��������������������������������������������������#########################                   ( 58%)��������������������������������������������������##########################                  ( 60%)��������������������������������������������������###########################                 ( 63%)��������������������������������������������������############################                ( 65%)��������������������������������������������������#############################               ( 67%)��������������������������������������������������##############################              ( 69%)��������������������������������������������������###############################             ( 72%)��������������������������������������������������################################            ( 74%)��������������������������������������������������#################################           ( 76%)��������������������������������������������������##################################          ( 78%)��������������������������������������������������###################################         ( 81%)��������������������������������������������������####################################        ( 83%)��������������������������������������������������#####################################       ( 85%)��������������������������������������������������######################################      ( 88%)��������������������������������������������������#######################################     ( 90%)��������������������������������������������������########################################    ( 92%)��������������������������������������������������#########################################   ( 94%)��������������������������������������������������##########################################  ( 97%)��������������������������������������������������########################################### ( 99%)��������������������������������������������������########################################### [100%]
I, [2015-07-15T21:30:40.236687 #34243]  INFO -- configserver-centos-65: Thank you for installing Chef!
I, [2015-07-15T21:30:40.283319 #34243]  INFO -- configserver-centos-65: Transferring files to <configserver-centos-65>
I, [2015-07-15T21:30:41.798170 #34243]  INFO -- configserver-centos-65: [2015-07-16T01:30:40+00:00] WARN: 
I, [2015-07-15T21:30:41.798233 #34243]  INFO -- configserver-centos-65: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
I, [2015-07-15T21:30:41.798257 #34243]  INFO -- configserver-centos-65: SSL validation of HTTPS requests is disabled. HTTPS connections are still
I, [2015-07-15T21:30:41.798276 #34243]  INFO -- configserver-centos-65: encrypted, but chef is not able to detect forged replies or man in the middle
I, [2015-07-15T21:30:41.798294 #34243]  INFO -- configserver-centos-65: attacks.
I, [2015-07-15T21:30:41.798309 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:41.798325 #34243]  INFO -- configserver-centos-65: To fix this issue add an entry like this to your configuration file:
I, [2015-07-15T21:30:41.798342 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:41.798357 #34243]  INFO -- configserver-centos-65: ```
I, [2015-07-15T21:30:41.798373 #34243]  INFO -- configserver-centos-65:   # Verify all HTTPS connections (recommended)
I, [2015-07-15T21:30:41.798389 #34243]  INFO -- configserver-centos-65:   ssl_verify_mode :verify_peer
I, [2015-07-15T21:30:41.798404 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:41.798420 #34243]  INFO -- configserver-centos-65:   # OR, Verify only connections to chef-server
I, [2015-07-15T21:30:41.798435 #34243]  INFO -- configserver-centos-65:   verify_api_cert true
I, [2015-07-15T21:30:41.798450 #34243]  INFO -- configserver-centos-65: ```
I, [2015-07-15T21:30:41.798465 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:41.798480 #34243]  INFO -- configserver-centos-65: To check your SSL configuration, or troubleshoot errors, you can use the
I, [2015-07-15T21:30:41.798496 #34243]  INFO -- configserver-centos-65: `knife ssl check` command like so:
I, [2015-07-15T21:30:41.798511 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:41.798526 #34243]  INFO -- configserver-centos-65: ```
I, [2015-07-15T21:30:41.798542 #34243]  INFO -- configserver-centos-65:   knife ssl check -c /tmp/kitchen/client.rb
I, [2015-07-15T21:30:41.798557 #34243]  INFO -- configserver-centos-65: ```
I, [2015-07-15T21:30:41.798572 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:41.798588 #34243]  INFO -- configserver-centos-65: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
I, [2015-07-15T21:30:41.798603 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:41.798619 #34243]  INFO -- configserver-centos-65: Starting Chef Client, version 11.12.8
I, [2015-07-15T21:30:43.986739 #34243]  INFO -- configserver-centos-65: Creating a new client identity for configserver-centos-65 using the validator key.
I, [2015-07-15T21:30:44.074884 #34243]  INFO -- configserver-centos-65: resolving cookbooks for run list: ["yum", "yum-epel", "mongodb::configserver"]
I, [2015-07-15T21:30:44.496690 #34243]  INFO -- configserver-centos-65: Synchronizing Cookbooks:
I, [2015-07-15T21:30:44.670980 #34243]  INFO -- configserver-centos-65:   - yum
I, [2015-07-15T21:30:44.827130 #34243]  INFO -- configserver-centos-65:   - yum-epel
I, [2015-07-15T21:30:45.369658 #34243]  INFO -- configserver-centos-65:   - mongodb
I, [2015-07-15T21:30:45.611976 #34243]  INFO -- configserver-centos-65:   - apt
I, [2015-07-15T21:30:45.859586 #34243]  INFO -- configserver-centos-65:   - python
I, [2015-07-15T21:30:46.195947 #34243]  INFO -- configserver-centos-65:   - build-essential
I, [2015-07-15T21:30:46.196008 #34243]  INFO -- configserver-centos-65: Compiling Cookbooks...
I, [2015-07-15T21:30:46.261292 #34243]  INFO -- configserver-centos-65: [2015-07-16T01:30:44+00:00] WARN: CentOS doesn't provide mongodb, forcing use of mongodb-org repo
I, [2015-07-15T21:30:46.358028 #34243]  INFO -- configserver-centos-65: [2015-07-16T01:30:44+00:00] WARN: 10gen_repo is deprecated, use mongodb_org_repo
I, [2015-07-15T21:30:46.396416 #34243]  INFO -- configserver-centos-65: [2015-07-16T01:30:44+00:00] WARN: Cloning resource attributes for template[/etc/mongodb.conf] from prior resource (CHEF-3694)
I, [2015-07-15T21:30:46.396550 #34243]  INFO -- configserver-centos-65: [2015-07-16T01:30:44+00:00] WARN: Previous template[/etc/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:14:in `from_file'
I, [2015-07-15T21:30:46.396600 #34243]  INFO -- configserver-centos-65: [2015-07-16T01:30:44+00:00] WARN: Current  template[/etc/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:139:in `block in from_file'
I, [2015-07-15T21:30:46.399059 #34243]  INFO -- configserver-centos-65: [2015-07-16T01:30:44+00:00] WARN: Cloning resource attributes for execute[mongodb-systemctl-daemon-reload] from prior resource (CHEF-3694)
I, [2015-07-15T21:30:46.399265 #34243]  INFO -- configserver-centos-65: [2015-07-16T01:30:44+00:00] WARN: Previous execute[mongodb-systemctl-daemon-reload]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:37:in `from_file'
I, [2015-07-15T21:30:46.399339 #34243]  INFO -- configserver-centos-65: [2015-07-16T01:30:44+00:00] WARN: Current  execute[mongodb-systemctl-daemon-reload]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:174:in `block in from_file'
I, [2015-07-15T21:30:46.399426 #34243]  INFO -- configserver-centos-65: [2015-07-16T01:30:44+00:00] WARN: Cloning resource attributes for template[/etc/init.d/mongod] from prior resource (CHEF-3694)
I, [2015-07-15T21:30:46.399522 #34243]  INFO -- configserver-centos-65: [2015-07-16T01:30:44+00:00] WARN: Previous template[/etc/init.d/mongod]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:42:in `from_file'
I, [2015-07-15T21:30:46.399543 #34243]  INFO -- configserver-centos-65: [2015-07-16T01:30:44+00:00] WARN: Current  template[/etc/init.d/mongod]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:180:in `block in from_file'
I, [2015-07-15T21:30:46.401518 #34243]  INFO -- configserver-centos-65: Converging 15 resources
I, [2015-07-15T21:30:46.401603 #34243]  INFO -- configserver-centos-65: Recipe: yum::default
I, [2015-07-15T21:30:46.403668 #34243]  INFO -- configserver-centos-65: Recipe: <Dynamically Defined Resource>
I, [2015-07-15T21:30:46.441282 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:46.441365 #34243]  INFO -- configserver-centos-65:     - update content in file /etc/yum.conf from a403d7 to 31c39a
I, [2015-07-15T21:30:46.441438 #34243]  INFO -- configserver-centos-65:  --- /etc/yum.conf  2013-02-22 11:26:34.000000000 +0000
I, [2015-07-15T21:30:46.441479 #34243]  INFO -- configserver-centos-65:  +++ /tmp/chef-rendered-template20150716-2463-oskl4m    2015-07-16 01:30:44.799554768 +0000
I, [2015-07-15T21:30:46.441537 #34243]  INFO -- configserver-centos-65:  @@ -1,26 +1,15 @@
I, [2015-07-15T21:30:46.441577 #34243]  INFO -- configserver-centos-65:  +# This file was generated by Chef
I, [2015-07-15T21:30:46.441641 #34243]  INFO -- configserver-centos-65:  +# Do NOT modify this file by hand.
I, [2015-07-15T21:30:46.441682 #34243]  INFO -- configserver-centos-65:  +
I, [2015-07-15T21:30:46.441721 #34243]  INFO -- configserver-centos-65:   [main]
I, [2015-07-15T21:30:46.441768 #34243]  INFO -- configserver-centos-65:   cachedir=/var/cache/yum/$basearch/$releasever
I, [2015-07-15T21:30:46.441807 #34243]  INFO -- configserver-centos-65:  -keepcache=0
I, [2015-07-15T21:30:46.441845 #34243]  INFO -- configserver-centos-65:   debuglevel=2
I, [2015-07-15T21:30:46.441882 #34243]  INFO -- configserver-centos-65:  -logfile=/var/log/yum.log
I, [2015-07-15T21:30:46.441919 #34243]  INFO -- configserver-centos-65:  +distroverpkg=centos-release
I, [2015-07-15T21:30:46.441957 #34243]  INFO -- configserver-centos-65:   exactarch=1
I, [2015-07-15T21:30:46.441993 #34243]  INFO -- configserver-centos-65:  -obsoletes=1
I, [2015-07-15T21:30:46.442029 #34243]  INFO -- configserver-centos-65:   gpgcheck=1
I, [2015-07-15T21:30:46.442065 #34243]  INFO -- configserver-centos-65:  +installonly_limit=3
I, [2015-07-15T21:30:46.442102 #34243]  INFO -- configserver-centos-65:  +keepcache=0
I, [2015-07-15T21:30:46.442138 #34243]  INFO -- configserver-centos-65:  +logfile=/var/log/yum.log
I, [2015-07-15T21:30:46.442176 #34243]  INFO -- configserver-centos-65:  +obsoletes=1
I, [2015-07-15T21:30:46.442219 #34243]  INFO -- configserver-centos-65:   plugins=1
I, [2015-07-15T21:30:46.442256 #34243]  INFO -- configserver-centos-65:  -installonly_limit=5
I, [2015-07-15T21:30:46.442292 #34243]  INFO -- configserver-centos-65:  -bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum
I, [2015-07-15T21:30:46.442329 #34243]  INFO -- configserver-centos-65:  -distroverpkg=centos-release
I, [2015-07-15T21:30:46.442365 #34243]  INFO -- configserver-centos-65:  -
I, [2015-07-15T21:30:46.442404 #34243]  INFO -- configserver-centos-65:  -#  This is the default, if you make this bigger yum won't see if the metadata
I, [2015-07-15T21:30:46.442444 #34243]  INFO -- configserver-centos-65:  -# is newer on the remote and so you'll "gain" the bandwidth of not having to
I, [2015-07-15T21:30:46.442484 #34243]  INFO -- configserver-centos-65:  -# download the new metadata and "pay" for it by yum not having correct
I, [2015-07-15T21:30:46.442521 #34243]  INFO -- configserver-centos-65:  -# information.
I, [2015-07-15T21:30:46.442575 #34243]  INFO -- configserver-centos-65:  -#  It is esp. important, to have correct metadata, for distributions like
I, [2015-07-15T21:30:46.442710 #34243]  INFO -- configserver-centos-65:  -# Fedora which don't keep old packages around. If you don't like this checking
I, [2015-07-15T21:30:46.442779 #34243]  INFO -- configserver-centos-65:  -# interupting your command line usage, it's much better to have something
I, [2015-07-15T21:30:46.442838 #34243]  INFO -- configserver-centos-65:  -# manually check the metadata once an hour (yum-updatesd will do this).
I, [2015-07-15T21:30:46.442901 #34243]  INFO -- configserver-centos-65:  -# metadata_expire=90m
I, [2015-07-15T21:30:46.442961 #34243]  INFO -- configserver-centos-65:  -
I, [2015-07-15T21:30:46.443019 #34243]  INFO -- configserver-centos-65:  -# PUT YOUR REPOS HERE OR IN separate files named file.repo
I, [2015-07-15T21:30:46.667918 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:46.669587 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:46.669662 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:46.670799 #34243]  INFO -- configserver-centos-65: Recipe: yum-epel::default
I, [2015-07-15T21:30:46.673789 #34243]  INFO -- configserver-centos-65: Recipe: <Dynamically Defined Resource>
I, [2015-07-15T21:30:46.689828 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:46.693666 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:46.693714 #34243]  INFO -- configserver-centos-65:     - update content in file /etc/yum.repos.d/epel.repo from none to d02c1f
I, [2015-07-15T21:30:46.693761 #34243]  INFO -- configserver-centos-65:  --- /etc/yum.repos.d/epel.repo 2015-07-16 01:30:45.061685768 +0000
I, [2015-07-15T21:30:46.693785 #34243]  INFO -- configserver-centos-65:  +++ /tmp/chef-rendered-template20150716-2463-4e99oc    2015-07-16 01:30:45.064687268 +0000
I, [2015-07-15T21:30:46.693805 #34243]  INFO -- configserver-centos-65:  @@ -1 +1,11 @@
I, [2015-07-15T21:30:46.693824 #34243]  INFO -- configserver-centos-65:  +# This file was generated by Chef
I, [2015-07-15T21:30:46.693843 #34243]  INFO -- configserver-centos-65:  +# Do NOT modify this file by hand.
I, [2015-07-15T21:30:46.693861 #34243]  INFO -- configserver-centos-65:  +
I, [2015-07-15T21:30:46.693879 #34243]  INFO -- configserver-centos-65:  +[epel]
I, [2015-07-15T21:30:46.693898 #34243]  INFO -- configserver-centos-65:  +name=Extra Packages for Enterprise Linux 6 - $basearch
I, [2015-07-15T21:30:46.693916 #34243]  INFO -- configserver-centos-65:  +enabled=1
I, [2015-07-15T21:30:46.693934 #34243]  INFO -- configserver-centos-65:  +failovermethod=priority
I, [2015-07-15T21:30:46.693952 #34243]  INFO -- configserver-centos-65:  +gpgcheck=1
I, [2015-07-15T21:30:46.693969 #34243]  INFO -- configserver-centos-65:  +gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6
I, [2015-07-15T21:30:46.694244 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:46.882491 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:46.882561 #34243]  INFO -- configserver-centos-65:     - restore selinux security context
I, [2015-07-15T21:30:47.279624 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:47.279686 #34243]  INFO -- configserver-centos-65:     - execute yum clean all --disablerepo=* --enablerepo=epel
I, [2015-07-15T21:30:57.635729 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:57.635808 #34243]  INFO -- configserver-centos-65:     - execute yum -q -y makecache --disablerepo=* --enablerepo=epel
I, [2015-07-15T21:30:57.637728 #34243]  INFO -- configserver-centos-65:   * ruby_block[yum-cache-reload-epel] action create
I, [2015-07-15T21:30:57.637790 #34243]  INFO -- configserver-centos-65:     - execute the ruby block yum-cache-reload-epel
I, [2015-07-15T21:30:57.637816 #34243]  INFO -- configserver-centos-65:   * execute[yum clean epel] action nothing (skipped due to action :nothing)
I, [2015-07-15T21:30:57.639219 #34243]  INFO -- configserver-centos-65:   * execute[yum-makecache-epel] action nothing (skipped due to action :nothing)
I, [2015-07-15T21:30:57.639272 #34243]  INFO -- configserver-centos-65:   * ruby_block[yum-cache-reload-epel] action nothing (skipped due to action :nothing)
I, [2015-07-15T21:30:57.639297 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:57.639317 #34243]  INFO -- configserver-centos-65: Recipe: mongodb::mongodb_org_repo
I, [2015-07-15T21:30:57.642540 #34243]  INFO -- configserver-centos-65: Recipe: <Dynamically Defined Resource>
I, [2015-07-15T21:30:57.643689 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:57.647201 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:57.647262 #34243]  INFO -- configserver-centos-65:     - update content in file /etc/yum.repos.d/mongodb.repo from none to bf24c8
I, [2015-07-15T21:30:57.647312 #34243]  INFO -- configserver-centos-65:  --- /etc/yum.repos.d/mongodb.repo  2015-07-16 01:30:56.022163264 +0000
I, [2015-07-15T21:30:57.647383 #34243]  INFO -- configserver-centos-65:  +++ /tmp/chef-rendered-template20150716-2463-1hwqqi9   2015-07-16 01:30:56.024164264 +0000
I, [2015-07-15T21:30:57.647446 #34243]  INFO -- configserver-centos-65:  @@ -1 +1,9 @@
I, [2015-07-15T21:30:57.647490 #34243]  INFO -- configserver-centos-65:  +# This file was generated by Chef
I, [2015-07-15T21:30:57.647567 #34243]  INFO -- configserver-centos-65:  +# Do NOT modify this file by hand.
I, [2015-07-15T21:30:57.647625 #34243]  INFO -- configserver-centos-65:  +
I, [2015-07-15T21:30:57.647662 #34243]  INFO -- configserver-centos-65:  +[mongodb]
I, [2015-07-15T21:30:57.647694 #34243]  INFO -- configserver-centos-65:  +name=mongodb RPM Repository
I, [2015-07-15T21:30:57.647745 #34243]  INFO -- configserver-centos-65:  +baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64
I, [2015-07-15T21:30:57.647811 #34243]  INFO -- configserver-centos-65:  +enabled=1
I, [2015-07-15T21:30:57.647861 #34243]  INFO -- configserver-centos-65:  +gpgcheck=0
I, [2015-07-15T21:30:57.853919 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:57.853975 #34243]  INFO -- configserver-centos-65:     - restore selinux security context
I, [2015-07-15T21:30:58.096627 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:58.096705 #34243]  INFO -- configserver-centos-65:     - execute yum clean all --disablerepo=* --enablerepo=mongodb
I, [2015-07-15T21:30:59.934617 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:59.934694 #34243]  INFO -- configserver-centos-65:     - execute yum -q -y makecache --disablerepo=* --enablerepo=mongodb
I, [2015-07-15T21:30:59.937315 #34243]  INFO -- configserver-centos-65:   * ruby_block[yum-cache-reload-mongodb] action create
I, [2015-07-15T21:30:59.937378 #34243]  INFO -- configserver-centos-65:     - execute the ruby block yum-cache-reload-mongodb
I, [2015-07-15T21:30:59.937411 #34243]  INFO -- configserver-centos-65:   * execute[yum clean mongodb] action nothing (skipped due to action :nothing)
I, [2015-07-15T21:30:59.937431 #34243]  INFO -- configserver-centos-65:   * execute[yum-makecache-mongodb] action nothing (skipped due to action :nothing)
I, [2015-07-15T21:30:59.937448 #34243]  INFO -- configserver-centos-65:   * ruby_block[yum-cache-reload-mongodb] action nothing (skipped due to action :nothing)
I, [2015-07-15T21:30:59.937464 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:59.937480 #34243]  INFO -- configserver-centos-65: Recipe: mongodb::install
I, [2015-07-15T21:30:59.938412 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:59.940260 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:59.940310 #34243]  INFO -- configserver-centos-65:     - update content in file /etc/sysconfig/mongodb from none to a35762
I, [2015-07-15T21:30:59.940345 #34243]  INFO -- configserver-centos-65:  --- /etc/sysconfig/mongodb 2015-07-16 01:30:58.318310763 +0000
I, [2015-07-15T21:30:59.940369 #34243]  INFO -- configserver-centos-65:  +++ /tmp/.mongodb20150716-2463-1iyivqc 2015-07-16 01:30:58.318310763 +0000
I, [2015-07-15T21:30:59.940388 #34243]  INFO -- configserver-centos-65:  @@ -1 +1,2 @@
I, [2015-07-15T21:30:59.941315 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:30:59.941351 #34243]  INFO -- configserver-centos-65:     - change mode from '' to '0644'
I, [2015-07-15T21:30:59.941370 #34243]  INFO -- configserver-centos-65:     - change owner from '' to 'root'
I, [2015-07-15T21:31:00.112365 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:31:00.113723 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:31:00.129922 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:31:00.134670 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:31:00.134860 #34243]  INFO -- configserver-centos-65:     - update content in file /etc/mongodb.conf from none to cc38f1
I, [2015-07-15T21:31:00.134946 #34243]  INFO -- configserver-centos-65:  --- /etc/mongodb.conf  2015-07-16 01:30:58.509406264 +0000
I, [2015-07-15T21:31:00.135001 #34243]  INFO -- configserver-centos-65:  +++ /tmp/chef-rendered-template20150716-2463-udkofr    2015-07-16 01:30:58.512407764 +0000
I, [2015-07-15T21:31:00.135041 #34243]  INFO -- configserver-centos-65:  @@ -1 +1,15 @@
I, [2015-07-15T21:31:00.135075 #34243]  INFO -- configserver-centos-65:  +#
I, [2015-07-15T21:31:00.135108 #34243]  INFO -- configserver-centos-65:  +# Automatically Generated by Chef, do not edit directly!
I, [2015-07-15T21:31:00.135136 #34243]  INFO -- configserver-centos-65:  +#
I, [2015-07-15T21:31:00.135168 #34243]  INFO -- configserver-centos-65:  +
I, [2015-07-15T21:31:00.135204 #34243]  INFO -- configserver-centos-65:  +bind_ip = 0.0.0.0
I, [2015-07-15T21:31:00.135793 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:31:00.135886 #34243]  INFO -- configserver-centos-65:  +fork = true
I, [2015-07-15T21:31:00.135931 #34243]  INFO -- configserver-centos-65:  +logappend = true
I, [2015-07-15T21:31:00.135969 #34243]  INFO -- configserver-centos-65:  +logpath = /var/log/mongodb/mongodb.log
I, [2015-07-15T21:31:00.136004 #34243]  INFO -- configserver-centos-65:  +nojournal = false
I, [2015-07-15T21:31:00.136037 #34243]  INFO -- configserver-centos-65:  +pidfilepath = /var/run/mongodb/mongodb.pid
I, [2015-07-15T21:31:00.136073 #34243]  INFO -- configserver-centos-65:  +port = 27017
I, [2015-07-15T21:31:00.136108 #34243]  INFO -- configserver-centos-65:  +rest = false
I, [2015-07-15T21:31:00.139114 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:31:00.139179 #34243]  INFO -- configserver-centos-65:     - change mode from '' to '0644'
I, [2015-07-15T21:31:00.139213 #34243]  INFO -- configserver-centos-65:     - change owner from '' to 'root'
I, [2015-07-15T21:31:00.340308 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:31:00.341490 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:31:00.341531 #34243]  INFO -- configserver-centos-65:   * execute[mongodb-systemctl-daemon-reload] action nothing (skipped due to action :nothing)
I, [2015-07-15T21:31:00.361913 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:31:00.423369 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:31:00.423431 #34243]  INFO -- configserver-centos-65:     - update content in file /etc/init.d/mongod from none to 7d67f0
I, [2015-07-15T21:31:00.423464 #34243]  INFO -- configserver-centos-65:  --- /etc/init.d/mongod 2015-07-16 01:30:58.741522263 +0000
I, [2015-07-15T21:31:00.423486 #34243]  INFO -- configserver-centos-65:  +++ /tmp/chef-rendered-template20150716-2463-1ym94p    2015-07-16 01:30:58.742522763 +0000
I, [2015-07-15T21:31:00.423506 #34243]  INFO -- configserver-centos-65:  @@ -1 +1,107 @@
I, [2015-07-15T21:31:00.423526 #34243]  INFO -- configserver-centos-65:  +#!/bin/bash
I, [2015-07-15T21:31:00.423544 #34243]  INFO -- configserver-centos-65:  +
I, [2015-07-15T21:31:00.423562 #34243]  INFO -- configserver-centos-65:  +# mongod - Startup script for mongod
I, [2015-07-15T21:31:00.423579 #34243]  INFO -- configserver-centos-65:  +
I, [2015-07-15T21:31:00.423596 #34243]  INFO -- configserver-centos-65:  +# chkconfig: 35 85 15
I, [2015-07-15T21:31:00.423614 #34243]  INFO -- configserver-centos-65:  +# description: Mongo is a scalable, document-oriented database.
I, [2015-07-15T21:31:00.423631 #34243]  INFO -- configserver-centos-65:  +# processname: mongod
I, [2015-07-15T21:31:00.423648 #34243]  INFO -- configserver-centos-65:  +# config: /etc/mongodb.conf
I, [2015-07-15T21:31:00.423665 #34243]  INFO -- configserver-centos-65:  +
I, [2015-07-15T21:31:00.423682 #34243]  INFO -- configserver-centos-65:  +. /etc/rc.d/init.d/functions
I, [2015-07-15T21:31:00.423742 #34243]  INFO -- configserver-centos-65:  +
I, [2015-07-15T21:31:00.423775 #34243]  INFO -- configserver-centos-65:  +NAME=mongod
I, [2015-07-15T21:31:00.423797 #34243]  INFO -- configserver-centos-65:  +SYSCONFIG=/etc/sysconfig/mongodb
I, [2015-07-15T21:31:00.423816 #34243]  INFO -- configserver-centos-65:  +DAEMON_USER=mongod
I, [2015-07-15T21:31:00.423835 #34243]  INFO -- configserver-centos-65:  +ENABLE_MONGODB=yes
I, [2015-07-15T21:31:00.423853 #34243]  INFO -- configserver-centos-65:  +
I, [2015-07-15T21:31:00.423922 #34243]  INFO -- configserver-centos-65:  +SUBSYS_LOCK_FILE=/var/lock/subsys/mongod
I, [2015-07-15T21:31:00.423955 #34243]  INFO -- configserver-centos-65:  +
I, [2015-07-15T21:31:00.423978 #34243]  INFO -- configserver-centos-65:  +if [ -f "$SYSCONFIG" ]; then
I, [2015-07-15T21:31:00.423996 #34243]  INFO -- configserver-centos-65:  +    . "$SYSCONFIG"
I, [2015-07-15T21:31:00.424015 #34243]  INFO -- configserver-centos-65:  +fi
I, [2015-07-15T21:31:00.424032 #34243]  INFO -- configserver-centos-65:  +
I, [2015-07-15T21:31:00.424053 #34243]  INFO -- configserver-centos-65:  +# FIXME: 1.9.x has a --shutdown flag that parses the config file and
I, [2015-07-15T21:31:00.424088 #34243]  INFO -- configserver-centos-65:  +# shuts down the correct running pid, but that's unavailable in 1.8
I, [2015-07-15T21:31:00.424109 #34243]  INFO -- configserver-centos-65:  +# for now.  This can go away when this script stops supporting 1.8.
I, [2015-07-15T21:31:00.424127 #34243]  INFO -- configserver-centos-65:  +DBPATH=`awk -F= '/^dbpath[[:blank:]]*=[[:blank:]]*/{print $2}' "$CONFIGFILE"`
I, [2015-07-15T21:31:00.424145 #34243]  INFO -- configserver-centos-65:  +PIDFILE=`awk -F= '/^pidfilepath[[:blank:]]*=[[:blank:]]*/{print $2}' "$CONFIGFILE"`
I, [2015-07-15T21:31:00.424208 #34243]  INFO -- configserver-centos-65:  +
I, [2015-07-15T21:31:00.424247 #34243]  INFO -- configserver-centos-65:  +# Handle NUMA access to CPUs (SERVER-3574)
I, [2015-07-15T21:31:00.424270 #34243]  INFO -- configserver-centos-65:  +# This verifies the existence of numactl as well as testing that the command works
I, [2015-07-15T21:31:00.424290 #34243]  INFO -- configserver-centos-65:  +NUMACTL_ARGS="--interleave=all"
I, [2015-07-15T21:31:00.424318 #34243]  INFO -- configserver-centos-65:  +if which numactl >/dev/null 2>/dev/null && numactl $NUMACTL_ARGS ls / >/dev/null 2>/dev/null
I, [2015-07-15T21:31:00.424340 #34243]  INFO -- configserver-centos-65:  +then
I, [2015-07-15T21:31:00.424389 #34243]  INFO -- configserver-centos-65:  +    NUMACTL="numactl $NUMACTL_ARGS"
I, [2015-07-15T21:31:00.424491 #34243]  INFO -- configserver-centos-65:  +else
I, [2015-07-15T21:31:00.424528 #34243]  INFO -- configserver-centos-65:  +    NUMACTL=""
I, [2015-07-15T21:31:00.424550 #34243]  INFO -- configserver-centos-65:  +fi
I, [2015-07-15T21:31:00.424568 #34243]  INFO -- configserver-centos-65:  +
I, [2015-07-15T21:31:00.424585 #34243]  INFO -- configserver-centos-65:  +start()
I, [2015-07-15T21:31:00.424603 #34243]  INFO -- configserver-centos-65:  +{
I, [2015-07-15T21:31:00.424621 #34243]  INFO -- configserver-centos-65:  +  ulimit -f unlimited
I, [2015-07-15T21:31:00.424640 #34243]  INFO -- configserver-centos-65:  +  ulimit -t unlimited
I, [2015-07-15T21:31:00.424658 #34243]  INFO -- configserver-centos-65:  +  ulimit -v unlimited
I, [2015-07-15T21:31:00.424675 #34243]  INFO -- configserver-centos-65:  +  ulimit -n 64000
I, [2015-07-15T21:31:00.424693 #34243]  INFO -- configserver-centos-65:  +  ulimit -m unlimited
I, [2015-07-15T21:31:00.424713 #34243]  INFO -- configserver-centos-65:  +  ulimit -u 32000
I, [2015-07-15T21:31:00.424817 #34243]  INFO -- configserver-centos-65:  +
I, [2015-07-15T21:31:00.424859 #34243]  INFO -- configserver-centos-65:  +  echo -n $"Starting mongod: "
I, [2015-07-15T21:31:00.424883 #34243]  INFO -- configserver-centos-65:  +  daemon --user "$DAEMON_USER" $NUMACTL $DAEMON $DAEMON_OPTS
I, [2015-07-15T21:31:00.424904 #34243]  INFO -- configserver-centos-65:  +  RETVAL=$?
I, [2015-07-15T21:31:00.424922 #34243]  INFO -- configserver-centos-65:  +  echo
I, [2015-07-15T21:31:00.424947 #34243]  INFO -- configserver-centos-65:  +  [ $RETVAL -eq 0 ] && touch $SUBSYS_LOCK_FILE
I, [2015-07-15T21:31:00.424965 #34243]  INFO -- configserver-centos-65:  +}
I, [2015-07-15T21:31:00.425105 #34243]  INFO -- configserver-centos-65:  +
I, [2015-07-15T21:31:00.425143 #34243]  INFO -- configserver-centos-65:  +stop()
I, [2015-07-15T21:31:00.425165 #34243]  INFO -- configserver-centos-65:  +{
I, [2015-07-15T21:31:00.425185 #34243]  INFO -- configserver-centos-65:  +  echo -n $"Stopping mongod: "
I, [2015-07-15T21:31:00.425204 #34243]  INFO -- configserver-centos-65:  +  if test "x$PIDFILE" != "x"; then
I, [2015-07-15T21:31:00.425222 #34243]  INFO -- configserver-centos-65:  +    killproc -p $PIDFILE -d 300 $DAEMON
I, [2015-07-15T21:31:00.425239 #34243]  INFO -- configserver-centos-65:  +  else
I, [2015-07-15T21:31:00.425257 #34243]  INFO -- configserver-centos-65:  +    killproc -d 300 $DAEMON
I, [2015-07-15T21:31:00.425274 #34243]  INFO -- configserver-centos-65:  +  fi
I, [2015-07-15T21:31:00.425291 #34243]  INFO -- configserver-centos-65:  +  RETVAL=$?
I, [2015-07-15T21:31:00.425346 #34243]  INFO -- configserver-centos-65:  +  echo
I, [2015-07-15T21:31:00.425415 #34243]  INFO -- configserver-centos-65:  +  [ $RETVAL -eq 0 ] && rm -f $SUBSYS_LOCK_FILE
I, [2015-07-15T21:31:00.425469 #34243]  INFO -- configserver-centos-65:  +}
I, [2015-07-15T21:31:00.425496 #34243]  INFO -- configserver-centos-65:  +
I, [2015-07-15T21:31:00.425524 #34243]  INFO -- configserver-centos-65:  +restart () {
I, [2015-07-15T21:31:00.425556 #34243]  INFO -- configserver-centos-65:  +  stop
I, [2015-07-15T21:31:00.425581 #34243]  INFO -- configserver-centos-65:  +  start
I, [2015-07-15T21:31:00.425600 #34243]  INFO -- configserver-centos-65:  +}
I, [2015-07-15T21:31:00.425617 #34243]  INFO -- configserver-centos-65:  +
I, [2015-07-15T21:31:00.425634 #34243]  INFO -- configserver-centos-65:  +RETVAL=0
I, [2015-07-15T21:31:00.425653 #34243]  INFO -- configserver-centos-65:  +
I, [2015-07-15T21:31:00.425687 #34243]  INFO -- configserver-centos-65:  +if test "x$ENABLE_MONGODB" != "xyes"; then
I, [2015-07-15T21:31:00.425709 #34243]  INFO -- configserver-centos-65:  +    exit $RETVAL
I, [2015-07-15T21:31:00.425726 #34243]  INFO -- configserver-centos-65:  +fi
I, [2015-07-15T21:31:00.425743 #34243]  INFO -- configserver-centos-65:  +
I, [2015-07-15T21:31:00.425759 #34243]  INFO -- configserver-centos-65:  +case "$1" in
I, [2015-07-15T21:31:00.425782 #34243]  INFO -- configserver-centos-65:  +  start)
I, [2015-07-15T21:31:00.425799 #34243]  INFO -- configserver-centos-65:  +    start
I, [2015-07-15T21:31:00.425815 #34243]  INFO -- configserver-centos-65:  +    ;;
I, [2015-07-15T21:31:00.425832 #34243]  INFO -- configserver-centos-65:  +  stop)
I, [2015-07-15T21:31:00.425848 #34243]  INFO -- configserver-centos-65:  +    stop
I, [2015-07-15T21:31:00.425864 #34243]  INFO -- configserver-centos-65:  +    ;;
I, [2015-07-15T21:31:00.425881 #34243]  INFO -- configserver-centos-65:  +  restart|reload|force-reload)
I, [2015-07-15T21:31:00.425898 #34243]  INFO -- configserver-centos-65:  +    restart
I, [2015-07-15T21:31:00.425914 #34243]  INFO -- configserver-centos-65:  +    ;;
I, [2015-07-15T21:31:00.425931 #34243]  INFO -- configserver-centos-65:  +  condrestart)
I, [2015-07-15T21:31:00.425949 #34243]  INFO -- configserver-centos-65:  +    [ -f $SUBSYS_LOCK_FILE ] && restart || :
I, [2015-07-15T21:31:00.425965 #34243]  INFO -- configserver-centos-65:  +    ;;
I, [2015-07-15T21:31:00.425981 #34243]  INFO -- configserver-centos-65:  +  status)
I, [2015-07-15T21:31:00.425998 #34243]  INFO -- configserver-centos-65:  +    if test "x$PIDFILE" != "x"; then
I, [2015-07-15T21:31:00.426033 #34243]  INFO -- configserver-centos-65:  +      status -p $PIDFILE $DAEMON
I, [2015-07-15T21:31:00.426076 #34243]  INFO -- configserver-centos-65:  +    else
I, [2015-07-15T21:31:00.426099 #34243]  INFO -- configserver-centos-65:  +      status $DAEMON
I, [2015-07-15T21:31:00.426118 #34243]  INFO -- configserver-centos-65:  +    fi
I, [2015-07-15T21:31:00.426136 #34243]  INFO -- configserver-centos-65:  +    RETVAL=$?
I, [2015-07-15T21:31:00.426153 #34243]  INFO -- configserver-centos-65:  +    ;;
I, [2015-07-15T21:31:00.426170 #34243]  INFO -- configserver-centos-65:  +  *)
I, [2015-07-15T21:31:00.426189 #34243]  INFO -- configserver-centos-65:  +    echo "Usage: $0 {start|stop|status|restart|reload|force-reload|condrestart}"
I, [2015-07-15T21:31:00.426208 #34243]  INFO -- configserver-centos-65:  +    RETVAL=1
I, [2015-07-15T21:31:00.426225 #34243]  INFO -- configserver-centos-65:  +esac
I, [2015-07-15T21:31:00.426242 #34243]  INFO -- configserver-centos-65:  +
I, [2015-07-15T21:31:00.426259 #34243]  INFO -- configserver-centos-65:  +exit $RETVAL
I, [2015-07-15T21:31:00.436693 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:31:00.436735 #34243]  INFO -- configserver-centos-65:     - change mode from '' to '0755'
I, [2015-07-15T21:31:00.436754 #34243]  INFO -- configserver-centos-65:     - change owner from '' to 'root'
I, [2015-07-15T21:31:00.587581 #34243]  INFO -- configserver-centos-65: 
I, [2015-07-15T21:31:00.588940 #34243]  INFO -- configserver-centos-65: 

Is this production-ready?

Hi guys,

Found my way here from edelight/chef-mongodb#385 and was wondering if this cookbook would be taking over, and is ready to be used in anger? I intend to have it running on an Ubuntu 12 server.

Will it be added to the Chef Supermarket at some point too?

Thanks,
James.

Roadmap

A basic initial roadmap

  • Setup travis
  • Update README.md regarding the fork and travis badge ( follow apache 2.0 LICENSE )
  • Fix travis build for ruby 1.9.3 #34 in order to have CI
  • Update metadata.rb and submit to market. Which name should we use? Discussion: sous-chefs/meta#3
  • Review and tag pending pull requests
  • Define an strategy to clean PRs
  • Merge/Clean easy PRs
  • Support for MongoDB >3.0 Branch: https://github.com/chef-brigade/mongodb-cookbook/tree/mongodb-v3

Failing Test: mongos-ubuntu-1204

I, [2015-07-15T21:51:55.466729 #39721]  INFO -- mongos-ubuntu-1204: -----> Cleaning up any prior instances of <mongos-ubuntu-1204>
I, [2015-07-15T21:51:55.466875 #39721]  INFO -- mongos-ubuntu-1204: -----> Destroying <mongos-ubuntu-1204>...
I, [2015-07-15T21:51:55.467626 #39721]  INFO -- mongos-ubuntu-1204: Finished destroying <mongos-ubuntu-1204> (0m0.00s).
I, [2015-07-15T21:51:55.467857 #39721]  INFO -- mongos-ubuntu-1204: -----> Testing <mongos-ubuntu-1204>
I, [2015-07-15T21:51:55.467926 #39721]  INFO -- mongos-ubuntu-1204: -----> Creating <mongos-ubuntu-1204>...
I, [2015-07-15T21:51:57.117262 #39721]  INFO -- mongos-ubuntu-1204: Bringing machine 'default' up with 'virtualbox' provider...
I, [2015-07-15T21:51:57.321904 #39721]  INFO -- mongos-ubuntu-1204: ==> default: Importing base box 'opscode-ubuntu-12.04'...
I, [2015-07-15T21:52:06.372069 #39721]  INFO -- mongos-ubuntu-1204: 
�[KProgress: 10%
�[KProgress: 20%
�[KProgress: 40%
�[KProgress: 70%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
I, [2015-07-15T21:52:07.117381 #39721]  INFO -- mongos-ubuntu-1204: ==> default: Setting the name of the VM: kitchen-mongodb-cookbook-mongos-ubuntu-1204_default_1437011527064_49597
I, [2015-07-15T21:52:09.439287 #39721]  INFO -- mongos-ubuntu-1204: ==> default: Fixed port collision for 22 => 2222. Now on port 2214.
I, [2015-07-15T21:52:09.501199 #39721]  INFO -- mongos-ubuntu-1204: ==> default: Clearing any previously set network interfaces...
I, [2015-07-15T21:52:09.549038 #39721]  INFO -- mongos-ubuntu-1204: ==> default: Preparing network interfaces based on configuration...
I, [2015-07-15T21:52:09.549300 #39721]  INFO -- mongos-ubuntu-1204:     default: Adapter 1: nat
I, [2015-07-15T21:52:09.594770 #39721]  INFO -- mongos-ubuntu-1204: ==> default: Forwarding ports...
I, [2015-07-15T21:52:09.662145 #39721]  INFO -- mongos-ubuntu-1204:     default: 22 => 2214 (adapter 1)
I, [2015-07-15T21:52:09.814661 #39721]  INFO -- mongos-ubuntu-1204: ==> default: Running 'pre-boot' VM customizations...
I, [2015-07-15T21:52:09.864687 #39721]  INFO -- mongos-ubuntu-1204: ==> default: Booting VM...
I, [2015-07-15T21:52:10.127275 #39721]  INFO -- mongos-ubuntu-1204: ==> default: Waiting for machine to boot. This may take a few minutes...
I, [2015-07-15T21:52:10.485654 #39721]  INFO -- mongos-ubuntu-1204:     default: SSH address: 127.0.0.1:2214
I, [2015-07-15T21:52:10.485759 #39721]  INFO -- mongos-ubuntu-1204:     default: SSH username: vagrant
I, [2015-07-15T21:52:10.485929 #39721]  INFO -- mongos-ubuntu-1204:     default: SSH auth method: private key
I, [2015-07-15T21:52:25.638461 #39721]  INFO -- mongos-ubuntu-1204:     default: Warning: Connection timeout. Retrying...
I, [2015-07-15T21:52:26.280291 #39721]  INFO -- mongos-ubuntu-1204:     default: 
I, [2015-07-15T21:52:26.280507 #39721]  INFO -- mongos-ubuntu-1204:     default: Vagrant insecure key detected. Vagrant will automatically replace
I, [2015-07-15T21:52:26.280575 #39721]  INFO -- mongos-ubuntu-1204:     default: this with a newly generated keypair for better security.
I, [2015-07-15T21:52:27.050227 #39721]  INFO -- mongos-ubuntu-1204:     default: 
I, [2015-07-15T21:52:27.050488 #39721]  INFO -- mongos-ubuntu-1204:     default: Inserting generated public key within guest...
I, [2015-07-15T21:52:27.136251 #39721]  INFO -- mongos-ubuntu-1204:     default: Removing insecure key from the guest if it's present...
I, [2015-07-15T21:52:27.214675 #39721]  INFO -- mongos-ubuntu-1204:     default: Key inserted! Disconnecting and reconnecting using new SSH key...
I, [2015-07-15T21:52:28.205825 #39721]  INFO -- mongos-ubuntu-1204: ==> default: Machine booted and ready!
I, [2015-07-15T21:52:28.206345 #39721]  INFO -- mongos-ubuntu-1204: ==> default: Checking for guest additions in VM...
I, [2015-07-15T21:52:28.284215 #39721]  INFO -- mongos-ubuntu-1204: ==> default: Setting hostname...
I, [2015-07-15T21:52:28.645254 #39721]  INFO -- mongos-ubuntu-1204: The following SSH command responded with a non-zero exit status.
I, [2015-07-15T21:52:28.645451 #39721]  INFO -- mongos-ubuntu-1204: Vagrant assumes that this means the command failed!
I, [2015-07-15T21:52:28.645612 #39721]  INFO -- mongos-ubuntu-1204: 
I, [2015-07-15T21:52:28.645696 #39721]  INFO -- mongos-ubuntu-1204: hostnamectl set-hostname 'mongos-ubuntu-1204'
I, [2015-07-15T21:52:28.645762 #39721]  INFO -- mongos-ubuntu-1204: 
I, [2015-07-15T21:52:28.645874 #39721]  INFO -- mongos-ubuntu-1204: Stdout from the command:
I, [2015-07-15T21:52:28.645925 #39721]  INFO -- mongos-ubuntu-1204: 
I, [2015-07-15T21:52:28.646296 #39721]  INFO -- mongos-ubuntu-1204: 
I, [2015-07-15T21:52:28.646326 #39721]  INFO -- mongos-ubuntu-1204: 
I, [2015-07-15T21:52:28.646351 #39721]  INFO -- mongos-ubuntu-1204: Stderr from the command:
I, [2015-07-15T21:52:28.646375 #39721]  INFO -- mongos-ubuntu-1204: 
I, [2015-07-15T21:52:28.646404 #39721]  INFO -- mongos-ubuntu-1204: stdin: is not a tty
I, [2015-07-15T21:52:28.646429 #39721]  INFO -- mongos-ubuntu-1204: bash: line 2: hostnamectl: command not found
E, [2015-07-15T21:52:28.781174 #39721] ERROR -- mongos-ubuntu-1204: Create failed on instance <mongos-ubuntu-1204>.
E, [2015-07-15T21:52:28.782205 #39721] ERROR -- mongos-ubuntu-1204: ------Exception-------
E, [2015-07-15T21:52:28.782266 #39721] ERROR -- mongos-ubuntu-1204: Class: Kitchen::ShellOut::ShellCommandFailed
E, [2015-07-15T21:52:28.782283 #39721] ERROR -- mongos-ubuntu-1204: Message: Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-ubuntu-12.04'...

�[KProgress: 10%
�[KProgress: 20%
�[KProgress: 40%
�[KProgress: 70%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: kitchen-mongodb-cookbook-mongos-ubuntu-1204_default_1437011527064_49597
==> default: Fixed port collision for 22 => 2222. Now on port 2214.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2214 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2214
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: 
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default: 
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

hostnamectl set-hostname 'mongos-ubuntu-1204'

Stdout from the command:



Stderr from the command:

stdin: is not a tty
bash: line 2: hostnamectl: command not found
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1
E, [2015-07-15T21:52:28.782305 #39721] ERROR -- mongos-ubuntu-1204: ---Nested Exception---
E, [2015-07-15T21:52:28.782326 #39721] ERROR -- mongos-ubuntu-1204: Class: Mixlib::ShellOut::ShellCommandFailed
E, [2015-07-15T21:52:28.782346 #39721] ERROR -- mongos-ubuntu-1204: Message: Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-ubuntu-12.04'...

�[KProgress: 10%
�[KProgress: 20%
�[KProgress: 40%
�[KProgress: 70%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: kitchen-mongodb-cookbook-mongos-ubuntu-1204_default_1437011527064_49597
==> default: Fixed port collision for 22 => 2222. Now on port 2214.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2214 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2214
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: 
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default: 
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

hostnamectl set-hostname 'mongos-ubuntu-1204'

Stdout from the command:



Stderr from the command:

stdin: is not a tty
bash: line 2: hostnamectl: command not found
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1
E, [2015-07-15T21:52:28.782418 #39721] ERROR -- mongos-ubuntu-1204: ------Backtrace-------
E, [2015-07-15T21:52:28.782437 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/shell_out.rb:73:in `rescue in run_command'
E, [2015-07-15T21:52:28.782451 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/shell_out.rb:61:in `run_command'
E, [2015-07-15T21:52:28.782464 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:318:in `run_command'
E, [2015-07-15T21:52:28.782476 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:302:in `run'
E, [2015-07-15T21:52:28.782492 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:348:in `run_vagrant_up'
E, [2015-07-15T21:52:28.782506 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:88:in `create'
E, [2015-07-15T21:52:28.782519 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:424:in `public_send'
E, [2015-07-15T21:52:28.782531 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:424:in `block in perform_action'
E, [2015-07-15T21:52:28.782543 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:485:in `call'
E, [2015-07-15T21:52:28.783527 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:485:in `block in synchronize_or_call'
E, [2015-07-15T21:52:28.783551 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:483:in `synchronize'
E, [2015-07-15T21:52:28.783563 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:483:in `synchronize_or_call'
E, [2015-07-15T21:52:28.783576 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:453:in `block in action'
E, [2015-07-15T21:52:28.783592 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T21:52:28.783624 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:452:in `action'
E, [2015-07-15T21:52:28.783639 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:424:in `perform_action'
E, [2015-07-15T21:52:28.783651 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:352:in `create_action'
E, [2015-07-15T21:52:28.783662 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:341:in `block in transition_to'
E, [2015-07-15T21:52:28.783673 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `each'
E, [2015-07-15T21:52:28.783685 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `transition_to'
E, [2015-07-15T21:52:28.783696 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:160:in `verify'
E, [2015-07-15T21:52:28.783711 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:189:in `block in test'
E, [2015-07-15T21:52:28.783724 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T21:52:28.783735 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:185:in `test'
E, [2015-07-15T21:52:28.783746 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `public_send'
E, [2015-07-15T21:52:28.783758 #39721] ERROR -- mongos-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `block (2 levels) in run_action'
E, [2015-07-15T21:52:28.783769 #39721] ERROR -- mongos-ubuntu-1204: ----------------------

Failing Test: mms-monitoring-agent-ubuntu-1204

I, [2015-07-15T22:45:58.213670 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: -----> Cleaning up any prior instances of <mms-monitoring-agent-ubuntu-1204>
I, [2015-07-15T22:45:58.213782 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: -----> Destroying <mms-monitoring-agent-ubuntu-1204>...
I, [2015-07-15T22:45:58.214589 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: Finished destroying <mms-monitoring-agent-ubuntu-1204> (0m0.00s).
I, [2015-07-15T22:45:58.214785 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: -----> Testing <mms-monitoring-agent-ubuntu-1204>
I, [2015-07-15T22:45:58.214852 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: -----> Creating <mms-monitoring-agent-ubuntu-1204>...
I, [2015-07-15T22:46:00.222989 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: Bringing machine 'default' up with 'virtualbox' provider...
I, [2015-07-15T22:46:00.443378 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: ==> default: Importing base box 'opscode-ubuntu-12.04'...
I, [2015-07-15T22:46:09.850578 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: 
�[KProgress: 10%
�[KProgress: 20%
�[KProgress: 40%
�[KProgress: 70%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
I, [2015-07-15T22:46:10.655055 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: ==> default: Setting the name of the VM: kitchen-mongodb-cookbook-mms-monitoring-agent-ubuntu-1204_default_1437014770601_36917
I, [2015-07-15T22:46:13.219778 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: ==> default: Fixed port collision for 22 => 2222. Now on port 2220.
I, [2015-07-15T22:46:13.278395 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: ==> default: Clearing any previously set network interfaces...
I, [2015-07-15T22:46:13.326686 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: ==> default: Preparing network interfaces based on configuration...
I, [2015-07-15T22:46:13.326894 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204:     default: Adapter 1: nat
I, [2015-07-15T22:46:13.373024 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: ==> default: Forwarding ports...
I, [2015-07-15T22:46:13.437472 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204:     default: 22 => 2220 (adapter 1)
I, [2015-07-15T22:46:13.647459 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: ==> default: Running 'pre-boot' VM customizations...
I, [2015-07-15T22:46:13.694848 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: ==> default: Booting VM...
I, [2015-07-15T22:46:13.951322 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: ==> default: Waiting for machine to boot. This may take a few minutes...
I, [2015-07-15T22:46:14.288756 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204:     default: SSH address: 127.0.0.1:2220
I, [2015-07-15T22:46:14.288922 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204:     default: SSH username: vagrant
I, [2015-07-15T22:46:14.289088 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204:     default: SSH auth method: private key
I, [2015-07-15T22:46:29.469657 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204:     default: Warning: Connection timeout. Retrying...
I, [2015-07-15T22:46:29.925197 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204:     default: 
I, [2015-07-15T22:46:29.925299 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204:     default: Vagrant insecure key detected. Vagrant will automatically replace
I, [2015-07-15T22:46:29.925320 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204:     default: this with a newly generated keypair for better security.
I, [2015-07-15T22:46:30.313756 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204:     default: 
I, [2015-07-15T22:46:30.313828 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204:     default: Inserting generated public key within guest...
I, [2015-07-15T22:46:30.374596 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204:     default: Removing insecure key from the guest if it's present...
I, [2015-07-15T22:46:30.413179 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204:     default: Key inserted! Disconnecting and reconnecting using new SSH key...
I, [2015-07-15T22:46:31.024356 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: ==> default: Machine booted and ready!
I, [2015-07-15T22:46:31.024817 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: ==> default: Checking for guest additions in VM...
I, [2015-07-15T22:46:31.070833 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: ==> default: Setting hostname...
I, [2015-07-15T22:46:31.260730 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: The following SSH command responded with a non-zero exit status.
I, [2015-07-15T22:46:31.260793 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: Vagrant assumes that this means the command failed!
I, [2015-07-15T22:46:31.260813 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: 
I, [2015-07-15T22:46:31.260872 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: hostnamectl set-hostname 'mms-monitoring-agent-ubuntu-1204'
I, [2015-07-15T22:46:31.260887 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: 
I, [2015-07-15T22:46:31.260901 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: Stdout from the command:
I, [2015-07-15T22:46:31.260916 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: 
I, [2015-07-15T22:46:31.260929 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: 
I, [2015-07-15T22:46:31.260948 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: 
I, [2015-07-15T22:46:31.260974 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: Stderr from the command:
I, [2015-07-15T22:46:31.260989 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: 
I, [2015-07-15T22:46:31.261001 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: stdin: is not a tty
I, [2015-07-15T22:46:31.261018 #62887]  INFO -- mms-monitoring-agent-ubuntu-1204: bash: line 2: hostnamectl: command not found
E, [2015-07-15T22:46:31.322158 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: Create failed on instance <mms-monitoring-agent-ubuntu-1204>.
E, [2015-07-15T22:46:31.322320 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: ------Exception-------
E, [2015-07-15T22:46:31.322346 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: Class: Kitchen::ShellOut::ShellCommandFailed
E, [2015-07-15T22:46:31.322362 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: Message: Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-ubuntu-12.04'...

�[KProgress: 10%
�[KProgress: 20%
�[KProgress: 40%
�[KProgress: 70%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: kitchen-mongodb-cookbook-mms-monitoring-agent-ubuntu-1204_default_1437014770601_36917
==> default: Fixed port collision for 22 => 2222. Now on port 2220.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2220 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2220
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: 
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default: 
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

hostnamectl set-hostname 'mms-monitoring-agent-ubuntu-1204'

Stdout from the command:



Stderr from the command:

stdin: is not a tty
bash: line 2: hostnamectl: command not found
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1
E, [2015-07-15T22:46:31.322400 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: ---Nested Exception---
E, [2015-07-15T22:46:31.322416 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: Class: Mixlib::ShellOut::ShellCommandFailed
E, [2015-07-15T22:46:31.322430 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: Message: Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-ubuntu-12.04'...

�[KProgress: 10%
�[KProgress: 20%
�[KProgress: 40%
�[KProgress: 70%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: kitchen-mongodb-cookbook-mms-monitoring-agent-ubuntu-1204_default_1437014770601_36917
==> default: Fixed port collision for 22 => 2222. Now on port 2220.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2220 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2220
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: 
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default: 
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

hostnamectl set-hostname 'mms-monitoring-agent-ubuntu-1204'

Stdout from the command:



Stderr from the command:

stdin: is not a tty
bash: line 2: hostnamectl: command not found
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1
E, [2015-07-15T22:46:31.322449 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: ------Backtrace-------
E, [2015-07-15T22:46:31.322462 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/shell_out.rb:73:in `rescue in run_command'
E, [2015-07-15T22:46:31.322488 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/shell_out.rb:61:in `run_command'
E, [2015-07-15T22:46:31.322504 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:318:in `run_command'
E, [2015-07-15T22:46:31.322520 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:302:in `run'
E, [2015-07-15T22:46:31.322663 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:348:in `run_vagrant_up'
E, [2015-07-15T22:46:31.322678 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:88:in `create'
E, [2015-07-15T22:46:31.322691 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:424:in `public_send'
E, [2015-07-15T22:46:31.322704 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:424:in `block in perform_action'
E, [2015-07-15T22:46:31.322724 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:485:in `call'
E, [2015-07-15T22:46:31.322754 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:485:in `block in synchronize_or_call'
E, [2015-07-15T22:46:31.322770 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:483:in `synchronize'
E, [2015-07-15T22:46:31.322786 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:483:in `synchronize_or_call'
E, [2015-07-15T22:46:31.322801 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:453:in `block in action'
E, [2015-07-15T22:46:31.322817 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T22:46:31.322832 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:452:in `action'
E, [2015-07-15T22:46:31.322848 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:424:in `perform_action'
E, [2015-07-15T22:46:31.322864 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:352:in `create_action'
E, [2015-07-15T22:46:31.322880 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:341:in `block in transition_to'
E, [2015-07-15T22:46:31.322895 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `each'
E, [2015-07-15T22:46:31.322911 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `transition_to'
E, [2015-07-15T22:46:31.322927 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:160:in `verify'
E, [2015-07-15T22:46:31.322942 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:189:in `block in test'
E, [2015-07-15T22:46:31.322958 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T22:46:31.322974 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:185:in `test'
E, [2015-07-15T22:46:31.322989 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `public_send'
E, [2015-07-15T22:46:31.323005 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `block (2 levels) in run_action'
E, [2015-07-15T22:46:31.323020 #62887] ERROR -- mms-monitoring-agent-ubuntu-1204: ----------------------

ERROR: mongodb_user[admin] (mongodb::user_management line 14) had an error: NameError: uninitialized constant Mongo::MongoClient

Hi guys!

I am struggling to make mongodb work. Using the configuration below with no success:

environment:

override_attributes(
  :mongodb => {
    :install_method => 'mongodb-org',
    :config => { :auth => true },
    :admin => {
      :username => 'admin',
      :password => 'password'
    },
    :authentication => {
      :username => 'admin',
      :password => 'password'
    },
    :users => [
      {
        :username => "myuser",
        :password => "password",
        :roles    => ["dbOwner"],
        :database => "mydatabase",
      }
    ]
  }
)

role:

all_env = [
  "role[base]",
  "recipe[mongodb]",
  "recipe[mongodb::user_management]"
]

run_list(all_env)

But when running the project locally using Vagrant I get this error:

==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:60:in `run'
==> default: /opt/chef/embedded/apps/chef/bin/chef-solo:25:in `<top (required)>'
==> default: /usr/bin/chef-solo:53:in `load'
==> default: /usr/bin/chef-solo:53:in `<main>'
==> default: [2015-08-14T22:46:45+00:00] ERROR: mongodb_user[admin] (mongodb::user_management line 14) had an error: NameError: uninitialized constant Mongo::MongoClient
==> default: [2015-08-14T22:46:45+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.

Could anyone help me, please? I am a little stuck at this point and don't know what to do. I am pretty sure there is something I am not doing well but can't figure out what.

Thanks!

Merging of the PR

@luishdez You seem to be driving the train at the moment in regards to the open PRs. I haven't had a ton of time lately so the effort is appreciated.

I am starting to free up a little and can lend some time. I am giving a second eye on some of these PR's you have reviewed and tagged, my question is after I look over them and think they are good do you want me to proceed with merge? Are you covering the merges working out a proper order so they can be merged smoothly?

Just wanted to get this sorted out so we aren't stepping on each other.

Failing Test: mongos-centos-65

I, [2015-07-15T22:22:24.543479 #51191]  INFO -- mongos-centos-65: -----> Cleaning up any prior instances of <mongos-centos-65>
I, [2015-07-15T22:22:24.544188 #51191]  INFO -- mongos-centos-65: -----> Destroying <mongos-centos-65>...
I, [2015-07-15T22:22:24.545040 #51191]  INFO -- mongos-centos-65: Finished destroying <mongos-centos-65> (0m0.00s).
I, [2015-07-15T22:22:24.545342 #51191]  INFO -- mongos-centos-65: -----> Testing <mongos-centos-65>
I, [2015-07-15T22:22:24.545435 #51191]  INFO -- mongos-centos-65: -----> Creating <mongos-centos-65>...
I, [2015-07-15T22:22:26.556978 #51191]  INFO -- mongos-centos-65: Bringing machine 'default' up with 'virtualbox' provider...
I, [2015-07-15T22:22:26.796756 #51191]  INFO -- mongos-centos-65: ==> default: Importing base box 'opscode-centos-6.5'...
I, [2015-07-15T22:22:34.326333 #51191]  INFO -- mongos-centos-65: 
�[KProgress: 10%
�[KProgress: 20%
�[KProgress: 30%
�[KProgress: 40%
�[KProgress: 60%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
I, [2015-07-15T22:22:35.177790 #51191]  INFO -- mongos-centos-65: ==> default: Setting the name of the VM: kitchen-mongodb-cookbook-mongos-centos-65_default_1437013355119_2725
I, [2015-07-15T22:22:37.593123 #51191]  INFO -- mongos-centos-65: ==> default: Fixed port collision for 22 => 2222. Now on port 2218.
I, [2015-07-15T22:22:37.656178 #51191]  INFO -- mongos-centos-65: ==> default: Clearing any previously set network interfaces...
I, [2015-07-15T22:22:37.701641 #51191]  INFO -- mongos-centos-65: ==> default: Preparing network interfaces based on configuration...
I, [2015-07-15T22:22:37.701857 #51191]  INFO -- mongos-centos-65:     default: Adapter 1: nat
I, [2015-07-15T22:22:37.749097 #51191]  INFO -- mongos-centos-65: ==> default: Forwarding ports...
I, [2015-07-15T22:22:37.812837 #51191]  INFO -- mongos-centos-65:     default: 22 => 2218 (adapter 1)
I, [2015-07-15T22:22:37.965465 #51191]  INFO -- mongos-centos-65: ==> default: Running 'pre-boot' VM customizations...
I, [2015-07-15T22:22:38.054354 #51191]  INFO -- mongos-centos-65: ==> default: Booting VM...
I, [2015-07-15T22:22:38.281380 #51191]  INFO -- mongos-centos-65: ==> default: Waiting for machine to boot. This may take a few minutes...
I, [2015-07-15T22:22:38.591149 #51191]  INFO -- mongos-centos-65:     default: SSH address: 127.0.0.1:2218
I, [2015-07-15T22:22:38.591499 #51191]  INFO -- mongos-centos-65:     default: SSH username: vagrant    default: SSH auth method: private key
I, [2015-07-15T22:22:53.783529 #51191]  INFO -- mongos-centos-65:     default: Warning: Connection timeout. Retrying...
I, [2015-07-15T22:23:01.541266 #51191]  INFO -- mongos-centos-65:     default: 
I, [2015-07-15T22:23:01.541380 #51191]  INFO -- mongos-centos-65:     default: Vagrant insecure key detected. Vagrant will automatically replace
I, [2015-07-15T22:23:01.541431 #51191]  INFO -- mongos-centos-65:     default: this with a newly generated keypair for better security.
I, [2015-07-15T22:23:02.175011 #51191]  INFO -- mongos-centos-65:     default: 
I, [2015-07-15T22:23:02.175078 #51191]  INFO -- mongos-centos-65:     default: Inserting generated public key within guest...
I, [2015-07-15T22:23:02.345181 #51191]  INFO -- mongos-centos-65:     default: Removing insecure key from the guest if it's present...
I, [2015-07-15T22:23:02.452481 #51191]  INFO -- mongos-centos-65:     default: Key inserted! Disconnecting and reconnecting using new SSH key...
I, [2015-07-15T22:23:03.438053 #51191]  INFO -- mongos-centos-65: ==> default: Machine booted and ready!
I, [2015-07-15T22:23:03.438153 #51191]  INFO -- mongos-centos-65: ==> default: Checking for guest additions in VM...
I, [2015-07-15T22:23:03.488792 #51191]  INFO -- mongos-centos-65: ==> default: Setting hostname...
I, [2015-07-15T22:23:07.729261 #51191]  INFO -- mongos-centos-65: ==> default: Machine not provisioned because `--no-provision` is specified.
I, [2015-07-15T22:23:10.387764 #51191]  INFO -- mongos-centos-65: [SSH] Established
I, [2015-07-15T22:23:10.388588 #51191]  INFO -- mongos-centos-65: Vagrant instance <mongos-centos-65> created.
I, [2015-07-15T22:23:10.392474 #51191]  INFO -- mongos-centos-65: Finished creating <mongos-centos-65> (0m45.84s).
I, [2015-07-15T22:23:10.393010 #51191]  INFO -- mongos-centos-65: -----> Converging <mongos-centos-65>...
I, [2015-07-15T22:23:10.396683 #51191]  INFO -- mongos-centos-65: Preparing files for transfer
I, [2015-07-15T22:23:10.396946 #51191]  INFO -- mongos-centos-65: Preparing dna.json
I, [2015-07-15T22:23:10.398311 #51191]  INFO -- mongos-centos-65: Resolving cookbook dependencies with Berkshelf 3.3.0...
I, [2015-07-15T22:23:11.411634 #51191]  INFO -- mongos-centos-65: Removing non-cookbook files before transfer
I, [2015-07-15T22:23:11.440052 #51191]  INFO -- mongos-centos-65: Preparing nodes
I, [2015-07-15T22:23:11.440951 #51191]  INFO -- mongos-centos-65: Preparing validation.pem
I, [2015-07-15T22:23:11.442127 #51191]  INFO -- mongos-centos-65: Preparing client.rb
I, [2015-07-15T22:23:11.458752 #51191]  INFO -- mongos-centos-65: -----> Installing Chef Omnibus (11.12.8)
I, [2015-07-15T22:23:11.462210 #51191]  INFO -- mongos-centos-65: Downloading https://www.chef.io/chef/install.sh to file /tmp/install.sh
I, [2015-07-15T22:23:11.462253 #51191]  INFO -- mongos-centos-65: Trying wget...
I, [2015-07-15T22:23:11.745978 #51191]  INFO -- mongos-centos-65: Trying curl...
I, [2015-07-15T22:23:12.069375 #51191]  INFO -- mongos-centos-65: Download complete.
I, [2015-07-15T22:23:12.114818 #51191]  INFO -- mongos-centos-65: Downloading Chef 11.12.8 for el...
I, [2015-07-15T22:23:12.114877 #51191]  INFO -- mongos-centos-65: downloading https://www.chef.io/chef/metadata?v=11.12.8&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64
I, [2015-07-15T22:23:12.114917 #51191]  INFO -- mongos-centos-65:   to file /tmp/install.sh.2358/metadata.txt
I, [2015-07-15T22:23:12.115658 #51191]  INFO -- mongos-centos-65: trying wget...
I, [2015-07-15T22:23:12.270936 #51191]  INFO -- mongos-centos-65: trying curl...
I, [2015-07-15T22:23:12.631273 #51191]  INFO -- mongos-centos-65: url   https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.12.8-2.el6.x86_64.rpm
I, [2015-07-15T22:23:12.631356 #51191]  INFO -- mongos-centos-65: md5   3dfacef6e6640adefc12bf6956a3a4e2
I, [2015-07-15T22:23:12.631380 #51191]  INFO -- mongos-centos-65: sha256    ee45e0f226ffd503a949c1b10944064a4655d0255e03a16b073bed85eac83e95
I, [2015-07-15T22:23:12.634950 #51191]  INFO -- mongos-centos-65: downloaded metadata file looks valid...
I, [2015-07-15T22:23:12.645552 #51191]  INFO -- mongos-centos-65: downloading https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.12.8-2.el6.x86_64.rpm
I, [2015-07-15T22:23:12.645606 #51191]  INFO -- mongos-centos-65:   to file /tmp/install.sh.2358/chef-11.12.8-2.el6.x86_64.rpm
I, [2015-07-15T22:23:12.645633 #51191]  INFO -- mongos-centos-65: trying wget...
I, [2015-07-15T22:23:17.109984 #51191]  INFO -- mongos-centos-65: Comparing checksum with sha256sum...
I, [2015-07-15T22:23:17.296272 #51191]  INFO -- mongos-centos-65: Installing Chef 11.12.8
I, [2015-07-15T22:23:17.296327 #51191]  INFO -- mongos-centos-65: installing with rpm...
I, [2015-07-15T22:23:17.400245 #51191]  INFO -- mongos-centos-65: warning: /tmp/install.sh.2358/chef-11.12.8-2.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
I, [2015-07-15T22:23:17.756348 #51191]  INFO -- mongos-centos-65: Preparing...                                                            (100%)��������������������������������������������������#                                           (100%)��������������������������������������������������##                                          (100%)��������������������������������������������������###                                         (100%)��������������������������������������������������####                                        (100%)��������������������������������������������������#####                                       (100%)��������������������������������������������������######                                      (100%)��������������������������������������������������#######                                     (100%)��������������������������������������������������########                                    (100%)��������������������������������������������������#########                                   (100%)��������������������������������������������������##########                                  (100%)��������������������������������������������������###########                                 (100%)��������������������������������������������������############                                (100%)��������������������������������������������������#############                               (100%)��������������������������������������������������##############                              (100%)��������������������������������������������������###############                             (100%)��������������������������������������������������################                            (100%)��������������������������������������������������#################                           (100%)��������������������������������������������������##################                          (100%)��������������������������������������������������###################                         (100%)��������������������������������������������������####################                        (100%)��������������������������������������������������#####################                       (100%)��������������������������������������������������######################                      (100%)��������������������������������������������������#######################                     (100%)��������������������������������������������������########################                    (100%)��������������������������������������������������#########################                   (100%)��������������������������������������������������##########################                  (100%)��������������������������������������������������###########################                 (100%)��������������������������������������������������############################                (100%)��������������������������������������������������#############################               (100%)��������������������������������������������������##############################              (100%)��������������������������������������������������###############################             (100%)��������������������������������������������������################################            (100%)��������������������������������������������������#################################           (100%)��������������������������������������������������##################################          (100%)��������������������������������������������������###################################         (100%)��������������������������������������������������####################################        (100%)��������������������������������������������������#####################################       (100%)��������������������������������������������������######################################      (100%)��������������������������������������������������#######################################     (100%)��������������������������������������������������########################################    (100%)��������������������������������������������������#########################################   (100%)��������������������������������������������������##########################################  (100%)��������������������������������������������������########################################### (100%)��������������������������������������������������########################################### [100%]
I, [2015-07-15T22:23:21.415463 #51191]  INFO -- mongos-centos-65:    1:chef                                                               (  1%)��������������������������������������������������#                                           (  3%)��������������������������������������������������##                                          (  6%)��������������������������������������������������###                                         (  8%)��������������������������������������������������####                                        ( 10%)��������������������������������������������������#####                                       ( 13%)��������������������������������������������������######                                      ( 15%)��������������������������������������������������#######                                     ( 17%)��������������������������������������������������########                                    ( 19%)��������������������������������������������������#########                                   ( 22%)��������������������������������������������������##########                                  ( 24%)��������������������������������������������������###########                                 ( 26%)��������������������������������������������������############                                ( 28%)��������������������������������������������������#############                               ( 31%)��������������������������������������������������##############                              ( 33%)��������������������������������������������������###############                             ( 35%)��������������������������������������������������################                            ( 38%)��������������������������������������������������#################                           ( 40%)��������������������������������������������������##################                          ( 42%)��������������������������������������������������###################                         ( 44%)��������������������������������������������������####################                        ( 47%)��������������������������������������������������#####################                       ( 49%)��������������������������������������������������######################                      ( 51%)��������������������������������������������������#######################                     ( 53%)��������������������������������������������������########################                    ( 56%)��������������������������������������������������#########################                   ( 58%)��������������������������������������������������##########################                  ( 60%)��������������������������������������������������###########################                 ( 63%)��������������������������������������������������############################                ( 65%)��������������������������������������������������#############################               ( 67%)��������������������������������������������������##############################              ( 69%)��������������������������������������������������###############################             ( 72%)��������������������������������������������������################################            ( 74%)��������������������������������������������������#################################           ( 76%)��������������������������������������������������##################################          ( 78%)��������������������������������������������������###################################         ( 81%)��������������������������������������������������####################################        ( 83%)��������������������������������������������������#####################################       ( 85%)��������������������������������������������������######################################      ( 88%)��������������������������������������������������#######################################     ( 90%)��������������������������������������������������########################################    ( 92%)��������������������������������������������������#########################################   ( 94%)��������������������������������������������������##########################################  ( 97%)��������������������������������������������������########################################### ( 99%)��������������������������������������������������########################################### [100%]
I, [2015-07-15T22:23:22.184653 #51191]  INFO -- mongos-centos-65: Thank you for installing Chef!
I, [2015-07-15T22:23:22.226431 #51191]  INFO -- mongos-centos-65: Transferring files to <mongos-centos-65>
I, [2015-07-15T22:23:23.827320 #51191]  INFO -- mongos-centos-65: [2015-07-16T02:23:22+00:00] WARN: 
I, [2015-07-15T22:23:23.827385 #51191]  INFO -- mongos-centos-65: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
I, [2015-07-15T22:23:23.827409 #51191]  INFO -- mongos-centos-65: SSL validation of HTTPS requests is disabled. HTTPS connections are still
I, [2015-07-15T22:23:23.827428 #51191]  INFO -- mongos-centos-65: encrypted, but chef is not able to detect forged replies or man in the middle
I, [2015-07-15T22:23:23.827445 #51191]  INFO -- mongos-centos-65: attacks.
I, [2015-07-15T22:23:23.827459 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:23.827474 #51191]  INFO -- mongos-centos-65: To fix this issue add an entry like this to your configuration file:
I, [2015-07-15T22:23:23.827489 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:23.827503 #51191]  INFO -- mongos-centos-65: ```
I, [2015-07-15T22:23:23.827517 #51191]  INFO -- mongos-centos-65:   # Verify all HTTPS connections (recommended)
I, [2015-07-15T22:23:23.827531 #51191]  INFO -- mongos-centos-65:   ssl_verify_mode :verify_peer
I, [2015-07-15T22:23:23.827544 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:23.827557 #51191]  INFO -- mongos-centos-65:   # OR, Verify only connections to chef-server
I, [2015-07-15T22:23:23.827570 #51191]  INFO -- mongos-centos-65:   verify_api_cert true
I, [2015-07-15T22:23:23.827583 #51191]  INFO -- mongos-centos-65: ```
I, [2015-07-15T22:23:23.827595 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:23.827608 #51191]  INFO -- mongos-centos-65: To check your SSL configuration, or troubleshoot errors, you can use the
I, [2015-07-15T22:23:23.827621 #51191]  INFO -- mongos-centos-65: `knife ssl check` command like so:
I, [2015-07-15T22:23:23.827634 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:23.827646 #51191]  INFO -- mongos-centos-65: ```
I, [2015-07-15T22:23:23.827659 #51191]  INFO -- mongos-centos-65:   knife ssl check -c /tmp/kitchen/client.rb
I, [2015-07-15T22:23:23.827671 #51191]  INFO -- mongos-centos-65: ```
I, [2015-07-15T22:23:23.827683 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:23.827696 #51191]  INFO -- mongos-centos-65: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
I, [2015-07-15T22:23:23.827709 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:23.828232 #51191]  INFO -- mongos-centos-65: Starting Chef Client, version 11.12.8
I, [2015-07-15T22:23:26.019746 #51191]  INFO -- mongos-centos-65: Creating a new client identity for mongos-centos-65 using the validator key.
I, [2015-07-15T22:23:26.227818 #51191]  INFO -- mongos-centos-65: resolving cookbooks for run list: ["yum", "yum-epel", "mongodb::mongos"]
I, [2015-07-15T22:23:26.641083 #51191]  INFO -- mongos-centos-65: Synchronizing Cookbooks:
I, [2015-07-15T22:23:26.793945 #51191]  INFO -- mongos-centos-65:   - yum
I, [2015-07-15T22:23:26.945059 #51191]  INFO -- mongos-centos-65:   - yum-epel
I, [2015-07-15T22:23:27.376046 #51191]  INFO -- mongos-centos-65:   - mongodb
I, [2015-07-15T22:23:27.602850 #51191]  INFO -- mongos-centos-65:   - apt
I, [2015-07-15T22:23:27.805843 #51191]  INFO -- mongos-centos-65:   - python
I, [2015-07-15T22:23:28.068197 #51191]  INFO -- mongos-centos-65:   - build-essential
I, [2015-07-15T22:23:28.068251 #51191]  INFO -- mongos-centos-65: Compiling Cookbooks...
I, [2015-07-15T22:23:28.115450 #51191]  INFO -- mongos-centos-65: [2015-07-16T02:23:26+00:00] WARN: CentOS doesn't provide mongodb, forcing use of mongodb-org repo
I, [2015-07-15T22:23:28.219481 #51191]  INFO -- mongos-centos-65: [2015-07-16T02:23:26+00:00] WARN: 10gen_repo is deprecated, use mongodb_org_repo
I, [2015-07-15T22:23:28.260141 #51191]  INFO -- mongos-centos-65: [2015-07-16T02:23:27+00:00] WARN: Cloning resource attributes for template[/etc/mongodb.conf] from prior resource (CHEF-3694)
I, [2015-07-15T22:23:28.260219 #51191]  INFO -- mongos-centos-65: [2015-07-16T02:23:27+00:00] WARN: Previous template[/etc/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:14:in `from_file'
I, [2015-07-15T22:23:28.260241 #51191]  INFO -- mongos-centos-65: [2015-07-16T02:23:27+00:00] WARN: Current  template[/etc/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:139:in `block in from_file'
I, [2015-07-15T22:23:28.261089 #51191]  INFO -- mongos-centos-65: [2015-07-16T02:23:27+00:00] WARN: Cloning resource attributes for execute[mongodb-systemctl-daemon-reload] from prior resource (CHEF-3694)
I, [2015-07-15T22:23:28.261124 #51191]  INFO -- mongos-centos-65: [2015-07-16T02:23:27+00:00] WARN: Previous execute[mongodb-systemctl-daemon-reload]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:37:in `from_file'
I, [2015-07-15T22:23:28.261142 #51191]  INFO -- mongos-centos-65: [2015-07-16T02:23:27+00:00] WARN: Current  execute[mongodb-systemctl-daemon-reload]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:174:in `block in from_file'
I, [2015-07-15T22:23:28.271839 #51191]  INFO -- mongos-centos-65: Converging 18 resources
I, [2015-07-15T22:23:28.271888 #51191]  INFO -- mongos-centos-65: Recipe: yum::default
I, [2015-07-15T22:23:28.273153 #51191]  INFO -- mongos-centos-65: Recipe: <Dynamically Defined Resource>
I, [2015-07-15T22:23:28.306926 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:28.306984 #51191]  INFO -- mongos-centos-65:     - update content in file /etc/yum.conf from a403d7 to 31c39a
I, [2015-07-15T22:23:28.307033 #51191]  INFO -- mongos-centos-65:  --- /etc/yum.conf    2013-02-22 11:26:34.000000000 +0000
I, [2015-07-15T22:23:28.307058 #51191]  INFO -- mongos-centos-65:  +++ /tmp/chef-rendered-template20150716-2465-b0sdm9  2015-07-16 02:23:27.048093356 +0000
I, [2015-07-15T22:23:28.307077 #51191]  INFO -- mongos-centos-65:  @@ -1,26 +1,15 @@
I, [2015-07-15T22:23:28.307094 #51191]  INFO -- mongos-centos-65:  +# This file was generated by Chef
I, [2015-07-15T22:23:28.307111 #51191]  INFO -- mongos-centos-65:  +# Do NOT modify this file by hand.
I, [2015-07-15T22:23:28.307128 #51191]  INFO -- mongos-centos-65:  +
I, [2015-07-15T22:23:28.307145 #51191]  INFO -- mongos-centos-65:   [main]
I, [2015-07-15T22:23:28.307162 #51191]  INFO -- mongos-centos-65:   cachedir=/var/cache/yum/$basearch/$releasever
I, [2015-07-15T22:23:28.307178 #51191]  INFO -- mongos-centos-65:  -keepcache=0
I, [2015-07-15T22:23:28.307196 #51191]  INFO -- mongos-centos-65:   debuglevel=2
I, [2015-07-15T22:23:28.307213 #51191]  INFO -- mongos-centos-65:  -logfile=/var/log/yum.log
I, [2015-07-15T22:23:28.307229 #51191]  INFO -- mongos-centos-65:  +distroverpkg=centos-release
I, [2015-07-15T22:23:28.307245 #51191]  INFO -- mongos-centos-65:   exactarch=1
I, [2015-07-15T22:23:28.307262 #51191]  INFO -- mongos-centos-65:  -obsoletes=1
I, [2015-07-15T22:23:28.307278 #51191]  INFO -- mongos-centos-65:   gpgcheck=1
I, [2015-07-15T22:23:28.307296 #51191]  INFO -- mongos-centos-65:  +installonly_limit=3
I, [2015-07-15T22:23:28.307311 #51191]  INFO -- mongos-centos-65:  +keepcache=0
I, [2015-07-15T22:23:28.307328 #51191]  INFO -- mongos-centos-65:  +logfile=/var/log/yum.log
I, [2015-07-15T22:23:28.307344 #51191]  INFO -- mongos-centos-65:  +obsoletes=1
I, [2015-07-15T22:23:28.307360 #51191]  INFO -- mongos-centos-65:   plugins=1
I, [2015-07-15T22:23:28.307375 #51191]  INFO -- mongos-centos-65:  -installonly_limit=5
I, [2015-07-15T22:23:28.307392 #51191]  INFO -- mongos-centos-65:  -bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum
I, [2015-07-15T22:23:28.307408 #51191]  INFO -- mongos-centos-65:  -distroverpkg=centos-release
I, [2015-07-15T22:23:28.307424 #51191]  INFO -- mongos-centos-65:  -
I, [2015-07-15T22:23:28.307441 #51191]  INFO -- mongos-centos-65:  -#  This is the default, if you make this bigger yum won't see if the metadata
I, [2015-07-15T22:23:28.307481 #51191]  INFO -- mongos-centos-65:  -# is newer on the remote and so you'll "gain" the bandwidth of not having to
I, [2015-07-15T22:23:28.307502 #51191]  INFO -- mongos-centos-65:  -# download the new metadata and "pay" for it by yum not having correct
I, [2015-07-15T22:23:28.307520 #51191]  INFO -- mongos-centos-65:  -# information.
I, [2015-07-15T22:23:28.307548 #51191]  INFO -- mongos-centos-65:  -#  It is esp. important, to have correct metadata, for distributions like
I, [2015-07-15T22:23:28.307580 #51191]  INFO -- mongos-centos-65:  -# Fedora which don't keep old packages around. If you don't like this checking
I, [2015-07-15T22:23:28.307599 #51191]  INFO -- mongos-centos-65:  -# interupting your command line usage, it's much better to have something
I, [2015-07-15T22:23:28.307617 #51191]  INFO -- mongos-centos-65:  -# manually check the metadata once an hour (yum-updatesd will do this).
I, [2015-07-15T22:23:28.307633 #51191]  INFO -- mongos-centos-65:  -# metadata_expire=90m
I, [2015-07-15T22:23:28.307649 #51191]  INFO -- mongos-centos-65:  -
I, [2015-07-15T22:23:28.307666 #51191]  INFO -- mongos-centos-65:  -# PUT YOUR REPOS HERE OR IN separate files named file.repo
I, [2015-07-15T22:23:28.563208 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:28.563292 #51191]  INFO -- mongos-centos-65:     - restore selinux security context
I, [2015-07-15T22:23:28.564263 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:28.564326 #51191]  INFO -- mongos-centos-65: Recipe: yum-epel::default
I, [2015-07-15T22:23:28.567988 #51191]  INFO -- mongos-centos-65: Recipe: <Dynamically Defined Resource>
I, [2015-07-15T22:23:28.587485 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:28.591192 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:28.591253 #51191]  INFO -- mongos-centos-65:     - update content in file /etc/yum.repos.d/epel.repo from none to d02c1f
I, [2015-07-15T22:23:28.591292 #51191]  INFO -- mongos-centos-65:  --- /etc/yum.repos.d/epel.repo   2015-07-16 02:23:27.339238857 +0000
I, [2015-07-15T22:23:28.591322 #51191]  INFO -- mongos-centos-65:  +++ /tmp/chef-rendered-template20150716-2465-13djpxe 2015-07-16 02:23:27.342240357 +0000
I, [2015-07-15T22:23:28.591350 #51191]  INFO -- mongos-centos-65:  @@ -1 +1,11 @@
I, [2015-07-15T22:23:28.591376 #51191]  INFO -- mongos-centos-65:  +# This file was generated by Chef
I, [2015-07-15T22:23:28.591402 #51191]  INFO -- mongos-centos-65:  +# Do NOT modify this file by hand.
I, [2015-07-15T22:23:28.591426 #51191]  INFO -- mongos-centos-65:  +
I, [2015-07-15T22:23:28.591450 #51191]  INFO -- mongos-centos-65:  +[epel]
I, [2015-07-15T22:23:28.591474 #51191]  INFO -- mongos-centos-65:  +name=Extra Packages for Enterprise Linux 6 - $basearch
I, [2015-07-15T22:23:28.591499 #51191]  INFO -- mongos-centos-65:  +enabled=1
I, [2015-07-15T22:23:28.591523 #51191]  INFO -- mongos-centos-65:  +failovermethod=priority
I, [2015-07-15T22:23:28.591546 #51191]  INFO -- mongos-centos-65:  +gpgcheck=1
I, [2015-07-15T22:23:28.591570 #51191]  INFO -- mongos-centos-65:  +gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6
I, [2015-07-15T22:23:28.593207 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:28.826063 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:28.826136 #51191]  INFO -- mongos-centos-65:     - restore selinux security context
I, [2015-07-15T22:23:29.243657 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:29.243743 #51191]  INFO -- mongos-centos-65:     - execute yum clean all --disablerepo=* --enablerepo=epel
I, [2015-07-15T22:23:46.292066 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:46.292882 #51191]  INFO -- mongos-centos-65:     - execute yum -q -y makecache --disablerepo=* --enablerepo=epel
I, [2015-07-15T22:23:46.295203 #51191]  INFO -- mongos-centos-65:   * ruby_block[yum-cache-reload-epel] action create
I, [2015-07-15T22:23:46.295264 #51191]  INFO -- mongos-centos-65:     - execute the ruby block yum-cache-reload-epel
I, [2015-07-15T22:23:46.295309 #51191]  INFO -- mongos-centos-65:   * execute[yum clean epel] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:23:46.295332 #51191]  INFO -- mongos-centos-65:   * execute[yum-makecache-epel] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:23:46.295352 #51191]  INFO -- mongos-centos-65:   * ruby_block[yum-cache-reload-epel] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:23:46.295370 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:46.295387 #51191]  INFO -- mongos-centos-65: Recipe: mongodb::mongodb_org_repo
I, [2015-07-15T22:23:46.298597 #51191]  INFO -- mongos-centos-65: Recipe: <Dynamically Defined Resource>
I, [2015-07-15T22:23:46.299608 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:46.303305 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:46.303362 #51191]  INFO -- mongos-centos-65:     - update content in file /etc/yum.repos.d/mongodb.repo from none to bf24c8
I, [2015-07-15T22:23:46.303390 #51191]  INFO -- mongos-centos-65:  --- /etc/yum.repos.d/mongodb.repo    2015-07-16 02:23:45.062095852 +0000
I, [2015-07-15T22:23:46.303411 #51191]  INFO -- mongos-centos-65:  +++ /tmp/chef-rendered-template20150716-2465-1u0ni9n 2015-07-16 02:23:45.065097353 +0000
I, [2015-07-15T22:23:46.303429 #51191]  INFO -- mongos-centos-65:  @@ -1 +1,9 @@
I, [2015-07-15T22:23:46.303446 #51191]  INFO -- mongos-centos-65:  +# This file was generated by Chef
I, [2015-07-15T22:23:46.303463 #51191]  INFO -- mongos-centos-65:  +# Do NOT modify this file by hand.
I, [2015-07-15T22:23:46.303479 #51191]  INFO -- mongos-centos-65:  +
I, [2015-07-15T22:23:46.303495 #51191]  INFO -- mongos-centos-65:  +[mongodb]
I, [2015-07-15T22:23:46.303511 #51191]  INFO -- mongos-centos-65:  +name=mongodb RPM Repository
I, [2015-07-15T22:23:46.303527 #51191]  INFO -- mongos-centos-65:  +baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64
I, [2015-07-15T22:23:46.303543 #51191]  INFO -- mongos-centos-65:  +enabled=1
I, [2015-07-15T22:23:46.303559 #51191]  INFO -- mongos-centos-65:  +gpgcheck=0
I, [2015-07-15T22:23:46.533407 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:46.534321 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:46.795825 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:46.795887 #51191]  INFO -- mongos-centos-65:     - execute yum clean all --disablerepo=* --enablerepo=mongodb
I, [2015-07-15T22:23:47.418436 #51191]  INFO -- mongos-centos-65:   * execute[yum-makecache-mongodb] action run
I, [2015-07-15T22:23:47.418505 #51191]  INFO -- mongos-centos-65:     - execute yum -q -y makecache --disablerepo=* --enablerepo=mongodb
I, [2015-07-15T22:23:47.418524 #51191]  INFO -- mongos-centos-65:   * ruby_block[yum-cache-reload-mongodb] action create
I, [2015-07-15T22:23:47.418539 #51191]  INFO -- mongos-centos-65:     - execute the ruby block yum-cache-reload-mongodb
I, [2015-07-15T22:23:47.418553 #51191]  INFO -- mongos-centos-65:   * execute[yum clean mongodb] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:23:47.418567 #51191]  INFO -- mongos-centos-65:   * execute[yum-makecache-mongodb] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:23:47.418581 #51191]  INFO -- mongos-centos-65:   * ruby_block[yum-cache-reload-mongodb] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:23:47.418594 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:47.418607 #51191]  INFO -- mongos-centos-65: Recipe: mongodb::install
I, [2015-07-15T22:23:47.418621 #51191]  INFO -- mongos-centos-65:   * file[/etc/sysconfig/mongodb] action create_if_missing
I, [2015-07-15T22:23:47.419539 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:47.419579 #51191]  INFO -- mongos-centos-65:     - update content in file /etc/sysconfig/mongodb from none to a35762
I, [2015-07-15T22:23:47.419606 #51191]  INFO -- mongos-centos-65:  --- /etc/sysconfig/mongodb   2015-07-16 02:23:46.180654853 +0000
I, [2015-07-15T22:23:47.419626 #51191]  INFO -- mongos-centos-65:  +++ /tmp/.mongodb20150716-2465-13qluqk   2015-07-16 02:23:46.180654853 +0000
I, [2015-07-15T22:23:47.419690 #51191]  INFO -- mongos-centos-65:  @@ -1 +1,2 @@
I, [2015-07-15T22:23:47.420655 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:47.420703 #51191]  INFO -- mongos-centos-65:     - change mode from '' to '0644'
I, [2015-07-15T22:23:47.420725 #51191]  INFO -- mongos-centos-65:     - change owner from '' to 'root'
I, [2015-07-15T22:23:47.575946 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:47.576811 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:47.596573 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:47.599017 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:47.599053 #51191]  INFO -- mongos-centos-65:     - update content in file /etc/mongodb.conf from none to 78f6ca
I, [2015-07-15T22:23:47.599080 #51191]  INFO -- mongos-centos-65:  --- /etc/mongodb.conf    2015-07-16 02:23:46.358743853 +0000
I, [2015-07-15T22:23:47.599100 #51191]  INFO -- mongos-centos-65:  +++ /tmp/chef-rendered-template20150716-2465-1olp9g5 2015-07-16 02:23:46.359744354 +0000
I, [2015-07-15T22:23:47.599118 #51191]  INFO -- mongos-centos-65:  @@ -1 +1,16 @@
I, [2015-07-15T22:23:47.599134 #51191]  INFO -- mongos-centos-65:  +#
I, [2015-07-15T22:23:47.599150 #51191]  INFO -- mongos-centos-65:  +# Automatically Generated by Chef, do not edit directly!
I, [2015-07-15T22:23:47.599166 #51191]  INFO -- mongos-centos-65:  +#
I, [2015-07-15T22:23:47.599181 #51191]  INFO -- mongos-centos-65:  +
I, [2015-07-15T22:23:47.599197 #51191]  INFO -- mongos-centos-65:  +bind_ip = 0.0.0.0
I, [2015-07-15T22:23:47.599213 #51191]  INFO -- mongos-centos-65:  +configdb = my_configserver
I, [2015-07-15T22:23:47.599228 #51191]  INFO -- mongos-centos-65:  +dbpath = /var/lib/mongodb
I, [2015-07-15T22:23:47.599254 #51191]  INFO -- mongos-centos-65:  +fork = true
I, [2015-07-15T22:23:47.599271 #51191]  INFO -- mongos-centos-65:  +logappend = true
I, [2015-07-15T22:23:47.599287 #51191]  INFO -- mongos-centos-65:  +logpath = /var/log/mongodb/mongodb.log
I, [2015-07-15T22:23:47.599302 #51191]  INFO -- mongos-centos-65:  +nojournal = false
I, [2015-07-15T22:23:47.599318 #51191]  INFO -- mongos-centos-65:  +pidfilepath = /var/run/mongodb/mongodb.pid
I, [2015-07-15T22:23:47.599334 #51191]  INFO -- mongos-centos-65:  +port = 27017
I, [2015-07-15T22:23:47.599350 #51191]  INFO -- mongos-centos-65:  +rest = false
I, [2015-07-15T22:23:47.625350 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:47.625408 #51191]  INFO -- mongos-centos-65:     - change mode from '' to '0644'
I, [2015-07-15T22:23:47.625426 #51191]  INFO -- mongos-centos-65:     - change owner from '' to 'root'
I, [2015-07-15T22:23:47.769505 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:47.771261 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:47.771318 #51191]  INFO -- mongos-centos-65:   * execute[mongodb-systemctl-daemon-reload] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:23:47.804394 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:47.808793 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:47.808836 #51191]  INFO -- mongos-centos-65:     - update content in file /etc/init.d/mongod from none to 7d67f0
I, [2015-07-15T22:23:47.808864 #51191]  INFO -- mongos-centos-65:  --- /etc/init.d/mongod   2015-07-16 02:23:46.566847853 +0000
I, [2015-07-15T22:23:47.808884 #51191]  INFO -- mongos-centos-65:  +++ /tmp/chef-rendered-template20150716-2465-ytfagl  2015-07-16 02:23:46.567848354 +0000
I, [2015-07-15T22:23:47.808902 #51191]  INFO -- mongos-centos-65:  @@ -1 +1,107 @@
I, [2015-07-15T22:23:47.808920 #51191]  INFO -- mongos-centos-65:  +#!/bin/bash
I, [2015-07-15T22:23:47.808937 #51191]  INFO -- mongos-centos-65:  +
I, [2015-07-15T22:23:47.808954 #51191]  INFO -- mongos-centos-65:  +# mongod - Startup script for mongod
I, [2015-07-15T22:23:47.808970 #51191]  INFO -- mongos-centos-65:  +
I, [2015-07-15T22:23:47.808987 #51191]  INFO -- mongos-centos-65:  +# chkconfig: 35 85 15
I, [2015-07-15T22:23:47.809005 #51191]  INFO -- mongos-centos-65:  +# description: Mongo is a scalable, document-oriented database.
I, [2015-07-15T22:23:47.809044 #51191]  INFO -- mongos-centos-65:  +# processname: mongod
I, [2015-07-15T22:23:47.809064 #51191]  INFO -- mongos-centos-65:  +# config: /etc/mongodb.conf
I, [2015-07-15T22:23:47.809080 #51191]  INFO -- mongos-centos-65:  +
I, [2015-07-15T22:23:47.809096 #51191]  INFO -- mongos-centos-65:  +. /etc/rc.d/init.d/functions
I, [2015-07-15T22:23:47.809112 #51191]  INFO -- mongos-centos-65:  +
I, [2015-07-15T22:23:47.809128 #51191]  INFO -- mongos-centos-65:  +NAME=mongod
I, [2015-07-15T22:23:47.809145 #51191]  INFO -- mongos-centos-65:  +SYSCONFIG=/etc/sysconfig/mongodb
I, [2015-07-15T22:23:47.809161 #51191]  INFO -- mongos-centos-65:  +DAEMON_USER=mongod
I, [2015-07-15T22:23:47.809177 #51191]  INFO -- mongos-centos-65:  +ENABLE_MONGODB=yes
I, [2015-07-15T22:23:47.809193 #51191]  INFO -- mongos-centos-65:  +
I, [2015-07-15T22:23:47.809209 #51191]  INFO -- mongos-centos-65:  +SUBSYS_LOCK_FILE=/var/lock/subsys/mongod
I, [2015-07-15T22:23:47.809225 #51191]  INFO -- mongos-centos-65:  +
I, [2015-07-15T22:23:47.809265 #51191]  INFO -- mongos-centos-65:  +if [ -f "$SYSCONFIG" ]; then
I, [2015-07-15T22:23:47.809291 #51191]  INFO -- mongos-centos-65:  +    . "$SYSCONFIG"
I, [2015-07-15T22:23:47.809309 #51191]  INFO -- mongos-centos-65:  +fi
I, [2015-07-15T22:23:47.809325 #51191]  INFO -- mongos-centos-65:  +
I, [2015-07-15T22:23:47.809342 #51191]  INFO -- mongos-centos-65:  +# FIXME: 1.9.x has a --shutdown flag that parses the config file and
I, [2015-07-15T22:23:47.809360 #51191]  INFO -- mongos-centos-65:  +# shuts down the correct running pid, but that's unavailable in 1.8
I, [2015-07-15T22:23:47.809377 #51191]  INFO -- mongos-centos-65:  +# for now.  This can go away when this script stops supporting 1.8.
I, [2015-07-15T22:23:47.809394 #51191]  INFO -- mongos-centos-65:  +DBPATH=`awk -F= '/^dbpath[[:blank:]]*=[[:blank:]]*/{print $2}' "$CONFIGFILE"`
I, [2015-07-15T22:23:47.809411 #51191]  INFO -- mongos-centos-65:  +PIDFILE=`awk -F= '/^pidfilepath[[:blank:]]*=[[:blank:]]*/{print $2}' "$CONFIGFILE"`
I, [2015-07-15T22:23:47.809427 #51191]  INFO -- mongos-centos-65:  +
I, [2015-07-15T22:23:47.809444 #51191]  INFO -- mongos-centos-65:  +# Handle NUMA access to CPUs (SERVER-3574)
I, [2015-07-15T22:23:47.809460 #51191]  INFO -- mongos-centos-65:  +# This verifies the existence of numactl as well as testing that the command works
I, [2015-07-15T22:23:47.809476 #51191]  INFO -- mongos-centos-65:  +NUMACTL_ARGS="--interleave=all"
I, [2015-07-15T22:23:47.809493 #51191]  INFO -- mongos-centos-65:  +if which numactl >/dev/null 2>/dev/null && numactl $NUMACTL_ARGS ls / >/dev/null 2>/dev/null
I, [2015-07-15T22:23:47.809510 #51191]  INFO -- mongos-centos-65:  +then
I, [2015-07-15T22:23:47.809526 #51191]  INFO -- mongos-centos-65:  +    NUMACTL="numactl $NUMACTL_ARGS"
I, [2015-07-15T22:23:47.809541 #51191]  INFO -- mongos-centos-65:  +else
I, [2015-07-15T22:23:47.809557 #51191]  INFO -- mongos-centos-65:  +    NUMACTL=""
I, [2015-07-15T22:23:47.809573 #51191]  INFO -- mongos-centos-65:  +fi
I, [2015-07-15T22:23:47.809588 #51191]  INFO -- mongos-centos-65:  +
I, [2015-07-15T22:23:47.809603 #51191]  INFO -- mongos-centos-65:  +start()
I, [2015-07-15T22:23:47.809618 #51191]  INFO -- mongos-centos-65:  +{
I, [2015-07-15T22:23:47.809634 #51191]  INFO -- mongos-centos-65:  +  ulimit -f unlimited
I, [2015-07-15T22:23:47.809651 #51191]  INFO -- mongos-centos-65:  +  ulimit -t unlimited
I, [2015-07-15T22:23:47.809667 #51191]  INFO -- mongos-centos-65:  +  ulimit -v unlimited
I, [2015-07-15T22:23:47.809683 #51191]  INFO -- mongos-centos-65:  +  ulimit -n 64000
I, [2015-07-15T22:23:47.809699 #51191]  INFO -- mongos-centos-65:  +  ulimit -m unlimited
I, [2015-07-15T22:23:47.809714 #51191]  INFO -- mongos-centos-65:  +  ulimit -u 32000
I, [2015-07-15T22:23:47.809730 #51191]  INFO -- mongos-centos-65:  +
I, [2015-07-15T22:23:47.809746 #51191]  INFO -- mongos-centos-65:  +  echo -n $"Starting mongod: "
I, [2015-07-15T22:23:47.809762 #51191]  INFO -- mongos-centos-65:  +  daemon --user "$DAEMON_USER" $NUMACTL $DAEMON $DAEMON_OPTS
I, [2015-07-15T22:23:47.809789 #51191]  INFO -- mongos-centos-65:  +  RETVAL=$?
I, [2015-07-15T22:23:47.809806 #51191]  INFO -- mongos-centos-65:  +  echo
I, [2015-07-15T22:23:47.809823 #51191]  INFO -- mongos-centos-65:  +  [ $RETVAL -eq 0 ] && touch $SUBSYS_LOCK_FILE
I, [2015-07-15T22:23:47.809851 #51191]  INFO -- mongos-centos-65:  +}
I, [2015-07-15T22:23:47.809883 #51191]  INFO -- mongos-centos-65:  +
I, [2015-07-15T22:23:47.809915 #51191]  INFO -- mongos-centos-65:  +stop()
I, [2015-07-15T22:23:47.809944 #51191]  INFO -- mongos-centos-65:  +{
I, [2015-07-15T22:23:47.809973 #51191]  INFO -- mongos-centos-65:  +  echo -n $"Stopping mongod: "
I, [2015-07-15T22:23:47.809994 #51191]  INFO -- mongos-centos-65:  +  if test "x$PIDFILE" != "x"; then
I, [2015-07-15T22:23:47.810011 #51191]  INFO -- mongos-centos-65:  +    killproc -p $PIDFILE -d 300 $DAEMON
I, [2015-07-15T22:23:47.810026 #51191]  INFO -- mongos-centos-65:  +  else
I, [2015-07-15T22:23:47.810043 #51191]  INFO -- mongos-centos-65:  +    killproc -d 300 $DAEMON
I, [2015-07-15T22:23:47.810069 #51191]  INFO -- mongos-centos-65:  +  fi
I, [2015-07-15T22:23:47.810102 #51191]  INFO -- mongos-centos-65:  +  RETVAL=$?
I, [2015-07-15T22:23:47.810133 #51191]  INFO -- mongos-centos-65:  +  echo
I, [2015-07-15T22:23:47.810153 #51191]  INFO -- mongos-centos-65:  +  [ $RETVAL -eq 0 ] && rm -f $SUBSYS_LOCK_FILE
I, [2015-07-15T22:23:47.810169 #51191]  INFO -- mongos-centos-65:  +}
I, [2015-07-15T22:23:47.810184 #51191]  INFO -- mongos-centos-65:  +
I, [2015-07-15T22:23:47.810200 #51191]  INFO -- mongos-centos-65:  +restart () {
I, [2015-07-15T22:23:47.810216 #51191]  INFO -- mongos-centos-65:  +  stop
I, [2015-07-15T22:23:47.810232 #51191]  INFO -- mongos-centos-65:  +  start
I, [2015-07-15T22:23:47.810247 #51191]  INFO -- mongos-centos-65:  +}
I, [2015-07-15T22:23:47.810263 #51191]  INFO -- mongos-centos-65:  +
I, [2015-07-15T22:23:47.810278 #51191]  INFO -- mongos-centos-65:  +RETVAL=0
I, [2015-07-15T22:23:47.810294 #51191]  INFO -- mongos-centos-65:  +
I, [2015-07-15T22:23:47.810310 #51191]  INFO -- mongos-centos-65:  +if test "x$ENABLE_MONGODB" != "xyes"; then
I, [2015-07-15T22:23:47.810327 #51191]  INFO -- mongos-centos-65:  +    exit $RETVAL
I, [2015-07-15T22:23:47.810342 #51191]  INFO -- mongos-centos-65:  +fi
I, [2015-07-15T22:23:47.810357 #51191]  INFO -- mongos-centos-65:  +
I, [2015-07-15T22:23:47.810373 #51191]  INFO -- mongos-centos-65:  +case "$1" in
I, [2015-07-15T22:23:47.810407 #51191]  INFO -- mongos-centos-65:  +  start)
I, [2015-07-15T22:23:47.810440 #51191]  INFO -- mongos-centos-65:  +    start
I, [2015-07-15T22:23:47.810467 #51191]  INFO -- mongos-centos-65:  +    ;;
I, [2015-07-15T22:23:47.810484 #51191]  INFO -- mongos-centos-65:  +  stop)
I, [2015-07-15T22:23:47.810500 #51191]  INFO -- mongos-centos-65:  +    stop
I, [2015-07-15T22:23:47.810516 #51191]  INFO -- mongos-centos-65:  +    ;;
I, [2015-07-15T22:23:47.810533 #51191]  INFO -- mongos-centos-65:  +  restart|reload|force-reload)
I, [2015-07-15T22:23:47.810552 #51191]  INFO -- mongos-centos-65:  +    restart
I, [2015-07-15T22:23:47.810583 #51191]  INFO -- mongos-centos-65:  +    ;;
I, [2015-07-15T22:23:47.810615 #51191]  INFO -- mongos-centos-65:  +  condrestart)
I, [2015-07-15T22:23:47.810642 #51191]  INFO -- mongos-centos-65:  +    [ -f $SUBSYS_LOCK_FILE ] && restart || :
I, [2015-07-15T22:23:47.810659 #51191]  INFO -- mongos-centos-65:  +    ;;
I, [2015-07-15T22:23:47.810674 #51191]  INFO -- mongos-centos-65:  +  status)
I, [2015-07-15T22:23:47.810691 #51191]  INFO -- mongos-centos-65:  +    if test "x$PIDFILE" != "x"; then
I, [2015-07-15T22:23:47.810707 #51191]  INFO -- mongos-centos-65:  +      status -p $PIDFILE $DAEMON
I, [2015-07-15T22:23:47.810722 #51191]  INFO -- mongos-centos-65:  +    else
I, [2015-07-15T22:23:47.810738 #51191]  INFO -- mongos-centos-65:  +      status $DAEMON
I, [2015-07-15T22:23:47.810755 #51191]  INFO -- mongos-centos-65:  +    fi
I, [2015-07-15T22:23:47.810771 #51191]  INFO -- mongos-centos-65:  +    RETVAL=$?
I, [2015-07-15T22:23:47.810799 #51191]  INFO -- mongos-centos-65:  +    ;;
I, [2015-07-15T22:23:47.810817 #51191]  INFO -- mongos-centos-65:  +  *)
I, [2015-07-15T22:23:47.810834 #51191]  INFO -- mongos-centos-65:  +    echo "Usage: $0 {start|stop|status|restart|reload|force-reload|condrestart}"
I, [2015-07-15T22:23:47.810850 #51191]  INFO -- mongos-centos-65:  +    RETVAL=1
I, [2015-07-15T22:23:47.810876 #51191]  INFO -- mongos-centos-65:  +esac
I, [2015-07-15T22:23:47.810892 #51191]  INFO -- mongos-centos-65:  +
I, [2015-07-15T22:23:47.810909 #51191]  INFO -- mongos-centos-65:  +exit $RETVAL
I, [2015-07-15T22:23:47.810925 #51191]  INFO -- mongos-centos-65:  +
I, [2015-07-15T22:23:47.810939 #51191]  INFO -- mongos-centos-65:     - change mode from '' to '0755'
I, [2015-07-15T22:23:47.810953 #51191]  INFO -- mongos-centos-65:     - change owner from '' to 'root'
I, [2015-07-15T22:23:47.942721 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:23:47.944240 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:48.690512 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:48.691379 #51191]  INFO -- mongos-centos-65:     - install version 2.6.10-1 of package mongodb-org
I, [2015-07-15T22:29:48.699936 #51191]  INFO -- mongos-centos-65: Recipe: mongodb::mongos
I, [2015-07-15T22:29:58.579669 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:58.579771 #51191]  INFO -- mongos-centos-65: ================================================================================
I, [2015-07-15T22:29:58.579800 #51191]  INFO -- mongos-centos-65: Error executing action `run` on resource 'ruby_block[chef_gem_at_converge_time]'
I, [2015-07-15T22:29:58.579824 #51191]  INFO -- mongos-centos-65: ================================================================================
I, [2015-07-15T22:29:58.579848 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:58.579891 #51191]  INFO -- mongos-centos-65: Gem::Installer::ExtensionBuildError
I, [2015-07-15T22:29:58.579922 #51191]  INFO -- mongos-centos-65: -----------------------------------
I, [2015-07-15T22:29:58.579944 #51191]  INFO -- mongos-centos-65: ERROR: Failed to build gem native extension.
I, [2015-07-15T22:29:58.579966 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:58.580248 #51191]  INFO -- mongos-centos-65:  /opt/chef/embedded/bin/ruby extconf.rb
I, [2015-07-15T22:29:58.580289 #51191]  INFO -- mongos-centos-65: checking for asprintf()... *** extconf.rb failed ***
I, [2015-07-15T22:29:58.580306 #51191]  INFO -- mongos-centos-65: Could not create Makefile due to some reason, probably lack of
I, [2015-07-15T22:29:58.580323 #51191]  INFO -- mongos-centos-65: necessary libraries and/or headers.  Check the mkmf.log file for more
I, [2015-07-15T22:29:58.580350 #51191]  INFO -- mongos-centos-65: details.  You may need configuration options.
I, [2015-07-15T22:29:58.580411 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:58.580665 #51191]  INFO -- mongos-centos-65: Provided configuration options:
I, [2015-07-15T22:29:58.580715 #51191]  INFO -- mongos-centos-65:   --with-opt-dir
I, [2015-07-15T22:29:58.580756 #51191]  INFO -- mongos-centos-65:   --with-opt-include
I, [2015-07-15T22:29:58.580830 #51191]  INFO -- mongos-centos-65:   --without-opt-include=${opt-dir}/include
I, [2015-07-15T22:29:58.580854 #51191]  INFO -- mongos-centos-65:   --with-opt-lib
I, [2015-07-15T22:29:58.580869 #51191]  INFO -- mongos-centos-65:   --without-opt-lib=${opt-dir}/lib
I, [2015-07-15T22:29:58.580883 #51191]  INFO -- mongos-centos-65:   --with-make-prog
I, [2015-07-15T22:29:58.580895 #51191]  INFO -- mongos-centos-65:   --without-make-prog
I, [2015-07-15T22:29:58.580907 #51191]  INFO -- mongos-centos-65:   --srcdir=.
I, [2015-07-15T22:29:58.580920 #51191]  INFO -- mongos-centos-65:   --curdir
I, [2015-07-15T22:29:58.580932 #51191]  INFO -- mongos-centos-65:   --ruby=/opt/chef/embedded/bin/ruby
I, [2015-07-15T22:29:58.580945 #51191]  INFO -- mongos-centos-65: /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
I, [2015-07-15T22:29:58.580958 #51191]  INFO -- mongos-centos-65: You have to install development tools first.
I, [2015-07-15T22:29:58.581309 #51191]  INFO -- mongos-centos-65:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:461:in `try_link0'
I, [2015-07-15T22:29:58.581340 #51191]  INFO -- mongos-centos-65:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:476:in `try_link'
I, [2015-07-15T22:29:58.581619 #51191]  INFO -- mongos-centos-65:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:619:in `try_func'
I, [2015-07-15T22:29:58.581741 #51191]  INFO -- mongos-centos-65:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:894:in `block in have_func'
I, [2015-07-15T22:29:58.581896 #51191]  INFO -- mongos-centos-65:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:790:in `block in checking_for'
I, [2015-07-15T22:29:58.581923 #51191]  INFO -- mongos-centos-65:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone'
I, [2015-07-15T22:29:58.582039 #51191]  INFO -- mongos-centos-65:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
I, [2015-07-15T22:29:58.582058 #51191]  INFO -- mongos-centos-65:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block in postpone'
I, [2015-07-15T22:29:58.582132 #51191]  INFO -- mongos-centos-65:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
I, [2015-07-15T22:29:58.582209 #51191]  INFO -- mongos-centos-65:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:280:in `postpone'
I, [2015-07-15T22:29:58.582234 #51191]  INFO -- mongos-centos-65:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:789:in `checking_for'
I, [2015-07-15T22:29:58.582249 #51191]  INFO -- mongos-centos-65:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:893:in `have_func'
I, [2015-07-15T22:29:58.582262 #51191]  INFO -- mongos-centos-65:   from extconf.rb:3:in `<main>'
I, [2015-07-15T22:29:58.582275 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:58.582288 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:58.582300 #51191]  INFO -- mongos-centos-65: Gem files will remain installed in /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/bson_ext-1.12.3 for inspection.
I, [2015-07-15T22:29:58.582313 #51191]  INFO -- mongos-centos-65: Results logged to /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/bson_ext-1.12.3/ext/cbson/gem_make.out
I, [2015-07-15T22:29:58.582326 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:58.582338 #51191]  INFO -- mongos-centos-65: Cookbook Trace:
I, [2015-07-15T22:29:58.582350 #51191]  INFO -- mongos-centos-65: ---------------
I, [2015-07-15T22:29:58.582363 #51191]  INFO -- mongos-centos-65: /tmp/kitchen/cache/cookbooks/mongodb/recipes/mongos.rb:32:in `block (3 levels) in from_file'
I, [2015-07-15T22:29:58.582430 #51191]  INFO -- mongos-centos-65: /tmp/kitchen/cache/cookbooks/mongodb/recipes/mongos.rb:30:in `each'
I, [2015-07-15T22:29:58.582610 #51191]  INFO -- mongos-centos-65: /tmp/kitchen/cache/cookbooks/mongodb/recipes/mongos.rb:30:in `block (2 levels) in from_file'
I, [2015-07-15T22:29:58.582778 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:58.582802 #51191]  INFO -- mongos-centos-65: Resource Declaration:
I, [2015-07-15T22:29:58.582817 #51191]  INFO -- mongos-centos-65: ---------------------
I, [2015-07-15T22:29:58.582830 #51191]  INFO -- mongos-centos-65: # In /tmp/kitchen/cache/cookbooks/mongodb/recipes/mongos.rb
I, [2015-07-15T22:29:58.582842 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:58.582855 #51191]  INFO -- mongos-centos-65:  28: ruby_block 'chef_gem_at_converge_time' do
I, [2015-07-15T22:29:58.582867 #51191]  INFO -- mongos-centos-65:  29:   block do
I, [2015-07-15T22:29:58.582880 #51191]  INFO -- mongos-centos-65:  30:     node['mongodb']['ruby_gems'].each do |gem, version|
I, [2015-07-15T22:29:58.582893 #51191]  INFO -- mongos-centos-65:  31:       version = Gem::Dependency.new(gem, version)
I, [2015-07-15T22:29:58.582906 #51191]  INFO -- mongos-centos-65:  32:       Chef::Provider::Package::Rubygems::GemEnvironment.new.install(version)
I, [2015-07-15T22:29:58.582919 #51191]  INFO -- mongos-centos-65:  33:     end
I, [2015-07-15T22:29:58.583040 #51191]  INFO -- mongos-centos-65:  34:   end
I, [2015-07-15T22:29:58.583091 #51191]  INFO -- mongos-centos-65:  35: end
I, [2015-07-15T22:29:58.583122 #51191]  INFO -- mongos-centos-65:  36: 
I, [2015-07-15T22:29:58.583233 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:58.583270 #51191]  INFO -- mongos-centos-65: Compiled Resource:
I, [2015-07-15T22:29:58.583433 #51191]  INFO -- mongos-centos-65: ------------------
I, [2015-07-15T22:29:58.583499 #51191]  INFO -- mongos-centos-65: # Declared in /tmp/kitchen/cache/cookbooks/mongodb/recipes/mongos.rb:28:in `from_file'
I, [2015-07-15T22:29:58.583520 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:58.583588 #51191]  INFO -- mongos-centos-65: ruby_block("chef_gem_at_converge_time") do
I, [2015-07-15T22:29:58.583628 #51191]  INFO -- mongos-centos-65:   action "run"
I, [2015-07-15T22:29:58.583758 #51191]  INFO -- mongos-centos-65:   retries 0
I, [2015-07-15T22:29:58.583791 #51191]  INFO -- mongos-centos-65:   retry_delay 2
I, [2015-07-15T22:29:58.583808 #51191]  INFO -- mongos-centos-65:   guard_interpreter :default
I, [2015-07-15T22:29:58.583822 #51191]  INFO -- mongos-centos-65:   block_name "chef_gem_at_converge_time"
I, [2015-07-15T22:29:58.583835 #51191]  INFO -- mongos-centos-65:   cookbook_name "mongodb"
I, [2015-07-15T22:29:58.583857 #51191]  INFO -- mongos-centos-65:   recipe_name "mongos"
I, [2015-07-15T22:29:58.583870 #51191]  INFO -- mongos-centos-65:   block #<Proc:0x00000002dc89b0@/tmp/kitchen/cache/cookbooks/mongodb/recipes/mongos.rb:29>
I, [2015-07-15T22:29:58.583984 #51191]  INFO -- mongos-centos-65: end
I, [2015-07-15T22:29:58.584123 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:58.698247 #51191]  INFO -- mongos-centos-65:   * service[mongos] action restart
I, [2015-07-15T22:29:58.702710 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:58.702767 #51191]  INFO -- mongos-centos-65: ================================================================================
I, [2015-07-15T22:29:58.702860 #51191]  INFO -- mongos-centos-65: Error executing action `restart` on resource 'service[mongos]'
I, [2015-07-15T22:29:58.702881 #51191]  INFO -- mongos-centos-65: ================================================================================
I, [2015-07-15T22:29:58.702898 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:58.702927 #51191]  INFO -- mongos-centos-65: Chef::Exceptions::Service
I, [2015-07-15T22:29:58.702945 #51191]  INFO -- mongos-centos-65: -------------------------
I, [2015-07-15T22:29:58.702962 #51191]  INFO -- mongos-centos-65: service[mongos]: unable to locate the init.d script!
I, [2015-07-15T22:29:58.702978 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:58.702993 #51191]  INFO -- mongos-centos-65: Resource Declaration:
I, [2015-07-15T22:29:58.703028 #51191]  INFO -- mongos-centos-65: ---------------------
I, [2015-07-15T22:29:58.703052 #51191]  INFO -- mongos-centos-65: # In /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb
I, [2015-07-15T22:29:58.703069 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:58.703085 #51191]  INFO -- mongos-centos-65: 202:   service new_resource.name do
I, [2015-07-15T22:29:58.703140 #51191]  INFO -- mongos-centos-65: 203:     provider Chef::Provider::Service::Upstart if node['mongodb']['apt_repo'] == 'ubuntu-upstart'
I, [2015-07-15T22:29:58.703187 #51191]  INFO -- mongos-centos-65: 204:     supports :status => true, :restart => true
I, [2015-07-15T22:29:58.703209 #51191]  INFO -- mongos-centos-65: 205:     action new_resource.service_action
I, [2015-07-15T22:29:58.703264 #51191]  INFO -- mongos-centos-65: 206:     new_resource.service_notifies.each do |service_notify|
I, [2015-07-15T22:29:58.703357 #51191]  INFO -- mongos-centos-65: 207:       notifies :run, service_notify
I, [2015-07-15T22:29:58.703387 #51191]  INFO -- mongos-centos-65: 208:     end
I, [2015-07-15T22:29:58.703405 #51191]  INFO -- mongos-centos-65: 209:     notifies :create, 'ruby_block[config_replicaset]', :immediately if new_resource.is_replicaset && new_resource.auto_configure_replicaset
I, [2015-07-15T22:29:58.703455 #51191]  INFO -- mongos-centos-65: 210:     notifies :create, 'ruby_block[config_sharding]', :immediately if new_resource.is_mongos && new_resource.auto_configure_sharding
I, [2015-07-15T22:29:58.703476 #51191]  INFO -- mongos-centos-65: 211:       # we don't care about a running mongodb service in these cases, all we need is stopping it
I, [2015-07-15T22:29:58.703506 #51191]  INFO -- mongos-centos-65: 212:     ignore_failure true if new_resource.name == 'mongodb'
I, [2015-07-15T22:29:58.703523 #51191]  INFO -- mongos-centos-65: 213:   end
I, [2015-07-15T22:29:58.703564 #51191]  INFO -- mongos-centos-65: 214: 
I, [2015-07-15T22:29:58.703591 #51191]  INFO -- mongos-centos-65: 215:   # replicaset
I, [2015-07-15T22:29:58.703620 #51191]  INFO -- mongos-centos-65: 216:   if new_resource.is_replicaset && new_resource.auto_configure_replicaset
I, [2015-07-15T22:29:58.703649 #51191]  INFO -- mongos-centos-65: 217:     rs_nodes = search(
I, [2015-07-15T22:29:58.703666 #51191]  INFO -- mongos-centos-65: 218:       :node,
I, [2015-07-15T22:29:58.703698 #51191]  INFO -- mongos-centos-65: 219:       "mongodb_cluster_name:#{new_resource.replicaset['mongodb']['cluster_name']} AND \
I, [2015-07-15T22:29:58.703727 #51191]  INFO -- mongos-centos-65: 220:        mongodb_is_replicaset:true AND \
I, [2015-07-15T22:29:58.703744 #51191]  INFO -- mongos-centos-65: 221:        mongodb_config_replSet:#{new_resource.replicaset['mongodb']['config']['replSet']} AND \
I, [2015-07-15T22:29:58.703773 #51191]  INFO -- mongos-centos-65: 222:        chef_environment:#{new_resource.replicaset.chef_environment}"
I, [2015-07-15T22:29:58.703802 #51191]  INFO -- mongos-centos-65: 223:     )
I, [2015-07-15T22:29:58.703819 #51191]  INFO -- mongos-centos-65: 224: 
I, [2015-07-15T22:29:58.703845 #51191]  INFO -- mongos-centos-65: 225:     ruby_block 'config_replicaset' do
I, [2015-07-15T22:29:58.703936 #51191]  INFO -- mongos-centos-65: 226:       block do
I, [2015-07-15T22:29:58.703970 #51191]  INFO -- mongos-centos-65: 227:         MongoDB.configure_replicaset(new_resource.replicaset, replicaset_name, rs_nodes) unless new_resource.replicaset.nil?
I, [2015-07-15T22:29:58.703986 #51191]  INFO -- mongos-centos-65: 228:       end
I, [2015-07-15T22:29:58.704000 #51191]  INFO -- mongos-centos-65: 229:       action :nothing
I, [2015-07-15T22:29:58.704014 #51191]  INFO -- mongos-centos-65: 230:     end
I, [2015-07-15T22:29:58.704039 #51191]  INFO -- mongos-centos-65: 231: 
I, [2015-07-15T22:29:58.704081 #51191]  INFO -- mongos-centos-65: 232:     ruby_block 'run_config_replicaset' do
I, [2015-07-15T22:29:58.704105 #51191]  INFO -- mongos-centos-65: 233:       block {}
I, [2015-07-15T22:29:58.704130 #51191]  INFO -- mongos-centos-65: 234:       notifies :create, 'ruby_block[config_replicaset]'
I, [2015-07-15T22:29:58.704153 #51191]  INFO -- mongos-centos-65: 235:     end
I, [2015-07-15T22:29:58.704178 #51191]  INFO -- mongos-centos-65: 236:   end
I, [2015-07-15T22:29:58.704193 #51191]  INFO -- mongos-centos-65: 237: 
I, [2015-07-15T22:29:58.704207 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:58.704220 #51191]  INFO -- mongos-centos-65: Compiled Resource:
I, [2015-07-15T22:29:58.704245 #51191]  INFO -- mongos-centos-65: ------------------
I, [2015-07-15T22:29:58.704268 #51191]  INFO -- mongos-centos-65: # Declared in /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:202:in `block in from_file'
I, [2015-07-15T22:29:58.704283 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:58.704307 #51191]  INFO -- mongos-centos-65: service("mongos") do
I, [2015-07-15T22:29:58.704330 #51191]  INFO -- mongos-centos-65:   params {:mongodb_type=>"mongos", :action=>[:enable, :start], :logpath=>"/var/log/mongodb/mongodb.log", :dbpath=>"/var/lib/mongodb", :configservers=>[node[mongodb-configserver-001]], :replicaset=>nil, :notifies=>[], :port=>27017, :enable_rest=>false, :smallfiles=>false, :name=>"mongos"}
I, [2015-07-15T22:29:58.704405 #51191]  INFO -- mongos-centos-65:   action [:enable, :start]
I, [2015-07-15T22:29:58.704452 #51191]  INFO -- mongos-centos-65:   supports {:status=>true, :restart=>true}
I, [2015-07-15T22:29:58.704478 #51191]  INFO -- mongos-centos-65:   retries 0
I, [2015-07-15T22:29:58.704493 #51191]  INFO -- mongos-centos-65:   retry_delay 2
I, [2015-07-15T22:29:58.704518 #51191]  INFO -- mongos-centos-65:   guard_interpreter :default
I, [2015-07-15T22:29:58.704543 #51191]  INFO -- mongos-centos-65:   service_name "mongos"
I, [2015-07-15T22:29:58.704558 #51191]  INFO -- mongos-centos-65:   pattern "mongos"
I, [2015-07-15T22:29:58.704590 #51191]  INFO -- mongos-centos-65:   cookbook_name "mongodb"
I, [2015-07-15T22:29:58.704613 #51191]  INFO -- mongos-centos-65:   recipe_name "mongos"
I, [2015-07-15T22:29:58.704638 #51191]  INFO -- mongos-centos-65: end
I, [2015-07-15T22:29:58.704652 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:58.706329 #51191]  INFO -- mongos-centos-65: 
I, [2015-07-15T22:29:58.706368 #51191]  INFO -- mongos-centos-65: Running handlers:
I, [2015-07-15T22:29:58.706409 #51191]  INFO -- mongos-centos-65: [2015-07-16T02:29:57+00:00] ERROR: Running exception handlers
I, [2015-07-15T22:29:58.706437 #51191]  INFO -- mongos-centos-65: Running handlers complete
I, [2015-07-15T22:29:58.706452 #51191]  INFO -- mongos-centos-65: [2015-07-16T02:29:57+00:00] ERROR: Exception handlers complete
I, [2015-07-15T22:29:58.706473 #51191]  INFO -- mongos-centos-65: [2015-07-16T02:29:57+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
I, [2015-07-15T22:29:58.706670 #51191]  INFO -- mongos-centos-65: Chef Client failed. 16 resources updated in 395.113870485 seconds
I, [2015-07-15T22:29:58.820286 #51191]  INFO -- mongos-centos-65: [2015-07-16T02:29:57+00:00] ERROR: Chef::Exceptions::MultipleFailures
I, [2015-07-15T22:29:58.906162 #51191]  INFO -- mongos-centos-65: [2015-07-16T02:29:57+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
E, [2015-07-15T22:29:59.001660 #51191] ERROR -- mongos-centos-65: Converge failed on instance <mongos-centos-65>.
E, [2015-07-15T22:29:59.002261 #51191] ERROR -- mongos-centos-65: ------Exception-------
E, [2015-07-15T22:29:59.002295 #51191] ERROR -- mongos-centos-65: Class: Kitchen::ActionFailed
E, [2015-07-15T22:29:59.002310 #51191] ERROR -- mongos-centos-65: Message: SSH exited (1) for command: [sh -c '

sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']
E, [2015-07-15T22:29:59.002323 #51191] ERROR -- mongos-centos-65: ---Nested Exception---
E, [2015-07-15T22:29:59.002381 #51191] ERROR -- mongos-centos-65: Class: Kitchen::Transport::SshFailed
E, [2015-07-15T22:29:59.002401 #51191] ERROR -- mongos-centos-65: Message: SSH exited (1) for command: [sh -c '

sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']
E, [2015-07-15T22:29:59.002413 #51191] ERROR -- mongos-centos-65: ------Backtrace-------
E, [2015-07-15T22:29:59.002424 #51191] ERROR -- mongos-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/provisioner/base.rb:74:in `rescue in call'
E, [2015-07-15T22:29:59.002436 #51191] ERROR -- mongos-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/provisioner/base.rb:77:in `call'
E, [2015-07-15T22:29:59.002447 #51191] ERROR -- mongos-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:366:in `block in converge_action'
E, [2015-07-15T22:29:59.002458 #51191] ERROR -- mongos-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:488:in `call'
E, [2015-07-15T22:29:59.002469 #51191] ERROR -- mongos-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:488:in `synchronize_or_call'
E, [2015-07-15T22:29:59.002480 #51191] ERROR -- mongos-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:453:in `block in action'
E, [2015-07-15T22:29:59.002505 #51191] ERROR -- mongos-centos-65: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T22:29:59.002518 #51191] ERROR -- mongos-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:452:in `action'
E, [2015-07-15T22:29:59.002530 #51191] ERROR -- mongos-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:362:in `converge_action'
E, [2015-07-15T22:29:59.002541 #51191] ERROR -- mongos-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:341:in `block in transition_to'
E, [2015-07-15T22:29:59.002564 #51191] ERROR -- mongos-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `each'
E, [2015-07-15T22:29:59.002582 #51191] ERROR -- mongos-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `transition_to'
E, [2015-07-15T22:29:59.002594 #51191] ERROR -- mongos-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:160:in `verify'
E, [2015-07-15T22:29:59.002656 #51191] ERROR -- mongos-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:189:in `block in test'
E, [2015-07-15T22:29:59.002669 #51191] ERROR -- mongos-centos-65: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T22:29:59.002680 #51191] ERROR -- mongos-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:185:in `test'
E, [2015-07-15T22:29:59.002692 #51191] ERROR -- mongos-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `public_send'
E, [2015-07-15T22:29:59.002703 #51191] ERROR -- mongos-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `block (2 levels) in run_action'
E, [2015-07-15T22:29:59.002714 #51191] ERROR -- mongos-centos-65: ----------------------

Failing Test: configserver-ubuntu-1004

I, [2015-07-15T20:45:32.829425 #19180]  INFO -- configserver-ubuntu-1004: -----> Cleaning up any prior instances of <configserver-ubuntu-1004>
I, [2015-07-15T20:45:32.829845 #19180]  INFO -- configserver-ubuntu-1004: -----> Destroying <configserver-ubuntu-1004>...
I, [2015-07-15T20:45:32.830637 #19180]  INFO -- configserver-ubuntu-1004: Finished destroying <configserver-ubuntu-1004> (0m0.00s).
I, [2015-07-15T20:45:32.830893 #19180]  INFO -- configserver-ubuntu-1004: -----> Testing <configserver-ubuntu-1004>
I, [2015-07-15T20:45:32.830976 #19180]  INFO -- configserver-ubuntu-1004: -----> Creating <configserver-ubuntu-1004>...
I, [2015-07-15T20:45:34.825711 #19180]  INFO -- configserver-ubuntu-1004: Bringing machine 'default' up with 'virtualbox' provider...
I, [2015-07-15T20:45:35.049765 #19180]  INFO -- configserver-ubuntu-1004: ==> default: Importing base box 'opscode-ubuntu-10.04'...
I, [2015-07-15T20:45:42.201032 #19180]  INFO -- configserver-ubuntu-1004: 
�[KProgress: 10%
�[KProgress: 30%
�[KProgress: 40%
�[KProgress: 50%
�[KProgress: 60%
�[KProgress: 70%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
I, [2015-07-15T20:45:42.912121 #19180]  INFO -- configserver-ubuntu-1004: ==> default: Setting the name of the VM: kitchen-mongodb-cookbook-configserver-ubuntu-1004_default_1437007542863_93199
I, [2015-07-15T20:45:44.809158 #19180]  INFO -- configserver-ubuntu-1004: ==> default: Fixed port collision for 22 => 2222. Now on port 2212.
I, [2015-07-15T20:45:44.862632 #19180]  INFO -- configserver-ubuntu-1004: ==> default: Clearing any previously set network interfaces...
I, [2015-07-15T20:45:44.909711 #19180]  INFO -- configserver-ubuntu-1004: ==> default: Preparing network interfaces based on configuration...
I, [2015-07-15T20:45:44.910009 #19180]  INFO -- configserver-ubuntu-1004:     default: Adapter 1: nat
I, [2015-07-15T20:45:44.955136 #19180]  INFO -- configserver-ubuntu-1004: ==> default: Forwarding ports...
I, [2015-07-15T20:45:45.023748 #19180]  INFO -- configserver-ubuntu-1004:     default: 22 => 2212 (adapter 1)
I, [2015-07-15T20:45:45.165167 #19180]  INFO -- configserver-ubuntu-1004: ==> default: Running 'pre-boot' VM customizations...
I, [2015-07-15T20:45:45.210320 #19180]  INFO -- configserver-ubuntu-1004: ==> default: Booting VM...
I, [2015-07-15T20:45:45.442653 #19180]  INFO -- configserver-ubuntu-1004: ==> default: Waiting for machine to boot. This may take a few minutes...
I, [2015-07-15T20:45:45.773234 #19180]  INFO -- configserver-ubuntu-1004:     default: SSH address: 127.0.0.1:2212
I, [2015-07-15T20:45:45.773340 #19180]  INFO -- configserver-ubuntu-1004:     default: SSH username: vagrant
I, [2015-07-15T20:45:45.773519 #19180]  INFO -- configserver-ubuntu-1004:     default: SSH auth method: private key
I, [2015-07-15T20:46:00.921089 #19180]  INFO -- configserver-ubuntu-1004:     default: Warning: Connection timeout. Retrying...
I, [2015-07-15T20:46:01.359930 #19180]  INFO -- configserver-ubuntu-1004:     default: 
I, [2015-07-15T20:46:01.359994 #19180]  INFO -- configserver-ubuntu-1004:     default: Vagrant insecure key detected. Vagrant will automatically replace
I, [2015-07-15T20:46:01.360017 #19180]  INFO -- configserver-ubuntu-1004:     default: this with a newly generated keypair for better security.
I, [2015-07-15T20:46:01.592964 #19180]  INFO -- configserver-ubuntu-1004:     default: 
I, [2015-07-15T20:46:01.593028 #19180]  INFO -- configserver-ubuntu-1004:     default: Inserting generated public key within guest...
I, [2015-07-15T20:46:01.694956 #19180]  INFO -- configserver-ubuntu-1004:     default: Removing insecure key from the guest if it's present...
I, [2015-07-15T20:46:01.735406 #19180]  INFO -- configserver-ubuntu-1004:     default: Key inserted! Disconnecting and reconnecting using new SSH key...
I, [2015-07-15T20:46:02.514214 #19180]  INFO -- configserver-ubuntu-1004: ==> default: Machine booted and ready!
I, [2015-07-15T20:46:02.514638 #19180]  INFO -- configserver-ubuntu-1004: ==> default: Checking for guest additions in VM...
I, [2015-07-15T20:46:02.558521 #19180]  INFO -- configserver-ubuntu-1004: ==> default: Setting hostname...
I, [2015-07-15T20:46:02.728214 #19180]  INFO -- configserver-ubuntu-1004: The following SSH command responded with a non-zero exit status.
I, [2015-07-15T20:46:02.728289 #19180]  INFO -- configserver-ubuntu-1004: Vagrant assumes that this means the command failed!
I, [2015-07-15T20:46:02.728313 #19180]  INFO -- configserver-ubuntu-1004: 
I, [2015-07-15T20:46:02.728331 #19180]  INFO -- configserver-ubuntu-1004: hostnamectl set-hostname 'configserver-ubuntu-1004'
I, [2015-07-15T20:46:02.728429 #19180]  INFO -- configserver-ubuntu-1004: 
I, [2015-07-15T20:46:02.728447 #19180]  INFO -- configserver-ubuntu-1004: Stdout from the command:
I, [2015-07-15T20:46:02.728463 #19180]  INFO -- configserver-ubuntu-1004: 
I, [2015-07-15T20:46:02.728478 #19180]  INFO -- configserver-ubuntu-1004: 
I, [2015-07-15T20:46:02.728493 #19180]  INFO -- configserver-ubuntu-1004: 
I, [2015-07-15T20:46:02.728517 #19180]  INFO -- configserver-ubuntu-1004: Stderr from the command:
I, [2015-07-15T20:46:02.728529 #19180]  INFO -- configserver-ubuntu-1004: 
I, [2015-07-15T20:46:02.728542 #19180]  INFO -- configserver-ubuntu-1004: stdin: is not a tty
I, [2015-07-15T20:46:02.728555 #19180]  INFO -- configserver-ubuntu-1004: bash: line 2: hostnamectl: command not found
E, [2015-07-15T20:46:02.780614 #19180] ERROR -- configserver-ubuntu-1004: Create failed on instance <configserver-ubuntu-1004>.
E, [2015-07-15T20:46:02.780790 #19180] ERROR -- configserver-ubuntu-1004: ------Exception-------
E, [2015-07-15T20:46:02.780819 #19180] ERROR -- configserver-ubuntu-1004: Class: Kitchen::ShellOut::ShellCommandFailed
E, [2015-07-15T20:46:02.780837 #19180] ERROR -- configserver-ubuntu-1004: Message: Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-ubuntu-10.04'...

�[KProgress: 10%
�[KProgress: 30%
�[KProgress: 40%
�[KProgress: 50%
�[KProgress: 60%
�[KProgress: 70%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: kitchen-mongodb-cookbook-configserver-ubuntu-1004_default_1437007542863_93199
==> default: Fixed port collision for 22 => 2222. Now on port 2212.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2212 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2212
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: 
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default: 
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

hostnamectl set-hostname 'configserver-ubuntu-1004'

Stdout from the command:



Stderr from the command:

stdin: is not a tty
bash: line 2: hostnamectl: command not found
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1
E, [2015-07-15T20:46:02.780861 #19180] ERROR -- configserver-ubuntu-1004: ---Nested Exception---
E, [2015-07-15T20:46:02.780878 #19180] ERROR -- configserver-ubuntu-1004: Class: Mixlib::ShellOut::ShellCommandFailed
E, [2015-07-15T20:46:02.780916 #19180] ERROR -- configserver-ubuntu-1004: Message: Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-ubuntu-10.04'...

�[KProgress: 10%
�[KProgress: 30%
�[KProgress: 40%
�[KProgress: 50%
�[KProgress: 60%
�[KProgress: 70%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: kitchen-mongodb-cookbook-configserver-ubuntu-1004_default_1437007542863_93199
==> default: Fixed port collision for 22 => 2222. Now on port 2212.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2212 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2212
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: 
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default: 
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

hostnamectl set-hostname 'configserver-ubuntu-1004'

Stdout from the command:



Stderr from the command:

stdin: is not a tty
bash: line 2: hostnamectl: command not found
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1
E, [2015-07-15T20:46:02.780938 #19180] ERROR -- configserver-ubuntu-1004: ------Backtrace-------
E, [2015-07-15T20:46:02.780954 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/shell_out.rb:73:in `rescue in run_command'
E, [2015-07-15T20:46:02.780970 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/shell_out.rb:61:in `run_command'
E, [2015-07-15T20:46:02.780987 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:318:in `run_command'
E, [2015-07-15T20:46:02.781002 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:302:in `run'
E, [2015-07-15T20:46:02.781022 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:348:in `run_vagrant_up'
E, [2015-07-15T20:46:02.781039 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:88:in `create'
E, [2015-07-15T20:46:02.781116 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:424:in `public_send'
E, [2015-07-15T20:46:02.781133 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:424:in `block in perform_action'
E, [2015-07-15T20:46:02.781149 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:485:in `call'
E, [2015-07-15T20:46:02.781164 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:485:in `block in synchronize_or_call'
E, [2015-07-15T20:46:02.781180 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:483:in `synchronize'
E, [2015-07-15T20:46:02.781207 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:483:in `synchronize_or_call'
E, [2015-07-15T20:46:02.781225 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:453:in `block in action'
E, [2015-07-15T20:46:02.781240 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T20:46:02.781256 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:452:in `action'
E, [2015-07-15T20:46:02.781272 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:424:in `perform_action'
E, [2015-07-15T20:46:02.781290 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:352:in `create_action'
E, [2015-07-15T20:46:02.781306 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:341:in `block in transition_to'
E, [2015-07-15T20:46:02.781321 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `each'
E, [2015-07-15T20:46:02.781337 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `transition_to'
E, [2015-07-15T20:46:02.781352 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:160:in `verify'
E, [2015-07-15T20:46:02.781368 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:189:in `block in test'
E, [2015-07-15T20:46:02.781397 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T20:46:02.781415 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:185:in `test'
E, [2015-07-15T20:46:02.781431 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `public_send'
E, [2015-07-15T20:46:02.781501 #19180] ERROR -- configserver-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `block (2 levels) in run_action'
E, [2015-07-15T20:46:02.781519 #19180] ERROR -- configserver-ubuntu-1004: ----------------------

Failing Tests: configserver-ubuntu-1204

I, [2015-07-15T20:42:27.153451 #14844]  INFO -- configserver-ubuntu-1204: -----> Cleaning up any prior instances of <configserver-ubuntu-1204>
I, [2015-07-15T20:42:27.153582 #14844]  INFO -- configserver-ubuntu-1204: -----> Destroying <configserver-ubuntu-1204>...
I, [2015-07-15T20:42:27.154441 #14844]  INFO -- configserver-ubuntu-1204: Finished destroying <configserver-ubuntu-1204> (0m0.00s).
I, [2015-07-15T20:42:27.154633 #14844]  INFO -- configserver-ubuntu-1204: -----> Testing <configserver-ubuntu-1204>
I, [2015-07-15T20:42:27.154715 #14844]  INFO -- configserver-ubuntu-1204: -----> Creating <configserver-ubuntu-1204>...
I, [2015-07-15T20:42:29.224955 #14844]  INFO -- configserver-ubuntu-1204: Bringing machine 'default' up with 'virtualbox' provider...
I, [2015-07-15T20:42:29.449195 #14844]  INFO -- configserver-ubuntu-1204: ==> default: Importing base box 'opscode-ubuntu-12.04'...
I, [2015-07-15T20:42:38.553716 #14844]  INFO -- configserver-ubuntu-1204: 
�[KProgress: 10%
�[KProgress: 20%
�[KProgress: 40%
�[KProgress: 60%
�[KProgress: 70%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
I, [2015-07-15T20:42:39.286182 #14844]  INFO -- configserver-ubuntu-1204: ==> default: Setting the name of the VM: kitchen-mongodb-cookbook-configserver-ubuntu-1204_default_1437007359235_39096
I, [2015-07-15T20:42:41.211949 #14844]  INFO -- configserver-ubuntu-1204: ==> default: Fixed port collision for 22 => 2222. Now on port 2211.
I, [2015-07-15T20:42:41.265356 #14844]  INFO -- configserver-ubuntu-1204: ==> default: Clearing any previously set network interfaces...
I, [2015-07-15T20:42:41.325072 #14844]  INFO -- configserver-ubuntu-1204: ==> default: Preparing network interfaces based on configuration...
I, [2015-07-15T20:42:41.325791 #14844]  INFO -- configserver-ubuntu-1204:     default: Adapter 1: nat
I, [2015-07-15T20:42:41.374892 #14844]  INFO -- configserver-ubuntu-1204: ==> default: Forwarding ports...
I, [2015-07-15T20:42:41.459405 #14844]  INFO -- configserver-ubuntu-1204:     default: 22 => 2211 (adapter 1)
I, [2015-07-15T20:42:41.639172 #14844]  INFO -- configserver-ubuntu-1204: ==> default: Running 'pre-boot' VM customizations...
I, [2015-07-15T20:42:41.704481 #14844]  INFO -- configserver-ubuntu-1204: ==> default: Booting VM...
I, [2015-07-15T20:42:42.311081 #14844]  INFO -- configserver-ubuntu-1204: ==> default: Waiting for machine to boot. This may take a few minutes...    default: SSH address: 127.0.0.1:2211
I, [2015-07-15T20:42:42.311260 #14844]  INFO -- configserver-ubuntu-1204:     default: SSH username: vagrant
I, [2015-07-15T20:42:42.311514 #14844]  INFO -- configserver-ubuntu-1204:     default: SSH auth method: private key
I, [2015-07-15T20:42:57.464796 #14844]  INFO -- configserver-ubuntu-1204:     default: Warning: Connection timeout. Retrying...
I, [2015-07-15T20:42:57.837703 #14844]  INFO -- configserver-ubuntu-1204:     default: 
I, [2015-07-15T20:42:57.837764 #14844]  INFO -- configserver-ubuntu-1204:     default: Vagrant insecure key detected. Vagrant will automatically replace
I, [2015-07-15T20:42:57.837789 #14844]  INFO -- configserver-ubuntu-1204:     default: this with a newly generated keypair for better security.
I, [2015-07-15T20:42:58.265596 #14844]  INFO -- configserver-ubuntu-1204:     default: 
I, [2015-07-15T20:42:58.265708 #14844]  INFO -- configserver-ubuntu-1204:     default: Inserting generated public key within guest...
I, [2015-07-15T20:42:58.335787 #14844]  INFO -- configserver-ubuntu-1204:     default: Removing insecure key from the guest if it's present...
I, [2015-07-15T20:42:58.426239 #14844]  INFO -- configserver-ubuntu-1204:     default: Key inserted! Disconnecting and reconnecting using new SSH key...
I, [2015-07-15T20:42:59.037054 #14844]  INFO -- configserver-ubuntu-1204: ==> default: Machine booted and ready!
I, [2015-07-15T20:42:59.037351 #14844]  INFO -- configserver-ubuntu-1204: ==> default: Checking for guest additions in VM...
I, [2015-07-15T20:42:59.079066 #14844]  INFO -- configserver-ubuntu-1204: ==> default: Setting hostname...
I, [2015-07-15T20:42:59.267111 #14844]  INFO -- configserver-ubuntu-1204: The following SSH command responded with a non-zero exit status.
I, [2015-07-15T20:42:59.267172 #14844]  INFO -- configserver-ubuntu-1204: Vagrant assumes that this means the command failed!
I, [2015-07-15T20:42:59.267194 #14844]  INFO -- configserver-ubuntu-1204: 
I, [2015-07-15T20:42:59.267211 #14844]  INFO -- configserver-ubuntu-1204: hostnamectl set-hostname 'configserver-ubuntu-1204'
I, [2015-07-15T20:42:59.267226 #14844]  INFO -- configserver-ubuntu-1204: 
I, [2015-07-15T20:42:59.267239 #14844]  INFO -- configserver-ubuntu-1204: Stdout from the command:
I, [2015-07-15T20:42:59.267252 #14844]  INFO -- configserver-ubuntu-1204: 
I, [2015-07-15T20:42:59.267266 #14844]  INFO -- configserver-ubuntu-1204: 
I, [2015-07-15T20:42:59.267280 #14844]  INFO -- configserver-ubuntu-1204: 
I, [2015-07-15T20:42:59.267295 #14844]  INFO -- configserver-ubuntu-1204: Stderr from the command:
I, [2015-07-15T20:42:59.267308 #14844]  INFO -- configserver-ubuntu-1204: 
I, [2015-07-15T20:42:59.267323 #14844]  INFO -- configserver-ubuntu-1204: stdin: is not a tty
I, [2015-07-15T20:42:59.267339 #14844]  INFO -- configserver-ubuntu-1204: bash: line 2: hostnamectl: command not found
E, [2015-07-15T20:42:59.320792 #14844] ERROR -- configserver-ubuntu-1204: Create failed on instance <configserver-ubuntu-1204>.
E, [2015-07-15T20:42:59.321021 #14844] ERROR -- configserver-ubuntu-1204: ------Exception-------
E, [2015-07-15T20:42:59.321059 #14844] ERROR -- configserver-ubuntu-1204: Class: Kitchen::ShellOut::ShellCommandFailed
E, [2015-07-15T20:42:59.321086 #14844] ERROR -- configserver-ubuntu-1204: Message: Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-ubuntu-12.04'...

�[KProgress: 10%
�[KProgress: 20%
�[KProgress: 40%
�[KProgress: 60%
�[KProgress: 70%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: kitchen-mongodb-cookbook-configserver-ubuntu-1204_default_1437007359235_39096
==> default: Fixed port collision for 22 => 2222. Now on port 2211.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2211 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2211
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: 
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default: 
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

hostnamectl set-hostname 'configserver-ubuntu-1204'

Stdout from the command:



Stderr from the command:

stdin: is not a tty
bash: line 2: hostnamectl: command not found
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1
E, [2015-07-15T20:42:59.321229 #14844] ERROR -- configserver-ubuntu-1204: ---Nested Exception---
E, [2015-07-15T20:42:59.321249 #14844] ERROR -- configserver-ubuntu-1204: Class: Mixlib::ShellOut::ShellCommandFailed
E, [2015-07-15T20:42:59.321267 #14844] ERROR -- configserver-ubuntu-1204: Message: Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-ubuntu-12.04'...

�[KProgress: 10%
�[KProgress: 20%
�[KProgress: 40%
�[KProgress: 60%
�[KProgress: 70%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: kitchen-mongodb-cookbook-configserver-ubuntu-1204_default_1437007359235_39096
==> default: Fixed port collision for 22 => 2222. Now on port 2211.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2211 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2211
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: 
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default: 
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

hostnamectl set-hostname 'configserver-ubuntu-1204'

Stdout from the command:



Stderr from the command:

stdin: is not a tty
bash: line 2: hostnamectl: command not found
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1
E, [2015-07-15T20:42:59.321346 #14844] ERROR -- configserver-ubuntu-1204: ------Backtrace-------
E, [2015-07-15T20:42:59.321366 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/shell_out.rb:73:in `rescue in run_command'
E, [2015-07-15T20:42:59.321380 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/shell_out.rb:61:in `run_command'
E, [2015-07-15T20:42:59.321394 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:318:in `run_command'
E, [2015-07-15T20:42:59.321410 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:302:in `run'
E, [2015-07-15T20:42:59.321426 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:348:in `run_vagrant_up'
E, [2015-07-15T20:42:59.321439 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:88:in `create'
E, [2015-07-15T20:42:59.321452 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:424:in `public_send'
E, [2015-07-15T20:42:59.321467 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:424:in `block in perform_action'
E, [2015-07-15T20:42:59.321481 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:485:in `call'
E, [2015-07-15T20:42:59.321496 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:485:in `block in synchronize_or_call'
E, [2015-07-15T20:42:59.321511 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:483:in `synchronize'
E, [2015-07-15T20:42:59.321532 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:483:in `synchronize_or_call'
E, [2015-07-15T20:42:59.321547 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:453:in `block in action'
E, [2015-07-15T20:42:59.321560 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T20:42:59.321574 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:452:in `action'
E, [2015-07-15T20:42:59.321658 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:424:in `perform_action'
E, [2015-07-15T20:42:59.321672 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:352:in `create_action'
E, [2015-07-15T20:42:59.321685 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:341:in `block in transition_to'
E, [2015-07-15T20:42:59.321697 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `each'
E, [2015-07-15T20:42:59.321710 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `transition_to'
E, [2015-07-15T20:42:59.321722 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:160:in `verify'
E, [2015-07-15T20:42:59.321735 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:189:in `block in test'
E, [2015-07-15T20:42:59.321747 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T20:42:59.321759 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:185:in `test'
E, [2015-07-15T20:42:59.321772 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `public_send'
E, [2015-07-15T20:42:59.321784 #14844] ERROR -- configserver-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `block (2 levels) in run_action'
E, [2015-07-15T20:42:59.321797 #14844] ERROR -- configserver-ubuntu-1204: ----------------------

MongoDB without NUMA fails to start

I'm using the mongodb::10gen_repo and mongodb::replicaset cookbooks on Ubuntu 14.04. After preparing and cooking a machine, the system would provision and Mongo db would not have started.

When I looked into the problem, I found that I would have the following error in my /var/log/upstart/mongodb.log

start-stop-daemon: unrecognized option '--config'
Try 'start-stop-daemon --help' for more information.

After spending a lot of time disecting debian-mongodb.upstart.erb the resulting init, and how it would run, I think I found the problem. In the block to handle NUMA support, when we don't have NUMA we set DAEMON_OPTS="-- $DAEMON_OPTS". $DAEMON_OPTS does not appear to be set in the template, and I eventually found that it is set in the @sysconfig_file in the block below. As a result, we blow away the -- that we specifically added. By moving the NUMA support below the sysconfig_file block, it seems to work as expected.

we need to update the lastest repo for `mongodb-org`

Hi,

I believe, 10gen company has updated its new repo for mongodb-org. To use the latest stable release, we have to use this new repo uri. From http://downloads-distro.mongodb.org/repo/#{node[:mongodb][:apt_repo]} to http://repo.mongodb.org/apt/ubuntu.

  # Suggested new repo uri 
  apt_repository "#{node['mongodb']['package_name']}" do
    uri "http://repo.mongodb.org/apt/#{node['platform']}"
    distribution "#{node['lsb']['codename']}/#{node['mongodb']['package_name']}/stable"
    components ['multiverse']
    keyserver 'hkp://keyserver.ubuntu.com:80'
    key '7F0CEB10'
    action :add
  end

Support YAML config file

From edelight/chef-mongodb#309

Per the mongo doc for Configuration Options:

Changed in version 2.6: MongoDB introduces a YAML-based configuration file format. The 2.4 configuration file format remains for backward compatibility.

It also moves the options to totally different locations.

Obviously, this is a breaking change.

Failing Test: replicaset-centos-65

I, [2015-07-15T19:59:22.582401 #5997]  INFO -- replicaset-centos-65: -----> Cleaning up any prior instances of <replicaset-centos-65>
I, [2015-07-15T19:59:22.583203 #5997]  INFO -- replicaset-centos-65: -----> Destroying <replicaset-centos-65>...
I, [2015-07-15T19:59:25.308086 #5997]  INFO -- replicaset-centos-65: ==> default: Forcing shutdown of VM...
I, [2015-07-15T19:59:26.477565 #5997]  INFO -- replicaset-centos-65: ==> default: Destroying VM and associated drives...
I, [2015-07-15T19:59:26.734046 #5997]  INFO -- replicaset-centos-65: Vagrant instance <replicaset-centos-65> destroyed.
I, [2015-07-15T19:59:26.736315 #5997]  INFO -- replicaset-centos-65: Finished destroying <replicaset-centos-65> (0m4.15s).
I, [2015-07-15T19:59:26.736630 #5997]  INFO -- replicaset-centos-65: -----> Testing <replicaset-centos-65>
I, [2015-07-15T19:59:26.736809 #5997]  INFO -- replicaset-centos-65: -----> Creating <replicaset-centos-65>...
I, [2015-07-15T19:59:28.411575 #5997]  INFO -- replicaset-centos-65: Bringing machine 'default' up with 'virtualbox' provider...
I, [2015-07-15T19:59:28.613130 #5997]  INFO -- replicaset-centos-65: ==> default: Importing base box 'opscode-centos-6.5'...
I, [2015-07-15T19:59:35.790666 #5997]  INFO -- replicaset-centos-65: 
�[KProgress: 10%
�[KProgress: 20%
�[KProgress: 30%
�[KProgress: 40%
�[KProgress: 60%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
I, [2015-07-15T19:59:36.634553 #5997]  INFO -- replicaset-centos-65: ==> default: Setting the name of the VM: kitchen-mongodb-cookbook-replicaset-centos-65_default_1437004776587_59103
I, [2015-07-15T19:59:38.378527 #5997]  INFO -- replicaset-centos-65: ==> default: Fixed port collision for 22 => 2222. Now on port 2208.
I, [2015-07-15T19:59:38.442045 #5997]  INFO -- replicaset-centos-65: ==> default: Clearing any previously set network interfaces...
I, [2015-07-15T19:59:38.544671 #5997]  INFO -- replicaset-centos-65: ==> default: Preparing network interfaces based on configuration...
I, [2015-07-15T19:59:38.545324 #5997]  INFO -- replicaset-centos-65:     default: Adapter 1: nat
I, [2015-07-15T19:59:38.599943 #5997]  INFO -- replicaset-centos-65: ==> default: Forwarding ports...
I, [2015-07-15T19:59:38.697526 #5997]  INFO -- replicaset-centos-65:     default: 22 => 2208 (adapter 1)
I, [2015-07-15T19:59:38.874723 #5997]  INFO -- replicaset-centos-65: ==> default: Running 'pre-boot' VM customizations...
I, [2015-07-15T19:59:38.951234 #5997]  INFO -- replicaset-centos-65: ==> default: Booting VM...
I, [2015-07-15T19:59:39.240615 #5997]  INFO -- replicaset-centos-65: ==> default: Waiting for machine to boot. This may take a few minutes...
I, [2015-07-15T19:59:39.604030 #5997]  INFO -- replicaset-centos-65:     default: SSH address: 127.0.0.1:2208
I, [2015-07-15T19:59:39.604243 #5997]  INFO -- replicaset-centos-65:     default: SSH username: vagrant
I, [2015-07-15T19:59:39.604524 #5997]  INFO -- replicaset-centos-65:     default: SSH auth method: private key
I, [2015-07-15T19:59:54.786958 #5997]  INFO -- replicaset-centos-65:     default: Warning: Connection timeout. Retrying...
I, [2015-07-15T20:00:01.873018 #5997]  INFO -- replicaset-centos-65:     default: 
I, [2015-07-15T20:00:01.873097 #5997]  INFO -- replicaset-centos-65:     default: Vagrant insecure key detected. Vagrant will automatically replace
I, [2015-07-15T20:00:01.873128 #5997]  INFO -- replicaset-centos-65:     default: this with a newly generated keypair for better security.
I, [2015-07-15T20:00:02.689597 #5997]  INFO -- replicaset-centos-65:     default: 
I, [2015-07-15T20:00:02.689672 #5997]  INFO -- replicaset-centos-65:     default: Inserting generated public key within guest...
I, [2015-07-15T20:00:02.859139 #5997]  INFO -- replicaset-centos-65:     default: Removing insecure key from the guest if it's present...
I, [2015-07-15T20:00:03.017877 #5997]  INFO -- replicaset-centos-65:     default: Key inserted! Disconnecting and reconnecting using new SSH key...
I, [2015-07-15T20:00:04.352001 #5997]  INFO -- replicaset-centos-65: ==> default: Machine booted and ready!
I, [2015-07-15T20:00:04.352499 #5997]  INFO -- replicaset-centos-65: ==> default: Checking for guest additions in VM...
I, [2015-07-15T20:00:04.480757 #5997]  INFO -- replicaset-centos-65: ==> default: Setting hostname...
I, [2015-07-15T20:00:11.466952 #5997]  INFO -- replicaset-centos-65: ==> default: Machine not provisioned because `--no-provision` is specified.
I, [2015-07-15T20:00:14.195658 #5997]  INFO -- replicaset-centos-65: [SSH] Established
I, [2015-07-15T20:00:14.196320 #5997]  INFO -- replicaset-centos-65: Vagrant instance <replicaset-centos-65> created.
I, [2015-07-15T20:00:14.199328 #5997]  INFO -- replicaset-centos-65: Finished creating <replicaset-centos-65> (0m47.46s).
I, [2015-07-15T20:00:14.199857 #5997]  INFO -- replicaset-centos-65: -----> Converging <replicaset-centos-65>...
I, [2015-07-15T20:00:14.202978 #5997]  INFO -- replicaset-centos-65: Preparing files for transfer
I, [2015-07-15T20:00:14.203365 #5997]  INFO -- replicaset-centos-65: Preparing dna.json
I, [2015-07-15T20:00:14.204839 #5997]  INFO -- replicaset-centos-65: Resolving cookbook dependencies with Berkshelf 3.3.0...
I, [2015-07-15T20:00:15.048790 #5997]  INFO -- replicaset-centos-65: Removing non-cookbook files before transfer
I, [2015-07-15T20:00:15.074132 #5997]  INFO -- replicaset-centos-65: Preparing nodes
I, [2015-07-15T20:00:15.075288 #5997]  INFO -- replicaset-centos-65: Preparing validation.pem
I, [2015-07-15T20:00:15.076318 #5997]  INFO -- replicaset-centos-65: Preparing client.rb
I, [2015-07-15T20:00:15.091324 #5997]  INFO -- replicaset-centos-65: -----> Installing Chef Omnibus (11.12.8)
I, [2015-07-15T20:00:15.094501 #5997]  INFO -- replicaset-centos-65: Downloading https://www.chef.io/chef/install.sh to file /tmp/install.sh
I, [2015-07-15T20:00:15.094544 #5997]  INFO -- replicaset-centos-65: Trying wget...
I, [2015-07-15T20:00:15.325929 #5997]  INFO -- replicaset-centos-65: Trying curl...
I, [2015-07-15T20:00:15.735432 #5997]  INFO -- replicaset-centos-65: Download complete.
I, [2015-07-15T20:00:15.804170 #5997]  INFO -- replicaset-centos-65: Downloading Chef 11.12.8 for el...
I, [2015-07-15T20:00:15.804244 #5997]  INFO -- replicaset-centos-65: downloading https://www.chef.io/chef/metadata?v=11.12.8&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64
I, [2015-07-15T20:00:15.804274 #5997]  INFO -- replicaset-centos-65:   to file /tmp/install.sh.2356/metadata.txt
I, [2015-07-15T20:00:15.804592 #5997]  INFO -- replicaset-centos-65: trying wget...
I, [2015-07-15T20:00:15.947284 #5997]  INFO -- replicaset-centos-65: trying curl...
I, [2015-07-15T20:00:16.353984 #5997]  INFO -- replicaset-centos-65: url    https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.12.8-2.el6.x86_64.rpm
I, [2015-07-15T20:00:16.354042 #5997]  INFO -- replicaset-centos-65: md5    3dfacef6e6640adefc12bf6956a3a4e2
I, [2015-07-15T20:00:16.354062 #5997]  INFO -- replicaset-centos-65: sha256 ee45e0f226ffd503a949c1b10944064a4655d0255e03a16b073bed85eac83e95
I, [2015-07-15T20:00:16.357672 #5997]  INFO -- replicaset-centos-65: downloaded metadata file looks valid...
I, [2015-07-15T20:00:16.368839 #5997]  INFO -- replicaset-centos-65: downloading https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.12.8-2.el6.x86_64.rpm
I, [2015-07-15T20:00:16.368928 #5997]  INFO -- replicaset-centos-65:   to file /tmp/install.sh.2356/chef-11.12.8-2.el6.x86_64.rpm
I, [2015-07-15T20:00:16.368975 #5997]  INFO -- replicaset-centos-65: trying wget...
I, [2015-07-15T20:00:20.806359 #5997]  INFO -- replicaset-centos-65: Comparing checksum with sha256sum...
I, [2015-07-15T20:00:21.008063 #5997]  INFO -- replicaset-centos-65: Installing Chef 11.12.8
I, [2015-07-15T20:00:21.008142 #5997]  INFO -- replicaset-centos-65: installing with rpm...
I, [2015-07-15T20:00:21.133334 #5997]  INFO -- replicaset-centos-65: warning: /tmp/install.sh.2356/chef-11.12.8-2.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
I, [2015-07-15T20:00:21.520708 #5997]  INFO -- replicaset-centos-65: Preparing...                                                            (100%)��������������������������������������������������#                                           (100%)��������������������������������������������������##                                          (100%)��������������������������������������������������###                                         (100%)��������������������������������������������������####                                        (100%)��������������������������������������������������#####                                       (100%)��������������������������������������������������######                                      (100%)��������������������������������������������������#######                                     (100%)��������������������������������������������������########                                    (100%)��������������������������������������������������#########                                   (100%)��������������������������������������������������##########                                  (100%)��������������������������������������������������###########                                 (100%)��������������������������������������������������############                                (100%)��������������������������������������������������#############                               (100%)��������������������������������������������������##############                              (100%)��������������������������������������������������###############                             (100%)��������������������������������������������������################                            (100%)��������������������������������������������������#################                           (100%)��������������������������������������������������##################                          (100%)��������������������������������������������������###################                         (100%)��������������������������������������������������####################                        (100%)��������������������������������������������������#####################                       (100%)��������������������������������������������������######################                      (100%)��������������������������������������������������#######################                     (100%)��������������������������������������������������########################                    (100%)��������������������������������������������������#########################                   (100%)��������������������������������������������������##########################                  (100%)��������������������������������������������������###########################                 (100%)��������������������������������������������������############################                (100%)��������������������������������������������������#############################               (100%)��������������������������������������������������##############################              (100%)��������������������������������������������������###############################             (100%)��������������������������������������������������################################            (100%)��������������������������������������������������#################################           (100%)��������������������������������������������������##################################          (100%)��������������������������������������������������###################################         (100%)��������������������������������������������������####################################        (100%)��������������������������������������������������#####################################       (100%)��������������������������������������������������######################################      (100%)��������������������������������������������������#######################################     (100%)��������������������������������������������������########################################    (100%)��������������������������������������������������#########################################   (100%)��������������������������������������������������##########################################  (100%)��������������������������������������������������########################################### (100%)��������������������������������������������������########################################### [100%]
I, [2015-07-15T20:00:24.891122 #5997]  INFO -- replicaset-centos-65:    1:chef                                                               (  1%)��������������������������������������������������#                                           (  3%)��������������������������������������������������##                                          (  6%)��������������������������������������������������###                                         (  8%)��������������������������������������������������####                                        ( 10%)��������������������������������������������������#####                                       ( 13%)��������������������������������������������������######                                      ( 15%)��������������������������������������������������#######                                     ( 17%)��������������������������������������������������########                                    ( 19%)��������������������������������������������������#########                                   ( 22%)��������������������������������������������������##########                                  ( 24%)��������������������������������������������������###########                                 ( 26%)��������������������������������������������������############                                ( 28%)��������������������������������������������������#############                               ( 31%)��������������������������������������������������##############                              ( 33%)��������������������������������������������������###############                             ( 35%)��������������������������������������������������################                            ( 38%)��������������������������������������������������#################                           ( 40%)��������������������������������������������������##################                          ( 42%)��������������������������������������������������###################                         ( 44%)��������������������������������������������������####################                        ( 47%)��������������������������������������������������#####################                       ( 49%)��������������������������������������������������######################                      ( 51%)��������������������������������������������������#######################                     ( 53%)��������������������������������������������������########################                    ( 56%)��������������������������������������������������#########################                   ( 58%)��������������������������������������������������##########################                  ( 60%)��������������������������������������������������###########################                 ( 63%)��������������������������������������������������############################                ( 65%)��������������������������������������������������#############################               ( 67%)��������������������������������������������������##############################              ( 69%)��������������������������������������������������###############################             ( 72%)��������������������������������������������������################################            ( 74%)��������������������������������������������������#################################           ( 76%)��������������������������������������������������##################################          ( 78%)��������������������������������������������������###################################         ( 81%)��������������������������������������������������####################################        ( 83%)��������������������������������������������������#####################################       ( 85%)��������������������������������������������������######################################      ( 88%)��������������������������������������������������#######################################     ( 90%)��������������������������������������������������########################################    ( 92%)��������������������������������������������������#########################################   ( 94%)��������������������������������������������������##########################################  ( 97%)��������������������������������������������������########################################### ( 99%)��������������������������������������������������########################################### [100%]
I, [2015-07-15T20:00:25.507205 #5997]  INFO -- replicaset-centos-65: Thank you for installing Chef!
I, [2015-07-15T20:00:25.549436 #5997]  INFO -- replicaset-centos-65: Transferring files to <replicaset-centos-65>
I, [2015-07-15T20:00:27.047370 #5997]  INFO -- replicaset-centos-65: [2015-07-16T00:00:24+00:00] WARN: 
I, [2015-07-15T20:00:27.047483 #5997]  INFO -- replicaset-centos-65: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
I, [2015-07-15T20:00:27.047520 #5997]  INFO -- replicaset-centos-65: SSL validation of HTTPS requests is disabled. HTTPS connections are still
I, [2015-07-15T20:00:27.047543 #5997]  INFO -- replicaset-centos-65: encrypted, but chef is not able to detect forged replies or man in the middle
I, [2015-07-15T20:00:27.047566 #5997]  INFO -- replicaset-centos-65: attacks.
I, [2015-07-15T20:00:27.047587 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:27.047613 #5997]  INFO -- replicaset-centos-65: To fix this issue add an entry like this to your configuration file:
I, [2015-07-15T20:00:27.047635 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:27.047660 #5997]  INFO -- replicaset-centos-65: ```
I, [2015-07-15T20:00:27.047684 #5997]  INFO -- replicaset-centos-65:   # Verify all HTTPS connections (recommended)
I, [2015-07-15T20:00:27.047708 #5997]  INFO -- replicaset-centos-65:   ssl_verify_mode :verify_peer
I, [2015-07-15T20:00:27.047731 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:27.047754 #5997]  INFO -- replicaset-centos-65:   # OR, Verify only connections to chef-server
I, [2015-07-15T20:00:27.047796 #5997]  INFO -- replicaset-centos-65:   verify_api_cert true
I, [2015-07-15T20:00:27.047818 #5997]  INFO -- replicaset-centos-65: ```
I, [2015-07-15T20:00:27.047838 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:27.047859 #5997]  INFO -- replicaset-centos-65: To check your SSL configuration, or troubleshoot errors, you can use the
I, [2015-07-15T20:00:27.047880 #5997]  INFO -- replicaset-centos-65: `knife ssl check` command like so:
I, [2015-07-15T20:00:27.047901 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:27.047922 #5997]  INFO -- replicaset-centos-65: ```
I, [2015-07-15T20:00:27.047944 #5997]  INFO -- replicaset-centos-65:   knife ssl check -c /tmp/kitchen/client.rb
I, [2015-07-15T20:00:27.047966 #5997]  INFO -- replicaset-centos-65: ```
I, [2015-07-15T20:00:27.047988 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:27.048011 #5997]  INFO -- replicaset-centos-65: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
I, [2015-07-15T20:00:27.048030 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:27.049742 #5997]  INFO -- replicaset-centos-65: Starting Chef Client, version 11.12.8
I, [2015-07-15T20:00:29.340451 #5997]  INFO -- replicaset-centos-65: Creating a new client identity for replicaset-centos-65 using the validator key.
I, [2015-07-15T20:00:29.430391 #5997]  INFO -- replicaset-centos-65: resolving cookbooks for run list: ["yum", "yum-epel", "mongodb::replicaset"]
I, [2015-07-15T20:00:30.443690 #5997]  INFO -- replicaset-centos-65: Synchronizing Cookbooks:
I, [2015-07-15T20:00:30.637720 #5997]  INFO -- replicaset-centos-65:   - yum
I, [2015-07-15T20:00:30.802281 #5997]  INFO -- replicaset-centos-65:   - yum-epel
I, [2015-07-15T20:00:31.256500 #5997]  INFO -- replicaset-centos-65:   - mongodb
I, [2015-07-15T20:00:31.482670 #5997]  INFO -- replicaset-centos-65:   - apt
I, [2015-07-15T20:00:31.694808 #5997]  INFO -- replicaset-centos-65:   - python
I, [2015-07-15T20:00:31.975320 #5997]  INFO -- replicaset-centos-65:   - build-essential
I, [2015-07-15T20:00:31.976413 #5997]  INFO -- replicaset-centos-65: Compiling Cookbooks...
I, [2015-07-15T20:00:32.026490 #5997]  INFO -- replicaset-centos-65: [2015-07-16T00:00:29+00:00] WARN: CentOS doesn't provide mongodb, forcing use of mongodb-org repo
I, [2015-07-15T20:00:32.119586 #5997]  INFO -- replicaset-centos-65: [2015-07-16T00:00:29+00:00] WARN: 10gen_repo is deprecated, use mongodb_org_repo
I, [2015-07-15T20:00:32.150483 #5997]  INFO -- replicaset-centos-65: [2015-07-16T00:00:29+00:00] WARN: Cloning resource attributes for template[/etc/mongodb.conf] from prior resource (CHEF-3694)
I, [2015-07-15T20:00:32.150539 #5997]  INFO -- replicaset-centos-65: [2015-07-16T00:00:29+00:00] WARN: Previous template[/etc/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:14:in `from_file'
I, [2015-07-15T20:00:32.150561 #5997]  INFO -- replicaset-centos-65: [2015-07-16T00:00:29+00:00] WARN: Current  template[/etc/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:139:in `block in from_file'
I, [2015-07-15T20:00:32.151436 #5997]  INFO -- replicaset-centos-65: [2015-07-16T00:00:29+00:00] WARN: Cloning resource attributes for execute[mongodb-systemctl-daemon-reload] from prior resource (CHEF-3694)
I, [2015-07-15T20:00:32.151477 #5997]  INFO -- replicaset-centos-65: [2015-07-16T00:00:29+00:00] WARN: Previous execute[mongodb-systemctl-daemon-reload]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:37:in `from_file'
I, [2015-07-15T20:00:32.152572 #5997]  INFO -- replicaset-centos-65: [2015-07-16T00:00:29+00:00] WARN: Current  execute[mongodb-systemctl-daemon-reload]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:174:in `block in from_file'
I, [2015-07-15T20:00:32.152614 #5997]  INFO -- replicaset-centos-65: [2015-07-16T00:00:29+00:00] WARN: Cloning resource attributes for template[/etc/init.d/mongod] from prior resource (CHEF-3694)
I, [2015-07-15T20:00:32.152635 #5997]  INFO -- replicaset-centos-65: [2015-07-16T00:00:29+00:00] WARN: Previous template[/etc/init.d/mongod]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:42:in `from_file'
I, [2015-07-15T20:00:32.152652 #5997]  INFO -- replicaset-centos-65: [2015-07-16T00:00:29+00:00] WARN: Current  template[/etc/init.d/mongod]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:180:in `block in from_file'
I, [2015-07-15T20:00:32.164293 #5997]  INFO -- replicaset-centos-65: Converging 18 resources
I, [2015-07-15T20:00:32.165346 #5997]  INFO -- replicaset-centos-65: Recipe: yum::default
I, [2015-07-15T20:00:32.166338 #5997]  INFO -- replicaset-centos-65: Recipe: <Dynamically Defined Resource>
I, [2015-07-15T20:00:32.195988 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:32.196049 #5997]  INFO -- replicaset-centos-65:     - update content in file /etc/yum.conf from a403d7 to 31c39a
I, [2015-07-15T20:00:32.196103 #5997]  INFO -- replicaset-centos-65:  --- /etc/yum.conf 2013-02-22 11:26:34.000000000 +0000
I, [2015-07-15T20:00:32.196130 #5997]  INFO -- replicaset-centos-65:  +++ /tmp/chef-rendered-template20150716-2463-1g41kuc  2015-07-16 00:00:29.623551670 +0000
I, [2015-07-15T20:00:32.196153 #5997]  INFO -- replicaset-centos-65:  @@ -1,26 +1,15 @@
I, [2015-07-15T20:00:32.196175 #5997]  INFO -- replicaset-centos-65:  +# This file was generated by Chef
I, [2015-07-15T20:00:32.196195 #5997]  INFO -- replicaset-centos-65:  +# Do NOT modify this file by hand.
I, [2015-07-15T20:00:32.196216 #5997]  INFO -- replicaset-centos-65:  +
I, [2015-07-15T20:00:32.196236 #5997]  INFO -- replicaset-centos-65:   [main]
I, [2015-07-15T20:00:32.196256 #5997]  INFO -- replicaset-centos-65:   cachedir=/var/cache/yum/$basearch/$releasever
I, [2015-07-15T20:00:32.196274 #5997]  INFO -- replicaset-centos-65:  -keepcache=0
I, [2015-07-15T20:00:32.196320 #5997]  INFO -- replicaset-centos-65:   debuglevel=2
I, [2015-07-15T20:00:32.196343 #5997]  INFO -- replicaset-centos-65:  -logfile=/var/log/yum.log
I, [2015-07-15T20:00:32.196364 #5997]  INFO -- replicaset-centos-65:  +distroverpkg=centos-release
I, [2015-07-15T20:00:32.196383 #5997]  INFO -- replicaset-centos-65:   exactarch=1
I, [2015-07-15T20:00:32.196402 #5997]  INFO -- replicaset-centos-65:  -obsoletes=1
I, [2015-07-15T20:00:32.196421 #5997]  INFO -- replicaset-centos-65:   gpgcheck=1
I, [2015-07-15T20:00:32.196451 #5997]  INFO -- replicaset-centos-65:  +installonly_limit=3
I, [2015-07-15T20:00:32.196471 #5997]  INFO -- replicaset-centos-65:  +keepcache=0
I, [2015-07-15T20:00:32.196492 #5997]  INFO -- replicaset-centos-65:  +logfile=/var/log/yum.log
I, [2015-07-15T20:00:32.196511 #5997]  INFO -- replicaset-centos-65:  +obsoletes=1
I, [2015-07-15T20:00:32.196530 #5997]  INFO -- replicaset-centos-65:   plugins=1
I, [2015-07-15T20:00:32.196548 #5997]  INFO -- replicaset-centos-65:  -installonly_limit=5
I, [2015-07-15T20:00:32.196569 #5997]  INFO -- replicaset-centos-65:  -bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum
I, [2015-07-15T20:00:32.196589 #5997]  INFO -- replicaset-centos-65:  -distroverpkg=centos-release
I, [2015-07-15T20:00:32.196607 #5997]  INFO -- replicaset-centos-65:  -
I, [2015-07-15T20:00:32.196625 #5997]  INFO -- replicaset-centos-65:  -#  This is the default, if you make this bigger yum won't see if the metadata
I, [2015-07-15T20:00:32.196646 #5997]  INFO -- replicaset-centos-65:  -# is newer on the remote and so you'll "gain" the bandwidth of not having to
I, [2015-07-15T20:00:32.196667 #5997]  INFO -- replicaset-centos-65:  -# download the new metadata and "pay" for it by yum not having correct
I, [2015-07-15T20:00:32.196685 #5997]  INFO -- replicaset-centos-65:  -# information.
I, [2015-07-15T20:00:32.196703 #5997]  INFO -- replicaset-centos-65:  -#  It is esp. important, to have correct metadata, for distributions like
I, [2015-07-15T20:00:32.196724 #5997]  INFO -- replicaset-centos-65:  -# Fedora which don't keep old packages around. If you don't like this checking
I, [2015-07-15T20:00:32.196743 #5997]  INFO -- replicaset-centos-65:  -# interupting your command line usage, it's much better to have something
I, [2015-07-15T20:00:32.196762 #5997]  INFO -- replicaset-centos-65:  -# manually check the metadata once an hour (yum-updatesd will do this).
I, [2015-07-15T20:00:32.196814 #5997]  INFO -- replicaset-centos-65:  -# metadata_expire=90m
I, [2015-07-15T20:00:32.196853 #5997]  INFO -- replicaset-centos-65:  -
I, [2015-07-15T20:00:32.196925 #5997]  INFO -- replicaset-centos-65:  -# PUT YOUR REPOS HERE OR IN separate files named file.repo
I, [2015-07-15T20:00:32.406325 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:32.407255 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:32.408728 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:32.408791 #5997]  INFO -- replicaset-centos-65: Recipe: yum-epel::default
I, [2015-07-15T20:00:32.411484 #5997]  INFO -- replicaset-centos-65: Recipe: <Dynamically Defined Resource>
I, [2015-07-15T20:00:32.427789 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:32.431196 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:32.431253 #5997]  INFO -- replicaset-centos-65:     - update content in file /etc/yum.repos.d/epel.repo from none to d02c1f
I, [2015-07-15T20:00:32.431288 #5997]  INFO -- replicaset-centos-65:  --- /etc/yum.repos.d/epel.repo    2015-07-16 00:00:29.859669669 +0000
I, [2015-07-15T20:00:32.431313 #5997]  INFO -- replicaset-centos-65:  +++ /tmp/chef-rendered-template20150716-2463-1hc81jn  2015-07-16 00:00:29.862671169 +0000
I, [2015-07-15T20:00:32.431334 #5997]  INFO -- replicaset-centos-65:  @@ -1 +1,11 @@
I, [2015-07-15T20:00:32.431354 #5997]  INFO -- replicaset-centos-65:  +# This file was generated by Chef
I, [2015-07-15T20:00:32.431372 #5997]  INFO -- replicaset-centos-65:  +# Do NOT modify this file by hand.
I, [2015-07-15T20:00:32.431413 #5997]  INFO -- replicaset-centos-65:  +
I, [2015-07-15T20:00:32.431433 #5997]  INFO -- replicaset-centos-65:  +[epel]
I, [2015-07-15T20:00:32.431453 #5997]  INFO -- replicaset-centos-65:  +name=Extra Packages for Enterprise Linux 6 - $basearch
I, [2015-07-15T20:00:32.431472 #5997]  INFO -- replicaset-centos-65:  +enabled=1
I, [2015-07-15T20:00:32.431490 #5997]  INFO -- replicaset-centos-65:  +failovermethod=priority
I, [2015-07-15T20:00:32.431507 #5997]  INFO -- replicaset-centos-65:  +gpgcheck=1
I, [2015-07-15T20:00:32.431526 #5997]  INFO -- replicaset-centos-65:  +gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6
I, [2015-07-15T20:00:32.431545 #5997]  INFO -- replicaset-centos-65:  +mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
I, [2015-07-15T20:00:32.625427 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:32.625480 #5997]  INFO -- replicaset-centos-65:     - restore selinux security context
I, [2015-07-15T20:00:32.994285 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:32.994572 #5997]  INFO -- replicaset-centos-65:     - execute yum clean all --disablerepo=* --enablerepo=epel
I, [2015-07-15T20:00:43.209408 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:43.209482 #5997]  INFO -- replicaset-centos-65:     - execute yum -q -y makecache --disablerepo=* --enablerepo=epel
I, [2015-07-15T20:00:43.209508 #5997]  INFO -- replicaset-centos-65:   * ruby_block[yum-cache-reload-epel] action create
I, [2015-07-15T20:00:43.209530 #5997]  INFO -- replicaset-centos-65:     - execute the ruby block yum-cache-reload-epel
I, [2015-07-15T20:00:43.209550 #5997]  INFO -- replicaset-centos-65:   * execute[yum clean epel] action nothing (skipped due to action :nothing)
I, [2015-07-15T20:00:43.210407 #5997]  INFO -- replicaset-centos-65:   * execute[yum-makecache-epel] action nothing (skipped due to action :nothing)
I, [2015-07-15T20:00:43.210482 #5997]  INFO -- replicaset-centos-65:   * ruby_block[yum-cache-reload-epel] action nothing (skipped due to action :nothing)
I, [2015-07-15T20:00:43.210512 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:43.210538 #5997]  INFO -- replicaset-centos-65: Recipe: mongodb::mongodb_org_repo
I, [2015-07-15T20:00:43.214445 #5997]  INFO -- replicaset-centos-65: Recipe: <Dynamically Defined Resource>
I, [2015-07-15T20:00:43.216822 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:43.220419 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:43.220462 #5997]  INFO -- replicaset-centos-65:     - update content in file /etc/yum.repos.d/mongodb.repo from none to bf24c8
I, [2015-07-15T20:00:43.220491 #5997]  INFO -- replicaset-centos-65:  --- /etc/yum.repos.d/mongodb.repo 2015-07-16 00:00:40.307891168 +0000
I, [2015-07-15T20:00:43.220512 #5997]  INFO -- replicaset-centos-65:  +++ /tmp/chef-rendered-template20150716-2463-qcnkid   2015-07-16 00:00:40.310892667 +0000
I, [2015-07-15T20:00:43.220531 #5997]  INFO -- replicaset-centos-65:  @@ -1 +1,9 @@
I, [2015-07-15T20:00:43.220550 #5997]  INFO -- replicaset-centos-65:  +# This file was generated by Chef
I, [2015-07-15T20:00:43.220568 #5997]  INFO -- replicaset-centos-65:  +# Do NOT modify this file by hand.
I, [2015-07-15T20:00:43.220586 #5997]  INFO -- replicaset-centos-65:  +
I, [2015-07-15T20:00:43.220602 #5997]  INFO -- replicaset-centos-65:  +[mongodb]
I, [2015-07-15T20:00:43.220620 #5997]  INFO -- replicaset-centos-65:  +name=mongodb RPM Repository
I, [2015-07-15T20:00:43.220637 #5997]  INFO -- replicaset-centos-65:  +baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64
I, [2015-07-15T20:00:43.220654 #5997]  INFO -- replicaset-centos-65:  +enabled=1
I, [2015-07-15T20:00:43.220671 #5997]  INFO -- replicaset-centos-65:  +gpgcheck=0
I, [2015-07-15T20:00:43.432725 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:43.432802 #5997]  INFO -- replicaset-centos-65:     - restore selinux security context
I, [2015-07-15T20:00:43.695725 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:43.695805 #5997]  INFO -- replicaset-centos-65:     - execute yum clean all --disablerepo=* --enablerepo=mongodb
I, [2015-07-15T20:00:44.421574 #5997]  INFO -- replicaset-centos-65:   * execute[yum-makecache-mongodb] action run
I, [2015-07-15T20:00:44.421635 #5997]  INFO -- replicaset-centos-65:     - execute yum -q -y makecache --disablerepo=* --enablerepo=mongodb
I, [2015-07-15T20:00:44.421656 #5997]  INFO -- replicaset-centos-65:   * ruby_block[yum-cache-reload-mongodb] action create
I, [2015-07-15T20:00:44.421673 #5997]  INFO -- replicaset-centos-65:     - execute the ruby block yum-cache-reload-mongodb
I, [2015-07-15T20:00:44.422621 #5997]  INFO -- replicaset-centos-65:   * execute[yum clean mongodb] action nothing (skipped due to action :nothing)
I, [2015-07-15T20:00:44.422671 #5997]  INFO -- replicaset-centos-65:   * execute[yum-makecache-mongodb] action nothing (skipped due to action :nothing)
I, [2015-07-15T20:00:44.422692 #5997]  INFO -- replicaset-centos-65:   * ruby_block[yum-cache-reload-mongodb] action nothing (skipped due to action :nothing)
I, [2015-07-15T20:00:44.422709 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:44.422725 #5997]  INFO -- replicaset-centos-65: Recipe: mongodb::install
I, [2015-07-15T20:00:44.423762 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:44.426121 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:44.426178 #5997]  INFO -- replicaset-centos-65:     - update content in file /etc/sysconfig/mongodb from none to a35762
I, [2015-07-15T20:00:44.426208 #5997]  INFO -- replicaset-centos-65:  --- /etc/sysconfig/mongodb    2015-07-16 00:00:41.477475666 +0000
I, [2015-07-15T20:00:44.426237 #5997]  INFO -- replicaset-centos-65:  +++ /tmp/.mongodb20150716-2463-1xzslbd    2015-07-16 00:00:41.478476167 +0000
I, [2015-07-15T20:00:44.426263 #5997]  INFO -- replicaset-centos-65:  @@ -1 +1,2 @@
I, [2015-07-15T20:00:44.426792 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:44.426864 #5997]  INFO -- replicaset-centos-65:     - change mode from '' to '0644'
I, [2015-07-15T20:00:44.426900 #5997]  INFO -- replicaset-centos-65:     - change owner from '' to 'root'
I, [2015-07-15T20:00:44.594932 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:44.594994 #5997]  INFO -- replicaset-centos-65:     - restore selinux security context
I, [2015-07-15T20:00:44.611528 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:44.620826 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:44.620915 #5997]  INFO -- replicaset-centos-65:     - update content in file /etc/mongodb.conf from none to 58e508
I, [2015-07-15T20:00:44.620984 #5997]  INFO -- replicaset-centos-65:  --- /etc/mongodb.conf 2015-07-16 00:00:41.658566168 +0000
I, [2015-07-15T20:00:44.621020 #5997]  INFO -- replicaset-centos-65:  +++ /tmp/chef-rendered-template20150716-2463-xaxvig   2015-07-16 00:00:41.662568168 +0000
I, [2015-07-15T20:00:44.621045 #5997]  INFO -- replicaset-centos-65:  @@ -1 +1,16 @@
I, [2015-07-15T20:00:44.621068 #5997]  INFO -- replicaset-centos-65:  +#
I, [2015-07-15T20:00:44.621092 #5997]  INFO -- replicaset-centos-65:  +# Automatically Generated by Chef, do not edit directly!
I, [2015-07-15T20:00:44.621115 #5997]  INFO -- replicaset-centos-65:  +#
I, [2015-07-15T20:00:44.621136 #5997]  INFO -- replicaset-centos-65:  +
I, [2015-07-15T20:00:44.621157 #5997]  INFO -- replicaset-centos-65:  +bind_ip = 0.0.0.0
I, [2015-07-15T20:00:44.621184 #5997]  INFO -- replicaset-centos-65:  +dbpath = /var/lib/mongodb
I, [2015-07-15T20:00:44.621224 #5997]  INFO -- replicaset-centos-65:  +fork = true
I, [2015-07-15T20:00:44.621253 #5997]  INFO -- replicaset-centos-65:  +logappend = true
I, [2015-07-15T20:00:44.621277 #5997]  INFO -- replicaset-centos-65:  +logpath = /var/log/mongodb/mongodb.log
I, [2015-07-15T20:00:44.621306 #5997]  INFO -- replicaset-centos-65:  +nojournal = false
I, [2015-07-15T20:00:44.621346 #5997]  INFO -- replicaset-centos-65:  +pidfilepath = /var/run/mongodb/mongodb.pid
I, [2015-07-15T20:00:44.621459 #5997]  INFO -- replicaset-centos-65:  +port = 27017
I, [2015-07-15T20:00:44.621577 #5997]  INFO -- replicaset-centos-65:  +replSet = kitchen
I, [2015-07-15T20:00:44.621631 #5997]  INFO -- replicaset-centos-65:  +rest = false
I, [2015-07-15T20:00:44.622451 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:44.622495 #5997]  INFO -- replicaset-centos-65:     - change mode from '' to '0644'
I, [2015-07-15T20:00:44.622517 #5997]  INFO -- replicaset-centos-65:     - change owner from '' to 'root'
I, [2015-07-15T20:00:44.824657 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:44.825941 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:44.826815 #5997]  INFO -- replicaset-centos-65:  (skipped due to action :nothing)
I, [2015-07-15T20:00:44.895063 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:44.898006 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:44.898061 #5997]  INFO -- replicaset-centos-65:     - update content in file /etc/init.d/mongod from none to 7d67f0
I, [2015-07-15T20:00:44.898091 #5997]  INFO -- replicaset-centos-65:  --- /etc/init.d/mongod    2015-07-16 00:00:41.933703668 +0000
I, [2015-07-15T20:00:44.898113 #5997]  INFO -- replicaset-centos-65:  +++ /tmp/chef-rendered-template20150716-2463-1xgtzz4  2015-07-16 00:00:41.934704168 +0000
I, [2015-07-15T20:00:44.898133 #5997]  INFO -- replicaset-centos-65:  @@ -1 +1,107 @@
I, [2015-07-15T20:00:44.898152 #5997]  INFO -- replicaset-centos-65:  +#!/bin/bash
I, [2015-07-15T20:00:44.898170 #5997]  INFO -- replicaset-centos-65:  +
I, [2015-07-15T20:00:44.898189 #5997]  INFO -- replicaset-centos-65:  +# mongod - Startup script for mongod
I, [2015-07-15T20:00:44.898207 #5997]  INFO -- replicaset-centos-65:  +
I, [2015-07-15T20:00:44.898226 #5997]  INFO -- replicaset-centos-65:  +# chkconfig: 35 85 15
I, [2015-07-15T20:00:44.898245 #5997]  INFO -- replicaset-centos-65:  +# description: Mongo is a scalable, document-oriented database.
I, [2015-07-15T20:00:44.898263 #5997]  INFO -- replicaset-centos-65:  +# processname: mongod
I, [2015-07-15T20:00:44.898281 #5997]  INFO -- replicaset-centos-65:  +# config: /etc/mongodb.conf
I, [2015-07-15T20:00:44.898299 #5997]  INFO -- replicaset-centos-65:  +
I, [2015-07-15T20:00:44.898316 #5997]  INFO -- replicaset-centos-65:  +. /etc/rc.d/init.d/functions
I, [2015-07-15T20:00:44.898334 #5997]  INFO -- replicaset-centos-65:  +
I, [2015-07-15T20:00:44.898351 #5997]  INFO -- replicaset-centos-65:  +NAME=mongod
I, [2015-07-15T20:00:44.898369 #5997]  INFO -- replicaset-centos-65:  +SYSCONFIG=/etc/sysconfig/mongodb
I, [2015-07-15T20:00:44.898387 #5997]  INFO -- replicaset-centos-65:  +DAEMON_USER=mongod
I, [2015-07-15T20:00:44.898404 #5997]  INFO -- replicaset-centos-65:  +ENABLE_MONGODB=yes
I, [2015-07-15T20:00:44.898422 #5997]  INFO -- replicaset-centos-65:  +
I, [2015-07-15T20:00:44.898439 #5997]  INFO -- replicaset-centos-65:  +SUBSYS_LOCK_FILE=/var/lock/subsys/mongod
I, [2015-07-15T20:00:44.898457 #5997]  INFO -- replicaset-centos-65:  +
I, [2015-07-15T20:00:44.898475 #5997]  INFO -- replicaset-centos-65:  +if [ -f "$SYSCONFIG" ]; then
I, [2015-07-15T20:00:44.898492 #5997]  INFO -- replicaset-centos-65:  +    . "$SYSCONFIG"
I, [2015-07-15T20:00:44.898510 #5997]  INFO -- replicaset-centos-65:  +fi
I, [2015-07-15T20:00:44.898527 #5997]  INFO -- replicaset-centos-65:  +
I, [2015-07-15T20:00:44.898545 #5997]  INFO -- replicaset-centos-65:  +# FIXME: 1.9.x has a --shutdown flag that parses the config file and
I, [2015-07-15T20:00:44.898565 #5997]  INFO -- replicaset-centos-65:  +# shuts down the correct running pid, but that's unavailable in 1.8
I, [2015-07-15T20:00:44.898584 #5997]  INFO -- replicaset-centos-65:  +# for now.  This can go away when this script stops supporting 1.8.
I, [2015-07-15T20:00:44.898602 #5997]  INFO -- replicaset-centos-65:  +DBPATH=`awk -F= '/^dbpath[[:blank:]]*=[[:blank:]]*/{print $2}' "$CONFIGFILE"`
I, [2015-07-15T20:00:44.898621 #5997]  INFO -- replicaset-centos-65:  +PIDFILE=`awk -F= '/^pidfilepath[[:blank:]]*=[[:blank:]]*/{print $2}' "$CONFIGFILE"`
I, [2015-07-15T20:00:44.898639 #5997]  INFO -- replicaset-centos-65:  +
I, [2015-07-15T20:00:44.898677 #5997]  INFO -- replicaset-centos-65:  +# Handle NUMA access to CPUs (SERVER-3574)
I, [2015-07-15T20:00:44.898698 #5997]  INFO -- replicaset-centos-65:  +# This verifies the existence of numactl as well as testing that the command works
I, [2015-07-15T20:00:44.898717 #5997]  INFO -- replicaset-centos-65:  +NUMACTL_ARGS="--interleave=all"
I, [2015-07-15T20:00:44.898736 #5997]  INFO -- replicaset-centos-65:  +if which numactl >/dev/null 2>/dev/null && numactl $NUMACTL_ARGS ls / >/dev/null 2>/dev/null
I, [2015-07-15T20:00:44.898753 #5997]  INFO -- replicaset-centos-65:  +then
I, [2015-07-15T20:00:44.898771 #5997]  INFO -- replicaset-centos-65:  +    NUMACTL="numactl $NUMACTL_ARGS"
I, [2015-07-15T20:00:44.898789 #5997]  INFO -- replicaset-centos-65:  +else
I, [2015-07-15T20:00:44.898806 #5997]  INFO -- replicaset-centos-65:  +    NUMACTL=""
I, [2015-07-15T20:00:44.898823 #5997]  INFO -- replicaset-centos-65:  +fi
I, [2015-07-15T20:00:44.898840 #5997]  INFO -- replicaset-centos-65:  +
I, [2015-07-15T20:00:44.898858 #5997]  INFO -- replicaset-centos-65:  +start()
I, [2015-07-15T20:00:44.898875 #5997]  INFO -- replicaset-centos-65:  +{
I, [2015-07-15T20:00:44.898892 #5997]  INFO -- replicaset-centos-65:  +  ulimit -f unlimited
I, [2015-07-15T20:00:44.898910 #5997]  INFO -- replicaset-centos-65:  +  ulimit -t unlimited
I, [2015-07-15T20:00:44.898927 #5997]  INFO -- replicaset-centos-65:  +  ulimit -v unlimited
I, [2015-07-15T20:00:44.898945 #5997]  INFO -- replicaset-centos-65:  +  ulimit -n 64000
I, [2015-07-15T20:00:44.898963 #5997]  INFO -- replicaset-centos-65:  +  ulimit -m unlimited
I, [2015-07-15T20:00:44.898980 #5997]  INFO -- replicaset-centos-65:  +  ulimit -u 32000
I, [2015-07-15T20:00:44.898997 #5997]  INFO -- replicaset-centos-65:  +
I, [2015-07-15T20:00:44.899015 #5997]  INFO -- replicaset-centos-65:  +  echo -n $"Starting mongod: "
I, [2015-07-15T20:00:44.899033 #5997]  INFO -- replicaset-centos-65:  +  daemon --user "$DAEMON_USER" $NUMACTL $DAEMON $DAEMON_OPTS
I, [2015-07-15T20:00:44.899051 #5997]  INFO -- replicaset-centos-65:  +  RETVAL=$?
I, [2015-07-15T20:00:44.899068 #5997]  INFO -- replicaset-centos-65:  +  echo
I, [2015-07-15T20:00:44.899086 #5997]  INFO -- replicaset-centos-65:  +  [ $RETVAL -eq 0 ] && touch $SUBSYS_LOCK_FILE
I, [2015-07-15T20:00:44.899103 #5997]  INFO -- replicaset-centos-65:  +}
I, [2015-07-15T20:00:44.899120 #5997]  INFO -- replicaset-centos-65:  +
I, [2015-07-15T20:00:44.899138 #5997]  INFO -- replicaset-centos-65:  +stop()
I, [2015-07-15T20:00:44.899155 #5997]  INFO -- replicaset-centos-65:  +{
I, [2015-07-15T20:00:44.899173 #5997]  INFO -- replicaset-centos-65:  +  echo -n $"Stopping mongod: "
I, [2015-07-15T20:00:44.899190 #5997]  INFO -- replicaset-centos-65:  +  if test "x$PIDFILE" != "x"; then
I, [2015-07-15T20:00:44.899208 #5997]  INFO -- replicaset-centos-65:  +    killproc -p $PIDFILE -d 300 $DAEMON
I, [2015-07-15T20:00:44.899229 #5997]  INFO -- replicaset-centos-65:  +  else
I, [2015-07-15T20:00:44.899247 #5997]  INFO -- replicaset-centos-65:  +    killproc -d 300 $DAEMON
I, [2015-07-15T20:00:44.899265 #5997]  INFO -- replicaset-centos-65:  +  fi
I, [2015-07-15T20:00:44.899282 #5997]  INFO -- replicaset-centos-65:  +  RETVAL=$?
I, [2015-07-15T20:00:44.899299 #5997]  INFO -- replicaset-centos-65:  +  echo
I, [2015-07-15T20:00:44.899317 #5997]  INFO -- replicaset-centos-65:  +  [ $RETVAL -eq 0 ] && rm -f $SUBSYS_LOCK_FILE
I, [2015-07-15T20:00:44.899334 #5997]  INFO -- replicaset-centos-65:  +}
I, [2015-07-15T20:00:44.899352 #5997]  INFO -- replicaset-centos-65:  +
I, [2015-07-15T20:00:44.899369 #5997]  INFO -- replicaset-centos-65:  +restart () {
I, [2015-07-15T20:00:44.899387 #5997]  INFO -- replicaset-centos-65:  +  stop
I, [2015-07-15T20:00:44.899404 #5997]  INFO -- replicaset-centos-65:  +  start
I, [2015-07-15T20:00:44.899421 #5997]  INFO -- replicaset-centos-65:  +}
I, [2015-07-15T20:00:44.899438 #5997]  INFO -- replicaset-centos-65:  +
I, [2015-07-15T20:00:44.899455 #5997]  INFO -- replicaset-centos-65:  +RETVAL=0
I, [2015-07-15T20:00:44.899481 #5997]  INFO -- replicaset-centos-65:  +
I, [2015-07-15T20:00:44.899501 #5997]  INFO -- replicaset-centos-65:  +if test "x$ENABLE_MONGODB" != "xyes"; then
I, [2015-07-15T20:00:44.899518 #5997]  INFO -- replicaset-centos-65:  +    exit $RETVAL
I, [2015-07-15T20:00:44.899535 #5997]  INFO -- replicaset-centos-65:  +fi
I, [2015-07-15T20:00:44.899553 #5997]  INFO -- replicaset-centos-65:  +
I, [2015-07-15T20:00:44.899570 #5997]  INFO -- replicaset-centos-65:  +case "$1" in
I, [2015-07-15T20:00:44.899587 #5997]  INFO -- replicaset-centos-65:  +  start)
I, [2015-07-15T20:00:44.899604 #5997]  INFO -- replicaset-centos-65:  +    start
I, [2015-07-15T20:00:44.899621 #5997]  INFO -- replicaset-centos-65:  +    ;;
I, [2015-07-15T20:00:44.899638 #5997]  INFO -- replicaset-centos-65:  +  stop)
I, [2015-07-15T20:00:44.899655 #5997]  INFO -- replicaset-centos-65:  +    stop
I, [2015-07-15T20:00:44.899672 #5997]  INFO -- replicaset-centos-65:  +    ;;
I, [2015-07-15T20:00:44.899689 #5997]  INFO -- replicaset-centos-65:  +  restart|reload|force-reload)
I, [2015-07-15T20:00:44.899706 #5997]  INFO -- replicaset-centos-65:  +    restart
I, [2015-07-15T20:00:44.899723 #5997]  INFO -- replicaset-centos-65:  +    ;;
I, [2015-07-15T20:00:44.899741 #5997]  INFO -- replicaset-centos-65:  +  condrestart)
I, [2015-07-15T20:00:44.899759 #5997]  INFO -- replicaset-centos-65:  +    [ -f $SUBSYS_LOCK_FILE ] && restart || :
I, [2015-07-15T20:00:44.899776 #5997]  INFO -- replicaset-centos-65:  +    ;;
I, [2015-07-15T20:00:44.899793 #5997]  INFO -- replicaset-centos-65:  +  status)
I, [2015-07-15T20:00:44.899811 #5997]  INFO -- replicaset-centos-65:  +    if test "x$PIDFILE" != "x"; then
I, [2015-07-15T20:00:44.899829 #5997]  INFO -- replicaset-centos-65:  +      status -p $PIDFILE $DAEMON
I, [2015-07-15T20:00:44.899846 #5997]  INFO -- replicaset-centos-65:  +    else
I, [2015-07-15T20:00:44.899864 #5997]  INFO -- replicaset-centos-65:  +      status $DAEMON
I, [2015-07-15T20:00:44.899880 #5997]  INFO -- replicaset-centos-65:  +    fi
I, [2015-07-15T20:00:44.899898 #5997]  INFO -- replicaset-centos-65:  +    RETVAL=$?
I, [2015-07-15T20:00:44.899916 #5997]  INFO -- replicaset-centos-65:  +    ;;
I, [2015-07-15T20:00:44.899933 #5997]  INFO -- replicaset-centos-65:  +  *)
I, [2015-07-15T20:00:44.899951 #5997]  INFO -- replicaset-centos-65:  +    echo "Usage: $0 {start|stop|status|restart|reload|force-reload|condrestart}"
I, [2015-07-15T20:00:44.899969 #5997]  INFO -- replicaset-centos-65:  +    RETVAL=1
I, [2015-07-15T20:00:44.899986 #5997]  INFO -- replicaset-centos-65:  +esac
I, [2015-07-15T20:00:44.900003 #5997]  INFO -- replicaset-centos-65:  +
I, [2015-07-15T20:00:44.900020 #5997]  INFO -- replicaset-centos-65:  +exit $RETVAL
I, [2015-07-15T20:00:44.901870 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:44.901907 #5997]  INFO -- replicaset-centos-65:     - change mode from '' to '0755'
I, [2015-07-15T20:00:44.901925 #5997]  INFO -- replicaset-centos-65:     - change owner from '' to 'root'
I, [2015-07-15T20:00:45.040245 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:00:45.042449 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:01:21.388813 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:01:21.388888 #5997]  INFO -- replicaset-centos-65:     - install version 2.6.10-1 of package mongodb-org
I, [2015-07-15T20:01:21.388920 #5997]  INFO -- replicaset-centos-65: Recipe: mongodb::replicaset
I, [2015-07-15T20:01:55.004443 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:01:55.004502 #5997]  INFO -- replicaset-centos-65: ================================================================================
I, [2015-07-15T20:01:55.004524 #5997]  INFO -- replicaset-centos-65: Error executing action `run` on resource 'ruby_block[chef_gem_at_converge_time]'
I, [2015-07-15T20:01:55.004540 #5997]  INFO -- replicaset-centos-65: ================================================================================
I, [2015-07-15T20:01:55.004555 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:01:55.004587 #5997]  INFO -- replicaset-centos-65: Gem::Installer::ExtensionBuildError
I, [2015-07-15T20:01:55.004604 #5997]  INFO -- replicaset-centos-65: -----------------------------------
I, [2015-07-15T20:01:55.004619 #5997]  INFO -- replicaset-centos-65: ERROR: Failed to build gem native extension.
I, [2015-07-15T20:01:55.004632 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:01:55.004655 #5997]  INFO -- replicaset-centos-65:  /opt/chef/embedded/bin/ruby extconf.rb
I, [2015-07-15T20:01:55.004671 #5997]  INFO -- replicaset-centos-65: checking for asprintf()... *** extconf.rb failed ***
I, [2015-07-15T20:01:55.004686 #5997]  INFO -- replicaset-centos-65: Could not create Makefile due to some reason, probably lack of
I, [2015-07-15T20:01:55.004701 #5997]  INFO -- replicaset-centos-65: necessary libraries and/or headers.  Check the mkmf.log file for more
I, [2015-07-15T20:01:55.004716 #5997]  INFO -- replicaset-centos-65: details.  You may need configuration options.
I, [2015-07-15T20:01:55.004730 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:01:55.004744 #5997]  INFO -- replicaset-centos-65: Provided configuration options:
I, [2015-07-15T20:01:55.004758 #5997]  INFO -- replicaset-centos-65:    --with-opt-dir
I, [2015-07-15T20:01:55.004772 #5997]  INFO -- replicaset-centos-65:    --with-opt-include
I, [2015-07-15T20:01:55.004787 #5997]  INFO -- replicaset-centos-65:    --without-opt-include=${opt-dir}/include
I, [2015-07-15T20:01:55.004800 #5997]  INFO -- replicaset-centos-65:    --with-opt-lib
I, [2015-07-15T20:01:55.004815 #5997]  INFO -- replicaset-centos-65:    --without-opt-lib=${opt-dir}/lib
I, [2015-07-15T20:01:55.004829 #5997]  INFO -- replicaset-centos-65:    --with-make-prog
I, [2015-07-15T20:01:55.004843 #5997]  INFO -- replicaset-centos-65:    --without-make-prog
I, [2015-07-15T20:01:55.004856 #5997]  INFO -- replicaset-centos-65:    --srcdir=.
I, [2015-07-15T20:01:55.004870 #5997]  INFO -- replicaset-centos-65:    --curdir
I, [2015-07-15T20:01:55.004885 #5997]  INFO -- replicaset-centos-65:    --ruby=/opt/chef/embedded/bin/ruby
I, [2015-07-15T20:01:55.004899 #5997]  INFO -- replicaset-centos-65: /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
I, [2015-07-15T20:01:55.004913 #5997]  INFO -- replicaset-centos-65: You have to install development tools first.
I, [2015-07-15T20:01:55.004927 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:461:in `try_link0'
I, [2015-07-15T20:01:55.004942 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:476:in `try_link'
I, [2015-07-15T20:01:55.004956 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:619:in `try_func'
I, [2015-07-15T20:01:55.004971 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:894:in `block in have_func'
I, [2015-07-15T20:01:55.004985 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:790:in `block in checking_for'
I, [2015-07-15T20:01:55.005000 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone'
I, [2015-07-15T20:01:55.005015 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
I, [2015-07-15T20:01:55.005029 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block in postpone'
I, [2015-07-15T20:01:55.005043 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
I, [2015-07-15T20:01:55.005058 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:280:in `postpone'
I, [2015-07-15T20:01:55.005072 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:789:in `checking_for'
I, [2015-07-15T20:01:55.005087 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:893:in `have_func'
I, [2015-07-15T20:01:55.005102 #5997]  INFO -- replicaset-centos-65:    from extconf.rb:3:in `<main>'
I, [2015-07-15T20:01:55.005123 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:01:55.005141 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:01:55.005155 #5997]  INFO -- replicaset-centos-65: Gem files will remain installed in /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/bson_ext-1.12.3 for inspection.
I, [2015-07-15T20:01:55.005171 #5997]  INFO -- replicaset-centos-65: Results logged to /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/bson_ext-1.12.3/ext/cbson/gem_make.out
I, [2015-07-15T20:01:55.005185 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:01:55.005199 #5997]  INFO -- replicaset-centos-65: Cookbook Trace:
I, [2015-07-15T20:01:55.005213 #5997]  INFO -- replicaset-centos-65: ---------------
I, [2015-07-15T20:01:55.005228 #5997]  INFO -- replicaset-centos-65: /tmp/kitchen/cache/cookbooks/mongodb/recipes/replicaset.rb:29:in `block (3 levels) in from_file'
I, [2015-07-15T20:01:55.005242 #5997]  INFO -- replicaset-centos-65: /tmp/kitchen/cache/cookbooks/mongodb/recipes/replicaset.rb:27:in `each'
I, [2015-07-15T20:01:55.005258 #5997]  INFO -- replicaset-centos-65: /tmp/kitchen/cache/cookbooks/mongodb/recipes/replicaset.rb:27:in `block (2 levels) in from_file'
I, [2015-07-15T20:01:55.005272 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:01:55.005286 #5997]  INFO -- replicaset-centos-65: Resource Declaration:
I, [2015-07-15T20:01:55.005300 #5997]  INFO -- replicaset-centos-65: ---------------------
I, [2015-07-15T20:01:55.005314 #5997]  INFO -- replicaset-centos-65: # In /tmp/kitchen/cache/cookbooks/mongodb/recipes/replicaset.rb
I, [2015-07-15T20:01:55.005329 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:01:55.005351 #5997]  INFO -- replicaset-centos-65:  25: ruby_block 'chef_gem_at_converge_time' do
I, [2015-07-15T20:01:55.005374 #5997]  INFO -- replicaset-centos-65:  26:   block do
I, [2015-07-15T20:01:55.005397 #5997]  INFO -- replicaset-centos-65:  27:     node['mongodb']['ruby_gems'].each do |gem, version|
I, [2015-07-15T20:01:55.005414 #5997]  INFO -- replicaset-centos-65:  28:       version = Gem::Dependency.new(gem, version)
I, [2015-07-15T20:01:55.005429 #5997]  INFO -- replicaset-centos-65:  29:       Chef::Provider::Package::Rubygems::GemEnvironment.new.install(version)
I, [2015-07-15T20:01:55.005444 #5997]  INFO -- replicaset-centos-65:  30:     end
I, [2015-07-15T20:01:55.005458 #5997]  INFO -- replicaset-centos-65:  31:   end
I, [2015-07-15T20:01:55.005472 #5997]  INFO -- replicaset-centos-65:  32: end
I, [2015-07-15T20:01:55.005486 #5997]  INFO -- replicaset-centos-65:  33: 
I, [2015-07-15T20:01:55.005500 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:01:55.005513 #5997]  INFO -- replicaset-centos-65: Compiled Resource:
I, [2015-07-15T20:01:55.005527 #5997]  INFO -- replicaset-centos-65: ------------------
I, [2015-07-15T20:01:55.005540 #5997]  INFO -- replicaset-centos-65: # Declared in /tmp/kitchen/cache/cookbooks/mongodb/recipes/replicaset.rb:25:in `from_file'
I, [2015-07-15T20:01:55.005554 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:01:55.005571 #5997]  INFO -- replicaset-centos-65: ruby_block("chef_gem_at_converge_time") do
I, [2015-07-15T20:01:55.005589 #5997]  INFO -- replicaset-centos-65:   action "run"
I, [2015-07-15T20:01:55.005603 #5997]  INFO -- replicaset-centos-65:   retries 0
I, [2015-07-15T20:01:55.005617 #5997]  INFO -- replicaset-centos-65:   retry_delay 2
I, [2015-07-15T20:01:55.005631 #5997]  INFO -- replicaset-centos-65:   guard_interpreter :default
I, [2015-07-15T20:01:55.005645 #5997]  INFO -- replicaset-centos-65:   block_name "chef_gem_at_converge_time"
I, [2015-07-15T20:01:55.005659 #5997]  INFO -- replicaset-centos-65:   cookbook_name "mongodb"
I, [2015-07-15T20:01:55.005672 #5997]  INFO -- replicaset-centos-65:   recipe_name "replicaset"
I, [2015-07-15T20:01:55.005686 #5997]  INFO -- replicaset-centos-65:   block #<Proc:0x000000038fb9b8@/tmp/kitchen/cache/cookbooks/mongodb/recipes/replicaset.rb:26>
I, [2015-07-15T20:01:55.005700 #5997]  INFO -- replicaset-centos-65: end
I, [2015-07-15T20:01:55.005723 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:02:09.340919 #5997]  INFO -- replicaset-centos-65:   * service[mongod] action restart
I, [2015-07-15T20:02:09.340984 #5997]  INFO -- replicaset-centos-65:     - restart service service[mongod]
I, [2015-07-15T20:02:09.420507 #5997]  INFO -- replicaset-centos-65:       ** Notice: The native BSON extension was not loaded. **
I, [2015-07-15T20:02:09.420644 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:02:09.420694 #5997]  INFO -- replicaset-centos-65:       For optimal performance, use of the BSON extension is recommended.
I, [2015-07-15T20:02:09.420743 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:02:09.420774 #5997]  INFO -- replicaset-centos-65:       To enable the extension make sure ENV['BSON_EXT_DISABLED'] is not set
I, [2015-07-15T20:02:09.420797 #5997]  INFO -- replicaset-centos-65:       and run the following command:
I, [2015-07-15T20:02:09.420820 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:02:09.420867 #5997]  INFO -- replicaset-centos-65:  gem install bson_ext
I, [2015-07-15T20:02:09.420913 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:02:09.420943 #5997]  INFO -- replicaset-centos-65:       If you continue to receive this message after installing, make sure that
I, [2015-07-15T20:02:09.420970 #5997]  INFO -- replicaset-centos-65:       the bson_ext gem is in your load path.
I, [2015-07-15T20:02:09.420994 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:02:09.677103 #5997]  INFO -- replicaset-centos-65: [2015-07-16T00:02:04+00:00] WARN: Cannot configure replicaset 'kitchen', no member nodes found
I, [2015-07-15T20:02:09.677162 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:02:09.677183 #5997]  INFO -- replicaset-centos-65:     - execute the ruby block config_replicaset
I, [2015-07-15T20:02:09.677200 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:02:09.677214 #5997]  INFO -- replicaset-centos-65: Running handlers:
I, [2015-07-15T20:02:09.677229 #5997]  INFO -- replicaset-centos-65: [2015-07-16T00:02:04+00:00] ERROR: Running exception handlers
I, [2015-07-15T20:02:09.677244 #5997]  INFO -- replicaset-centos-65: Running handlers complete
I, [2015-07-15T20:02:09.677258 #5997]  INFO -- replicaset-centos-65: [2015-07-16T00:02:04+00:00] ERROR: Exception handlers complete
I, [2015-07-15T20:02:09.678658 #5997]  INFO -- replicaset-centos-65: [2015-07-16T00:02:04+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
I, [2015-07-15T20:02:09.678712 #5997]  INFO -- replicaset-centos-65: Chef Client failed. 18 resources updated in 99.415886581 seconds
I, [2015-07-15T20:02:09.768924 #5997]  INFO -- replicaset-centos-65: [2015-07-16T00:02:04+00:00] ERROR: ruby_block[chef_gem_at_converge_time] (mongodb::replicaset line 25) had an error: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
I, [2015-07-15T20:02:09.768996 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:02:09.769026 #5997]  INFO -- replicaset-centos-65:  /opt/chef/embedded/bin/ruby extconf.rb
I, [2015-07-15T20:02:09.769045 #5997]  INFO -- replicaset-centos-65: checking for asprintf()... *** extconf.rb failed ***
I, [2015-07-15T20:02:09.769061 #5997]  INFO -- replicaset-centos-65: Could not create Makefile due to some reason, probably lack of
I, [2015-07-15T20:02:09.769076 #5997]  INFO -- replicaset-centos-65: necessary libraries and/or headers.  Check the mkmf.log file for more
I, [2015-07-15T20:02:09.769091 #5997]  INFO -- replicaset-centos-65: details.  You may need configuration options.
I, [2015-07-15T20:02:09.769106 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:02:09.769121 #5997]  INFO -- replicaset-centos-65: Provided configuration options:
I, [2015-07-15T20:02:09.769135 #5997]  INFO -- replicaset-centos-65:    --with-opt-dir
I, [2015-07-15T20:02:09.769149 #5997]  INFO -- replicaset-centos-65:    --with-opt-include
I, [2015-07-15T20:02:09.769163 #5997]  INFO -- replicaset-centos-65:    --without-opt-include=${opt-dir}/include
I, [2015-07-15T20:02:09.769198 #5997]  INFO -- replicaset-centos-65:    --with-opt-lib
I, [2015-07-15T20:02:09.769216 #5997]  INFO -- replicaset-centos-65:    --without-opt-lib=${opt-dir}/lib
I, [2015-07-15T20:02:09.769231 #5997]  INFO -- replicaset-centos-65:    --with-make-prog
I, [2015-07-15T20:02:09.769245 #5997]  INFO -- replicaset-centos-65:    --without-make-prog
I, [2015-07-15T20:02:09.769259 #5997]  INFO -- replicaset-centos-65:    --srcdir=.
I, [2015-07-15T20:02:09.769273 #5997]  INFO -- replicaset-centos-65:    --curdir
I, [2015-07-15T20:02:09.769287 #5997]  INFO -- replicaset-centos-65:    --ruby=/opt/chef/embedded/bin/ruby
I, [2015-07-15T20:02:09.769301 #5997]  INFO -- replicaset-centos-65: /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
I, [2015-07-15T20:02:09.769316 #5997]  INFO -- replicaset-centos-65: You have to install development tools first.
I, [2015-07-15T20:02:09.769330 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:461:in `try_link0'
I, [2015-07-15T20:02:09.769345 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:476:in `try_link'
I, [2015-07-15T20:02:09.769360 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:619:in `try_func'
I, [2015-07-15T20:02:09.769381 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:894:in `block in have_func'
I, [2015-07-15T20:02:09.769397 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:790:in `block in checking_for'
I, [2015-07-15T20:02:09.769412 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone'
I, [2015-07-15T20:02:09.769426 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
I, [2015-07-15T20:02:09.769442 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block in postpone'
I, [2015-07-15T20:02:09.769457 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
I, [2015-07-15T20:02:09.769472 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:280:in `postpone'
I, [2015-07-15T20:02:09.769487 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:789:in `checking_for'
I, [2015-07-15T20:02:09.769502 #5997]  INFO -- replicaset-centos-65:    from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:893:in `have_func'
I, [2015-07-15T20:02:09.769517 #5997]  INFO -- replicaset-centos-65:    from extconf.rb:3:in `<main>'
I, [2015-07-15T20:02:09.769531 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:02:09.769545 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:02:09.769560 #5997]  INFO -- replicaset-centos-65: Gem files will remain installed in /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/bson_ext-1.12.3 for inspection.
I, [2015-07-15T20:02:09.769575 #5997]  INFO -- replicaset-centos-65: Results logged to /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/bson_ext-1.12.3/ext/cbson/gem_make.out
I, [2015-07-15T20:02:09.769589 #5997]  INFO -- replicaset-centos-65: 
I, [2015-07-15T20:02:09.844863 #5997]  INFO -- replicaset-centos-65: [2015-07-16T00:02:04+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
E, [2015-07-15T20:02:09.922435 #5997] ERROR -- replicaset-centos-65: Converge failed on instance <replicaset-centos-65>.
E, [2015-07-15T20:02:09.922552 #5997] ERROR -- replicaset-centos-65: ------Exception-------
E, [2015-07-15T20:02:09.922577 #5997] ERROR -- replicaset-centos-65: Class: Kitchen::ActionFailed
E, [2015-07-15T20:02:09.922591 #5997] ERROR -- replicaset-centos-65: Message: SSH exited (1) for command: [sh -c '

sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']
E, [2015-07-15T20:02:09.922615 #5997] ERROR -- replicaset-centos-65: ---Nested Exception---
E, [2015-07-15T20:02:09.922629 #5997] ERROR -- replicaset-centos-65: Class: Kitchen::Transport::SshFailed
E, [2015-07-15T20:02:09.922641 #5997] ERROR -- replicaset-centos-65: Message: SSH exited (1) for command: [sh -c '

sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']
E, [2015-07-15T20:02:09.922653 #5997] ERROR -- replicaset-centos-65: ------Backtrace-------
E, [2015-07-15T20:02:09.922664 #5997] ERROR -- replicaset-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/provisioner/base.rb:74:in `rescue in call'
E, [2015-07-15T20:02:09.922676 #5997] ERROR -- replicaset-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/provisioner/base.rb:77:in `call'
E, [2015-07-15T20:02:09.922688 #5997] ERROR -- replicaset-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:366:in `block in converge_action'
E, [2015-07-15T20:02:09.922700 #5997] ERROR -- replicaset-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:488:in `call'
E, [2015-07-15T20:02:09.922712 #5997] ERROR -- replicaset-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:488:in `synchronize_or_call'
E, [2015-07-15T20:02:09.922724 #5997] ERROR -- replicaset-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:453:in `block in action'
E, [2015-07-15T20:02:09.922735 #5997] ERROR -- replicaset-centos-65: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T20:02:09.922747 #5997] ERROR -- replicaset-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:452:in `action'
E, [2015-07-15T20:02:09.922759 #5997] ERROR -- replicaset-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:362:in `converge_action'
E, [2015-07-15T20:02:09.922771 #5997] ERROR -- replicaset-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:341:in `block in transition_to'
E, [2015-07-15T20:02:09.922783 #5997] ERROR -- replicaset-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `each'
E, [2015-07-15T20:02:09.922794 #5997] ERROR -- replicaset-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `transition_to'
E, [2015-07-15T20:02:09.922806 #5997] ERROR -- replicaset-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:160:in `verify'
E, [2015-07-15T20:02:09.922837 #5997] ERROR -- replicaset-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:189:in `block in test'
E, [2015-07-15T20:02:09.922850 #5997] ERROR -- replicaset-centos-65: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T20:02:09.922863 #5997] ERROR -- replicaset-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:185:in `test'
E, [2015-07-15T20:02:09.922875 #5997] ERROR -- replicaset-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `public_send'
E, [2015-07-15T20:02:09.922887 #5997] ERROR -- replicaset-centos-65: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `block (2 levels) in run_action'
E, [2015-07-15T20:02:09.922899 #5997] ERROR -- replicaset-centos-65: ----------------------

Version '2.6.10' for 'mongodb' was not found

Hi all,

Firstly, thank you for maintaining this cookbook, such fantastic work.

I am very new to Chef and AWS, trying to pick up where our ex-dev ops person left off. I have made sure all the recipes and config files were up to date, but I keep getting the following error:

================================================================================
Error executing action `install` on resource 'package[mongodb]'
================================================================================


Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '100'
---- Begin output of apt-get -q -y -o Dpkg::Options::="--force-confold" --force-yes install mongodb=2.6.10 ----
STDOUT: Reading package lists...
Building dependency tree...
Reading state information...
STDERR: E: Version '2.6.10' for 'mongodb' was not found
---- End output of apt-get -q -y -o Dpkg::Options::="--force-confold" --force-yes install mongodb=2.6.10 ----
Ran apt-get -q -y -o Dpkg::Options::="--force-confold" --force-yes install mongodb=2.6.10 returned 100


Resource Declaration:
---------------------
# In /var/lib/aws/opsworks/cache.stage2/cookbooks/mongodb/recipes/install.rb

78:   package node[:mongodb][:package_name] do
79:     options packager_opts
80:     action :install
81:     version node[:mongodb][:package_version]
82:   end
83: end



Compiled Resource:
------------------
# Declared in /var/lib/aws/opsworks/cache.stage2/cookbooks/mongodb/recipes/install.rb:78:in `from_file'

package("mongodb") do
action [:install]
retries 0
retry_delay 2
options "-o Dpkg::Options::=\"--force-confold\" --force-yes"
package_name "mongodb"
version "2.6.10"
cookbook_name "mongodb"
recipe_name "install"
end

Any help would be amazing, thank you!

Failing Test: user-management-debian-720

       ---- Begin output of apt-get update -o Dir::Etc::sourcelist='sources.list.d/mongodb.list' -o Dir::Etc::sourceparts='-' -o APT::Get::List-Cleanup='0' ----
       STDOUT:
       STDERR: E: Malformed line 1 in source list /etc/apt/sources.list.d/mongodb.list (URI parse)
       E: The list of sources could not be read.
       ---- End output of apt-get update -o Dir::Etc::sourcelist='sources.list.d/mongodb.list' -o Dir::Etc::sourceparts='-' -o APT::Get::List-Cleanup='0' ----
       Ran apt-get update -o Dir::Etc::sourcelist='sources.list.d/mongodb.list' -o Dir::Etc::sourceparts='-' -o APT::Get::List-Cleanup='0' returned 100; ignore_failure is set, continuing

       ================================================================================
       Error executing action `run` on resource 'execute[apt-get update]'
       ================================================================================


       ------------------------------------
       Expected process to exit with [0], but received '100'
       ---- Begin output of apt-get update -o Dir::Etc::sourcelist='sources.list.d/mongodb.list' -o Dir::Etc::sourceparts='-' -o APT::Get::List-Cleanup='0' ----
       STDOUT:
       STDERR: E: Malformed line 1 in source list /etc/apt/sources.list.d/mongodb.list (URI parse)

       ---- End output of apt-get update -o Dir::Etc::sourcelist='sources.list.d/mongodb.list' -o Dir::Etc::sourceparts='-' -o APT::Get::List-Cleanup='0' ----
       Ran apt-get update -o Dir::Etc::sourcelist='sources.list.d/mongodb.list' -o Dir::Etc::sourceparts='-' -o APT::Get::List-Cleanup='0' returned 100

       Resource Declaration:
       ---------------------
       # In /tmp/kitchen/cache/cookbooks/apt/providers/repository.rb

       156:   execute 'apt-get update' do
       157:     command "apt-get update -o Dir::Etc::sourcelist='sources.list.d/#{new_resource.name}.list' -o Dir::Etc::sourceparts='-' -o APT::Get::List-Cleanup='0'"
       158:     ignore_failure true
       159:     action :nothing
       160:     notifies :run, 'execute[apt-cache gencaches]', :immediately
       161:   end
       162:

       Compiled Resource:
       ------------------
       # Declared in /tmp/kitchen/cache/cookbooks/apt/providers/repository.rb:156:in `block in class_from_file'

       execute("apt-get update") do
         action [:nothing]
         ignore_failure true
         retries 0
         retry_delay 2
         guard_interpreter :default
         command "apt-get update -o Dir::Etc::sourcelist='sources.list.d/mongodb.list' -o Dir::Etc::sourceparts='-' -o APT::Get::List-Cleanup='0'"
         backup 5
         returns 0
         cookbook_name "mongodb"
       end


       Recipe: mongodb::install
         * file[/etc/default/mongodb] action create_if_missing
           - create new file /etc/default/mongodb
           - update content in file /etc/default/mongodb from none to a35762
        --- /etc/default/mongodb    2015-07-14 17:57:23.438730473 +0000
        +++ /tmp/.mongodb20150714-2928-1ny6wd7  2015-07-14 17:57:23.438730473 +0000
        @@ -1 +1,2 @@
        +ENABLE_MONGODB=no
           - change mode from '' to '0644'
           - change owner from '' to 'root'
           - change group from '' to 'root'
         * template[mongodb.conf] action create_if_missing
           - create new file mongodb.conf
           - update content in file mongodb.conf from none to fd0061
        --- mongodb.conf    2015-07-14 17:57:23.546784478 +0000
        +++ /tmp/chef-rendered-template20150714-2928-hv92mp 2015-07-14 17:57:23.550786479 +0000
        @@ -1 +1,15 @@
        +#
        +# Automatically Generated by Chef, do not edit directly!
        +#
        +
        +auth = true
        +bind_ip = 0.0.0.0
        +dbpath = /var/lib/mongodb
        +fork = false
        +logappend = true
        +logpath = /var/log/mongodb/mongodb.log
        +nojournal = false
        +port = 27017
        +rest = false
        +smallfiles = false
           - change mode from '' to '0644'
           - change owner from '' to 'root'
           - change group from '' to 'root'
         * execute[mongodb-systemctl-daemon-reload] action nothing (skipped due to action :nothing)
         * template[/etc/init.d/mongod] action create_if_missing

           - update content in file /etc/init.d/mongod from none to 807705
        --- /etc/init.d/mongod  2015-07-14 17:57:23.566794479 +0000
        +++ /tmp/chef-rendered-template20150714-2928-1h34qwq    2015-07-14 17:57:23.566794479 +0000
        @@ -1 +1,265 @@
        +#!/bin/bash
        +#
        +# init.d script with LSB support.
        +#
        +# Copyright (c) 2007 Javier Fernandez-Sanguino <[email protected]>
        +# Copyright (c) 2011 edelight GmbH
        +#       Author: Markus Korn <[email protected]>
        +#
        +# This is free software; you may redistribute it and/or modify
        +# it under the terms of the GNU General Public License as
        +# published by the Free Software Foundation; either version 2,
        +# or (at your option) any later version.
        +#
        +# This is distributed in the hope that it will be useful, but
        +# WITHOUT ANY WARRANTY; without even the implied warranty of
        +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        +# GNU General Public License for more details.
        +#
        +# You should have received a copy of the GNU General Public License with
        +# the Debian operating system, in /usr/share/common-licenses/GPL;  if
        +# not, write to the Free Software Foundation, Inc., 59 Temple Place,
        +# Suite 330, Boston, MA 02111-1307 USA
        +#
        +### BEGIN INIT INFO

        +# Required-Start:    $network $local_fs $remote_fs
        +# Required-Stop:     $network $local_fs $remote_fs
        +# Should-Start:      $named
        +# Should-Stop:
        +# Default-Start:     2 3 4 5
        +# Default-Stop:      0 1 6
        +# Short-Description: Start/stop mongod An object/document-origented database
        +# Description:       MongoDB is a high-performance, open source, schema-free
        +#                    document-oriented  data store that's easy to deploy, manage
        +#                    and use. It's network accessible, written in C++ and offers
        +#                    the following features:
        +#
        +#                       * Collection oriented storage - easy storage of object-
        +#                         style data
        +#                       * Full index support, including on inner objects
        +#                       * Query profiling
        +#                       * Replication and fail-over support
        +#                       * Efficient storage of binary data including large
        +#                         objects (e.g. videos)
        +#                       * Auto-sharding for cloud-level scalability (Q209)
        +#
        +#                    High performance, scalability, and reasonable depth of
        +#                    functionality are the goals for the project.
        +### END INIT INFO
        +#
        +NAME=mongod
        +
        +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
        +DESC=database
        +PIDFILE=/var/run/$NAME.pid
        +ENABLE_MONGODB=yes
        +SYSCONFIG=/etc/default/mongodb
        +
        +# this should get removed at some point for more shell agnostic init script
        +ulimit -f unlimited
        +ulimit -t unlimited
        +ulimit -v unlimited
        +ulimit -n 64000
        +ulimit -m unlimited
        +ulimit -u 32000
        +
        +# Include mongodb defaults if available
        +if [ -f $SYSCONFIG ] ; then
        +    . $SYSCONFIG
        +fi
        +
        +# Handle NUMA access to CPUs (SERVER-3574)
        +# This verifies the existence of numactl as well as testing that the command works
        +NUMACTL_ARGS="--interleave=all"
        +if which numactl >/dev/null 2>/dev/null && numactl $NUMACTL_ARGS ls / >/dev/null 2>/dev/null
        +then
        +    NUMACTL="`which numactl` -- $NUMACTL_ARGS"
        +    DAEMON_OPTS="$DAEMON_OPTS"
        +else
        +    NUMACTL=""
        +    DAEMON_OPTS="-- $DAEMON_OPTS"
        +fi
        +
        +if test ! -x $DAEMON; then
        +    echo "Could not find $DAEMON"
        +    exit 0
        +fi
        +
        +if test "x$ENABLE_MONGODB" != "xyes"; then
        +    exit 0
        +fi
        +
        +. /lib/lsb/init-functions
        +
        +STARTTIME=1
        +DIETIME=10                  # Time to wait for the server to die, in seconds
        +                            # If this value is set too low you might not
        +                            # let some servers to die gracefully and
        +                            # 'restart' will not work
        +
        +DAEMON_USER=${DAEMON_USER:-mongodb}
        +
        +# debugging
        +echo "** Running $NAME ($DAEMON $DAEMON_OPTS)"

        +set -e
        +
        +
        +running_pid() {
        +# Check if a given process pid's cmdline matches a given name
        +    pid=$1
        +    name=$2
        +    [ -z "$pid" ] && return 1
        +    [ ! -d /proc/$pid ] &&  return 1
        +    cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1`
        +    # Is this the expected server
        +    [ "$cmd" != "$name" ] &&  return 1
        +    return 0
        +}
        +
        +running() {
        +# Check if the process is running looking at /proc
        +# (works for all users)
        +
        +    # No pidfile, probably no daemon present
        +    [ ! -f "$PIDFILE" ] && return 1
        +    pid=`cat $PIDFILE`
        +    running_pid $pid $DAEMON || return 1
        +    for i in `seq 1 20`; do
        +      nc -z 0.0.0.0 27017 && return 0
        +      echo -n "."
        +      sleep 15
        +    done
        +    return 1
        +}
        +
        +start_server() {
        +# Start the process using the wrapper
        +            start-stop-daemon --background --start --quiet --pidfile $PIDFILE \
        +                        --make-pidfile --chuid $DAEMON_USER \
        +                        --exec $NUMACTL $DAEMON $DAEMON_OPTS
        +            errcode=$?
        +    return $errcode
        +}
        +
        +stop_server() {
        +# Stop the process using the wrapper
        +            start-stop-daemon --stop --quiet --pidfile $PIDFILE \
        +                        --retry 300 \
        +                        --user $DAEMON_USER \
        +                        --exec $DAEMON
        +            errcode=$?
        +    return $errcode
        +}
        +
        +force_stop() {
        +# Force the process to die killing it manually
        +    [ ! -e "$PIDFILE" ] && return
        +    if running ; then
        +        kill -15 $pid
        +    # Is it really dead?
        +        sleep "$DIETIME"s
        +        if running ; then
        +            kill -9 $pid
        +            sleep "$DIETIME"s
        +            if running ; then
        +                echo "Cannot kill $NAME (pid=$pid)!"
        +                exit 1
        +            fi
        +        fi
        +    fi
        +    rm -f $PIDFILE
        +}
        +
        +
        +case "$1" in
        +  start)
        +    log_daemon_msg "Starting $DESC" "$NAME"
        +        # Check if it's running first
        +        if running ;  then
        +            log_progress_msg "apparently already running"
        +            log_end_msg 0
        +            exit 0
        +        fi
        +        if start_server ; then
        +            # NOTE: Some servers might die some time after they start,
        +            # this code will detect this issue if STARTTIME is set
        +            # to a reasonable value
        +            [ -n "$STARTTIME" ] && sleep $STARTTIME # Wait some time
        +            if  running ;  then
        +                # It's ok, the server started and is running
        +                log_end_msg 0
        +            else
        +                # It is not running after we did start
        +                log_end_msg 1
        +            fi
        +        else
        +            # Either we could not start it
        +            log_end_msg 1
        +        fi
        +    ;;
        +  stop)
        +        log_daemon_msg "Stopping $DESC" "$NAME"
        +        if running ; then
        +            # Only stop the server if we see it running
        +            errcode=0
        +            stop_server || errcode=$?
        +            log_end_msg $errcode
        +        else
        +            # If it's not running don't do anything
        +            log_progress_msg "apparently not running"
        +            log_end_msg 0
        +            exit 0
        +        fi
        +        ;;
        +  force-stop)
        +        # First try to stop gracefully the program
        +        $0 stop
        +        if running; then
        +            # If it's still running try to kill it more forcefully
        +            log_daemon_msg "Stopping (force) $DESC" "$NAME"
        +            errcode=0
        +            force_stop || errcode=$?
        +            log_end_msg $errcode
        +        fi
        +    ;;
        +  restart|force-reload)
        +        log_daemon_msg "Restarting $DESC" "$NAME"
        +        errcode=0
        +        stop_server || errcode=$?
        +        # Wait some sensible amount, some server need this
        +        [ -n "$DIETIME" ] && sleep $DIETIME
        +        start_server || errcode=$?
        +        [ -n "$STARTTIME" ] && sleep $STARTTIME
        +        running || errcode=$?
        +        log_end_msg $errcode
        +    ;;
        +  status)
        +
        +        log_daemon_msg "Checking status of $DESC" "$NAME"
        +        if running ;  then
        +            log_progress_msg "running"
        +            log_end_msg 0
        +        else
        +            log_progress_msg "apparently not running"
        +            log_end_msg 1
        +            exit 1
        +        fi
        +        ;;
        +  # MongoDB can't reload its configuration.
        +  reload)
        +        log_warning_msg "Reloading $NAME daemon: not implemented, as the daemon"
        +        log_warning_msg "cannot re-read the config file (use restart)."
        +        ;;
        +
        +  *)
        +    N=/etc/init.d/$NAME
        +    echo "Usage: $N {start|stop|force-stop|restart|force-reload|status}" >&2
        +    exit 1
        +    ;;
        +esac
        +
        +exit 0
        +
           - change mode from '' to '0755'
           - change owner from '' to 'root'
           - change group from '' to 'root'
         * package[mongodb-org] action install
       ================================================================================
       Error executing action `install` on resource 'package[mongodb-org]'
       ================================================================================

       Mixlib::ShellOut::ShellCommandFailed
       ------------------------------------
       Expected process to exit with [0], but received '100'
       ---- Begin output of apt-cache policy mongodb-org ----
       STDOUT:
       STDERR: E: Malformed line 1 in source list /etc/apt/sources.list.d/mongodb.list (URI parse)
       E: The list of sources could not be read.
       E: The package lists or status file could not be parsed or opened.
       ---- End output of apt-cache policy mongodb-org ----
       Ran apt-cache policy mongodb-org returned 100

       Resource Declaration:
       ---------------------
       # In /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb

        78:   package node[:mongodb][:package_name] do
        79:     options packager_opts
        80:     action :install
        81:     version node[:mongodb][:package_version]
        82:   end
        83: end

       Compiled Resource:
       ------------------
       # Declared in /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:78:in `from_file'

       package("mongodb-org") do
         action [:install]
         retries 0
         retry_delay 2
         guard_interpreter :default
         options "-o Dpkg::Options::=\"--force-confold\" --force-yes"
         package_name "mongodb-org"
         cookbook_name "mongodb"
         recipe_name "install"
       end

       Recipe: mongodb::default
         * service[mongodb] action restart
           * /etc/init.d/mongodb does not exist![2015-07-14T17:57:23+00:00] ERROR: service[mongodb] (mongodb::default line 202) had an error: Chef::Exceptions::Service: /etc/init.d/mongodb does not exist!; ignore_failure is set, continuing

       ================================================================================
       Error executing action `restart` on resource 'service[mongodb]'
       ================================================================================

       Chef::Exceptions::Service
       -------------------------
       /etc/init.d/mongodb does not exist!

       Resource Declaration:
       ---------------------
       # In /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb

       202:   service new_resource.name do
       203:     provider Chef::Provider::Service::Upstart if node['mongodb']['apt_repo'] == 'ubuntu-upstart'
       204:     supports :status => true, :restart => true
       205:     action new_resource.service_action
       206:     new_resource.service_notifies.each do |service_notify|
       207:       notifies :run, service_notify
       208:     end
       209:     notifies :create, 'ruby_block[config_replicaset]', :immediately if new_resource.is_replicaset && new_resource.auto_configure_replicaset
       210:     notifies :create, 'ruby_block[config_sharding]', :immediately if new_resource.is_mongos && new_resource.auto_configure_sharding
       211:       # we don't care about a running mongodb service in these cases, all we need is stopping it
       212:     ignore_failure true if new_resource.name == 'mongodb'
       213:   end
       214:
       215:   # replicaset
       216:   if new_resource.is_replicaset && new_resource.auto_configure_replicaset
       217:     rs_nodes = search(
       218:       :node,
       219:       "mongodb_cluster_name:#{new_resource.replicaset['mongodb']['cluster_name']} AND \
       220:        mongodb_is_replicaset:true AND \
       221:        mongodb_config_replSet:#{new_resource.replicaset['mongodb']['config']['replSet']} AND \
       222:        chef_environment:#{new_resource.replicaset.chef_environment}"
       223:     )
       224:
       225:     ruby_block 'config_replicaset' do
       226:       block do
       227:         MongoDB.configure_replicaset(new_resource.replicaset, replicaset_name, rs_nodes) unless new_resource.replicaset.nil?
       228:       end
       229:       action :nothing
       230:     end
       231:
       232:     ruby_block 'run_config_replicaset' do
       233:       block {}
       234:       notifies :create, 'ruby_block[config_replicaset]'
       235:     end
       236:   end
       237:

       Compiled Resource:
       ------------------
       # Declared in /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:202:in `block in from_file'

       service("mongodb") do
         params {:mongodb_type=>"mongod", :action=>[:enable, :start], :logpath=>"/var/log/mongodb/mongodb.log", :dbpath=>"/var/lib/mongodb", :configservers=>[], :replicaset=>nil, :notifies=>[], :bind_ip=>"0.0.0.0", :port=>27017, :enable_rest=>false, :smallfiles=>false, :name=>"mongodb"}
         action [:enable, :start]
         supports {:status=>true, :restart=>true}
         ignore_failure true
         retries 0
         retry_delay 2
         guard_interpreter :default
         service_name "mongodb"
         pattern "mongodb"
         cookbook_name "mongodb"
         recipe_name "default"
       end


       Running handlers:
       [2015-07-14T17:57:23+00:00] ERROR: Running exception handlers
       Running handlers complete
       [2015-07-14T17:57:23+00:00] ERROR: Exception handlers complete
       [2015-07-14T17:57:23+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       Chef Client failed. 15 resources updated in 25.360376445 seconds
       [2015-07-14T17:57:23+00:00] ERROR: package[mongodb-org] (mongodb::install line 78) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'
       ---- Begin output of apt-cache policy mongodb-org ----
       STDOUT:
       STDERR: E: Malformed line 1 in source list /etc/apt/sources.list.d/mongodb.list (URI parse)
       E: The list of sources could not be read.
       E: The package lists or status file could not be parsed or opened.
       ---- End output of apt-cache policy mongodb-org ----
       Ran apt-cache policy mongodb-org returned 100
       [2015-07-14T17:57:23+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
-----> Destroying <user-management-debian-720>...
       ==> default: Forcing shutdown of VM...
       ==> default: Destroying VM and associated drives...
       Vagrant instance <user-management-debian-720> destroyed.
       Finished destroying <user-management-debian-720> (0m3.71s).
rake aborted!
Kitchen::InstanceFailure: Converge failed on instance <user-management-debian-720>.  Please see .kitchen/logs/user-management-debian-720.log for more details
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/provisioner/base.rb:74:in `rescue in call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/provisioner/base.rb:77:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:366:in `block in converge_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:488:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:488:in `synchronize_or_call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:453:in `block in action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:452:in `action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:362:in `converge_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:341:in `block in transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `each'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:160:in `verify'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:189:in `block in test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:185:in `test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/rake_tasks.rb:54:in `block (3 levels) in define'
Kitchen::ActionFailed: SSH exited (1) for command: [sh -c '

sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/provisioner/base.rb:74:in `rescue in call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/provisioner/base.rb:77:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:366:in `block in converge_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:488:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:488:in `synchronize_or_call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:453:in `block in action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:452:in `action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:362:in `converge_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:341:in `block in transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `each'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:160:in `verify'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:189:in `block in test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:185:in `test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/rake_tasks.rb:54:in `block (3 levels) in define'
Kitchen::Transport::SshFailed: SSH exited (1) for command: [sh -c '

sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/transport/ssh.rb:103:in `execute'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/provisioner/base.rb:71:in `block in call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/transport/ssh.rb:342:in `reuse_connection'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/transport/ssh.rb:72:in `connection'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/provisioner/base.rb:64:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:366:in `block in converge_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:488:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:488:in `synchronize_or_call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:453:in `block in action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:452:in `action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:362:in `converge_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:341:in `block in transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `each'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:160:in `verify'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:189:in `block in test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:185:in `test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/rake_tasks.rb:54:in `block (3 levels) in define'
Tasks: TOP => kitchen:user-management-debian-720
(See full trace by running task with --trace)

[breaking change] Stop creating a mongodb_instance in mongodb::default

From edelight/chef-mongodb#179

the logic of https://github.com/edelight/chef-mongodb/blob/master/recipes/default.rb#L42 is absolutely maddening in it's odd dependence on knowing exactly what recipes are in the run list. In particular, it doesn't play nice with wrapper cookbooks which may set up replicasets via include_recipe, not through node or role run lists. Don't get me started on mongos's search.

I propose:

  • renaming helper recipes to begin with an underscore, including: install -> _install_package, 10gen_repo -> _mongodb_repo,
  • keep 'standard' usage recipes top level: configserver, mongos, replicaset, shard, and move the default instance into its own mongod recipe
  • also move mongo_gem -> ruby to match opscode's mysql, xml, &c cookbooks
  • have default not do anything!

Failing Test: mongos-centos-70

I, [2015-07-15T22:14:57.539272 #50932]  INFO -- mongos-centos-70: -----> Cleaning up any prior instances of <mongos-centos-70>
I, [2015-07-15T22:14:57.539788 #50932]  INFO -- mongos-centos-70: -----> Destroying <mongos-centos-70>...
I, [2015-07-15T22:15:00.566757 #50932]  INFO -- mongos-centos-70: ==> default: Forcing shutdown of VM...
I, [2015-07-15T22:15:01.763679 #50932]  INFO -- mongos-centos-70: ==> default: Destroying VM and associated drives...
I, [2015-07-15T22:15:02.082809 #50932]  INFO -- mongos-centos-70: Vagrant instance <mongos-centos-70> destroyed.
I, [2015-07-15T22:15:02.084181 #50932]  INFO -- mongos-centos-70: Finished destroying <mongos-centos-70> (0m4.54s).
I, [2015-07-15T22:15:02.084437 #50932]  INFO -- mongos-centos-70: -----> Testing <mongos-centos-70>
I, [2015-07-15T22:15:02.084522 #50932]  INFO -- mongos-centos-70: -----> Creating <mongos-centos-70>...
I, [2015-07-15T22:15:03.719332 #50932]  INFO -- mongos-centos-70: Bringing machine 'default' up with 'virtualbox' provider...
I, [2015-07-15T22:15:03.923687 #50932]  INFO -- mongos-centos-70: ==> default: Importing base box 'opscode-centos-7.0'...
I, [2015-07-15T22:15:11.193946 #50932]  INFO -- mongos-centos-70: 
�[KProgress: 20%
�[KProgress: 50%
�[KProgress: 60%
�[KProgress: 70%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
I, [2015-07-15T22:15:11.939717 #50932]  INFO -- mongos-centos-70: ==> default: Setting the name of the VM: kitchen-mongodb-cookbook-mongos-centos-70_default_1437012911888_90786
I, [2015-07-15T22:15:14.224413 #50932]  INFO -- mongos-centos-70: ==> default: Fixed port collision for 22 => 2222. Now on port 2217.
I, [2015-07-15T22:15:14.280208 #50932]  INFO -- mongos-centos-70: ==> default: Clearing any previously set network interfaces...
I, [2015-07-15T22:15:14.328298 #50932]  INFO -- mongos-centos-70: ==> default: Preparing network interfaces based on configuration...
I, [2015-07-15T22:15:14.328550 #50932]  INFO -- mongos-centos-70:     default: Adapter 1: nat
I, [2015-07-15T22:15:14.376844 #50932]  INFO -- mongos-centos-70: ==> default: Forwarding ports...
I, [2015-07-15T22:15:14.443309 #50932]  INFO -- mongos-centos-70:     default: 22 => 2217 (adapter 1)
I, [2015-07-15T22:15:14.596113 #50932]  INFO -- mongos-centos-70: ==> default: Running 'pre-boot' VM customizations...
I, [2015-07-15T22:15:14.641217 #50932]  INFO -- mongos-centos-70: ==> default: Booting VM...
I, [2015-07-15T22:15:14.907193 #50932]  INFO -- mongos-centos-70: ==> default: Waiting for machine to boot. This may take a few minutes...
I, [2015-07-15T22:15:15.195153 #50932]  INFO -- mongos-centos-70:     default: SSH address: 127.0.0.1:2217
I, [2015-07-15T22:15:15.195285 #50932]  INFO -- mongos-centos-70:     default: SSH username: vagrant
I, [2015-07-15T22:15:15.195509 #50932]  INFO -- mongos-centos-70:     default: SSH auth method: private key
I, [2015-07-15T22:15:30.382852 #50932]  INFO -- mongos-centos-70:     default: Warning: Connection timeout. Retrying...
I, [2015-07-15T22:15:31.239030 #50932]  INFO -- mongos-centos-70:     default: 
I, [2015-07-15T22:15:31.239146 #50932]  INFO -- mongos-centos-70:     default: Vagrant insecure key detected. Vagrant will automatically replace
I, [2015-07-15T22:15:31.239387 #50932]  INFO -- mongos-centos-70:     default: this with a newly generated keypair for better security.
I, [2015-07-15T22:15:32.519546 #50932]  INFO -- mongos-centos-70:     default: 
I, [2015-07-15T22:15:32.519648 #50932]  INFO -- mongos-centos-70:     default: Inserting generated public key within guest...
I, [2015-07-15T22:15:32.864063 #50932]  INFO -- mongos-centos-70:     default: Removing insecure key from the guest if it's present...
I, [2015-07-15T22:15:33.055577 #50932]  INFO -- mongos-centos-70:     default: Key inserted! Disconnecting and reconnecting using new SSH key...
I, [2015-07-15T22:15:33.992545 #50932]  INFO -- mongos-centos-70: ==> default: Machine booted and ready!
I, [2015-07-15T22:15:33.992895 #50932]  INFO -- mongos-centos-70: ==> default: Checking for guest additions in VM...
I, [2015-07-15T22:15:34.038901 #50932]  INFO -- mongos-centos-70: ==> default: Setting hostname...
I, [2015-07-15T22:15:34.768661 #50932]  INFO -- mongos-centos-70: ==> default: Machine not provisioned because `--no-provision` is specified.
I, [2015-07-15T22:15:37.074272 #50932]  INFO -- mongos-centos-70: [SSH] Established
I, [2015-07-15T22:15:37.074658 #50932]  INFO -- mongos-centos-70: Vagrant instance <mongos-centos-70> created.
I, [2015-07-15T22:15:37.075665 #50932]  INFO -- mongos-centos-70: Finished creating <mongos-centos-70> (0m34.99s).
I, [2015-07-15T22:15:37.075995 #50932]  INFO -- mongos-centos-70: -----> Converging <mongos-centos-70>...
I, [2015-07-15T22:15:37.077683 #50932]  INFO -- mongos-centos-70: Preparing files for transfer
I, [2015-07-15T22:15:37.077810 #50932]  INFO -- mongos-centos-70: Preparing dna.json
I, [2015-07-15T22:15:37.078367 #50932]  INFO -- mongos-centos-70: Resolving cookbook dependencies with Berkshelf 3.3.0...
I, [2015-07-15T22:15:37.955230 #50932]  INFO -- mongos-centos-70: Removing non-cookbook files before transfer
I, [2015-07-15T22:15:37.985453 #50932]  INFO -- mongos-centos-70: Preparing nodes
I, [2015-07-15T22:15:37.986342 #50932]  INFO -- mongos-centos-70: Preparing validation.pem
I, [2015-07-15T22:15:37.986957 #50932]  INFO -- mongos-centos-70: Preparing client.rb
I, [2015-07-15T22:15:38.012769 #50932]  INFO -- mongos-centos-70: -----> Installing Chef Omnibus (11.12.8)
I, [2015-07-15T22:15:38.021645 #50932]  INFO -- mongos-centos-70: Downloading https://www.chef.io/chef/install.sh to file /tmp/install.sh
I, [2015-07-15T22:15:38.021692 #50932]  INFO -- mongos-centos-70: Trying wget...
I, [2015-07-15T22:15:43.322191 #50932]  INFO -- mongos-centos-70: Download complete.
I, [2015-07-15T22:15:43.553786 #50932]  INFO -- mongos-centos-70: Downloading Chef 11.12.8 for el...
I, [2015-07-15T22:15:43.553850 #50932]  INFO -- mongos-centos-70: downloading https://www.chef.io/chef/metadata?v=11.12.8&prerelease=false&nightlies=false&p=el&pv=7&m=x86_64
I, [2015-07-15T22:15:43.553872 #50932]  INFO -- mongos-centos-70:   to file /tmp/install.sh.8233/metadata.txt
I, [2015-07-15T22:15:43.553888 #50932]  INFO -- mongos-centos-70: trying wget...
I, [2015-07-15T22:15:48.988516 #50932]  INFO -- mongos-centos-70: url   https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.12.8-2.el6.x86_64.rpm
I, [2015-07-15T22:15:48.988601 #50932]  INFO -- mongos-centos-70: md5   3dfacef6e6640adefc12bf6956a3a4e2
I, [2015-07-15T22:15:48.988620 #50932]  INFO -- mongos-centos-70: sha256    ee45e0f226ffd503a949c1b10944064a4655d0255e03a16b073bed85eac83e95
I, [2015-07-15T22:15:49.039451 #50932]  INFO -- mongos-centos-70: downloaded metadata file looks valid...
I, [2015-07-15T22:15:49.192234 #50932]  INFO -- mongos-centos-70: downloading https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.12.8-2.el6.x86_64.rpm
I, [2015-07-15T22:15:49.192296 #50932]  INFO -- mongos-centos-70:   to file /tmp/install.sh.8233/chef-11.12.8-2.el6.x86_64.rpm
I, [2015-07-15T22:15:49.192317 #50932]  INFO -- mongos-centos-70: trying wget...
I, [2015-07-15T22:15:58.605003 #50932]  INFO -- mongos-centos-70: Comparing checksum with sha256sum...
I, [2015-07-15T22:15:58.766131 #50932]  INFO -- mongos-centos-70: Installing Chef 11.12.8
I, [2015-07-15T22:15:58.766183 #50932]  INFO -- mongos-centos-70: installing with rpm...
I, [2015-07-15T22:15:58.833139 #50932]  INFO -- mongos-centos-70: warning: /tmp/install.sh.8233/chef-11.12.8-2.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
I, [2015-07-15T22:15:59.096069 #50932]  INFO -- mongos-centos-70: Preparing...                                                            (100%)����������������������������������������#                                 (100%)����������������������������������������##                                (100%)����������������������������������������###                               (100%)����������������������������������������####                              (100%)����������������������������������������#####                             (100%)����������������������������������������######                            (100%)����������������������������������������#######                           (100%)����������������������������������������########                          (100%)����������������������������������������#########                         (100%)����������������������������������������##########                        (100%)����������������������������������������###########                       (100%)����������������������������������������############                      (100%)����������������������������������������#############                     (100%)����������������������������������������##############                    (100%)����������������������������������������###############                   (100%)����������������������������������������################                  (100%)����������������������������������������#################                 (100%)����������������������������������������##################                (100%)����������������������������������������###################               (100%)����������������������������������������####################              (100%)����������������������������������������#####################             (100%)����������������������������������������######################            (100%)����������������������������������������#######################           (100%)����������������������������������������########################          (100%)����������������������������������������#########################         (100%)����������������������������������������##########################        (100%)����������������������������������������###########################       (100%)����������������������������������������############################      (100%)����������������������������������������#############################     (100%)����������������������������������������##############################    (100%)����������������������������������������###############################   (100%)����������������������������������������################################  (100%)����������������������������������������################################# (100%)����������������������������������������################################# [100%]
I, [2015-07-15T22:15:59.108485 #50932]  INFO -- mongos-centos-70: Updating / installing...
I, [2015-07-15T22:16:02.781173 #50932]  INFO -- mongos-centos-70:                            (  2%)����������������������������������������#                                 (  4%)����������������������������������������##                                (  7%)����������������������������������������###                               ( 10%)����������������������������������������####                              ( 13%)����������������������������������������#####                             ( 16%)����������������������������������������######                            ( 19%)����������������������������������������#######                           ( 22%)����������������������������������������########                          ( 25%)����������������������������������������#########                         ( 28%)����������������������������������������##########                        ( 31%)����������������������������������������###########                       ( 34%)����������������������������������������############                      ( 37%)����������������������������������������#############                     ( 40%)����������������������������������������##############                    ( 43%)����������������������������������������###############                   ( 46%)����������������������������������������################                  ( 49%)����������������������������������������#################                 ( 52%)����������������������������������������##################                ( 54%)����������������������������������������###################               ( 57%)����������������������������������������####################              ( 60%)����������������������������������������#####################             ( 63%)����������������������������������������######################            ( 66%)����������������������������������������#######################           ( 69%)����������������������������������������########################          ( 72%)����������������������������������������#########################         ( 75%)����������������������������������������##########################        ( 78%)����������������������������������������###########################       ( 81%)����������������������������������������############################      ( 84%)����������������������������������������#############################     ( 87%)����������������������������������������##############################    ( 90%)����������������������������������������###############################   ( 93%)����������������������������������������################################  ( 96%)����������������������������������������################################# ( 99%)����������������������������������������################################# [100%]
I, [2015-07-15T22:16:03.137021 #50932]  INFO -- mongos-centos-70: Thank you for installing Chef!
I, [2015-07-15T22:16:03.221673 #50932]  INFO -- mongos-centos-70: Transferring files to <mongos-centos-70>
I, [2015-07-15T22:16:04.880600 #50932]  INFO -- mongos-centos-70: [2015-07-16T02:16:03+00:00] WARN: 
I, [2015-07-15T22:16:04.880662 #50932]  INFO -- mongos-centos-70: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
I, [2015-07-15T22:16:04.880684 #50932]  INFO -- mongos-centos-70: SSL validation of HTTPS requests is disabled. HTTPS connections are still
I, [2015-07-15T22:16:04.880702 #50932]  INFO -- mongos-centos-70: encrypted, but chef is not able to detect forged replies or man in the middle
I, [2015-07-15T22:16:04.880719 #50932]  INFO -- mongos-centos-70: attacks.
I, [2015-07-15T22:16:04.880734 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:16:04.880750 #50932]  INFO -- mongos-centos-70: To fix this issue add an entry like this to your configuration file:
I, [2015-07-15T22:16:04.880765 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:16:04.880780 #50932]  INFO -- mongos-centos-70: ```
I, [2015-07-15T22:16:04.880796 #50932]  INFO -- mongos-centos-70:   # Verify all HTTPS connections (recommended)
I, [2015-07-15T22:16:04.880811 #50932]  INFO -- mongos-centos-70:   ssl_verify_mode :verify_peer
I, [2015-07-15T22:16:04.880825 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:16:04.880840 #50932]  INFO -- mongos-centos-70:   # OR, Verify only connections to chef-server
I, [2015-07-15T22:16:04.880855 #50932]  INFO -- mongos-centos-70:   verify_api_cert true
I, [2015-07-15T22:16:04.880870 #50932]  INFO -- mongos-centos-70: ```
I, [2015-07-15T22:16:04.880885 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:16:04.880900 #50932]  INFO -- mongos-centos-70: To check your SSL configuration, or troubleshoot errors, you can use the
I, [2015-07-15T22:16:04.880915 #50932]  INFO -- mongos-centos-70: `knife ssl check` command like so:
I, [2015-07-15T22:16:04.880929 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:16:04.880944 #50932]  INFO -- mongos-centos-70: ```
I, [2015-07-15T22:16:04.880959 #50932]  INFO -- mongos-centos-70:   knife ssl check -c /tmp/kitchen/client.rb
I, [2015-07-15T22:16:04.880974 #50932]  INFO -- mongos-centos-70: ```
I, [2015-07-15T22:16:04.880989 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:16:04.881003 #50932]  INFO -- mongos-centos-70: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
I, [2015-07-15T22:16:04.881018 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:16:04.881033 #50932]  INFO -- mongos-centos-70: Starting Chef Client, version 11.12.8
I, [2015-07-15T22:16:11.788394 #50932]  INFO -- mongos-centos-70: Creating a new client identity for mongos-centos-70 using the validator key.
I, [2015-07-15T22:16:11.964438 #50932]  INFO -- mongos-centos-70: resolving cookbooks for run list: ["yum", "yum-epel", "mongodb::mongos"]
I, [2015-07-15T22:16:12.373860 #50932]  INFO -- mongos-centos-70: Synchronizing Cookbooks:
I, [2015-07-15T22:16:12.500779 #50932]  INFO -- mongos-centos-70:   - yum
I, [2015-07-15T22:16:12.671582 #50932]  INFO -- mongos-centos-70:   - yum-epel
I, [2015-07-15T22:16:13.072109 #50932]  INFO -- mongos-centos-70:   - mongodb
I, [2015-07-15T22:16:13.406524 #50932]  INFO -- mongos-centos-70:   - apt
I, [2015-07-15T22:16:13.684126 #50932]  INFO -- mongos-centos-70:   - python
I, [2015-07-15T22:16:14.073480 #50932]  INFO -- mongos-centos-70:   - build-essential
I, [2015-07-15T22:16:14.073535 #50932]  INFO -- mongos-centos-70: Compiling Cookbooks...
I, [2015-07-15T22:16:14.106296 #50932]  INFO -- mongos-centos-70: [2015-07-16T02:16:12+00:00] WARN: CentOS doesn't provide mongodb, forcing use of mongodb-org repo
I, [2015-07-15T22:16:14.192462 #50932]  INFO -- mongos-centos-70: [2015-07-16T02:16:12+00:00] WARN: 10gen_repo is deprecated, use mongodb_org_repo
I, [2015-07-15T22:16:14.223314 #50932]  INFO -- mongos-centos-70: [2015-07-16T02:16:12+00:00] WARN: Cloning resource attributes for template[/etc/mongodb.conf] from prior resource (CHEF-3694)
I, [2015-07-15T22:16:14.223369 #50932]  INFO -- mongos-centos-70: [2015-07-16T02:16:12+00:00] WARN: Previous template[/etc/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:14:in `from_file'
I, [2015-07-15T22:16:14.223389 #50932]  INFO -- mongos-centos-70: [2015-07-16T02:16:12+00:00] WARN: Current  template[/etc/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:139:in `block in from_file'
I, [2015-07-15T22:16:14.223404 #50932]  INFO -- mongos-centos-70: [2015-07-16T02:16:12+00:00] WARN: Cloning resource attributes for execute[mongodb-systemctl-daemon-reload] from prior resource (CHEF-3694)
I, [2015-07-15T22:16:14.223419 #50932]  INFO -- mongos-centos-70: [2015-07-16T02:16:12+00:00] WARN: Previous execute[mongodb-systemctl-daemon-reload]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:37:in `from_file'
I, [2015-07-15T22:16:14.223433 #50932]  INFO -- mongos-centos-70: [2015-07-16T02:16:12+00:00] WARN: Current  execute[mongodb-systemctl-daemon-reload]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:174:in `block in from_file'
I, [2015-07-15T22:16:14.232075 #50932]  INFO -- mongos-centos-70: Converging 18 resources
I, [2015-07-15T22:16:14.232130 #50932]  INFO -- mongos-centos-70: Recipe: yum::default
I, [2015-07-15T22:16:14.232147 #50932]  INFO -- mongos-centos-70:   * yum_globalconfig[/etc/yum.conf] action createRecipe: <Dynamically Defined Resource>
I, [2015-07-15T22:16:14.261945 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:16:14.262004 #50932]  INFO -- mongos-centos-70:     - update content in file /etc/yum.conf from 08310b to 31c39a
I, [2015-07-15T22:16:14.262039 #50932]  INFO -- mongos-centos-70:  --- /etc/yum.conf    2014-06-27 11:07:01.000000000 +0000
I, [2015-07-15T22:16:14.262061 #50932]  INFO -- mongos-centos-70:  +++ /tmp/chef-rendered-template20150716-10668-hq8oza 2015-07-16 02:16:12.545895111 +0000
I, [2015-07-15T22:16:14.262080 #50932]  INFO -- mongos-centos-70:  @@ -1,27 +1,15 @@
I, [2015-07-15T22:16:14.262098 #50932]  INFO -- mongos-centos-70:  +# This file was generated by Chef
I, [2015-07-15T22:16:14.262115 #50932]  INFO -- mongos-centos-70:  +# Do NOT modify this file by hand.
I, [2015-07-15T22:16:14.262132 #50932]  INFO -- mongos-centos-70:  +
I, [2015-07-15T22:16:14.262149 #50932]  INFO -- mongos-centos-70:   [main]
I, [2015-07-15T22:16:14.262166 #50932]  INFO -- mongos-centos-70:   cachedir=/var/cache/yum/$basearch/$releasever
I, [2015-07-15T22:16:14.262183 #50932]  INFO -- mongos-centos-70:  -keepcache=0
I, [2015-07-15T22:16:14.262202 #50932]  INFO -- mongos-centos-70:   debuglevel=2
I, [2015-07-15T22:16:14.262233 #50932]  INFO -- mongos-centos-70:  -logfile=/var/log/yum.log
I, [2015-07-15T22:16:14.262269 #50932]  INFO -- mongos-centos-70:  +distroverpkg=centos-release
I, [2015-07-15T22:16:14.262289 #50932]  INFO -- mongos-centos-70:   exactarch=1
I, [2015-07-15T22:16:14.262306 #50932]  INFO -- mongos-centos-70:  -obsoletes=1
I, [2015-07-15T22:16:14.262342 #50932]  INFO -- mongos-centos-70:   gpgcheck=1
I, [2015-07-15T22:16:14.262360 #50932]  INFO -- mongos-centos-70:  +installonly_limit=3
I, [2015-07-15T22:16:14.262377 #50932]  INFO -- mongos-centos-70:  +keepcache=0
I, [2015-07-15T22:16:14.262393 #50932]  INFO -- mongos-centos-70:  +logfile=/var/log/yum.log
I, [2015-07-15T22:16:14.262409 #50932]  INFO -- mongos-centos-70:  +obsoletes=1
I, [2015-07-15T22:16:14.262425 #50932]  INFO -- mongos-centos-70:   plugins=1
I, [2015-07-15T22:16:14.262442 #50932]  INFO -- mongos-centos-70:  -installonly_limit=5
I, [2015-07-15T22:16:14.262459 #50932]  INFO -- mongos-centos-70:  -bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum
I, [2015-07-15T22:16:14.262476 #50932]  INFO -- mongos-centos-70:  -distroverpkg=centos-release
I, [2015-07-15T22:16:14.262492 #50932]  INFO -- mongos-centos-70:  -
I, [2015-07-15T22:16:14.262508 #50932]  INFO -- mongos-centos-70:  -
I, [2015-07-15T22:16:14.262526 #50932]  INFO -- mongos-centos-70:  -#  This is the default, if you make this bigger yum won't see if the metadata
I, [2015-07-15T22:16:14.262545 #50932]  INFO -- mongos-centos-70:  -# is newer on the remote and so you'll "gain" the bandwidth of not having to
I, [2015-07-15T22:16:14.262563 #50932]  INFO -- mongos-centos-70:  -# download the new metadata and "pay" for it by yum not having correct
I, [2015-07-15T22:16:14.262579 #50932]  INFO -- mongos-centos-70:  -# information.
I, [2015-07-15T22:16:14.262640 #50932]  INFO -- mongos-centos-70:  -#  It is esp. important, to have correct metadata, for distributions like
I, [2015-07-15T22:16:14.262688 #50932]  INFO -- mongos-centos-70:  -# Fedora which don't keep old packages around. If you don't like this checking
I, [2015-07-15T22:16:14.262723 #50932]  INFO -- mongos-centos-70:  -# interupting your command line usage, it's much better to have something
I, [2015-07-15T22:16:14.262772 #50932]  INFO -- mongos-centos-70:  -# manually check the metadata once an hour (yum-updatesd will do this).
I, [2015-07-15T22:16:14.262827 #50932]  INFO -- mongos-centos-70:  -# metadata_expire=90m
I, [2015-07-15T22:16:14.262891 #50932]  INFO -- mongos-centos-70:  -
I, [2015-07-15T22:16:14.262923 #50932]  INFO -- mongos-centos-70:  -# PUT YOUR REPOS HERE OR IN separate files named file.repo
I, [2015-07-15T22:16:14.397353 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:16:14.397416 #50932]  INFO -- mongos-centos-70:     - restore selinux security context
I, [2015-07-15T22:16:14.397440 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:16:14.397457 #50932]  INFO -- mongos-centos-70: Recipe: yum-epel::default
I, [2015-07-15T22:16:14.397473 #50932]  INFO -- mongos-centos-70:   * yum_repository[epel] action createRecipe: <Dynamically Defined Resource>
I, [2015-07-15T22:16:14.438912 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:16:14.438971 #50932]  INFO -- mongos-centos-70:     - create new file /etc/yum.repos.d/epel.repo
I, [2015-07-15T22:16:14.438990 #50932]  INFO -- mongos-centos-70:     - update content in file /etc/yum.repos.d/epel.repo from none to 19be5f
I, [2015-07-15T22:16:14.439015 #50932]  INFO -- mongos-centos-70:  --- /etc/yum.repos.d/epel.repo   2015-07-16 02:16:12.722983600 +0000
I, [2015-07-15T22:16:14.439035 #50932]  INFO -- mongos-centos-70:  +++ /tmp/chef-rendered-template20150716-10668-inv09e 2015-07-16 02:16:12.724984600 +0000
I, [2015-07-15T22:16:14.439053 #50932]  INFO -- mongos-centos-70:  @@ -1 +1,11 @@
I, [2015-07-15T22:16:14.439070 #50932]  INFO -- mongos-centos-70:  +# This file was generated by Chef
I, [2015-07-15T22:16:14.439088 #50932]  INFO -- mongos-centos-70:  +# Do NOT modify this file by hand.
I, [2015-07-15T22:16:14.439104 #50932]  INFO -- mongos-centos-70:  +
I, [2015-07-15T22:16:14.439120 #50932]  INFO -- mongos-centos-70:  +[epel]
I, [2015-07-15T22:16:14.439137 #50932]  INFO -- mongos-centos-70:  +name=Extra Packages for Enterprise Linux 7 - $basearch
I, [2015-07-15T22:16:14.439154 #50932]  INFO -- mongos-centos-70:  +enabled=1
I, [2015-07-15T22:16:14.439191 #50932]  INFO -- mongos-centos-70:  +failovermethod=priority
I, [2015-07-15T22:16:14.439209 #50932]  INFO -- mongos-centos-70:  +gpgcheck=1
I, [2015-07-15T22:16:14.439226 #50932]  INFO -- mongos-centos-70:  +gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
I, [2015-07-15T22:16:14.439244 #50932]  INFO -- mongos-centos-70:  +mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
I, [2015-07-15T22:16:14.482188 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:16:14.482245 #50932]  INFO -- mongos-centos-70:     - restore selinux security context
I, [2015-07-15T22:16:14.839699 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:16:14.839773 #50932]  INFO -- mongos-centos-70:     - execute yum clean all --disablerepo=* --enablerepo=epel
I, [2015-07-15T22:17:06.069465 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:17:06.069826 #50932]  INFO -- mongos-centos-70:     - execute yum -q -y makecache --disablerepo=* --enablerepo=epel
I, [2015-07-15T22:17:06.069860 #50932]  INFO -- mongos-centos-70:   * ruby_block[yum-cache-reload-epel] action create
I, [2015-07-15T22:17:06.069879 #50932]  INFO -- mongos-centos-70:     - execute the ruby block yum-cache-reload-epel
I, [2015-07-15T22:17:06.069896 #50932]  INFO -- mongos-centos-70:   * execute[yum clean epel] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:17:06.069912 #50932]  INFO -- mongos-centos-70:   * execute[yum-makecache-epel] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:17:06.069927 #50932]  INFO -- mongos-centos-70:   * ruby_block[yum-cache-reload-epel] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:17:06.069942 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:17:06.069957 #50932]  INFO -- mongos-centos-70: Recipe: mongodb::mongodb_org_repo
I, [2015-07-15T22:17:06.069972 #50932]  INFO -- mongos-centos-70:   * yum_repository[mongodb] action createRecipe: <Dynamically Defined Resource>
I, [2015-07-15T22:17:06.070045 #50932]  INFO -- mongos-centos-70:   * template[/etc/yum.repos.d/mongodb.repo] action create
I, [2015-07-15T22:17:06.072678 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:17:06.072721 #50932]  INFO -- mongos-centos-70:     - update content in file /etc/yum.repos.d/mongodb.repo from none to bf24c8
I, [2015-07-15T22:17:06.072749 #50932]  INFO -- mongos-centos-70:  --- /etc/yum.repos.d/mongodb.repo    2015-07-16 02:17:04.379795938 +0000
I, [2015-07-15T22:17:06.072769 #50932]  INFO -- mongos-centos-70:  +++ /tmp/chef-rendered-template20150716-10668-1chptgl    2015-07-16 02:17:04.384798437 +0000
I, [2015-07-15T22:17:06.072798 #50932]  INFO -- mongos-centos-70:  @@ -1 +1,9 @@
I, [2015-07-15T22:17:06.072825 #50932]  INFO -- mongos-centos-70:  +# This file was generated by Chef
I, [2015-07-15T22:17:06.072858 #50932]  INFO -- mongos-centos-70:  +# Do NOT modify this file by hand.
I, [2015-07-15T22:17:06.072889 #50932]  INFO -- mongos-centos-70:  +
I, [2015-07-15T22:17:06.072938 #50932]  INFO -- mongos-centos-70:  +[mongodb]
I, [2015-07-15T22:17:06.072984 #50932]  INFO -- mongos-centos-70:  +name=mongodb RPM Repository
I, [2015-07-15T22:17:06.073007 #50932]  INFO -- mongos-centos-70:  +baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64
I, [2015-07-15T22:17:06.073028 #50932]  INFO -- mongos-centos-70:  +enabled=1
I, [2015-07-15T22:17:06.073046 #50932]  INFO -- mongos-centos-70:  +gpgcheck=0
I, [2015-07-15T22:17:06.146890 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:17:06.146965 #50932]  INFO -- mongos-centos-70:     - restore selinux security context
I, [2015-07-15T22:17:06.398306 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:17:06.398393 #50932]  INFO -- mongos-centos-70:     - execute yum clean all --disablerepo=* --enablerepo=mongodb
I, [2015-07-15T22:17:17.263368 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:17:17.263438 #50932]  INFO -- mongos-centos-70:     - execute yum -q -y makecache --disablerepo=* --enablerepo=mongodb
I, [2015-07-15T22:17:17.263467 #50932]  INFO -- mongos-centos-70:   * ruby_block[yum-cache-reload-mongodb] action create
I, [2015-07-15T22:17:17.263842 #50932]  INFO -- mongos-centos-70:     - execute the ruby block yum-cache-reload-mongodb
I, [2015-07-15T22:17:17.263886 #50932]  INFO -- mongos-centos-70:   * execute[yum clean mongodb] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:17:17.263920 #50932]  INFO -- mongos-centos-70:   * execute[yum-makecache-mongodb] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:17:17.263939 #50932]  INFO -- mongos-centos-70:   * ruby_block[yum-cache-reload-mongodb] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:17:17.263957 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:17:17.263974 #50932]  INFO -- mongos-centos-70: Recipe: mongodb::install
I, [2015-07-15T22:17:17.267140 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:17:17.267199 #50932]  INFO -- mongos-centos-70:     - create new file /etc/sysconfig/mongodb
I, [2015-07-15T22:17:17.267220 #50932]  INFO -- mongos-centos-70:     - update content in file /etc/sysconfig/mongodb from none to a35762
I, [2015-07-15T22:17:17.267247 #50932]  INFO -- mongos-centos-70:  --- /etc/sysconfig/mongodb   2015-07-16 02:17:15.585395251 +0000
I, [2015-07-15T22:17:17.267269 #50932]  INFO -- mongos-centos-70:  +++ /tmp/.mongodb20150716-10668-19wylnf  2015-07-16 02:17:15.586395751 +0000
I, [2015-07-15T22:17:17.267290 #50932]  INFO -- mongos-centos-70:  @@ -1 +1,2 @@
I, [2015-07-15T22:17:17.267310 #50932]  INFO -- mongos-centos-70:  +ENABLE_MONGODB=no
I, [2015-07-15T22:17:17.267325 #50932]  INFO -- mongos-centos-70:     - change mode from '' to '0644'
I, [2015-07-15T22:17:17.267340 #50932]  INFO -- mongos-centos-70:     - change owner from '' to 'root'
I, [2015-07-15T22:17:17.332979 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:17:17.333039 #50932]  INFO -- mongos-centos-70:     - restore selinux security context
I, [2015-07-15T22:17:17.349460 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:17:17.349519 #50932]  INFO -- mongos-centos-70:     - create new file /etc/mongodb.conf
I, [2015-07-15T22:17:17.349540 #50932]  INFO -- mongos-centos-70:     - update content in file /etc/mongodb.conf from none to 78f6ca
I, [2015-07-15T22:17:17.349566 #50932]  INFO -- mongos-centos-70:  --- /etc/mongodb.conf    2015-07-16 02:17:15.667436247 +0000
I, [2015-07-15T22:17:17.349588 #50932]  INFO -- mongos-centos-70:  +++ /tmp/chef-rendered-template20150716-10668-c3r9e2 2015-07-16 02:17:15.667436247 +0000
I, [2015-07-15T22:17:17.349609 #50932]  INFO -- mongos-centos-70:  @@ -1 +1,16 @@
I, [2015-07-15T22:17:17.349628 #50932]  INFO -- mongos-centos-70:  +#
I, [2015-07-15T22:17:17.349648 #50932]  INFO -- mongos-centos-70:  +# Automatically Generated by Chef, do not edit directly!
I, [2015-07-15T22:17:17.349666 #50932]  INFO -- mongos-centos-70:  +#
I, [2015-07-15T22:17:17.349685 #50932]  INFO -- mongos-centos-70:  +
I, [2015-07-15T22:17:17.349704 #50932]  INFO -- mongos-centos-70:  +bind_ip = 0.0.0.0
I, [2015-07-15T22:17:17.349723 #50932]  INFO -- mongos-centos-70:  +configdb = my_configserver
I, [2015-07-15T22:17:17.349741 #50932]  INFO -- mongos-centos-70:  +dbpath = /var/lib/mongodb
I, [2015-07-15T22:17:17.349760 #50932]  INFO -- mongos-centos-70:  +fork = true
I, [2015-07-15T22:17:17.349779 #50932]  INFO -- mongos-centos-70:  +logappend = true
I, [2015-07-15T22:17:17.349797 #50932]  INFO -- mongos-centos-70:  +logpath = /var/log/mongodb/mongodb.log
I, [2015-07-15T22:17:17.349815 #50932]  INFO -- mongos-centos-70:  +nojournal = false
I, [2015-07-15T22:17:17.349833 #50932]  INFO -- mongos-centos-70:  +pidfilepath = /var/run/mongodb/mongodb.pid
I, [2015-07-15T22:17:17.349851 #50932]  INFO -- mongos-centos-70:  +port = 27017
I, [2015-07-15T22:17:17.349869 #50932]  INFO -- mongos-centos-70:  +rest = false
I, [2015-07-15T22:17:17.349886 #50932]  INFO -- mongos-centos-70:  +smallfiles = false
I, [2015-07-15T22:17:17.349901 #50932]  INFO -- mongos-centos-70:     - change mode from '' to '0644'
I, [2015-07-15T22:17:17.349916 #50932]  INFO -- mongos-centos-70:     - change owner from '' to 'root'
I, [2015-07-15T22:17:17.415465 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:17:17.415529 #50932]  INFO -- mongos-centos-70:     - restore selinux security context
I, [2015-07-15T22:17:17.415565 #50932]  INFO -- mongos-centos-70:   * execute[mongodb-systemctl-daemon-reload] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:17:17.443120 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:17:17.443188 #50932]  INFO -- mongos-centos-70:     - create new file /etc/init.d/mongod
I, [2015-07-15T22:17:17.443217 #50932]  INFO -- mongos-centos-70:     - update content in file /etc/init.d/mongod from none to 7d67f0
I, [2015-07-15T22:17:17.443241 #50932]  INFO -- mongos-centos-70:  --- /etc/init.d/mongod   2015-07-16 02:17:15.754479741 +0000
I, [2015-07-15T22:17:17.443261 #50932]  INFO -- mongos-centos-70:  +++ /tmp/chef-rendered-template20150716-10668-1eayktp    2015-07-16 02:17:15.755480241 +0000
I, [2015-07-15T22:17:17.443279 #50932]  INFO -- mongos-centos-70:  @@ -1 +1,107 @@
I, [2015-07-15T22:17:17.443296 #50932]  INFO -- mongos-centos-70:  +#!/bin/bash
I, [2015-07-15T22:17:17.443314 #50932]  INFO -- mongos-centos-70:  +
I, [2015-07-15T22:17:17.443331 #50932]  INFO -- mongos-centos-70:  +# mongod - Startup script for mongod
I, [2015-07-15T22:17:17.443348 #50932]  INFO -- mongos-centos-70:  +
I, [2015-07-15T22:17:17.443365 #50932]  INFO -- mongos-centos-70:  +# chkconfig: 35 85 15
I, [2015-07-15T22:17:17.443381 #50932]  INFO -- mongos-centos-70:  +# description: Mongo is a scalable, document-oriented database.
I, [2015-07-15T22:17:17.443398 #50932]  INFO -- mongos-centos-70:  +# processname: mongod
I, [2015-07-15T22:17:17.443414 #50932]  INFO -- mongos-centos-70:  +# config: /etc/mongodb.conf
I, [2015-07-15T22:17:17.443431 #50932]  INFO -- mongos-centos-70:  +
I, [2015-07-15T22:17:17.443447 #50932]  INFO -- mongos-centos-70:  +. /etc/rc.d/init.d/functions
I, [2015-07-15T22:17:17.443463 #50932]  INFO -- mongos-centos-70:  +
I, [2015-07-15T22:17:17.443479 #50932]  INFO -- mongos-centos-70:  +NAME=mongod
I, [2015-07-15T22:17:17.443496 #50932]  INFO -- mongos-centos-70:  +SYSCONFIG=/etc/sysconfig/mongodb
I, [2015-07-15T22:17:17.443512 #50932]  INFO -- mongos-centos-70:  +DAEMON_USER=mongod
I, [2015-07-15T22:17:17.443528 #50932]  INFO -- mongos-centos-70:  +ENABLE_MONGODB=yes
I, [2015-07-15T22:17:17.443545 #50932]  INFO -- mongos-centos-70:  +
I, [2015-07-15T22:17:17.443562 #50932]  INFO -- mongos-centos-70:  +SUBSYS_LOCK_FILE=/var/lock/subsys/mongod
I, [2015-07-15T22:17:17.443590 #50932]  INFO -- mongos-centos-70:  +
I, [2015-07-15T22:17:17.443607 #50932]  INFO -- mongos-centos-70:  +if [ -f "$SYSCONFIG" ]; then
I, [2015-07-15T22:17:17.443624 #50932]  INFO -- mongos-centos-70:  +    . "$SYSCONFIG"
I, [2015-07-15T22:17:17.443641 #50932]  INFO -- mongos-centos-70:  +fi
I, [2015-07-15T22:17:17.443667 #50932]  INFO -- mongos-centos-70:  +
I, [2015-07-15T22:17:17.443684 #50932]  INFO -- mongos-centos-70:  +# FIXME: 1.9.x has a --shutdown flag that parses the config file and
I, [2015-07-15T22:17:17.443701 #50932]  INFO -- mongos-centos-70:  +# shuts down the correct running pid, but that's unavailable in 1.8
I, [2015-07-15T22:17:17.443719 #50932]  INFO -- mongos-centos-70:  +# for now.  This can go away when this script stops supporting 1.8.
I, [2015-07-15T22:17:17.443736 #50932]  INFO -- mongos-centos-70:  +DBPATH=`awk -F= '/^dbpath[[:blank:]]*=[[:blank:]]*/{print $2}' "$CONFIGFILE"`
I, [2015-07-15T22:17:17.443753 #50932]  INFO -- mongos-centos-70:  +PIDFILE=`awk -F= '/^pidfilepath[[:blank:]]*=[[:blank:]]*/{print $2}' "$CONFIGFILE"`
I, [2015-07-15T22:17:17.443769 #50932]  INFO -- mongos-centos-70:  +
I, [2015-07-15T22:17:17.443786 #50932]  INFO -- mongos-centos-70:  +# Handle NUMA access to CPUs (SERVER-3574)
I, [2015-07-15T22:17:17.443803 #50932]  INFO -- mongos-centos-70:  +# This verifies the existence of numactl as well as testing that the command works
I, [2015-07-15T22:17:17.443819 #50932]  INFO -- mongos-centos-70:  +NUMACTL_ARGS="--interleave=all"
I, [2015-07-15T22:17:17.443856 #50932]  INFO -- mongos-centos-70:  +if which numactl >/dev/null 2>/dev/null && numactl $NUMACTL_ARGS ls / >/dev/null 2>/dev/null
I, [2015-07-15T22:17:17.443875 #50932]  INFO -- mongos-centos-70:  +then
I, [2015-07-15T22:17:17.443892 #50932]  INFO -- mongos-centos-70:  +    NUMACTL="numactl $NUMACTL_ARGS"
I, [2015-07-15T22:17:17.443908 #50932]  INFO -- mongos-centos-70:  +else
I, [2015-07-15T22:17:17.443934 #50932]  INFO -- mongos-centos-70:  +    NUMACTL=""
I, [2015-07-15T22:17:17.443951 #50932]  INFO -- mongos-centos-70:  +fi
I, [2015-07-15T22:17:17.443967 #50932]  INFO -- mongos-centos-70:  +
I, [2015-07-15T22:17:17.443983 #50932]  INFO -- mongos-centos-70:  +start()
I, [2015-07-15T22:17:17.444000 #50932]  INFO -- mongos-centos-70:  +{
I, [2015-07-15T22:17:17.444026 #50932]  INFO -- mongos-centos-70:  +  ulimit -f unlimited
I, [2015-07-15T22:17:17.444042 #50932]  INFO -- mongos-centos-70:  +  ulimit -t unlimited
I, [2015-07-15T22:17:17.444057 #50932]  INFO -- mongos-centos-70:  +  ulimit -v unlimited
I, [2015-07-15T22:17:17.444073 #50932]  INFO -- mongos-centos-70:  +  ulimit -n 64000
I, [2015-07-15T22:17:17.444089 #50932]  INFO -- mongos-centos-70:  +  ulimit -m unlimited
I, [2015-07-15T22:17:17.444105 #50932]  INFO -- mongos-centos-70:  +  ulimit -u 32000
I, [2015-07-15T22:17:17.444120 #50932]  INFO -- mongos-centos-70:  +
I, [2015-07-15T22:17:17.444137 #50932]  INFO -- mongos-centos-70:  +  echo -n $"Starting mongod: "
I, [2015-07-15T22:17:17.444153 #50932]  INFO -- mongos-centos-70:  +  daemon --user "$DAEMON_USER" $NUMACTL $DAEMON $DAEMON_OPTS
I, [2015-07-15T22:17:17.444170 #50932]  INFO -- mongos-centos-70:  +  RETVAL=$?
I, [2015-07-15T22:17:17.444186 #50932]  INFO -- mongos-centos-70:  +  echo
I, [2015-07-15T22:17:17.444214 #50932]  INFO -- mongos-centos-70:  +  [ $RETVAL -eq 0 ] && touch $SUBSYS_LOCK_FILE
I, [2015-07-15T22:17:17.444230 #50932]  INFO -- mongos-centos-70:  +}
I, [2015-07-15T22:17:17.444255 #50932]  INFO -- mongos-centos-70:  +
I, [2015-07-15T22:17:17.444286 #50932]  INFO -- mongos-centos-70:  +stop()
I, [2015-07-15T22:17:17.444305 #50932]  INFO -- mongos-centos-70:  +{
I, [2015-07-15T22:17:17.444322 #50932]  INFO -- mongos-centos-70:  +  echo -n $"Stopping mongod: "
I, [2015-07-15T22:17:17.444338 #50932]  INFO -- mongos-centos-70:  +  if test "x$PIDFILE" != "x"; then
I, [2015-07-15T22:17:17.444354 #50932]  INFO -- mongos-centos-70:  +    killproc -p $PIDFILE -d 300 $DAEMON
I, [2015-07-15T22:17:17.444370 #50932]  INFO -- mongos-centos-70:  +  else
I, [2015-07-15T22:17:17.444386 #50932]  INFO -- mongos-centos-70:  +    killproc -d 300 $DAEMON
I, [2015-07-15T22:17:17.444401 #50932]  INFO -- mongos-centos-70:  +  fi
I, [2015-07-15T22:17:17.444417 #50932]  INFO -- mongos-centos-70:  +  RETVAL=$?
I, [2015-07-15T22:17:17.444433 #50932]  INFO -- mongos-centos-70:  +  echo
I, [2015-07-15T22:17:17.444449 #50932]  INFO -- mongos-centos-70:  +  [ $RETVAL -eq 0 ] && rm -f $SUBSYS_LOCK_FILE
I, [2015-07-15T22:17:17.444465 #50932]  INFO -- mongos-centos-70:  +}
I, [2015-07-15T22:17:17.444491 #50932]  INFO -- mongos-centos-70:  +
I, [2015-07-15T22:17:17.444508 #50932]  INFO -- mongos-centos-70:  +restart () {
I, [2015-07-15T22:17:17.444524 #50932]  INFO -- mongos-centos-70:  +  stop
I, [2015-07-15T22:17:17.444561 #50932]  INFO -- mongos-centos-70:  +  start
I, [2015-07-15T22:17:17.444578 #50932]  INFO -- mongos-centos-70:  +}
I, [2015-07-15T22:17:17.444594 #50932]  INFO -- mongos-centos-70:  +
I, [2015-07-15T22:17:17.444609 #50932]  INFO -- mongos-centos-70:  +RETVAL=0
I, [2015-07-15T22:17:17.444624 #50932]  INFO -- mongos-centos-70:  +
I, [2015-07-15T22:17:17.444640 #50932]  INFO -- mongos-centos-70:  +if test "x$ENABLE_MONGODB" != "xyes"; then
I, [2015-07-15T22:17:17.444709 #50932]  INFO -- mongos-centos-70:  +    exit $RETVAL
I, [2015-07-15T22:17:17.444741 #50932]  INFO -- mongos-centos-70:  +fi
I, [2015-07-15T22:17:17.444766 #50932]  INFO -- mongos-centos-70:  +
I, [2015-07-15T22:17:17.444783 #50932]  INFO -- mongos-centos-70:  +case "$1" in
I, [2015-07-15T22:17:17.444799 #50932]  INFO -- mongos-centos-70:  +  start)
I, [2015-07-15T22:17:17.444825 #50932]  INFO -- mongos-centos-70:  +    start
I, [2015-07-15T22:17:17.444844 #50932]  INFO -- mongos-centos-70:  +    ;;
I, [2015-07-15T22:17:17.444861 #50932]  INFO -- mongos-centos-70:  +  stop)
I, [2015-07-15T22:17:17.444877 #50932]  INFO -- mongos-centos-70:  +    stop
I, [2015-07-15T22:17:17.444903 #50932]  INFO -- mongos-centos-70:  +    ;;
I, [2015-07-15T22:17:17.444919 #50932]  INFO -- mongos-centos-70:  +  restart|reload|force-reload)
I, [2015-07-15T22:17:17.444934 #50932]  INFO -- mongos-centos-70:  +    restart
I, [2015-07-15T22:17:17.444949 #50932]  INFO -- mongos-centos-70:  +    ;;
I, [2015-07-15T22:17:17.444976 #50932]  INFO -- mongos-centos-70:  +  condrestart)
I, [2015-07-15T22:17:17.444992 #50932]  INFO -- mongos-centos-70:  +    [ -f $SUBSYS_LOCK_FILE ] && restart || :
I, [2015-07-15T22:17:17.445007 #50932]  INFO -- mongos-centos-70:  +    ;;
I, [2015-07-15T22:17:17.445023 #50932]  INFO -- mongos-centos-70:  +  status)
I, [2015-07-15T22:17:17.445049 #50932]  INFO -- mongos-centos-70:  +    if test "x$PIDFILE" != "x"; then
I, [2015-07-15T22:17:17.445066 #50932]  INFO -- mongos-centos-70:  +      status -p $PIDFILE $DAEMON
I, [2015-07-15T22:17:17.445081 #50932]  INFO -- mongos-centos-70:  +    else
I, [2015-07-15T22:17:17.445097 #50932]  INFO -- mongos-centos-70:  +      status $DAEMON
I, [2015-07-15T22:17:17.445113 #50932]  INFO -- mongos-centos-70:  +    fi
I, [2015-07-15T22:17:17.445128 #50932]  INFO -- mongos-centos-70:  +    RETVAL=$?
I, [2015-07-15T22:17:17.445144 #50932]  INFO -- mongos-centos-70:  +    ;;
I, [2015-07-15T22:17:17.445159 #50932]  INFO -- mongos-centos-70:  +  *)
I, [2015-07-15T22:17:17.445175 #50932]  INFO -- mongos-centos-70:  +    echo "Usage: $0 {start|stop|status|restart|reload|force-reload|condrestart}"
I, [2015-07-15T22:17:17.445191 #50932]  INFO -- mongos-centos-70:  +    RETVAL=1
I, [2015-07-15T22:17:17.445206 #50932]  INFO -- mongos-centos-70:  +esac
I, [2015-07-15T22:17:17.445221 #50932]  INFO -- mongos-centos-70:  +
I, [2015-07-15T22:17:17.445236 #50932]  INFO -- mongos-centos-70:  +exit $RETVAL
I, [2015-07-15T22:17:17.455474 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:17:17.455542 #50932]  INFO -- mongos-centos-70:     - change mode from '' to '0755'
I, [2015-07-15T22:17:17.455564 #50932]  INFO -- mongos-centos-70:     - change owner from '' to 'root'
I, [2015-07-15T22:17:17.497974 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:17:17.498030 #50932]  INFO -- mongos-centos-70:     - restore selinux security context
I, [2015-07-15T22:17:17.498049 #50932]  INFO -- mongos-centos-70: Recipe: mongodb::mongos
I, [2015-07-15T22:17:17.719334 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:17:17.719395 #50932]  INFO -- mongos-centos-70:     - execute systemctl daemon-reload
I, [2015-07-15T22:17:17.719417 #50932]  INFO -- mongos-centos-70: Recipe: mongodb::install
I, [2015-07-15T22:21:09.903015 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:09.903305 #50932]  INFO -- mongos-centos-70:     - install version 2.6.10-1 of package mongodb-org
I, [2015-07-15T22:21:09.904610 #50932]  INFO -- mongos-centos-70: Recipe: mongodb::mongos
I, [2015-07-15T22:21:20.385399 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:20.385455 #50932]  INFO -- mongos-centos-70: ================================================================================
I, [2015-07-15T22:21:20.385480 #50932]  INFO -- mongos-centos-70: Error executing action `run` on resource 'ruby_block[chef_gem_at_converge_time]'
I, [2015-07-15T22:21:20.385497 #50932]  INFO -- mongos-centos-70: ================================================================================
I, [2015-07-15T22:21:20.385513 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:20.385528 #50932]  INFO -- mongos-centos-70: Gem::Installer::ExtensionBuildError
I, [2015-07-15T22:21:20.385542 #50932]  INFO -- mongos-centos-70: -----------------------------------
I, [2015-07-15T22:21:20.385556 #50932]  INFO -- mongos-centos-70: ERROR: Failed to build gem native extension.
I, [2015-07-15T22:21:20.385854 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:20.385886 #50932]  INFO -- mongos-centos-70:  /opt/chef/embedded/bin/ruby extconf.rb
I, [2015-07-15T22:21:20.385902 #50932]  INFO -- mongos-centos-70: checking for asprintf()... *** extconf.rb failed ***
I, [2015-07-15T22:21:20.385916 #50932]  INFO -- mongos-centos-70: Could not create Makefile due to some reason, probably lack of
I, [2015-07-15T22:21:20.385931 #50932]  INFO -- mongos-centos-70: necessary libraries and/or headers.  Check the mkmf.log file for more
I, [2015-07-15T22:21:20.385945 #50932]  INFO -- mongos-centos-70: details.  You may need configuration options.
I, [2015-07-15T22:21:20.385959 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:20.385972 #50932]  INFO -- mongos-centos-70: Provided configuration options:
I, [2015-07-15T22:21:20.385986 #50932]  INFO -- mongos-centos-70:   --with-opt-dir
I, [2015-07-15T22:21:20.385999 #50932]  INFO -- mongos-centos-70:   --with-opt-include
I, [2015-07-15T22:21:20.386013 #50932]  INFO -- mongos-centos-70:   --without-opt-include=${opt-dir}/include
I, [2015-07-15T22:21:20.386027 #50932]  INFO -- mongos-centos-70:   --with-opt-lib
I, [2015-07-15T22:21:20.386041 #50932]  INFO -- mongos-centos-70:   --without-opt-lib=${opt-dir}/lib
I, [2015-07-15T22:21:20.386055 #50932]  INFO -- mongos-centos-70:   --with-make-prog
I, [2015-07-15T22:21:20.386069 #50932]  INFO -- mongos-centos-70:   --without-make-prog
I, [2015-07-15T22:21:20.386082 #50932]  INFO -- mongos-centos-70:   --srcdir=.
I, [2015-07-15T22:21:20.386096 #50932]  INFO -- mongos-centos-70:   --curdir
I, [2015-07-15T22:21:20.386109 #50932]  INFO -- mongos-centos-70:   --ruby=/opt/chef/embedded/bin/ruby
I, [2015-07-15T22:21:20.386123 #50932]  INFO -- mongos-centos-70: /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
I, [2015-07-15T22:21:20.386137 #50932]  INFO -- mongos-centos-70: You have to install development tools first.
I, [2015-07-15T22:21:20.386151 #50932]  INFO -- mongos-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:461:in `try_link0'
I, [2015-07-15T22:21:20.386165 #50932]  INFO -- mongos-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:476:in `try_link'
I, [2015-07-15T22:21:20.386179 #50932]  INFO -- mongos-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:619:in `try_func'
I, [2015-07-15T22:21:20.386193 #50932]  INFO -- mongos-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:894:in `block in have_func'
I, [2015-07-15T22:21:20.386207 #50932]  INFO -- mongos-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:790:in `block in checking_for'
I, [2015-07-15T22:21:20.386222 #50932]  INFO -- mongos-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone'
I, [2015-07-15T22:21:20.386236 #50932]  INFO -- mongos-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
I, [2015-07-15T22:21:20.386259 #50932]  INFO -- mongos-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:284:in `block in postpone'
I, [2015-07-15T22:21:20.386272 #50932]  INFO -- mongos-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:254:in `open'
I, [2015-07-15T22:21:20.386285 #50932]  INFO -- mongos-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:280:in `postpone'
I, [2015-07-15T22:21:20.386298 #50932]  INFO -- mongos-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:789:in `checking_for'
I, [2015-07-15T22:21:20.386312 #50932]  INFO -- mongos-centos-70:   from /opt/chef/embedded/lib/ruby/1.9.1/mkmf.rb:893:in `have_func'
I, [2015-07-15T22:21:20.386330 #50932]  INFO -- mongos-centos-70:   from extconf.rb:3:in `<main>'
I, [2015-07-15T22:21:20.386346 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:20.386359 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:20.386372 #50932]  INFO -- mongos-centos-70: Gem files will remain installed in /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/bson_ext-1.12.3 for inspection.
I, [2015-07-15T22:21:20.386386 #50932]  INFO -- mongos-centos-70: Results logged to /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/bson_ext-1.12.3/ext/cbson/gem_make.out
I, [2015-07-15T22:21:20.386406 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:20.386421 #50932]  INFO -- mongos-centos-70: Cookbook Trace:
I, [2015-07-15T22:21:20.386434 #50932]  INFO -- mongos-centos-70: ---------------
I, [2015-07-15T22:21:20.386447 #50932]  INFO -- mongos-centos-70: /tmp/kitchen/cache/cookbooks/mongodb/recipes/mongos.rb:32:in `block (3 levels) in from_file'
I, [2015-07-15T22:21:20.386461 #50932]  INFO -- mongos-centos-70: /tmp/kitchen/cache/cookbooks/mongodb/recipes/mongos.rb:30:in `each'
I, [2015-07-15T22:21:20.386474 #50932]  INFO -- mongos-centos-70: /tmp/kitchen/cache/cookbooks/mongodb/recipes/mongos.rb:30:in `block (2 levels) in from_file'
I, [2015-07-15T22:21:20.386487 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:20.386500 #50932]  INFO -- mongos-centos-70: Resource Declaration:
I, [2015-07-15T22:21:20.386513 #50932]  INFO -- mongos-centos-70: ---------------------
I, [2015-07-15T22:21:20.386526 #50932]  INFO -- mongos-centos-70: # In /tmp/kitchen/cache/cookbooks/mongodb/recipes/mongos.rb
I, [2015-07-15T22:21:20.386538 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:20.386551 #50932]  INFO -- mongos-centos-70:  28: ruby_block 'chef_gem_at_converge_time' do
I, [2015-07-15T22:21:20.386564 #50932]  INFO -- mongos-centos-70:  29:   block do
I, [2015-07-15T22:21:20.386577 #50932]  INFO -- mongos-centos-70:  30:     node['mongodb']['ruby_gems'].each do |gem, version|
I, [2015-07-15T22:21:20.386590 #50932]  INFO -- mongos-centos-70:  31:       version = Gem::Dependency.new(gem, version)
I, [2015-07-15T22:21:20.386603 #50932]  INFO -- mongos-centos-70:  32:       Chef::Provider::Package::Rubygems::GemEnvironment.new.install(version)
I, [2015-07-15T22:21:20.386616 #50932]  INFO -- mongos-centos-70:  33:     end
I, [2015-07-15T22:21:20.386629 #50932]  INFO -- mongos-centos-70:  34:   end
I, [2015-07-15T22:21:20.386642 #50932]  INFO -- mongos-centos-70:  35: end
I, [2015-07-15T22:21:20.386655 #50932]  INFO -- mongos-centos-70:  36: 
I, [2015-07-15T22:21:20.386668 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:20.386680 #50932]  INFO -- mongos-centos-70: Compiled Resource:
I, [2015-07-15T22:21:20.386693 #50932]  INFO -- mongos-centos-70: ------------------
I, [2015-07-15T22:21:20.386706 #50932]  INFO -- mongos-centos-70: # Declared in /tmp/kitchen/cache/cookbooks/mongodb/recipes/mongos.rb:28:in `from_file'
I, [2015-07-15T22:21:20.386719 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:20.386733 #50932]  INFO -- mongos-centos-70: ruby_block("chef_gem_at_converge_time") do
I, [2015-07-15T22:21:20.386745 #50932]  INFO -- mongos-centos-70:   action "run"
I, [2015-07-15T22:21:20.386758 #50932]  INFO -- mongos-centos-70:   retries 0
I, [2015-07-15T22:21:20.386771 #50932]  INFO -- mongos-centos-70:   retry_delay 2
I, [2015-07-15T22:21:20.386783 #50932]  INFO -- mongos-centos-70:   guard_interpreter :default
I, [2015-07-15T22:21:20.386795 #50932]  INFO -- mongos-centos-70:   block_name "chef_gem_at_converge_time"
I, [2015-07-15T22:21:20.386808 #50932]  INFO -- mongos-centos-70:   cookbook_name "mongodb"
I, [2015-07-15T22:21:20.386820 #50932]  INFO -- mongos-centos-70:   recipe_name "mongos"
I, [2015-07-15T22:21:20.386833 #50932]  INFO -- mongos-centos-70:   block #<Proc:0x00000002d5bbf8@/tmp/kitchen/cache/cookbooks/mongodb/recipes/mongos.rb:29>
I, [2015-07-15T22:21:20.386846 #50932]  INFO -- mongos-centos-70: end
I, [2015-07-15T22:21:20.386858 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:20.527472 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:20.537936 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:20.537991 #50932]  INFO -- mongos-centos-70: ================================================================================
I, [2015-07-15T22:21:20.538009 #50932]  INFO -- mongos-centos-70: Error executing action `restart` on resource 'service[mongos]'
I, [2015-07-15T22:21:20.538024 #50932]  INFO -- mongos-centos-70: ================================================================================
I, [2015-07-15T22:21:20.538057 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:20.538073 #50932]  INFO -- mongos-centos-70: Chef::Exceptions::Service
I, [2015-07-15T22:21:20.538087 #50932]  INFO -- mongos-centos-70: -------------------------
I, [2015-07-15T22:21:20.538100 #50932]  INFO -- mongos-centos-70: service[mongos]: unable to locate the init.d script!
I, [2015-07-15T22:21:20.538113 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:20.538125 #50932]  INFO -- mongos-centos-70: Resource Declaration:
I, [2015-07-15T22:21:20.538138 #50932]  INFO -- mongos-centos-70: ---------------------
I, [2015-07-15T22:21:20.538151 #50932]  INFO -- mongos-centos-70: # In /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb
I, [2015-07-15T22:21:20.538165 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:20.538178 #50932]  INFO -- mongos-centos-70: 202:   service new_resource.name do
I, [2015-07-15T22:21:20.538191 #50932]  INFO -- mongos-centos-70: 203:     provider Chef::Provider::Service::Upstart if node['mongodb']['apt_repo'] == 'ubuntu-upstart'
I, [2015-07-15T22:21:20.538215 #50932]  INFO -- mongos-centos-70: 204:     supports :status => true, :restart => true
I, [2015-07-15T22:21:20.538228 #50932]  INFO -- mongos-centos-70: 205:     action new_resource.service_action
I, [2015-07-15T22:21:20.538241 #50932]  INFO -- mongos-centos-70: 206:     new_resource.service_notifies.each do |service_notify|
I, [2015-07-15T22:21:20.538256 #50932]  INFO -- mongos-centos-70: 207:       notifies :run, service_notify
I, [2015-07-15T22:21:20.538269 #50932]  INFO -- mongos-centos-70: 208:     end
I, [2015-07-15T22:21:20.538283 #50932]  INFO -- mongos-centos-70: 209:     notifies :create, 'ruby_block[config_replicaset]', :immediately if new_resource.is_replicaset && new_resource.auto_configure_replicaset
I, [2015-07-15T22:21:20.538306 #50932]  INFO -- mongos-centos-70: 210:     notifies :create, 'ruby_block[config_sharding]', :immediately if new_resource.is_mongos && new_resource.auto_configure_sharding
I, [2015-07-15T22:21:20.538320 #50932]  INFO -- mongos-centos-70: 211:       # we don't care about a running mongodb service in these cases, all we need is stopping it
I, [2015-07-15T22:21:20.538333 #50932]  INFO -- mongos-centos-70: 212:     ignore_failure true if new_resource.name == 'mongodb'
I, [2015-07-15T22:21:20.538345 #50932]  INFO -- mongos-centos-70: 213:   end
I, [2015-07-15T22:21:20.538358 #50932]  INFO -- mongos-centos-70: 214: 
I, [2015-07-15T22:21:20.538370 #50932]  INFO -- mongos-centos-70: 215:   # replicaset
I, [2015-07-15T22:21:20.538383 #50932]  INFO -- mongos-centos-70: 216:   if new_resource.is_replicaset && new_resource.auto_configure_replicaset
I, [2015-07-15T22:21:20.538396 #50932]  INFO -- mongos-centos-70: 217:     rs_nodes = search(
I, [2015-07-15T22:21:20.538409 #50932]  INFO -- mongos-centos-70: 218:       :node,
I, [2015-07-15T22:21:20.538421 #50932]  INFO -- mongos-centos-70: 219:       "mongodb_cluster_name:#{new_resource.replicaset['mongodb']['cluster_name']} AND \
I, [2015-07-15T22:21:20.538434 #50932]  INFO -- mongos-centos-70: 220:        mongodb_is_replicaset:true AND \
I, [2015-07-15T22:21:20.538448 #50932]  INFO -- mongos-centos-70: 221:        mongodb_config_replSet:#{new_resource.replicaset['mongodb']['config']['replSet']} AND \
I, [2015-07-15T22:21:20.538460 #50932]  INFO -- mongos-centos-70: 222:        chef_environment:#{new_resource.replicaset.chef_environment}"
I, [2015-07-15T22:21:20.538473 #50932]  INFO -- mongos-centos-70: 223:     )
I, [2015-07-15T22:21:20.538486 #50932]  INFO -- mongos-centos-70: 224: 
I, [2015-07-15T22:21:20.538499 #50932]  INFO -- mongos-centos-70: 225:     ruby_block 'config_replicaset' do
I, [2015-07-15T22:21:20.538512 #50932]  INFO -- mongos-centos-70: 226:       block do
I, [2015-07-15T22:21:20.538524 #50932]  INFO -- mongos-centos-70: 227:         MongoDB.configure_replicaset(new_resource.replicaset, replicaset_name, rs_nodes) unless new_resource.replicaset.nil?
I, [2015-07-15T22:21:20.538555 #50932]  INFO -- mongos-centos-70: 228:       end
I, [2015-07-15T22:21:20.538571 #50932]  INFO -- mongos-centos-70: 229:       action :nothing
I, [2015-07-15T22:21:20.538602 #50932]  INFO -- mongos-centos-70: 230:     end
I, [2015-07-15T22:21:20.538628 #50932]  INFO -- mongos-centos-70: 231: 
I, [2015-07-15T22:21:20.538648 #50932]  INFO -- mongos-centos-70: 232:     ruby_block 'run_config_replicaset' do
I, [2015-07-15T22:21:20.538662 #50932]  INFO -- mongos-centos-70: 233:       block {}
I, [2015-07-15T22:21:20.538675 #50932]  INFO -- mongos-centos-70: 234:       notifies :create, 'ruby_block[config_replicaset]'
I, [2015-07-15T22:21:20.538689 #50932]  INFO -- mongos-centos-70: 235:     end
I, [2015-07-15T22:21:20.538712 #50932]  INFO -- mongos-centos-70: 236:   end
I, [2015-07-15T22:21:20.538724 #50932]  INFO -- mongos-centos-70: 237: 
I, [2015-07-15T22:21:20.538737 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:20.538750 #50932]  INFO -- mongos-centos-70: Compiled Resource:
I, [2015-07-15T22:21:20.538762 #50932]  INFO -- mongos-centos-70: ------------------
I, [2015-07-15T22:21:20.538774 #50932]  INFO -- mongos-centos-70: # Declared in /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:202:in `block in from_file'
I, [2015-07-15T22:21:20.538786 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:20.538799 #50932]  INFO -- mongos-centos-70: service("mongos") do
I, [2015-07-15T22:21:20.538811 #50932]  INFO -- mongos-centos-70:   params {:mongodb_type=>"mongos", :action=>[:enable, :start], :logpath=>"/var/log/mongodb/mongodb.log", :dbpath=>"/var/lib/mongodb", :configservers=>[node[mongodb-configserver-001]], :replicaset=>nil, :notifies=>[], :port=>27017, :enable_rest=>false, :smallfiles=>false, :name=>"mongos"}
I, [2015-07-15T22:21:20.538824 #50932]  INFO -- mongos-centos-70:   action [:enable, :start]
I, [2015-07-15T22:21:20.538836 #50932]  INFO -- mongos-centos-70:   supports {:status=>true, :restart=>true}
I, [2015-07-15T22:21:20.538849 #50932]  INFO -- mongos-centos-70:   retries 0
I, [2015-07-15T22:21:20.538860 #50932]  INFO -- mongos-centos-70:   retry_delay 2
I, [2015-07-15T22:21:20.538873 #50932]  INFO -- mongos-centos-70:   guard_interpreter :default
I, [2015-07-15T22:21:20.538885 #50932]  INFO -- mongos-centos-70:   service_name "mongos"
I, [2015-07-15T22:21:20.538897 #50932]  INFO -- mongos-centos-70:   pattern "mongos"
I, [2015-07-15T22:21:20.538909 #50932]  INFO -- mongos-centos-70:   cookbook_name "mongodb"
I, [2015-07-15T22:21:20.538921 #50932]  INFO -- mongos-centos-70:   recipe_name "mongos"
I, [2015-07-15T22:21:20.538933 #50932]  INFO -- mongos-centos-70: end
I, [2015-07-15T22:21:20.538945 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:20.538957 #50932]  INFO -- mongos-centos-70: 
I, [2015-07-15T22:21:20.538969 #50932]  INFO -- mongos-centos-70: Running handlers:
I, [2015-07-15T22:21:20.538981 #50932]  INFO -- mongos-centos-70: [2015-07-16T02:21:18+00:00] ERROR: Running exception handlers
I, [2015-07-15T22:21:20.538994 #50932]  INFO -- mongos-centos-70: Running handlers complete
I, [2015-07-15T22:21:20.539007 #50932]  INFO -- mongos-centos-70: [2015-07-16T02:21:18+00:00] ERROR: Exception handlers complete
I, [2015-07-15T22:21:20.539020 #50932]  INFO -- mongos-centos-70: [2015-07-16T02:21:18+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
I, [2015-07-15T22:21:20.539033 #50932]  INFO -- mongos-centos-70: Chef Client failed. 17 resources updated in 315.837545348 seconds
I, [2015-07-15T22:21:20.635065 #50932]  INFO -- mongos-centos-70: [2015-07-16T02:21:19+00:00] ERROR: Chef::Exceptions::MultipleFailures
I, [2015-07-15T22:21:20.712180 #50932]  INFO -- mongos-centos-70: [2015-07-16T02:21:19+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
E, [2015-07-15T22:21:20.789121 #50932] ERROR -- mongos-centos-70: Converge failed on instance <mongos-centos-70>.
E, [2015-07-15T22:21:20.789240 #50932] ERROR -- mongos-centos-70: ------Exception-------
E, [2015-07-15T22:21:20.789270 #50932] ERROR -- mongos-centos-70: Class: Kitchen::ActionFailed
E, [2015-07-15T22:21:20.789285 #50932] ERROR -- mongos-centos-70: Message: SSH exited (1) for command: [sh -c '

sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']
E, [2015-07-15T22:21:20.789298 #50932] ERROR -- mongos-centos-70: ---Nested Exception---
E, [2015-07-15T22:21:20.789309 #50932] ERROR -- mongos-centos-70: Class: Kitchen::Transport::SshFailed
E, [2015-07-15T22:21:20.789321 #50932] ERROR -- mongos-centos-70: Message: SSH exited (1) for command: [sh -c '

sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']
E, [2015-07-15T22:21:20.789332 #50932] ERROR -- mongos-centos-70: ------Backtrace-------
E, [2015-07-15T22:21:20.789343 #50932] ERROR -- mongos-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/provisioner/base.rb:74:in `rescue in call'
E, [2015-07-15T22:21:20.789354 #50932] ERROR -- mongos-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/provisioner/base.rb:77:in `call'
E, [2015-07-15T22:21:20.789366 #50932] ERROR -- mongos-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:366:in `block in converge_action'
E, [2015-07-15T22:21:20.789376 #50932] ERROR -- mongos-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:488:in `call'
E, [2015-07-15T22:21:20.789387 #50932] ERROR -- mongos-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:488:in `synchronize_or_call'
E, [2015-07-15T22:21:20.789398 #50932] ERROR -- mongos-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:453:in `block in action'
E, [2015-07-15T22:21:20.789410 #50932] ERROR -- mongos-centos-70: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T22:21:20.789421 #50932] ERROR -- mongos-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:452:in `action'
E, [2015-07-15T22:21:20.789432 #50932] ERROR -- mongos-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:362:in `converge_action'
E, [2015-07-15T22:21:20.789443 #50932] ERROR -- mongos-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:341:in `block in transition_to'
E, [2015-07-15T22:21:20.789455 #50932] ERROR -- mongos-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `each'
E, [2015-07-15T22:21:20.789465 #50932] ERROR -- mongos-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `transition_to'
E, [2015-07-15T22:21:20.789476 #50932] ERROR -- mongos-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:160:in `verify'
E, [2015-07-15T22:21:20.789488 #50932] ERROR -- mongos-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:189:in `block in test'
E, [2015-07-15T22:21:20.789499 #50932] ERROR -- mongos-centos-70: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T22:21:20.789510 #50932] ERROR -- mongos-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:185:in `test'
E, [2015-07-15T22:21:20.789521 #50932] ERROR -- mongos-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `public_send'
E, [2015-07-15T22:21:20.789532 #50932] ERROR -- mongos-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `block (2 levels) in run_action'
E, [2015-07-15T22:21:20.789543 #50932] ERROR -- mongos-centos-70: ----------------------

User management KO : "Could not locate Gemfile"

Hi there,

Running the "master" branch of this cookbook with "replicatsets" recipe and user_management leads to the following error:

[2015-10-04T14:27:01+00:00] INFO: Processing package[mongodb-org] action install (mongodb::install line 78)
[2015-10-04T14:27:05+00:00] INFO: package[mongodb-org] installing mongodb-org-2.6.11-1 from mongodb repository
[2015-10-04T14:27:49+00:00] INFO: Processing ruby_block[chef_gem_at_converge_time] action run (mongodb::replicaset line 25)
 
================================================================================
Error executing action `run` on resource 'ruby_block[chef_gem_at_converge_time]'
================================================================================
 
 
Bundler::GemfileNotFound
------------------------
Could not locate Gemfile
 
 
Cookbook Trace:
---------------
/var/lib/aws/opsworks/cache.stage2/cookbooks/mongodb/recipes/replicaset.rb:29:in `block (3 levels) in from_file'
/var/lib/aws/opsworks/cache.stage2/cookbooks/mongodb/recipes/replicaset.rb:27:in `each'
/var/lib/aws/opsworks/cache.stage2/cookbooks/mongodb/recipes/replicaset.rb:27:in `block (2 levels) in from_file'
 
 
Resource Declaration:
---------------------
# In /var/lib/aws/opsworks/cache.stage2/cookbooks/mongodb/recipes/replicaset.rb
 
25: ruby_block 'chef_gem_at_converge_time' do
26:   block do
27:     node['mongodb']['ruby_gems'].each do |gem, version|
28:       version = Gem::Dependency.new(gem, version)
29:       Chef::Provider::Package::Rubygems::GemEnvironment.new.install(version)
30:     end
31:   end
32: end
33: 
 
 
 
Compiled Resource:
------------------
# Declared in /var/lib/aws/opsworks/cache.stage2/cookbooks/mongodb/recipes/replicaset.rb:25:in `from_file'
 
ruby_block("chef_gem_at_converge_time") do
action "run"
retries 0
retry_delay 2
block_name "chef_gem_at_converge_time"
cookbook_name "mongodb"
recipe_name "replicaset"
block #
end<

The users are not created.
I don't know if it has something to do with replicatsets. I guess no.

My wrapper wookbook:

include_recipe "mongodb::10gen_repo"
include_recipe "mongodb::replicaset"
include_recipe "mongodb::user_management"

My attributes:

include_attribute 'appconfig::config'

default['mongodb']['config']['dbpath'] = '/data'
default['mongodb']['config']['rest'] =false
default['mongodb']['config']['smallfiles'] =true
default['mongodb']['admin']['password'] = 'theadminpassword'
default['mongodb']['users'] = [
        {
                'username' => 'testu',
                'password' => 'testu',
                'roles' => %w(readWrite),
                'database' => default['appconfig']['mongodb']['database']
        }
]

default['mongodb']['cluster_name'] = 'int-mgo-cluster'
default['mongodb']['config']['replSet'] = 'int-mgo-replset'

I also notice this warning at the end of the log file:

[2015-10-04T14:28:03+00:00] INFO: Processing ruby_block[config_replicaset] action create (mongodb::replicaset line 225)
** Notice: The native BSON extension was not loaded. **
 
For optimal performance, use of the BSON extension is recommended.
 
To enable the extension make sure ENV['BSON_EXT_DISABLED'] is not set
and run the following command:
 
gem install bson_ext
 
If you continue to receive this message after installing, make sure that
the bson_ext gem is in your load path.
[2015-10-04T14:28:04+00:00] WARN: Cannot configure replicaset 'int-mgo-replset', no member nodes found
[2015-10-04T14:28:04+00:00] INFO: ruby_block[config_replicaset] called

May be I miss something cause i'm a newby in Chef config.

Jm

Failing Test: user-management-ubuntu-1204

==> default: Setting hostname...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

hostnamectl set-hostname 'user-management-ubuntu-1204'

Stdout from the command:



Stderr from the command:

stdin: is not a tty
bash: line 2: hostnamectl: command not found
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1]/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/shell_out.rb:73:in `rescue in run_command'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/shell_out.rb:61:in `run_command'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:318:in `run_command'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:302:in `run'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:348:in `run_vagrant_up'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:88:in `create'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:424:in `public_send'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:424:in `block in perform_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:485:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:485:in `block in synchronize_or_call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:483:in `synchronize'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:483:in `synchronize_or_call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:453:in `block in action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:452:in `action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:424:in `perform_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:352:in `create_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:341:in `block in transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `each'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:160:in `verify'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:189:in `block in test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:185:in `test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/rake_tasks.rb:54:in `block (3 levels) in define'
Kitchen::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'opscode-ubuntu-12.04' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'opscode-ubuntu-12.04' (v0) for provider: virtualbox
    default: Downloading: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box
==> default: Successfully added box 'opscode-ubuntu-12.04' (v0) for 'virtualbox'!
==> default: Importing base box 'opscode-ubuntu-12.04'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: kitchen-mongodb-cookbook-user-management-ubuntu-1204_default_1436890489760_94984
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 4.3.8
    default: VirtualBox Version: 5.0
==> default: Setting hostname...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

hostnamectl set-hostname 'user-management-ubuntu-1204'

Stdout from the command:



Stderr from the command:

stdin: is not a tty
bash: line 2: hostnamectl: command not found
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/shell_out.rb:73:in `rescue in run_command'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/shell_out.rb:61:in `run_command'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:318:in `run_command'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:302:in `run'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:348:in `run_vagrant_up'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:88:in `create'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:424:in `public_send'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:424:in `block in perform_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:485:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:485:in `block in synchronize_or_call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:483:in `synchronize'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:483:in `synchronize_or_call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:453:in `block in action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:452:in `action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:424:in `perform_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:352:in `create_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:341:in `block in transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `each'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:160:in `verify'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:189:in `block in test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:185:in `test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/rake_tasks.rb:54:in `block (3 levels) in define'
Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'opscode-ubuntu-12.04' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'opscode-ubuntu-12.04' (v0) for provider: virtualbox
    default: Downloading: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box
==> default: Successfully added box 'opscode-ubuntu-12.04' (v0) for 'virtualbox'!
==> default: Importing base box 'opscode-ubuntu-12.04'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: kitchen-mongodb-cookbook-user-management-ubuntu-1204_default_1436890489760_94984
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 4.3.8
    default: VirtualBox Version: 5.0
==> default: Setting hostname...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

hostnamectl set-hostname 'user-management-ubuntu-1204'

Stdout from the command:



Stderr from the command:

stdin: is not a tty
bash: line 2: hostnamectl: command not found
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/mixlib-shellout-2.1.0/lib/mixlib/shellout.rb:289:in `invalid!'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/mixlib-shellout-2.1.0/lib/mixlib/shellout.rb:276:in `error!'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/shell_out.rb:70:in `run_command'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:318:in `run_command'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:302:in `run'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:348:in `run_vagrant_up'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:88:in `create'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:424:in `public_send'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:424:in `block in perform_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:485:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:485:in `block in synchronize_or_call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:483:in `synchronize'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:483:in `synchronize_or_call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:453:in `block in action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:452:in `action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:424:in `perform_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:352:in `create_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:341:in `block in transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `each'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:160:in `verify'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:189:in `block in test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:185:in `test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/rake_tasks.rb:54:in `block (3 levels) in define'
Tasks: TOP => kitchen:user-management-ubuntu-1204
(See full trace by running task with --trace)

Failing Test: mms-backup-agent-ubuntu-1204

👽  rake kitchen:mms-backup-agent-ubuntu-1204
-----> Cleaning up any prior instances of <mms-backup-agent-ubuntu-1204>
-----> Destroying <mms-backup-agent-ubuntu-1204>...
       Finished destroying <mms-backup-agent-ubuntu-1204> (0m0.00s).
-----> Testing <mms-backup-agent-ubuntu-1204>
-----> Creating <mms-backup-agent-ubuntu-1204>...
       Bringing machine 'default' up with 'virtualbox' provider...
       ==> default: Importing base box 'opscode-ubuntu-12.04'...
==> default: Matching MAC address for NAT networking...
       ==> default: Setting the name of the VM: kitchen-mongodb-cookbook-mms-backup-agent-ubuntu-1204_default_1437060754690_98809
       ==> default: Fixed port collision for 22 => 2222. Now on port 2200.
       ==> default: Clearing any previously set network interfaces...
       ==> default: Preparing network interfaces based on configuration...
           default: Adapter 1: nat
       ==> default: Forwarding ports...
           default: 22 => 2200 (adapter 1)
       ==> default: Running 'pre-boot' VM customizations...
       ==> default: Booting VM...
       ==> default: Waiting for machine to boot. This may take a few minutes...
           default: SSH address: 127.0.0.1:2200
           default: SSH username: vagrant
           default: SSH auth method: private key
           default: Warning: Connection timeout. Retrying...
           default:
           default: Vagrant insecure key detected. Vagrant will automatically replace
           default: this with a newly generated keypair for better security.
           default:
           default: Inserting generated public key within guest...
           default: Removing insecure key from the guest if it's present...
           default: Key inserted! Disconnecting and reconnecting using new SSH key...
       ==> default: Machine booted and ready!
       ==> default: Checking for guest additions in VM...
           default: The guest additions on this VM do not match the installed version of
           default: VirtualBox! In most cases this is fine, but in rare cases it can
           default: prevent things such as shared folders from working properly. If you see
           default: shared folder errors, please make sure the guest additions within the
           default: virtual machine match the version of VirtualBox you have installed on
           default: your host and reload your VM.
           default:
           default: Guest Additions Version: 4.3.8
           default: VirtualBox Version: 5.0
       ==> default: Setting hostname...
       The following SSH command responded with a non-zero exit status.
       Vagrant assumes that this means the command failed!

       hostnamectl set-hostname 'mms-backup-agent-ubuntu-1204'

       Stdout from the command:



       Stderr from the command:

       stdin: is not a tty
       bash: line 2: hostnamectl: command not found
-----> Destroying <mms-backup-agent-ubuntu-1204>...
       Finished destroying <mms-backup-agent-ubuntu-1204> (0m0.00s).
rake aborted!
Kitchen::ActionFailed: Failed to complete #create action: [Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-ubuntu-12.04'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: kitchen-mongodb-cookbook-mms-backup-agent-ubuntu-1204_default_1437060754690_98809
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2200 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2200
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 4.3.8
    default: VirtualBox Version: 5.0
==> default: Setting hostname...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

hostnamectl set-hostname 'mms-backup-agent-ubuntu-1204'

Stdout from the command:



Stderr from the command:

stdin: is not a tty
bash: line 2: hostnamectl: command not found
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1]/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/shell_out.rb:73:in `rescue in run_command'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/shell_out.rb:61:in `run_command'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:318:in `run_command'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:302:in `run'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:348:in `run_vagrant_up'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:88:in `create'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:424:in `public_send'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:424:in `block in perform_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:485:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:485:in `block in synchronize_or_call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:483:in `synchronize'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:483:in `synchronize_or_call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:453:in `block in action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:452:in `action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:424:in `perform_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:352:in `create_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:341:in `block in transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `each'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:160:in `verify'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:189:in `block in test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:185:in `test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/rake_tasks.rb:54:in `block (3 levels) in define'
Kitchen::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-ubuntu-12.04'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: kitchen-mongodb-cookbook-mms-backup-agent-ubuntu-1204_default_1437060754690_98809
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2200 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2200
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 4.3.8
    default: VirtualBox Version: 5.0
==> default: Setting hostname...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

hostnamectl set-hostname 'mms-backup-agent-ubuntu-1204'

Stdout from the command:



Stderr from the command:

stdin: is not a tty
bash: line 2: hostnamectl: command not found
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/shell_out.rb:73:in `rescue in run_command'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/shell_out.rb:61:in `run_command'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:318:in `run_command'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:302:in `run'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:348:in `run_vagrant_up'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:88:in `create'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:424:in `public_send'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:424:in `block in perform_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:485:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:485:in `block in synchronize_or_call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:483:in `synchronize'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:483:in `synchronize_or_call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:453:in `block in action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:452:in `action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:424:in `perform_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:352:in `create_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:341:in `block in transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `each'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:160:in `verify'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:189:in `block in test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:185:in `test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/rake_tasks.rb:54:in `block (3 levels) in define'
Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-ubuntu-12.04'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: kitchen-mongodb-cookbook-mms-backup-agent-ubuntu-1204_default_1437060754690_98809
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2200 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2200
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 4.3.8
    default: VirtualBox Version: 5.0
==> default: Setting hostname...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

hostnamectl set-hostname 'mms-backup-agent-ubuntu-1204'

Stdout from the command:



Stderr from the command:

stdin: is not a tty
bash: line 2: hostnamectl: command not found
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/mixlib-shellout-2.1.0/lib/mixlib/shellout.rb:289:in `invalid!'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/mixlib-shellout-2.1.0/lib/mixlib/shellout.rb:276:in `error!'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/shell_out.rb:70:in `run_command'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:318:in `run_command'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:302:in `run'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:348:in `run_vagrant_up'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:88:in `create'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:424:in `public_send'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:424:in `block in perform_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:485:in `call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:485:in `block in synchronize_or_call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:483:in `synchronize'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:483:in `synchronize_or_call'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:453:in `block in action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:452:in `action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:424:in `perform_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:352:in `create_action'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:341:in `block in transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `each'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:340:in `transition_to'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:160:in `verify'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:189:in `block in test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/instance.rb:185:in `test'
/Users/piercemoore/.rvm/gems/ruby-2.1.5/gems/test-kitchen-1.4.1/lib/kitchen/rake_tasks.rb:54:in `block (3 levels) in define'
Tasks: TOP => kitchen:mms-backup-agent-ubuntu-1204
(See full trace by running task with --trace)

Failing Test: replicaset-ubuntu-1204

I, [2015-07-19T15:02:41.980591 #17914]  INFO -- replicaset-ubuntu-1204: -----> Cleaning up any prior instances of <replicaset-ubuntu-1204>
I, [2015-07-19T15:02:41.980729 #17914]  INFO -- replicaset-ubuntu-1204: -----> Destroying <replicaset-ubuntu-1204>...
I, [2015-07-19T15:02:41.983651 #17914]  INFO -- replicaset-ubuntu-1204: Finished destroying <replicaset-ubuntu-1204> (0m0.00s).
I, [2015-07-19T15:02:41.983917 #17914]  INFO -- replicaset-ubuntu-1204: -----> Testing <replicaset-ubuntu-1204>
I, [2015-07-19T15:02:41.983998 #17914]  INFO -- replicaset-ubuntu-1204: -----> Creating <replicaset-ubuntu-1204>...
I, [2015-07-19T15:02:43.594870 #17914]  INFO -- replicaset-ubuntu-1204: Bringing machine 'default' up with 'virtualbox' provider...
I, [2015-07-19T15:02:43.805740 #17914]  INFO -- replicaset-ubuntu-1204: ==> default: Importing base box 'opscode-ubuntu-12.04'...
I, [2015-07-19T15:02:53.111890 #17914]  INFO -- replicaset-ubuntu-1204: 
�[KProgress: 10%
�[KProgress: 20%
�[KProgress: 40%
�[KProgress: 50%
�[KProgress: 70%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
I, [2015-07-19T15:02:54.092399 #17914]  INFO -- replicaset-ubuntu-1204: ==> default: Setting the name of the VM: kitchen-mongodb-cookbook-replicaset-ubuntu-1204_default_1437332574048_3873
I, [2015-07-19T15:02:54.950694 #17914]  INFO -- replicaset-ubuntu-1204: ==> default: Fixed port collision for 22 => 2222. Now on port 2200.
I, [2015-07-19T15:02:54.998342 #17914]  INFO -- replicaset-ubuntu-1204: ==> default: Clearing any previously set network interfaces...
I, [2015-07-19T15:02:55.045219 #17914]  INFO -- replicaset-ubuntu-1204: ==> default: Preparing network interfaces based on configuration...
I, [2015-07-19T15:02:55.045625 #17914]  INFO -- replicaset-ubuntu-1204:     default: Adapter 1: nat
I, [2015-07-19T15:02:55.090389 #17914]  INFO -- replicaset-ubuntu-1204: ==> default: Forwarding ports...
I, [2015-07-19T15:02:55.152088 #17914]  INFO -- replicaset-ubuntu-1204:     default: 22 => 2200 (adapter 1)
I, [2015-07-19T15:02:55.287701 #17914]  INFO -- replicaset-ubuntu-1204: ==> default: Running 'pre-boot' VM customizations...
I, [2015-07-19T15:02:55.332397 #17914]  INFO -- replicaset-ubuntu-1204: ==> default: Booting VM...
I, [2015-07-19T15:02:55.648693 #17914]  INFO -- replicaset-ubuntu-1204: ==> default: Waiting for machine to boot. This may take a few minutes...
I, [2015-07-19T15:02:55.927750 #17914]  INFO -- replicaset-ubuntu-1204:     default: SSH address: 127.0.0.1:2200
I, [2015-07-19T15:02:55.927874 #17914]  INFO -- replicaset-ubuntu-1204:     default: SSH username: vagrant
I, [2015-07-19T15:02:55.927971 #17914]  INFO -- replicaset-ubuntu-1204:     default: SSH auth method: private key
I, [2015-07-19T15:03:11.070740 #17914]  INFO -- replicaset-ubuntu-1204:     default: Warning: Connection timeout. Retrying...
I, [2015-07-19T15:03:11.452081 #17914]  INFO -- replicaset-ubuntu-1204:     default: 
I, [2015-07-19T15:03:11.452146 #17914]  INFO -- replicaset-ubuntu-1204:     default: Vagrant insecure key detected. Vagrant will automatically replace
I, [2015-07-19T15:03:11.452197 #17914]  INFO -- replicaset-ubuntu-1204:     default: this with a newly generated keypair for better security.
I, [2015-07-19T15:03:11.789942 #17914]  INFO -- replicaset-ubuntu-1204:     default: 
I, [2015-07-19T15:03:11.789999 #17914]  INFO -- replicaset-ubuntu-1204:     default: Inserting generated public key within guest...
I, [2015-07-19T15:03:11.843988 #17914]  INFO -- replicaset-ubuntu-1204:     default: Removing insecure key from the guest if it's present...
I, [2015-07-19T15:03:11.879554 #17914]  INFO -- replicaset-ubuntu-1204:     default: Key inserted! Disconnecting and reconnecting using new SSH key...
I, [2015-07-19T15:03:12.712992 #17914]  INFO -- replicaset-ubuntu-1204: ==> default: Machine booted and ready!
I, [2015-07-19T15:03:12.713635 #17914]  INFO -- replicaset-ubuntu-1204: ==> default: Checking for guest additions in VM...
I, [2015-07-19T15:03:12.758022 #17914]  INFO -- replicaset-ubuntu-1204: ==> default: Setting hostname...
I, [2015-07-19T15:03:15.348021 #17914]  INFO -- replicaset-ubuntu-1204: ==> default: Machine not provisioned because `--no-provision` is specified.
I, [2015-07-19T15:03:17.408545 #17914]  INFO -- replicaset-ubuntu-1204: [SSH] Established
I, [2015-07-19T15:03:17.408816 #17914]  INFO -- replicaset-ubuntu-1204: Vagrant instance <replicaset-ubuntu-1204> created.
I, [2015-07-19T15:03:17.410484 #17914]  INFO -- replicaset-ubuntu-1204: Finished creating <replicaset-ubuntu-1204> (0m35.42s).
I, [2015-07-19T15:03:17.410931 #17914]  INFO -- replicaset-ubuntu-1204: -----> Converging <replicaset-ubuntu-1204>...
I, [2015-07-19T15:03:17.412424 #17914]  INFO -- replicaset-ubuntu-1204: Preparing files for transfer
I, [2015-07-19T15:03:17.412540 #17914]  INFO -- replicaset-ubuntu-1204: Preparing dna.json
I, [2015-07-19T15:03:17.413414 #17914]  INFO -- replicaset-ubuntu-1204: Resolving cookbook dependencies with Berkshelf 3.3.0...
I, [2015-07-19T15:03:18.172568 #17914]  INFO -- replicaset-ubuntu-1204: Removing non-cookbook files before transfer
I, [2015-07-19T15:03:18.190704 #17914]  INFO -- replicaset-ubuntu-1204: Preparing nodes
I, [2015-07-19T15:03:18.191535 #17914]  INFO -- replicaset-ubuntu-1204: Preparing validation.pem
I, [2015-07-19T15:03:18.192621 #17914]  INFO -- replicaset-ubuntu-1204: Preparing client.rb
I, [2015-07-19T15:03:18.201317 #17914]  INFO -- replicaset-ubuntu-1204: -----> Installing Chef Omnibus (11.12.8)
I, [2015-07-19T15:03:18.201913 #17914]  INFO -- replicaset-ubuntu-1204: Downloading https://www.chef.io/chef/install.sh to file /tmp/install.sh
I, [2015-07-19T15:03:18.202697 #17914]  INFO -- replicaset-ubuntu-1204: 
I, [2015-07-19T15:03:18.451078 #17914]  INFO -- replicaset-ubuntu-1204: Download complete.
I, [2015-07-19T15:03:18.463030 #17914]  INFO -- replicaset-ubuntu-1204: Downloading Chef 11.12.8 for ubuntu...
I, [2015-07-19T15:03:18.463234 #17914]  INFO -- replicaset-ubuntu-1204: downloading https://www.chef.io/chef/metadata?v=11.12.8&prerelease=false&nightlies=false&p=ubuntu&pv=12.04&m=x86_64
I, [2015-07-19T15:03:18.463549 #17914]  INFO -- replicaset-ubuntu-1204:   to file /tmp/install.sh.1243/metadata.txt
I, [2015-07-19T15:03:18.464231 #17914]  INFO -- replicaset-ubuntu-1204: trying wget...
I, [2015-07-19T15:03:18.795025 #17914]  INFO -- replicaset-ubuntu-1204: url https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef_11.12.8-2_amd64.deb
I, [2015-07-19T15:03:18.795441 #17914]  INFO -- replicaset-ubuntu-1204: md5 34ae5622fda468e31dd898491b4be867
I, [2015-07-19T15:03:18.796095 #17914]  INFO -- replicaset-ubuntu-1204: sha256  3da7460e9f03fc5d68baeeb1f50a768f880c4154626aaf78f22dac8a89e64e74
I, [2015-07-19T15:03:18.798534 #17914]  INFO -- replicaset-ubuntu-1204: downloaded metadata file looks valid...
I, [2015-07-19T15:03:18.803845 #17914]  INFO -- replicaset-ubuntu-1204: downloading https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef_11.12.8-2_amd64.deb
I, [2015-07-19T15:03:18.804028 #17914]  INFO -- replicaset-ubuntu-1204:   to file /tmp/install.sh.1243/chef_11.12.8-2_amd64.deb
I, [2015-07-19T15:03:18.804214 #17914]  INFO -- replicaset-ubuntu-1204: trying wget...
I, [2015-07-19T15:03:55.088633 #17914]  INFO -- replicaset-ubuntu-1204: Comparing checksum with sha256sum...
I, [2015-07-19T15:03:55.254014 #17914]  INFO -- replicaset-ubuntu-1204: Installing Chef 11.12.8
I, [2015-07-19T15:03:55.254253 #17914]  INFO -- replicaset-ubuntu-1204: installing with dpkg...
I, [2015-07-19T15:03:55.327167 #17914]  INFO -- replicaset-ubuntu-1204: Selecting previously unselected package chef.
I, [2015-07-19T15:03:55.481643 #17914]  INFO -- replicaset-ubuntu-1204: (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 56035 files and directories currently installed.)
I, [2015-07-19T15:03:55.484404 #17914]  INFO -- replicaset-ubuntu-1204: Unpacking chef (from .../chef_11.12.8-2_amd64.deb) ...
I, [2015-07-19T15:03:58.993327 #17914]  INFO -- replicaset-ubuntu-1204: Setting up chef (11.12.8-2) ...
I, [2015-07-19T15:03:59.010658 #17914]  INFO -- replicaset-ubuntu-1204: Thank you for installing Chef!
I, [2015-07-19T15:03:59.045185 #17914]  INFO -- replicaset-ubuntu-1204: Transferring files to <replicaset-ubuntu-1204>
I, [2015-07-19T15:04:00.321478 #17914]  INFO -- replicaset-ubuntu-1204: [2015-07-19T19:04:00+00:00] WARN: 
I, [2015-07-19T15:04:00.321676 #17914]  INFO -- replicaset-ubuntu-1204: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
I, [2015-07-19T15:04:00.322736 #17914]  INFO -- replicaset-ubuntu-1204: SSL validation of HTTPS requests is disabled. HTTPS connections are still
I, [2015-07-19T15:04:00.322913 #17914]  INFO -- replicaset-ubuntu-1204: encrypted, but chef is not able to detect forged replies or man in the middle
I, [2015-07-19T15:04:00.323135 #17914]  INFO -- replicaset-ubuntu-1204: attacks.
I, [2015-07-19T15:04:00.323240 #17914]  INFO -- replicaset-ubuntu-1204: 
I, [2015-07-19T15:04:00.323479 #17914]  INFO -- replicaset-ubuntu-1204: To fix this issue add an entry like this to your configuration file:
I, [2015-07-19T15:04:00.323596 #17914]  INFO -- replicaset-ubuntu-1204: 
I, [2015-07-19T15:04:00.323850 #17914]  INFO -- replicaset-ubuntu-1204: ```
I, [2015-07-19T15:04:00.324079 #17914]  INFO -- replicaset-ubuntu-1204:   # Verify all HTTPS connections (recommended)
I, [2015-07-19T15:04:00.324300 #17914]  INFO -- replicaset-ubuntu-1204:   ssl_verify_mode :verify_peer
I, [2015-07-19T15:04:00.324440 #17914]  INFO -- replicaset-ubuntu-1204: 
I, [2015-07-19T15:04:00.324652 #17914]  INFO -- replicaset-ubuntu-1204:   # OR, Verify only connections to chef-server
I, [2015-07-19T15:04:00.324860 #17914]  INFO -- replicaset-ubuntu-1204:   verify_api_cert true
I, [2015-07-19T15:04:00.325066 #17914]  INFO -- replicaset-ubuntu-1204: ```
I, [2015-07-19T15:04:00.325181 #17914]  INFO -- replicaset-ubuntu-1204: 
I, [2015-07-19T15:04:00.325387 #17914]  INFO -- replicaset-ubuntu-1204: To check your SSL configuration, or troubleshoot errors, you can use the
I, [2015-07-19T15:04:00.325596 #17914]  INFO -- replicaset-ubuntu-1204: `knife ssl check` command like so:
I, [2015-07-19T15:04:00.325780 #17914]  INFO -- replicaset-ubuntu-1204: 
I, [2015-07-19T15:04:00.326016 #17914]  INFO -- replicaset-ubuntu-1204: ```
I, [2015-07-19T15:04:00.326224 #17914]  INFO -- replicaset-ubuntu-1204:   knife ssl check -c /tmp/kitchen/client.rb
I, [2015-07-19T15:04:00.326457 #17914]  INFO -- replicaset-ubuntu-1204: ```
I, [2015-07-19T15:04:00.326587 #17914]  INFO -- replicaset-ubuntu-1204: 
I, [2015-07-19T15:04:00.326793 #17914]  INFO -- replicaset-ubuntu-1204: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
I, [2015-07-19T15:04:00.327310 #17914]  INFO -- replicaset-ubuntu-1204: 
I, [2015-07-19T15:04:00.327751 #17914]  INFO -- replicaset-ubuntu-1204: Starting Chef Client, version 11.12.8
I, [2015-07-19T15:04:02.322972 #17914]  INFO -- replicaset-ubuntu-1204: Creating a new client identity for replicaset-ubuntu-1204 using the validator key.
I, [2015-07-19T15:04:02.442573 #17914]  INFO -- replicaset-ubuntu-1204: resolving cookbooks for run list: ["apt", "mongodb::replicaset"]
I, [2015-07-19T15:04:02.792484 #17914]  INFO -- replicaset-ubuntu-1204: Synchronizing Cookbooks:
I, [2015-07-19T15:04:02.995519 #17914]  INFO -- replicaset-ubuntu-1204:   - apt
I, [2015-07-19T15:04:03.355888 #17914]  INFO -- replicaset-ubuntu-1204:   - mongodb
I, [2015-07-19T15:04:03.481040 #17914]  INFO -- replicaset-ubuntu-1204:   - yum
I, [2015-07-19T15:04:03.648164 #17914]  INFO -- replicaset-ubuntu-1204:   - python
I, [2015-07-19T15:04:03.887171 #17914]  INFO -- replicaset-ubuntu-1204:   - build-essential
I, [2015-07-19T15:04:04.021760 #17914]  INFO -- replicaset-ubuntu-1204:   - yum-epel
I, [2015-07-19T15:04:04.022120 #17914]  INFO -- replicaset-ubuntu-1204: Compiling Cookbooks...
I, [2015-07-19T15:04:04.148187 #17914]  INFO -- replicaset-ubuntu-1204: [2015-07-19T19:04:04+00:00] WARN: Cloning resource attributes for template[/etc/mongodb.conf] from prior resource (CHEF-3694)
I, [2015-07-19T15:04:04.148414 #17914]  INFO -- replicaset-ubuntu-1204: [2015-07-19T19:04:04+00:00] WARN: Previous template[/etc/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:14:in `from_file'
I, [2015-07-19T15:04:04.148649 #17914]  INFO -- replicaset-ubuntu-1204: [2015-07-19T19:04:04+00:00] WARN: Current  template[/etc/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:139:in `block in from_file'
I, [2015-07-19T15:04:04.164117 #17914]  INFO -- replicaset-ubuntu-1204: [2015-07-19T19:04:04+00:00] WARN: Cloning resource attributes for execute[mongodb-systemctl-daemon-reload] from prior resource (CHEF-3694)
I, [2015-07-19T15:04:04.164407 #17914]  INFO -- replicaset-ubuntu-1204: [2015-07-19T19:04:04+00:00] WARN: Previous execute[mongodb-systemctl-daemon-reload]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:37:in `from_file'
I, [2015-07-19T15:04:04.164644 #17914]  INFO -- replicaset-ubuntu-1204: [2015-07-19T19:04:04+00:00] WARN: Current  execute[mongodb-systemctl-daemon-reload]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:174:in `block in from_file'
I, [2015-07-19T15:04:04.165405 #17914]  INFO -- replicaset-ubuntu-1204: [2015-07-19T19:04:04+00:00] WARN: Cloning resource attributes for template[/etc/init/mongodb.conf] from prior resource (CHEF-3694)
I, [2015-07-19T15:04:04.165804 #17914]  INFO -- replicaset-ubuntu-1204: [2015-07-19T19:04:04+00:00] WARN: Previous template[/etc/init/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:42:in `from_file'
I, [2015-07-19T15:04:04.166074 #17914]  INFO -- replicaset-ubuntu-1204: [2015-07-19T19:04:04+00:00] WARN: Current  template[/etc/init/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:180:in `block in from_file'
I, [2015-07-19T15:04:04.176698 #17914]  INFO -- replicaset-ubuntu-1204: Converging 25 resources
I, [2015-07-19T15:04:04.178005 #17914]  INFO -- replicaset-ubuntu-1204: Recipe: apt::default
I, [2015-07-19T15:04:04.178515 #17914]  INFO -- replicaset-ubuntu-1204:   * file[/var/lib/apt/periodic/update-success-stamp] action nothing (skipped due to action :nothing)
I, [2015-07-19T15:04:04.179941 #17914]  INFO -- replicaset-ubuntu-1204:   * directory[/etc/apt/apt.conf.d] action create (up to date)
I, [2015-07-19T15:04:04.181048 #17914]  INFO -- replicaset-ubuntu-1204:   * cookbook_file[/etc/apt/apt.conf.d/15update-stamp] action create
I, [2015-07-19T15:04:04.195133 #17914]  INFO -- replicaset-ubuntu-1204:     - create new file /etc/apt/apt.conf.d/15update-stamp
I, [2015-07-19T15:04:04.195411 #17914]  INFO -- replicaset-ubuntu-1204:     - update content in file /etc/apt/apt.conf.d/15update-stamp from none to 174cdb
I, [2015-07-19T15:04:04.196161 #17914]  INFO -- replicaset-ubuntu-1204:  --- /etc/apt/apt.conf.d/15update-stamp 2015-07-19 19:04:04.625336737 +0000
I, [2015-07-19T15:04:04.196795 #17914]  INFO -- replicaset-ubuntu-1204:  +++ /tmp/.15update-stamp20150719-1328-6jm2ro   2015-07-19 19:04:04.641328736 +0000
I, [2015-07-19T15:04:04.197069 #17914]  INFO -- replicaset-ubuntu-1204:  @@ -1 +1,2 @@
I, [2015-07-19T15:04:04.198347 #17914]  INFO -- replicaset-ubuntu-1204:  +APT::Update::Post-Invoke-Success {"touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";};
I, [2015-07-19T15:04:09.744998 #17914]  INFO -- replicaset-ubuntu-1204:   * execute[apt-get-update] action run
I, [2015-07-19T15:04:09.745062 #17914]  INFO -- replicaset-ubuntu-1204:     - execute apt-get update
I, [2015-07-19T15:04:09.745085 #17914]  INFO -- replicaset-ubuntu-1204:   * file[/var/lib/apt/periodic/update-success-stamp] action touch
I, [2015-07-19T15:04:09.745104 #17914]  INFO -- replicaset-ubuntu-1204:     - update utime on file /var/lib/apt/periodic/update-success-stamp
I, [2015-07-19T15:04:09.745159 #17914]  INFO -- replicaset-ubuntu-1204:   * execute[apt-get update] action nothing (skipped due to action :nothing)
I, [2015-07-19T15:04:09.745184 #17914]  INFO -- replicaset-ubuntu-1204:   * execute[apt-get autoremove] action nothing (skipped due to action :nothing)
I, [2015-07-19T15:04:09.745202 #17914]  INFO -- replicaset-ubuntu-1204:   * execute[apt-get autoclean] action nothing (skipped due to action :nothing)
I, [2015-07-19T15:04:09.745232 #17914]  INFO -- replicaset-ubuntu-1204:   * execute[apt-get-update-periodic] action run (skipped due to only_if)
I, [2015-07-19T15:04:09.745255 #17914]  INFO -- replicaset-ubuntu-1204:   * directory[/var/cache/local] action create
I, [2015-07-19T15:04:09.745572 #17914]  INFO -- replicaset-ubuntu-1204: 
I, [2015-07-19T15:04:09.745784 #17914]  INFO -- replicaset-ubuntu-1204:     - change mode from '' to '0755'
I, [2015-07-19T15:04:09.746118 #17914]  INFO -- replicaset-ubuntu-1204:     - change owner from '' to 'root'
I, [2015-07-19T15:04:09.746693 #17914]  INFO -- replicaset-ubuntu-1204:     - change group from '' to 'root'
I, [2015-07-19T15:04:09.747494 #17914]  INFO -- replicaset-ubuntu-1204:   * directory[/var/cache/local/preseeding] action create
I, [2015-07-19T15:04:09.748316 #17914]  INFO -- replicaset-ubuntu-1204:     - create new directory /var/cache/local/preseeding
I, [2015-07-19T15:04:09.748508 #17914]  INFO -- replicaset-ubuntu-1204:     - change mode from '' to '0755'
I, [2015-07-19T15:04:09.748663 #17914]  INFO -- replicaset-ubuntu-1204:     - change owner from '' to 'root'
I, [2015-07-19T15:04:09.749273 #17914]  INFO -- replicaset-ubuntu-1204:     - change group from '' to 'root'
I, [2015-07-19T15:04:09.749576 #17914]  INFO -- replicaset-ubuntu-1204: Recipe: mongodb::install
I, [2015-07-19T15:04:09.750468 #17914]  INFO -- replicaset-ubuntu-1204:   * file[/etc/default/mongodb] action create_if_missing
I, [2015-07-19T15:04:09.751725 #17914]  INFO -- replicaset-ubuntu-1204:     - create new file /etc/default/mongodb
I, [2015-07-19T15:04:09.751940 #17914]  INFO -- replicaset-ubuntu-1204:     - update content in file /etc/default/mongodb from none to a35762
I, [2015-07-19T15:04:09.752488 #17914]  INFO -- replicaset-ubuntu-1204:  --- /etc/default/mongodb   2015-07-19 19:04:10.194550611 +0000
I, [2015-07-19T15:04:09.753126 #17914]  INFO -- replicaset-ubuntu-1204:  +++ /tmp/.mongodb20150719-1328-1bn7dhd 2015-07-19 19:04:10.194550611 +0000
I, [2015-07-19T15:04:09.753304 #17914]  INFO -- replicaset-ubuntu-1204:  @@ -1 +1,2 @@
I, [2015-07-19T15:04:09.754082 #17914]  INFO -- replicaset-ubuntu-1204:  +ENABLE_MONGODB=no
I, [2015-07-19T15:04:09.754267 #17914]  INFO -- replicaset-ubuntu-1204:     - change mode from '' to '0644'
I, [2015-07-19T15:04:09.754461 #17914]  INFO -- replicaset-ubuntu-1204:     - change owner from '' to 'root'
I, [2015-07-19T15:04:09.754965 #17914]  INFO -- replicaset-ubuntu-1204:     - change group from '' to 'root'
I, [2015-07-19T15:04:09.768542 #17914]  INFO -- replicaset-ubuntu-1204:   * template[/etc/mongodb.conf] action create_if_missing
I, [2015-07-19T15:04:09.770504 #17914]  INFO -- replicaset-ubuntu-1204:     - create new file /etc/mongodb.conf
I, [2015-07-19T15:04:09.770743 #17914]  INFO -- replicaset-ubuntu-1204:     - update content in file /etc/mongodb.conf from none to 1e55f0
I, [2015-07-19T15:04:09.771292 #17914]  INFO -- replicaset-ubuntu-1204:  --- /etc/mongodb.conf  2015-07-19 19:04:10.210542611 +0000
I, [2015-07-19T15:04:09.771744 #17914]  INFO -- replicaset-ubuntu-1204:  +++ /tmp/chef-rendered-template20150719-1328-1u6b46f   2015-07-19 19:04:10.214540610 +0000
I, [2015-07-19T15:04:09.772039 #17914]  INFO -- replicaset-ubuntu-1204:  @@ -1 +1,15 @@
I, [2015-07-19T15:04:09.772830 #17914]  INFO -- replicaset-ubuntu-1204:  +#
I, [2015-07-19T15:04:09.773079 #17914]  INFO -- replicaset-ubuntu-1204:  +# Automatically Generated by Chef, do not edit directly!
I, [2015-07-19T15:04:09.773342 #17914]  INFO -- replicaset-ubuntu-1204:  +#
I, [2015-07-19T15:04:09.773568 #17914]  INFO -- replicaset-ubuntu-1204:  +
I, [2015-07-19T15:04:09.773771 #17914]  INFO -- replicaset-ubuntu-1204:  +bind_ip = 0.0.0.0
I, [2015-07-19T15:04:09.773943 #17914]  INFO -- replicaset-ubuntu-1204:  +dbpath = /var/lib/mongodb
I, [2015-07-19T15:04:09.774246 #17914]  INFO -- replicaset-ubuntu-1204:  +fork = false
I, [2015-07-19T15:04:09.774546 #17914]  INFO -- replicaset-ubuntu-1204:  +logappend = true
I, [2015-07-19T15:04:09.774762 #17914]  INFO -- replicaset-ubuntu-1204:  +logpath = /var/log/mongodb/mongodb.log
I, [2015-07-19T15:04:09.774954 #17914]  INFO -- replicaset-ubuntu-1204:  +nojournal = false
I, [2015-07-19T15:04:09.775131 #17914]  INFO -- replicaset-ubuntu-1204:  +port = 27017
I, [2015-07-19T15:04:09.775503 #17914]  INFO -- replicaset-ubuntu-1204:  +replSet = kitchen
I, [2015-07-19T15:04:09.775768 #17914]  INFO -- replicaset-ubuntu-1204:  +rest = false
I, [2015-07-19T15:04:09.776926 #17914]  INFO -- replicaset-ubuntu-1204:  +smallfiles = false
I, [2015-07-19T15:04:09.777103 #17914]  INFO -- replicaset-ubuntu-1204:     - change mode from '' to '0644'
I, [2015-07-19T15:04:09.777412 #17914]  INFO -- replicaset-ubuntu-1204:     - change owner from '' to 'root'
I, [2015-07-19T15:04:09.777877 #17914]  INFO -- replicaset-ubuntu-1204:     - change group from '' to 'root'
I, [2015-07-19T15:04:09.778399 #17914]  INFO -- replicaset-ubuntu-1204:   * execute[mongodb-systemctl-daemon-reload] action nothing (skipped due to action :nothing)
I, [2015-07-19T15:04:09.806147 #17914]  INFO -- replicaset-ubuntu-1204:   * template[/etc/init/mongodb.conf] action create_if_missing
I, [2015-07-19T15:04:09.811275 #17914]  INFO -- replicaset-ubuntu-1204:     - create new file /etc/init/mongodb.conf
I, [2015-07-19T15:04:09.811597 #17914]  INFO -- replicaset-ubuntu-1204:     - update content in file /etc/init/mongodb.conf from none to 003d4c
I, [2015-07-19T15:04:09.812259 #17914]  INFO -- replicaset-ubuntu-1204:  --- /etc/init/mongodb.conf 2015-07-19 19:04:10.250522610 +0000
I, [2015-07-19T15:04:09.813103 #17914]  INFO -- replicaset-ubuntu-1204:  +++ /tmp/chef-rendered-template20150719-1328-53g3jn    2015-07-19 19:04:10.250522610 +0000
I, [2015-07-19T15:04:09.813449 #17914]  INFO -- replicaset-ubuntu-1204:  @@ -1 +1,39 @@
I, [2015-07-19T15:04:09.813659 #17914]  INFO -- replicaset-ubuntu-1204:  +#
I, [2015-07-19T15:04:09.814024 #17914]  INFO -- replicaset-ubuntu-1204:  +# Automatically Generated by Chef, do not edit directly!
I, [2015-07-19T15:04:09.814235 #17914]  INFO -- replicaset-ubuntu-1204:  +#
I, [2015-07-19T15:04:09.814567 #17914]  INFO -- replicaset-ubuntu-1204:  +
I, [2015-07-19T15:04:09.814839 #17914]  INFO -- replicaset-ubuntu-1204:  +limit as unlimited unlimited
I, [2015-07-19T15:04:09.815054 #17914]  INFO -- replicaset-ubuntu-1204:  +limit cpu unlimited unlimited
I, [2015-07-19T15:04:09.815334 #17914]  INFO -- replicaset-ubuntu-1204:  +limit fsize unlimited unlimited
I, [2015-07-19T15:04:09.815524 #17914]  INFO -- replicaset-ubuntu-1204:  +limit nofile 64000 64000
I, [2015-07-19T15:04:09.815720 #17914]  INFO -- replicaset-ubuntu-1204:  +limit nproc 32000 32000
I, [2015-07-19T15:04:09.815899 #17914]  INFO -- replicaset-ubuntu-1204:  +limit rss unlimited unlimited
I, [2015-07-19T15:04:09.816365 #17914]  INFO -- replicaset-ubuntu-1204:  +
I, [2015-07-19T15:04:09.816552 #17914]  INFO -- replicaset-ubuntu-1204:  +kill timeout 300 # wait 300s between SIGTERM and SIGKILL.
I, [2015-07-19T15:04:09.816812 #17914]  INFO -- replicaset-ubuntu-1204:  +
I, [2015-07-19T15:04:09.817511 #17914]  INFO -- replicaset-ubuntu-1204:  +start on runlevel [2345]
I, [2015-07-19T15:04:09.817550 #17914]  INFO -- replicaset-ubuntu-1204:  +stop on runlevel [06]
I, [2015-07-19T15:04:09.817570 #17914]  INFO -- replicaset-ubuntu-1204:  +
I, [2015-07-19T15:04:09.817588 #17914]  INFO -- replicaset-ubuntu-1204:  +script
I, [2015-07-19T15:04:09.817605 #17914]  INFO -- replicaset-ubuntu-1204:  +  # Handle NUMA access to CPUs (SERVER-3574)
I, [2015-07-19T15:04:09.817623 #17914]  INFO -- replicaset-ubuntu-1204:  +  # This verifies the existence of numactl as well as testing that the command works
I, [2015-07-19T15:04:09.817661 #17914]  INFO -- replicaset-ubuntu-1204:  +  NUMACTL_ARGS="--interleave=all"
I, [2015-07-19T15:04:09.817681 #17914]  INFO -- replicaset-ubuntu-1204:  +  if which numactl >/dev/null 2>/dev/null && numactl $NUMACTL_ARGS ls / >/dev/null 2>/dev/null
I, [2015-07-19T15:04:09.817699 #17914]  INFO -- replicaset-ubuntu-1204:  +  then
I, [2015-07-19T15:04:09.817715 #17914]  INFO -- replicaset-ubuntu-1204:  +      NUMACTL="`which numactl` -- $NUMACTL_ARGS"
I, [2015-07-19T15:04:09.817731 #17914]  INFO -- replicaset-ubuntu-1204:  +      DAEMON_OPTS="$DAEMON_OPTS"
I, [2015-07-19T15:04:09.817747 #17914]  INFO -- replicaset-ubuntu-1204:  +  else
I, [2015-07-19T15:04:09.817764 #17914]  INFO -- replicaset-ubuntu-1204:  +      NUMACTL=""
I, [2015-07-19T15:04:09.817779 #17914]  INFO -- replicaset-ubuntu-1204:  +      DAEMON_OPTS="-- $DAEMON_OPTS"
I, [2015-07-19T15:04:09.817794 #17914]  INFO -- replicaset-ubuntu-1204:  +  fi
I, [2015-07-19T15:04:09.817810 #17914]  INFO -- replicaset-ubuntu-1204:  +
I, [2015-07-19T15:04:09.817825 #17914]  INFO -- replicaset-ubuntu-1204:  +  NAME=mongod
I, [2015-07-19T15:04:09.817840 #17914]  INFO -- replicaset-ubuntu-1204:  +  ENABLE_MONGOD="yes"
I, [2015-07-19T15:04:09.817856 #17914]  INFO -- replicaset-ubuntu-1204:  +  if [ -f /etc/default/mongodb ]; then
I, [2015-07-19T15:04:09.817871 #17914]  INFO -- replicaset-ubuntu-1204:  +    . /etc/default/mongodb;
I, [2015-07-19T15:04:09.817886 #17914]  INFO -- replicaset-ubuntu-1204:  +  fi
I, [2015-07-19T15:04:09.817903 #17914]  INFO -- replicaset-ubuntu-1204:  +  if [ "x$ENABLE_MONGOD" = "xyes" ]; then
I, [2015-07-19T15:04:09.817919 #17914]  INFO -- replicaset-ubuntu-1204:  +  exec start-stop-daemon --start --quiet --chuid $DAEMON_USER --exec $NUMACTL $DAEMON $DAEMON_OPTS
I, [2015-07-19T15:04:09.817935 #17914]  INFO -- replicaset-ubuntu-1204:  +  fi
I, [2015-07-19T15:04:09.818296 #17914]  INFO -- replicaset-ubuntu-1204: 
I, [2015-07-19T15:04:09.818567 #17914]  INFO -- replicaset-ubuntu-1204:     - change mode from '' to '0644'
I, [2015-07-19T15:04:09.818747 #17914]  INFO -- replicaset-ubuntu-1204:     - change owner from '' to 'root'
I, [2015-07-19T15:04:09.819269 #17914]  INFO -- replicaset-ubuntu-1204:     - change group from '' to 'root'
I, [2015-07-19T15:04:19.734568 #17914]  INFO -- replicaset-ubuntu-1204:   * package[mongodb] action install
I, [2015-07-19T15:04:19.734639 #17914]  INFO -- replicaset-ubuntu-1204:     - install version 1:2.0.4-1ubuntu2.1 of package mongodb
I, [2015-07-19T15:04:19.734666 #17914]  INFO -- replicaset-ubuntu-1204: Recipe: mongodb::replicaset
I, [2015-07-19T15:04:29.527108 #17914]  INFO -- replicaset-ubuntu-1204: 
I, [2015-07-19T15:04:29.527314 #17914]  INFO -- replicaset-ubuntu-1204:     - execute the ruby block chef_gem_at_converge_time
I, [2015-07-19T15:04:29.545884 #17914]  INFO -- replicaset-ubuntu-1204:   * template[/etc/default/mongodb] action create
I, [2015-07-19T15:04:29.546105 #17914]  INFO -- replicaset-ubuntu-1204:     - update content in file /etc/default/mongodb from a35762 to 91c827
I, [2015-07-19T15:04:29.546741 #17914]  INFO -- replicaset-ubuntu-1204:  --- /etc/default/mongodb   2015-07-19 19:04:10.194550611 +0000
I, [2015-07-19T15:04:29.547362 #17914]  INFO -- replicaset-ubuntu-1204:  +++ /tmp/chef-rendered-template20150719-1328-1m5mkjo   2015-07-19 19:04:29.972656165 +0000
I, [2015-07-19T15:04:29.547571 #17914]  INFO -- replicaset-ubuntu-1204:  @@ -1,2 +1,13 @@
I, [2015-07-19T15:04:29.547745 #17914]  INFO -- replicaset-ubuntu-1204:  -ENABLE_MONGODB=no
I, [2015-07-19T15:04:29.548057 #17914]  INFO -- replicaset-ubuntu-1204:  +#
I, [2015-07-19T15:04:29.548253 #17914]  INFO -- replicaset-ubuntu-1204:  +# Automatically Generated by Chef, do not edit directly!
I, [2015-07-19T15:04:29.548427 #17914]  INFO -- replicaset-ubuntu-1204:  +#
I, [2015-07-19T15:04:29.548697 #17914]  INFO -- replicaset-ubuntu-1204:  +
I, [2015-07-19T15:04:29.549909 #17914]  INFO -- replicaset-ubuntu-1204:  +CONFIGFILE="/etc/mongodb.conf"
I, [2015-07-19T15:04:29.550231 #17914]  INFO -- replicaset-ubuntu-1204:  +DAEMON="/usr/bin/$NAME"
I, [2015-07-19T15:04:29.550541 #17914]  INFO -- replicaset-ubuntu-1204:  +DAEMONUSER="mongodb"
I, [2015-07-19T15:04:29.550822 #17914]  INFO -- replicaset-ubuntu-1204:  +DAEMON_OPTS="--config /etc/mongodb.conf"
I, [2015-07-19T15:04:29.551120 #17914]  INFO -- replicaset-ubuntu-1204:  +DAEMON_USER="mongodb"
I, [2015-07-19T15:04:29.551419 #17914]  INFO -- replicaset-ubuntu-1204:  +ENABLE_MONGO="yes"
I, [2015-07-19T15:04:29.551466 #17914]  INFO -- replicaset-ubuntu-1204:  +ENABLE_MONGOD="yes"
I, [2015-07-19T15:04:29.552607 #17914]  INFO -- replicaset-ubuntu-1204:  +ENABLE_MONGODB="yes"
I, [2015-07-19T15:04:29.555572 #17914]  INFO -- replicaset-ubuntu-1204:   * template[/etc/mongodb.conf] action create (up to date)
I, [2015-07-19T15:04:29.557026 #17914]  INFO -- replicaset-ubuntu-1204:   * directory[/var/log/mongodb] action create (up to date)
I, [2015-07-19T15:04:29.558200 #17914]  INFO -- replicaset-ubuntu-1204:   * directory[/var/lib/mongodb] action create (up to date)
I, [2015-07-19T15:04:29.558854 #17914]  INFO -- replicaset-ubuntu-1204:   * execute[mongodb-systemctl-daemon-reload] action nothing (skipped due to action :nothing)
I, [2015-07-19T15:04:29.561427 #17914]  INFO -- replicaset-ubuntu-1204:   * template[/etc/init/mongodb.conf] action create (up to date)
I, [2015-07-19T15:04:29.567436 #17914]  INFO -- replicaset-ubuntu-1204:   * service[mongodb] action enable (up to date)
I, [2015-07-19T15:04:29.581108 #17914]  INFO -- replicaset-ubuntu-1204:   * service[mongodb] action start
I, [2015-07-19T15:04:29.581389 #17914]  INFO -- replicaset-ubuntu-1204:     - start service service[mongodb]
I, [2015-07-19T15:04:29.789807 #17914]  INFO -- replicaset-ubuntu-1204:   * ruby_block[config_replicaset] action create[2015-07-19T19:04:30+00:00] WARN: Cannot configure replicaset 'kitchen', no member nodes found
I, [2015-07-19T15:04:29.790002 #17914]  INFO -- replicaset-ubuntu-1204: 
I, [2015-07-19T15:04:29.790441 #17914]  INFO -- replicaset-ubuntu-1204:     - execute the ruby block config_replicaset
I, [2015-07-19T15:04:29.791235 #17914]  INFO -- replicaset-ubuntu-1204:   * ruby_block[config_replicaset] action nothing (skipped due to action :nothing)
I, [2015-07-19T15:04:29.792182 #17914]  INFO -- replicaset-ubuntu-1204:   * ruby_block[run_config_replicaset] action run
I, [2015-07-19T15:04:29.792594 #17914]  INFO -- replicaset-ubuntu-1204:     - execute the ruby block run_config_replicaset
I, [2015-07-19T15:04:29.811357 #17914]  INFO -- replicaset-ubuntu-1204:   * service[mongodb] action restart
I, [2015-07-19T15:04:29.811938 #17914]  INFO -- replicaset-ubuntu-1204:     - restart service service[mongodb]
I, [2015-07-19T15:04:29.813811 #17914]  INFO -- replicaset-ubuntu-1204:   * ruby_block[config_replicaset] action create[2015-07-19T19:04:30+00:00] WARN: Cannot configure replicaset 'kitchen', no member nodes found
I, [2015-07-19T15:04:29.814125 #17914]  INFO -- replicaset-ubuntu-1204: 
I, [2015-07-19T15:04:29.814570 #17914]  INFO -- replicaset-ubuntu-1204:     - execute the ruby block config_replicaset
I, [2015-07-19T15:04:29.816088 #17914]  INFO -- replicaset-ubuntu-1204:   * ruby_block[config_replicaset] action create[2015-07-19T19:04:30+00:00] WARN: Cannot configure replicaset 'kitchen', no member nodes found
I, [2015-07-19T15:04:29.816385 #17914]  INFO -- replicaset-ubuntu-1204: 
I, [2015-07-19T15:04:29.816888 #17914]  INFO -- replicaset-ubuntu-1204:     - execute the ruby block config_replicaset
I, [2015-07-19T15:04:29.841482 #17914]  INFO -- replicaset-ubuntu-1204: 
I, [2015-07-19T15:04:29.841787 #17914]  INFO -- replicaset-ubuntu-1204: Running handlers:
I, [2015-07-19T15:04:29.842288 #17914]  INFO -- replicaset-ubuntu-1204: Running handlers complete
I, [2015-07-19T15:04:29.842905 #17914]  INFO -- replicaset-ubuntu-1204: Chef Client finished, 17/23 resources updated in 29.513697029 seconds
I, [2015-07-19T15:04:31.873583 #17914]  INFO -- replicaset-ubuntu-1204: Finished converging <replicaset-ubuntu-1204> (1m14.46s).
I, [2015-07-19T15:04:31.873690 #17914]  INFO -- replicaset-ubuntu-1204: -----> Setting up <replicaset-ubuntu-1204>...
I, [2015-07-19T15:04:31.874923 #17914]  INFO -- replicaset-ubuntu-1204: Finished setting up <replicaset-ubuntu-1204> (0m0.00s).
I, [2015-07-19T15:04:31.875015 #17914]  INFO -- replicaset-ubuntu-1204: -----> Verifying <replicaset-ubuntu-1204>...
I, [2015-07-19T15:04:31.875567 #17914]  INFO -- replicaset-ubuntu-1204: Preparing files for transfer
I, [2015-07-19T15:04:31.952717 #17914]  INFO -- replicaset-ubuntu-1204: -----> Installing Busser (busser)
I, [2015-07-19T15:04:45.790607 #17914]  INFO -- replicaset-ubuntu-1204: Fetching: thor-0.19.0.gem
Fetching: thor-0.19.0.gem (  1%)
Fetching: thor-0.19.0.gem ( 15%)
Fetching: thor-0.19.0.gem ( 16%)
Fetching: thor-0.19.0.gem ( 24%)
Fetching: thor-0.19.0.gem ( 28%)
Fetching: thor-0.19.0.gem ( 34%)
Fetching: thor-0.19.0.gem ( 37%)
Fetching: thor-0.19.0.gem ( 47%)
Fetching: thor-0.19.0.gem ( 53%)
Fetching: thor-0.19.0.gem ( 60%)
Fetching: thor-0.19.0.gem ( 74%)
Fetching: thor-0.19.0.gem ( 78%)
Fetching: thor-0.19.0.gem ( 89%)
Fetching: thor-0.19.0.gem ( 90%)
Fetching: thor-0.19.0.gem ( 95%)
Fetching: thor-0.19.0.gem ( 98%)
Fetching: thor-0.19.0.gem ( 99%)
Fetching: thor-0.19.0.gem (100%)
Fetching: thor-0.19.0.gem (100%)
I, [2015-07-19T15:04:45.967434 #17914]  INFO -- replicaset-ubuntu-1204: Fetching: busser-0.7.1.gem
Fetching: busser-0.7.1.gem ( 43%)
Fetching: busser-0.7.1.gem (100%)
Fetching: busser-0.7.1.gem (100%)
I, [2015-07-19T15:04:45.979844 #17914]  INFO -- replicaset-ubuntu-1204: Successfully installed thor-0.19.0
I, [2015-07-19T15:04:45.980135 #17914]  INFO -- replicaset-ubuntu-1204: Successfully installed busser-0.7.1
I, [2015-07-19T15:04:45.980633 #17914]  INFO -- replicaset-ubuntu-1204: 2 gems installed
I, [2015-07-19T15:04:46.146166 #17914]  INFO -- replicaset-ubuntu-1204: -----> Setting up Busser
I, [2015-07-19T15:04:46.146402 #17914]  INFO -- replicaset-ubuntu-1204: Creating BUSSER_ROOT in /tmp/verifier
I, [2015-07-19T15:04:46.146665 #17914]  INFO -- replicaset-ubuntu-1204: Creating busser binstub
I, [2015-07-19T15:04:46.157305 #17914]  INFO -- replicaset-ubuntu-1204: Installing Busser plugins: busser-bats
I, [2015-07-19T15:04:48.755488 #17914]  INFO -- replicaset-ubuntu-1204: Plugin bats installed (version 0.3.0)
I, [2015-07-19T15:04:48.758122 #17914]  INFO -- replicaset-ubuntu-1204: -----> Running postinstall for bats plugin
I, [2015-07-19T15:04:48.777306 #17914]  INFO -- replicaset-ubuntu-1204: Installed Bats to /tmp/verifier/vendor/bats/bin/bats
I, [2015-07-19T15:04:48.952174 #17914]  INFO -- replicaset-ubuntu-1204: Suite path directory /tmp/verifier/suites does not exist, skipping.
I, [2015-07-19T15:04:48.959442 #17914]  INFO -- replicaset-ubuntu-1204: Transferring files to <replicaset-ubuntu-1204>
I, [2015-07-19T15:04:49.109802 #17914]  INFO -- replicaset-ubuntu-1204: -----> Running bats test suite
I, [2015-07-19T15:04:49.185949 #17914]  INFO -- replicaset-ubuntu-1204: �[1G   starts mongodb�[K�[77G1/2�[2G�[1G ✓ starts mongodb�[K
I, [2015-07-19T15:04:49.234429 #17914]  INFO -- replicaset-ubuntu-1204: �[0m�[1G   replicaset initialized�[K�[77G2/2�[2G�[1G�[31;1m ✗ replicaset initialized�[K
I, [2015-07-19T15:04:49.234713 #17914]  INFO -- replicaset-ubuntu-1204: �[0m�[31;22m   (in test file /tmp/verifier/suites/bats/default.bats, line 20)
I, [2015-07-19T15:04:49.235095 #17914]  INFO -- replicaset-ubuntu-1204: �[0m�[31;22m     `[ "$status" -eq 0 ]' failed
I, [2015-07-19T15:04:49.235285 #17914]  INFO -- replicaset-ubuntu-1204: �[0m
I, [2015-07-19T15:04:49.235631 #17914]  INFO -- replicaset-ubuntu-1204: 2 tests, 1 failure
I, [2015-07-19T15:04:49.236230 #17914]  INFO -- replicaset-ubuntu-1204: !!!!!! Command [/tmp/verifier/vendor/bats/bin/bats /tmp/verifier/suites/bats] exit code was 1
E, [2015-07-19T15:04:49.246509 #17914] ERROR -- replicaset-ubuntu-1204: Verify failed on instance <replicaset-ubuntu-1204>.
E, [2015-07-19T15:04:49.246627 #17914] ERROR -- replicaset-ubuntu-1204: ------Exception-------
E, [2015-07-19T15:04:49.246647 #17914] ERROR -- replicaset-ubuntu-1204: Class: Kitchen::ActionFailed
E, [2015-07-19T15:04:49.246669 #17914] ERROR -- replicaset-ubuntu-1204: Message: SSH exited (1) for command: [sh -c '

BUSSER_ROOT="/tmp/verifier"; export BUSSER_ROOT
GEM_HOME="/tmp/verifier/gems"; export GEM_HOME
GEM_PATH="/tmp/verifier/gems"; export GEM_PATH
GEM_CACHE="/tmp/verifier/gems/cache"; export GEM_CACHE

sudo -E /tmp/verifier/bin/busser test
']
E, [2015-07-19T15:04:49.246682 #17914] ERROR -- replicaset-ubuntu-1204: ---Nested Exception---
E, [2015-07-19T15:04:49.246692 #17914] ERROR -- replicaset-ubuntu-1204: Class: Kitchen::Transport::SshFailed
E, [2015-07-19T15:04:49.246702 #17914] ERROR -- replicaset-ubuntu-1204: Message: SSH exited (1) for command: [sh -c '

BUSSER_ROOT="/tmp/verifier"; export BUSSER_ROOT
GEM_HOME="/tmp/verifier/gems"; export GEM_HOME
GEM_PATH="/tmp/verifier/gems"; export GEM_PATH
GEM_CACHE="/tmp/verifier/gems/cache"; export GEM_CACHE

sudo -E /tmp/verifier/bin/busser test
']
E, [2015-07-19T15:04:49.246712 #17914] ERROR -- replicaset-ubuntu-1204: ------Backtrace-------
E, [2015-07-19T15:04:49.246721 #17914] ERROR -- replicaset-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/verifier/base.rb:79:in `rescue in call'
E, [2015-07-19T15:04:49.246731 #17914] ERROR -- replicaset-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/verifier/base.rb:82:in `call'
E, [2015-07-19T15:04:49.246741 #17914] ERROR -- replicaset-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:398:in `block in verify_action'
E, [2015-07-19T15:04:49.246751 #17914] ERROR -- replicaset-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:488:in `call'
E, [2015-07-19T15:04:49.246761 #17914] ERROR -- replicaset-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:488:in `synchronize_or_call'
E, [2015-07-19T15:04:49.246771 #17914] ERROR -- replicaset-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:453:in `block in action'
E, [2015-07-19T15:04:49.246781 #17914] ERROR -- replicaset-ubuntu-1204: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-19T15:04:49.246821 #17914] ERROR -- replicaset-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:452:in `action'
E, [2015-07-19T15:04:49.246831 #17914] ERROR -- replicaset-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:394:in `verify_action'
E, [2015-07-19T15:04:49.246841 #17914] ERROR -- replicaset-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:341:in `block in transition_to'
E, [2015-07-19T15:04:49.246851 #17914] ERROR -- replicaset-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `each'
E, [2015-07-19T15:04:49.246860 #17914] ERROR -- replicaset-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `transition_to'
E, [2015-07-19T15:04:49.246870 #17914] ERROR -- replicaset-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:160:in `verify'
E, [2015-07-19T15:04:49.246879 #17914] ERROR -- replicaset-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:189:in `block in test'
E, [2015-07-19T15:04:49.246889 #17914] ERROR -- replicaset-ubuntu-1204: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-19T15:04:49.246899 #17914] ERROR -- replicaset-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:185:in `test'
E, [2015-07-19T15:04:49.246909 #17914] ERROR -- replicaset-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `public_send'
E, [2015-07-19T15:04:49.246918 #17914] ERROR -- replicaset-ubuntu-1204: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `block (2 levels) in run_action'
E, [2015-07-19T15:04:49.246928 #17914] ERROR -- replicaset-ubuntu-1204: ----------------------

Failing Test: replicaset-debian-720

I, [2015-07-14T21:43:58.674590 #40537]  INFO -- replicaset-debian-720: -----> Cleaning up any prior instances of <replicaset-debian-720>
I, [2015-07-14T21:43:58.675110 #40537]  INFO -- replicaset-debian-720: -----> Destroying <replicaset-debian-720>...
I, [2015-07-14T21:44:01.278619 #40537]  INFO -- replicaset-debian-720: ==> default: Forcing shutdown of VM...
I, [2015-07-14T21:44:02.424581 #40537]  INFO -- replicaset-debian-720: ==> default: Destroying VM and associated drives...
I, [2015-07-14T21:44:02.673779 #40537]  INFO -- replicaset-debian-720: Vagrant instance <replicaset-debian-720> destroyed.
I, [2015-07-14T21:44:02.675779 #40537]  INFO -- replicaset-debian-720: Finished destroying <replicaset-debian-720> (0m4.00s).
I, [2015-07-14T21:44:02.676038 #40537]  INFO -- replicaset-debian-720: -----> Testing <replicaset-debian-720>
I, [2015-07-14T21:44:02.676163 #40537]  INFO -- replicaset-debian-720: -----> Creating <replicaset-debian-720>...
I, [2015-07-14T21:44:04.298334 #40537]  INFO -- replicaset-debian-720: Bringing machine 'default' up with 'virtualbox' provider...
I, [2015-07-14T21:44:04.499142 #40537]  INFO -- replicaset-debian-720: ==> default: Importing base box 'opscode-debian-7.2.0'...
I, [2015-07-14T21:44:11.341627 #40537]  INFO -- replicaset-debian-720: 
�[KProgress: 10%
�[KProgress: 20%
�[KProgress: 30%
�[KProgress: 40%
�[KProgress: 50%
�[KProgress: 60%
�[KProgress: 70%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
I, [2015-07-14T21:44:12.025526 #40537]  INFO -- replicaset-debian-720: ==> default: Setting the name of the VM: kitchen-mongodb-cookbook-replicaset-debian-720_default_1436924651980_92398
I, [2015-07-14T21:44:13.403672 #40537]  INFO -- replicaset-debian-720: ==> default: Fixed port collision for 22 => 2222. Now on port 2207.
I, [2015-07-14T21:44:13.451170 #40537]  INFO -- replicaset-debian-720: ==> default: Clearing any previously set network interfaces...
I, [2015-07-14T21:44:13.498911 #40537]  INFO -- replicaset-debian-720: ==> default: Preparing network interfaces based on configuration...
I, [2015-07-14T21:44:13.499124 #40537]  INFO -- replicaset-debian-720:     default: Adapter 1: nat
I, [2015-07-14T21:44:13.544690 #40537]  INFO -- replicaset-debian-720: ==> default: Forwarding ports...
I, [2015-07-14T21:44:13.649514 #40537]  INFO -- replicaset-debian-720:     default: 22 => 2207 (adapter 1)
I, [2015-07-14T21:44:13.792632 #40537]  INFO -- replicaset-debian-720: ==> default: Running 'pre-boot' VM customizations...
I, [2015-07-14T21:44:13.835903 #40537]  INFO -- replicaset-debian-720: ==> default: Booting VM...
I, [2015-07-14T21:44:14.061087 #40537]  INFO -- replicaset-debian-720: ==> default: Waiting for machine to boot. This may take a few minutes...
I, [2015-07-14T21:44:14.365818 #40537]  INFO -- replicaset-debian-720:     default: SSH address: 127.0.0.1:2207
I, [2015-07-14T21:44:14.365962 #40537]  INFO -- replicaset-debian-720:     default: SSH username: vagrant
I, [2015-07-14T21:44:14.366222 #40537]  INFO -- replicaset-debian-720:     default: SSH auth method: private key
I, [2015-07-14T21:44:29.503538 #40537]  INFO -- replicaset-debian-720:     default: Warning: Connection timeout. Retrying...
I, [2015-07-14T21:44:29.834897 #40537]  INFO -- replicaset-debian-720:     default: 
I, [2015-07-14T21:44:29.834970 #40537]  INFO -- replicaset-debian-720:     default: Vagrant insecure key detected. Vagrant will automatically replace
I, [2015-07-14T21:44:29.835006 #40537]  INFO -- replicaset-debian-720:     default: this with a newly generated keypair for better security.
I, [2015-07-14T21:44:30.319973 #40537]  INFO -- replicaset-debian-720:     default: 
I, [2015-07-14T21:44:30.320045 #40537]  INFO -- replicaset-debian-720:     default: Inserting generated public key within guest...
I, [2015-07-14T21:44:30.379739 #40537]  INFO -- replicaset-debian-720:     default: Removing insecure key from the guest if it's present...
I, [2015-07-14T21:44:30.420910 #40537]  INFO -- replicaset-debian-720:     default: Key inserted! Disconnecting and reconnecting using new SSH key...
I, [2015-07-14T21:44:31.135307 #40537]  INFO -- replicaset-debian-720: ==> default: Machine booted and ready!
I, [2015-07-14T21:44:31.135780 #40537]  INFO -- replicaset-debian-720: ==> default: Checking for guest additions in VM...
I, [2015-07-14T21:44:31.182167 #40537]  INFO -- replicaset-debian-720: ==> default: Setting hostname...
I, [2015-07-14T21:44:42.056221 #40537]  INFO -- replicaset-debian-720: ==> default: Machine not provisioned because `--no-provision` is specified.
I, [2015-07-14T21:44:44.021303 #40537]  INFO -- replicaset-debian-720: [SSH] Established
I, [2015-07-14T21:44:44.021822 #40537]  INFO -- replicaset-debian-720: Vagrant instance <replicaset-debian-720> created.
I, [2015-07-14T21:44:44.022788 #40537]  INFO -- replicaset-debian-720: Finished creating <replicaset-debian-720> (0m41.35s).
I, [2015-07-14T21:44:44.023094 #40537]  INFO -- replicaset-debian-720: -----> Converging <replicaset-debian-720>...
I, [2015-07-14T21:44:44.024320 #40537]  INFO -- replicaset-debian-720: Preparing files for transfer
I, [2015-07-14T21:44:44.024425 #40537]  INFO -- replicaset-debian-720: Preparing dna.json
I, [2015-07-14T21:44:44.024916 #40537]  INFO -- replicaset-debian-720: Resolving cookbook dependencies with Berkshelf 3.3.0...
I, [2015-07-14T21:44:44.652949 #40537]  INFO -- replicaset-debian-720: Removing non-cookbook files before transfer
I, [2015-07-14T21:44:44.674485 #40537]  INFO -- replicaset-debian-720: Preparing nodes
I, [2015-07-14T21:44:44.675357 #40537]  INFO -- replicaset-debian-720: Preparing validation.pem
I, [2015-07-14T21:44:44.676384 #40537]  INFO -- replicaset-debian-720: Preparing client.rb
I, [2015-07-14T21:44:44.682773 #40537]  INFO -- replicaset-debian-720: -----> Installing Chef Omnibus (11.12.8)
I, [2015-07-14T21:44:44.683516 #40537]  INFO -- replicaset-debian-720: Downloading https://www.chef.io/chef/install.sh to file /tmp/install.sh
I, [2015-07-14T21:44:44.683607 #40537]  INFO -- replicaset-debian-720: Trying wget...
I, [2015-07-14T21:44:50.411144 #40537]  INFO -- replicaset-debian-720: Download complete.
I, [2015-07-14T21:44:50.421674 #40537]  INFO -- replicaset-debian-720: Downloading Chef 11.12.8 for debian...
I, [2015-07-14T21:44:50.421739 #40537]  INFO -- replicaset-debian-720: downloading https://www.chef.io/chef/metadata?v=11.12.8&prerelease=false&nightlies=false&p=debian&pv=6&m=x86_64
I, [2015-07-14T21:44:50.421760 #40537]  INFO -- replicaset-debian-720:   to file /tmp/install.sh.2821/metadata.txt
I, [2015-07-14T21:44:50.421776 #40537]  INFO -- replicaset-debian-720: trying wget...
I, [2015-07-14T21:44:56.173373 #40537]  INFO -- replicaset-debian-720: url  https://opscode-omnibus-packages.s3.amazonaws.com/debian/6/x86_64/chef_11.12.8-2_amd64.deb
I, [2015-07-14T21:44:56.173897 #40537]  INFO -- replicaset-debian-720: md5  7da696bbaad23ea00cd1f4f8394b7596
I, [2015-07-14T21:44:56.174762 #40537]  INFO -- replicaset-debian-720: sha256   0c05369ba0e123099a428e5d16aa8cbbbfdb5834de8af9932bdbe08afa7144ae
I, [2015-07-14T21:44:56.177461 #40537]  INFO -- replicaset-debian-720: downloaded metadata file looks valid...
I, [2015-07-14T21:44:56.182750 #40537]  INFO -- replicaset-debian-720: downloading https://opscode-omnibus-packages.s3.amazonaws.com/debian/6/x86_64/chef_11.12.8-2_amd64.deb
I, [2015-07-14T21:44:56.182790 #40537]  INFO -- replicaset-debian-720:   to file /tmp/install.sh.2821/chef_11.12.8-2_amd64.deb
I, [2015-07-14T21:44:56.182809 #40537]  INFO -- replicaset-debian-720: trying wget...
I, [2015-07-14T21:45:10.414526 #40537]  INFO -- replicaset-debian-720: Comparing checksum with sha256sum...
I, [2015-07-14T21:45:10.574563 #40537]  INFO -- replicaset-debian-720: Installing Chef 11.12.8
I, [2015-07-14T21:45:10.574620 #40537]  INFO -- replicaset-debian-720: installing with dpkg...
I, [2015-07-14T21:45:10.636067 #40537]  INFO -- replicaset-debian-720: Selecting previously unselected package chef.
I, [2015-07-14T21:45:10.773204 #40537]  INFO -- replicaset-debian-720: (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 37434 files and directories currently installed.)
I, [2015-07-14T21:45:10.774908 #40537]  INFO -- replicaset-debian-720: Unpacking chef (from .../chef_11.12.8-2_amd64.deb) ...
I, [2015-07-14T21:45:13.634449 #40537]  INFO -- replicaset-debian-720: Setting up chef (11.12.8-2) ...
I, [2015-07-14T21:45:13.652001 #40537]  INFO -- replicaset-debian-720: Thank you for installing Chef!
I, [2015-07-14T21:45:13.694041 #40537]  INFO -- replicaset-debian-720: Transferring files to <replicaset-debian-720>
I, [2015-07-14T21:45:14.939503 #40537]  INFO -- replicaset-debian-720: [2015-07-15T01:45:14+00:00] WARN: 
I, [2015-07-14T21:45:14.939745 #40537]  INFO -- replicaset-debian-720: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
I, [2015-07-14T21:45:14.939990 #40537]  INFO -- replicaset-debian-720: SSL validation of HTTPS requests is disabled. HTTPS connections are still
I, [2015-07-14T21:45:14.940367 #40537]  INFO -- replicaset-debian-720: encrypted, but chef is not able to detect forged replies or man in the middle
I, [2015-07-14T21:45:14.940567 #40537]  INFO -- replicaset-debian-720: attacks.
I, [2015-07-14T21:45:14.940769 #40537]  INFO -- replicaset-debian-720: 
I, [2015-07-14T21:45:14.940976 #40537]  INFO -- replicaset-debian-720: To fix this issue add an entry like this to your configuration file:
I, [2015-07-14T21:45:14.941072 #40537]  INFO -- replicaset-debian-720: 
I, [2015-07-14T21:45:14.941587 #40537]  INFO -- replicaset-debian-720: ```
I, [2015-07-14T21:45:14.941782 #40537]  INFO -- replicaset-debian-720:   # Verify all HTTPS connections (recommended)
I, [2015-07-14T21:45:14.942137 #40537]  INFO -- replicaset-debian-720:   ssl_verify_mode :verify_peer
I, [2015-07-14T21:45:14.942277 #40537]  INFO -- replicaset-debian-720: 
I, [2015-07-14T21:45:14.942504 #40537]  INFO -- replicaset-debian-720:   # OR, Verify only connections to chef-server
I, [2015-07-14T21:45:14.942836 #40537]  INFO -- replicaset-debian-720:   verify_api_cert true
I, [2015-07-14T21:45:14.943025 #40537]  INFO -- replicaset-debian-720: ```
I, [2015-07-14T21:45:14.943149 #40537]  INFO -- replicaset-debian-720: 
I, [2015-07-14T21:45:14.943478 #40537]  INFO -- replicaset-debian-720: To check your SSL configuration, or troubleshoot errors, you can use the
I, [2015-07-14T21:45:14.944323 #40537]  INFO -- replicaset-debian-720: `knife ssl check` command like so:
I, [2015-07-14T21:45:14.944356 #40537]  INFO -- replicaset-debian-720: 
I, [2015-07-14T21:45:14.944375 #40537]  INFO -- replicaset-debian-720: ```
I, [2015-07-14T21:45:14.944400 #40537]  INFO -- replicaset-debian-720:   knife ssl check -c /tmp/kitchen/client.rb
I, [2015-07-14T21:45:14.944418 #40537]  INFO -- replicaset-debian-720: ```
I, [2015-07-14T21:45:14.944432 #40537]  INFO -- replicaset-debian-720: 
I, [2015-07-14T21:45:14.944448 #40537]  INFO -- replicaset-debian-720: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
I, [2015-07-14T21:45:14.944463 #40537]  INFO -- replicaset-debian-720: 
I, [2015-07-14T21:45:14.944641 #40537]  INFO -- replicaset-debian-720: 
I, [2015-07-14T21:45:22.342582 #40537]  INFO -- replicaset-debian-720: Creating a new client identity for replicaset-debian-720 using the validator key.
I, [2015-07-14T21:45:22.473794 #40537]  INFO -- replicaset-debian-720: resolving cookbooks for run list: ["apt", "mongodb::replicaset"]
I, [2015-07-14T21:45:22.885552 #40537]  INFO -- replicaset-debian-720: Synchronizing Cookbooks:
I, [2015-07-14T21:45:23.123223 #40537]  INFO -- replicaset-debian-720:   - apt
I, [2015-07-14T21:45:23.517360 #40537]  INFO -- replicaset-debian-720:   - mongodb
I, [2015-07-14T21:45:23.667061 #40537]  INFO -- replicaset-debian-720:   - yum
I, [2015-07-14T21:45:23.859149 #40537]  INFO -- replicaset-debian-720:   - python
I, [2015-07-14T21:45:24.121807 #40537]  INFO -- replicaset-debian-720:   - build-essential
I, [2015-07-14T21:45:24.260284 #40537]  INFO -- replicaset-debian-720:   - yum-epel
I, [2015-07-14T21:45:24.260340 #40537]  INFO -- replicaset-debian-720: Compiling Cookbooks...
I, [2015-07-14T21:45:24.364505 #40537]  INFO -- replicaset-debian-720: [2015-07-15T01:45:23+00:00] WARN: Cloning resource attributes for template[/etc/mongodb.conf] from prior resource (CHEF-3694)
I, [2015-07-14T21:45:24.364786 #40537]  INFO -- replicaset-debian-720: [2015-07-15T01:45:23+00:00] WARN: Previous template[/etc/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:14:in `from_file'
I, [2015-07-14T21:45:24.365077 #40537]  INFO -- replicaset-debian-720: [2015-07-15T01:45:23+00:00] WARN: Current  template[/etc/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:139:in `block in from_file'
I, [2015-07-14T21:45:24.365992 #40537]  INFO -- replicaset-debian-720: [2015-07-15T01:45:23+00:00] WARN: Cloning resource attributes for execute[mongodb-systemctl-daemon-reload] from prior resource (CHEF-3694)
I, [2015-07-14T21:45:24.366291 #40537]  INFO -- replicaset-debian-720: [2015-07-15T01:45:23+00:00] WARN: Previous execute[mongodb-systemctl-daemon-reload]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:37:in `from_file'
I, [2015-07-14T21:45:24.366723 #40537]  INFO -- replicaset-debian-720: [2015-07-15T01:45:23+00:00] WARN: Current  execute[mongodb-systemctl-daemon-reload]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:174:in `block in from_file'
I, [2015-07-14T21:45:24.367164 #40537]  INFO -- replicaset-debian-720: [2015-07-15T01:45:23+00:00] WARN: Cloning resource attributes for template[/etc/init.d/mongodb] from prior resource (CHEF-3694)
I, [2015-07-14T21:45:24.367445 #40537]  INFO -- replicaset-debian-720: [2015-07-15T01:45:23+00:00] WARN: Previous template[/etc/init.d/mongodb]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:42:in `from_file'
I, [2015-07-14T21:45:24.367689 #40537]  INFO -- replicaset-debian-720: [2015-07-15T01:45:23+00:00] WARN: Current  template[/etc/init.d/mongodb]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:180:in `block in from_file'
I, [2015-07-14T21:45:24.391075 #40537]  INFO -- replicaset-debian-720: Converging 25 resources
I, [2015-07-14T21:45:24.391127 #40537]  INFO -- replicaset-debian-720: Recipe: apt::default
I, [2015-07-14T21:45:24.391147 #40537]  INFO -- replicaset-debian-720:   * file[/var/lib/apt/periodic/update-success-stamp] action nothing (skipped due to action :nothing)
I, [2015-07-14T21:45:24.392187 #40537]  INFO -- replicaset-debian-720:  (up to date)
I, [2015-07-14T21:45:24.393744 #40537]  INFO -- replicaset-debian-720:   * cookbook_file[/etc/apt/apt.conf.d/15update-stamp] action create
I, [2015-07-14T21:45:24.407558 #40537]  INFO -- replicaset-debian-720:     - create new file /etc/apt/apt.conf.d/15update-stamp
I, [2015-07-14T21:45:24.407938 #40537]  INFO -- replicaset-debian-720:     - update content in file /etc/apt/apt.conf.d/15update-stamp from none to 174cdb
I, [2015-07-14T21:45:24.408320 #40537]  INFO -- replicaset-debian-720:  --- /etc/apt/apt.conf.d/15update-stamp  2015-07-15 01:45:23.548759765 +0000
I, [2015-07-14T21:45:24.408824 #40537]  INFO -- replicaset-debian-720:  +++ /tmp/.15update-stamp20150715-2898-ztbno0    2015-07-15 01:45:23.560765765 +0000
I, [2015-07-14T21:45:24.409007 #40537]  INFO -- replicaset-debian-720:  @@ -1 +1,2 @@
I, [2015-07-14T21:45:24.409665 #40537]  INFO -- replicaset-debian-720:  +APT::Update::Post-Invoke-Success {"touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";};
I, [2015-07-14T21:45:42.097726 #40537]  INFO -- replicaset-debian-720:   * execute[apt-get-update] action run
I, [2015-07-14T21:45:42.098508 #40537]  INFO -- replicaset-debian-720:     - execute apt-get update
I, [2015-07-14T21:45:42.100573 #40537]  INFO -- replicaset-debian-720:   * file[/var/lib/apt/periodic/update-success-stamp] action touch
I, [2015-07-14T21:45:42.101049 #40537]  INFO -- replicaset-debian-720:     - update utime on file /var/lib/apt/periodic/update-success-stamp
I, [2015-07-14T21:45:42.101997 #40537]  INFO -- replicaset-debian-720:   * execute[apt-get update] action nothing (skipped due to action :nothing)
I, [2015-07-14T21:45:42.102816 #40537]  INFO -- replicaset-debian-720:   * execute[apt-get autoremove] action nothing (skipped due to action :nothing)
I, [2015-07-14T21:45:42.103523 #40537]  INFO -- replicaset-debian-720:   * execute[apt-get autoclean] action nothing (skipped due to action :nothing)
I, [2015-07-14T21:45:42.104293 #40537]  INFO -- replicaset-debian-720:   * execute[apt-get-update-periodic] action run (skipped due to only_if)
I, [2015-07-14T21:45:42.105559 #40537]  INFO -- replicaset-debian-720:   * directory[/var/cache/local] action create
I, [2015-07-14T21:45:42.106594 #40537]  INFO -- replicaset-debian-720:     - create new directory /var/cache/local
I, [2015-07-14T21:45:42.106855 #40537]  INFO -- replicaset-debian-720:     - change mode from '' to '0755'
I, [2015-07-14T21:45:42.107166 #40537]  INFO -- replicaset-debian-720:     - change owner from '' to 'root'
I, [2015-07-14T21:45:42.107710 #40537]  INFO -- replicaset-debian-720:     - change group from '' to 'root'
I, [2015-07-14T21:45:42.108559 #40537]  INFO -- replicaset-debian-720:   * directory[/var/cache/local/preseeding] action create
I, [2015-07-14T21:45:42.109658 #40537]  INFO -- replicaset-debian-720:     - create new directory /var/cache/local/preseeding
I, [2015-07-14T21:45:42.110169 #40537]  INFO -- replicaset-debian-720:     - change mode from '' to '0755'
I, [2015-07-14T21:45:42.110518 #40537]  INFO -- replicaset-debian-720:     - change owner from '' to 'root'
I, [2015-07-14T21:45:42.111182 #40537]  INFO -- replicaset-debian-720:     - change group from '' to 'root'
I, [2015-07-14T21:45:42.111520 #40537]  INFO -- replicaset-debian-720: Recipe: mongodb::install
I, [2015-07-14T21:45:42.112755 #40537]  INFO -- replicaset-debian-720:   * file[/etc/default/mongodb] action create_if_missing
I, [2015-07-14T21:45:42.114692 #40537]  INFO -- replicaset-debian-720:     - create new file /etc/default/mongodb
I, [2015-07-14T21:45:42.115066 #40537]  INFO -- replicaset-debian-720:     - update content in file /etc/default/mongodb from none to a35762
I, [2015-07-14T21:45:42.115611 #40537]  INFO -- replicaset-debian-720:  --- /etc/default/mongodb    2015-07-15 01:45:41.277619696 +0000
I, [2015-07-14T21:45:42.116231 #40537]  INFO -- replicaset-debian-720:  +++ /tmp/.mongodb20150715-2898-1uybgu2  2015-07-15 01:45:41.277619696 +0000
I, [2015-07-14T21:45:42.116575 #40537]  INFO -- replicaset-debian-720:  @@ -1 +1,2 @@
I, [2015-07-14T21:45:42.117618 #40537]  INFO -- replicaset-debian-720:  +ENABLE_MONGODB=no
I, [2015-07-14T21:45:42.117874 #40537]  INFO -- replicaset-debian-720:     - change mode from '' to '0644'
I, [2015-07-14T21:45:42.118114 #40537]  INFO -- replicaset-debian-720:     - change owner from '' to 'root'
I, [2015-07-14T21:45:42.118701 #40537]  INFO -- replicaset-debian-720:     - change group from '' to 'root'
I, [2015-07-14T21:45:42.136879 #40537]  INFO -- replicaset-debian-720:   * template[/etc/mongodb.conf] action create_if_missing
I, [2015-07-14T21:45:42.139721 #40537]  INFO -- replicaset-debian-720:     - create new file /etc/mongodb.conf
I, [2015-07-14T21:45:42.140068 #40537]  INFO -- replicaset-debian-720:     - update content in file /etc/mongodb.conf from none to 1e55f0
I, [2015-07-14T21:45:42.140562 #40537]  INFO -- replicaset-debian-720:  --- /etc/mongodb.conf   2015-07-15 01:45:41.301631696 +0000
I, [2015-07-14T21:45:42.141020 #40537]  INFO -- replicaset-debian-720:  +++ /tmp/chef-rendered-template20150715-2898-10bhbi7    2015-07-15 01:45:41.301631696 +0000
I, [2015-07-14T21:45:42.141360 #40537]  INFO -- replicaset-debian-720:  @@ -1 +1,15 @@
I, [2015-07-14T21:45:42.141694 #40537]  INFO -- replicaset-debian-720:  +#
I, [2015-07-14T21:45:42.142102 #40537]  INFO -- replicaset-debian-720:  +# Automatically Generated by Chef, do not edit directly!
I, [2015-07-14T21:45:42.142438 #40537]  INFO -- replicaset-debian-720:  +#
I, [2015-07-14T21:45:42.142737 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.143066 #40537]  INFO -- replicaset-debian-720:  +bind_ip = 0.0.0.0
I, [2015-07-14T21:45:42.143359 #40537]  INFO -- replicaset-debian-720:  +dbpath = /var/lib/mongodb
I, [2015-07-14T21:45:42.143544 #40537]  INFO -- replicaset-debian-720:  +fork = false
I, [2015-07-14T21:45:42.144305 #40537]  INFO -- replicaset-debian-720:  +logappend = true
I, [2015-07-14T21:45:42.144373 #40537]  INFO -- replicaset-debian-720:  +logpath = /var/log/mongodb/mongodb.log
I, [2015-07-14T21:45:42.144415 #40537]  INFO -- replicaset-debian-720:  +nojournal = false
I, [2015-07-14T21:45:42.144440 #40537]  INFO -- replicaset-debian-720:  +port = 27017
I, [2015-07-14T21:45:42.144461 #40537]  INFO -- replicaset-debian-720:  +replSet = kitchen
I, [2015-07-14T21:45:42.144482 #40537]  INFO -- replicaset-debian-720:  +rest = false
I, [2015-07-14T21:45:42.144550 #40537]  INFO -- replicaset-debian-720:  +smallfiles = false
I, [2015-07-14T21:45:42.144901 #40537]  INFO -- replicaset-debian-720:     - change mode from '' to '0644'
I, [2015-07-14T21:45:42.145041 #40537]  INFO -- replicaset-debian-720:     - change owner from '' to 'root'
I, [2015-07-14T21:45:42.145573 #40537]  INFO -- replicaset-debian-720:     - change group from '' to 'root'
I, [2015-07-14T21:45:42.146328 #40537]  INFO -- replicaset-debian-720:   * execute[mongodb-systemctl-daemon-reload] action nothing (skipped due to action :nothing)
I, [2015-07-14T21:45:42.177337 #40537]  INFO -- replicaset-debian-720:   * template[/etc/init.d/mongodb] action create_if_missing
I, [2015-07-14T21:45:42.181254 #40537]  INFO -- replicaset-debian-720:     - create new file /etc/init.d/mongodb
I, [2015-07-14T21:45:42.181489 #40537]  INFO -- replicaset-debian-720:     - update content in file /etc/init.d/mongodb from none to 807705
I, [2015-07-14T21:45:42.182145 #40537]  INFO -- replicaset-debian-720:  --- /etc/init.d/mongodb 2015-07-15 01:45:41.341651695 +0000
I, [2015-07-14T21:45:42.182658 #40537]  INFO -- replicaset-debian-720:  +++ /tmp/chef-rendered-template20150715-2898-1sizioo    2015-07-15 01:45:41.345653695 +0000
I, [2015-07-14T21:45:42.182978 #40537]  INFO -- replicaset-debian-720:  @@ -1 +1,265 @@
I, [2015-07-14T21:45:42.183341 #40537]  INFO -- replicaset-debian-720:  +#!/bin/bash
I, [2015-07-14T21:45:42.183586 #40537]  INFO -- replicaset-debian-720:  +#
I, [2015-07-14T21:45:42.183839 #40537]  INFO -- replicaset-debian-720:  +# init.d script with LSB support.
I, [2015-07-14T21:45:42.184063 #40537]  INFO -- replicaset-debian-720:  +#
I, [2015-07-14T21:45:42.184385 #40537]  INFO -- replicaset-debian-720:  +# Copyright (c) 2007 Javier Fernandez-Sanguino <[email protected]>
I, [2015-07-14T21:45:42.184572 #40537]  INFO -- replicaset-debian-720:  +# Copyright (c) 2011 edelight GmbH
I, [2015-07-14T21:45:42.184902 #40537]  INFO -- replicaset-debian-720:  +#       Author: Markus Korn <[email protected]>
I, [2015-07-14T21:45:42.185153 #40537]  INFO -- replicaset-debian-720:  +#
I, [2015-07-14T21:45:42.185414 #40537]  INFO -- replicaset-debian-720:  +# This is free software; you may redistribute it and/or modify
I, [2015-07-14T21:45:42.185677 #40537]  INFO -- replicaset-debian-720:  +# it under the terms of the GNU General Public License as
I, [2015-07-14T21:45:42.185876 #40537]  INFO -- replicaset-debian-720:  +# published by the Free Software Foundation; either version 2,
I, [2015-07-14T21:45:42.185907 #40537]  INFO -- replicaset-debian-720:  +# or (at your option) any later version.
I, [2015-07-14T21:45:42.185929 #40537]  INFO -- replicaset-debian-720:  +#
I, [2015-07-14T21:45:42.185950 #40537]  INFO -- replicaset-debian-720:  +# This is distributed in the hope that it will be useful, but
I, [2015-07-14T21:45:42.185970 #40537]  INFO -- replicaset-debian-720:  +# WITHOUT ANY WARRANTY; without even the implied warranty of
I, [2015-07-14T21:45:42.185991 #40537]  INFO -- replicaset-debian-720:  +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
I, [2015-07-14T21:45:42.186029 #40537]  INFO -- replicaset-debian-720:  +# GNU General Public License for more details.
I, [2015-07-14T21:45:42.186050 #40537]  INFO -- replicaset-debian-720:  +#
I, [2015-07-14T21:45:42.186567 #40537]  INFO -- replicaset-debian-720:  +# You should have received a copy of the GNU General Public License with
I, [2015-07-14T21:45:42.186607 #40537]  INFO -- replicaset-debian-720:  +# the Debian operating system, in /usr/share/common-licenses/GPL;  if
I, [2015-07-14T21:45:42.186635 #40537]  INFO -- replicaset-debian-720:  +# not, write to the Free Software Foundation, Inc., 59 Temple Place,
I, [2015-07-14T21:45:42.186660 #40537]  INFO -- replicaset-debian-720:  +# Suite 330, Boston, MA 02111-1307 USA
I, [2015-07-14T21:45:42.186682 #40537]  INFO -- replicaset-debian-720:  +#
I, [2015-07-14T21:45:42.186703 #40537]  INFO -- replicaset-debian-720:  +### BEGIN INIT INFO
I, [2015-07-14T21:45:42.186724 #40537]  INFO -- replicaset-debian-720:  +# Provides:          mongod
I, [2015-07-14T21:45:42.186744 #40537]  INFO -- replicaset-debian-720:  +# Required-Start:    $network $local_fs $remote_fs
I, [2015-07-14T21:45:42.186769 #40537]  INFO -- replicaset-debian-720:  +# Required-Stop:     $network $local_fs $remote_fs
I, [2015-07-14T21:45:42.186793 #40537]  INFO -- replicaset-debian-720:  +# Should-Start:      $named
I, [2015-07-14T21:45:42.186816 #40537]  INFO -- replicaset-debian-720:  +# Should-Stop:
I, [2015-07-14T21:45:42.186877 #40537]  INFO -- replicaset-debian-720:  +# Default-Start:     2 3 4 5
I, [2015-07-14T21:45:42.186917 #40537]  INFO -- replicaset-debian-720:  +# Default-Stop:      0 1 6
I, [2015-07-14T21:45:42.186943 #40537]  INFO -- replicaset-debian-720:  +# Short-Description: Start/stop mongod An object/document-origented database
I, [2015-07-14T21:45:42.186967 #40537]  INFO -- replicaset-debian-720:  +# Description:       MongoDB is a high-performance, open source, schema-free
I, [2015-07-14T21:45:42.186990 #40537]  INFO -- replicaset-debian-720:  +#                    document-oriented  data store that's easy to deploy, manage
I, [2015-07-14T21:45:42.187015 #40537]  INFO -- replicaset-debian-720:  +#                    and use. It's network accessible, written in C++ and offers
I, [2015-07-14T21:45:42.187037 #40537]  INFO -- replicaset-debian-720:  +#                    the following features:
I, [2015-07-14T21:45:42.187058 #40537]  INFO -- replicaset-debian-720:  +#
I, [2015-07-14T21:45:42.187079 #40537]  INFO -- replicaset-debian-720:  +#                       * Collection oriented storage - easy storage of object-
I, [2015-07-14T21:45:42.187101 #40537]  INFO -- replicaset-debian-720:  +#                         style data
I, [2015-07-14T21:45:42.187123 #40537]  INFO -- replicaset-debian-720:  +#                       * Full index support, including on inner objects
I, [2015-07-14T21:45:42.187144 #40537]  INFO -- replicaset-debian-720:  +#                       * Query profiling
I, [2015-07-14T21:45:42.187167 #40537]  INFO -- replicaset-debian-720:  +#                       * Replication and fail-over support
I, [2015-07-14T21:45:42.187189 #40537]  INFO -- replicaset-debian-720:  +#                       * Efficient storage of binary data including large
I, [2015-07-14T21:45:42.187210 #40537]  INFO -- replicaset-debian-720:  +#                         objects (e.g. videos)
I, [2015-07-14T21:45:42.187232 #40537]  INFO -- replicaset-debian-720:  +#                       * Auto-sharding for cloud-level scalability (Q209)
I, [2015-07-14T21:45:42.187254 #40537]  INFO -- replicaset-debian-720:  +#
I, [2015-07-14T21:45:42.187274 #40537]  INFO -- replicaset-debian-720:  +#                    High performance, scalability, and reasonable depth of
I, [2015-07-14T21:45:42.187296 #40537]  INFO -- replicaset-debian-720:  +#                    functionality are the goals for the project.
I, [2015-07-14T21:45:42.187318 #40537]  INFO -- replicaset-debian-720:  +### END INIT INFO
I, [2015-07-14T21:45:42.187338 #40537]  INFO -- replicaset-debian-720:  +#
I, [2015-07-14T21:45:42.187370 #40537]  INFO -- replicaset-debian-720:  +NAME=mongod
I, [2015-07-14T21:45:42.187393 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.187414 #40537]  INFO -- replicaset-debian-720:  +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
I, [2015-07-14T21:45:42.187435 #40537]  INFO -- replicaset-debian-720:  +DESC=database
I, [2015-07-14T21:45:42.187453 #40537]  INFO -- replicaset-debian-720:  +PIDFILE=/var/run/$NAME.pid
I, [2015-07-14T21:45:42.187471 #40537]  INFO -- replicaset-debian-720:  +ENABLE_MONGODB=yes
I, [2015-07-14T21:45:42.187490 #40537]  INFO -- replicaset-debian-720:  +SYSCONFIG=/etc/default/mongodb
I, [2015-07-14T21:45:42.187509 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.187530 #40537]  INFO -- replicaset-debian-720:  +# this should get removed at some point for more shell agnostic init script
I, [2015-07-14T21:45:42.187552 #40537]  INFO -- replicaset-debian-720:  +ulimit -f unlimited
I, [2015-07-14T21:45:42.187573 #40537]  INFO -- replicaset-debian-720:  +ulimit -t unlimited
I, [2015-07-14T21:45:42.187592 #40537]  INFO -- replicaset-debian-720:  +ulimit -v unlimited
I, [2015-07-14T21:45:42.187612 #40537]  INFO -- replicaset-debian-720:  +ulimit -n 64000
I, [2015-07-14T21:45:42.187632 #40537]  INFO -- replicaset-debian-720:  +ulimit -m unlimited
I, [2015-07-14T21:45:42.187652 #40537]  INFO -- replicaset-debian-720:  +ulimit -u 32000
I, [2015-07-14T21:45:42.187672 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.187693 #40537]  INFO -- replicaset-debian-720:  +# Include mongodb defaults if available
I, [2015-07-14T21:45:42.187715 #40537]  INFO -- replicaset-debian-720:  +if [ -f $SYSCONFIG ] ; then
I, [2015-07-14T21:45:42.187735 #40537]  INFO -- replicaset-debian-720:  +    . $SYSCONFIG
I, [2015-07-14T21:45:42.187753 #40537]  INFO -- replicaset-debian-720:  +fi
I, [2015-07-14T21:45:42.187774 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.187793 #40537]  INFO -- replicaset-debian-720:  +# Handle NUMA access to CPUs (SERVER-3574)
I, [2015-07-14T21:45:42.187815 #40537]  INFO -- replicaset-debian-720:  +# This verifies the existence of numactl as well as testing that the command works
I, [2015-07-14T21:45:42.187835 #40537]  INFO -- replicaset-debian-720:  +NUMACTL_ARGS="--interleave=all"
I, [2015-07-14T21:45:42.187855 #40537]  INFO -- replicaset-debian-720:  +if which numactl >/dev/null 2>/dev/null && numactl $NUMACTL_ARGS ls / >/dev/null 2>/dev/null
I, [2015-07-14T21:45:42.187876 #40537]  INFO -- replicaset-debian-720:  +then
I, [2015-07-14T21:45:42.187896 #40537]  INFO -- replicaset-debian-720:  +    NUMACTL="`which numactl` -- $NUMACTL_ARGS"
I, [2015-07-14T21:45:42.187917 #40537]  INFO -- replicaset-debian-720:  +    DAEMON_OPTS="$DAEMON_OPTS"
I, [2015-07-14T21:45:42.187938 #40537]  INFO -- replicaset-debian-720:  +else
I, [2015-07-14T21:45:42.187957 #40537]  INFO -- replicaset-debian-720:  +    NUMACTL=""
I, [2015-07-14T21:45:42.187976 #40537]  INFO -- replicaset-debian-720:  +    DAEMON_OPTS="-- $DAEMON_OPTS"
I, [2015-07-14T21:45:42.187997 #40537]  INFO -- replicaset-debian-720:  +fi
I, [2015-07-14T21:45:42.188016 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.188036 #40537]  INFO -- replicaset-debian-720:  +if test ! -x $DAEMON; then
I, [2015-07-14T21:45:42.188057 #40537]  INFO -- replicaset-debian-720:  +    echo "Could not find $DAEMON"
I, [2015-07-14T21:45:42.188077 #40537]  INFO -- replicaset-debian-720:  +    exit 0
I, [2015-07-14T21:45:42.188097 #40537]  INFO -- replicaset-debian-720:  +fi
I, [2015-07-14T21:45:42.188115 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.188135 #40537]  INFO -- replicaset-debian-720:  +if test "x$ENABLE_MONGODB" != "xyes"; then
I, [2015-07-14T21:45:42.188155 #40537]  INFO -- replicaset-debian-720:  +    exit 0
I, [2015-07-14T21:45:42.188176 #40537]  INFO -- replicaset-debian-720:  +fi
I, [2015-07-14T21:45:42.188194 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.188221 #40537]  INFO -- replicaset-debian-720:  +. /lib/lsb/init-functions
I, [2015-07-14T21:45:42.188247 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.188266 #40537]  INFO -- replicaset-debian-720:  +STARTTIME=1
I, [2015-07-14T21:45:42.188285 #40537]  INFO -- replicaset-debian-720:  +DIETIME=10                  # Time to wait for the server to die, in seconds
I, [2015-07-14T21:45:42.188305 #40537]  INFO -- replicaset-debian-720:  +                            # If this value is set too low you might not
I, [2015-07-14T21:45:42.190139 #40537]  INFO -- replicaset-debian-720:  +                            # let some servers to die gracefully and
I, [2015-07-14T21:45:42.190205 #40537]  INFO -- replicaset-debian-720:  +                            # 'restart' will not work
I, [2015-07-14T21:45:42.190245 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.190272 #40537]  INFO -- replicaset-debian-720:  +DAEMON_USER=${DAEMON_USER:-mongodb}
I, [2015-07-14T21:45:42.190293 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.190360 #40537]  INFO -- replicaset-debian-720:  +# debugging
I, [2015-07-14T21:45:42.190386 #40537]  INFO -- replicaset-debian-720:  +echo "** Running $NAME ($DAEMON $DAEMON_OPTS)"
I, [2015-07-14T21:45:42.190406 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.190426 #40537]  INFO -- replicaset-debian-720:  +set -e
I, [2015-07-14T21:45:42.190445 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.190463 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.190482 #40537]  INFO -- replicaset-debian-720:  +running_pid() {
I, [2015-07-14T21:45:42.190502 #40537]  INFO -- replicaset-debian-720:  +# Check if a given process pid's cmdline matches a given name
I, [2015-07-14T21:45:42.190522 #40537]  INFO -- replicaset-debian-720:  +    pid=$1
I, [2015-07-14T21:45:42.190540 #40537]  INFO -- replicaset-debian-720:  +    name=$2
I, [2015-07-14T21:45:42.190558 #40537]  INFO -- replicaset-debian-720:  +    [ -z "$pid" ] && return 1
I, [2015-07-14T21:45:42.190577 #40537]  INFO -- replicaset-debian-720:  +    [ ! -d /proc/$pid ] &&  return 1
I, [2015-07-14T21:45:42.190597 #40537]  INFO -- replicaset-debian-720:  +    cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1`
I, [2015-07-14T21:45:42.190617 #40537]  INFO -- replicaset-debian-720:  +    # Is this the expected server
I, [2015-07-14T21:45:42.190636 #40537]  INFO -- replicaset-debian-720:  +    [ "$cmd" != "$name" ] &&  return 1
I, [2015-07-14T21:45:42.190655 #40537]  INFO -- replicaset-debian-720:  +    return 0
I, [2015-07-14T21:45:42.190674 #40537]  INFO -- replicaset-debian-720:  +}
I, [2015-07-14T21:45:42.190692 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.190709 #40537]  INFO -- replicaset-debian-720:  +running() {
I, [2015-07-14T21:45:42.190729 #40537]  INFO -- replicaset-debian-720:  +# Check if the process is running looking at /proc
I, [2015-07-14T21:45:42.190748 #40537]  INFO -- replicaset-debian-720:  +# (works for all users)
I, [2015-07-14T21:45:42.190767 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.190785 #40537]  INFO -- replicaset-debian-720:  +    # No pidfile, probably no daemon present
I, [2015-07-14T21:45:42.190805 #40537]  INFO -- replicaset-debian-720:  +    [ ! -f "$PIDFILE" ] && return 1
I, [2015-07-14T21:45:42.190823 #40537]  INFO -- replicaset-debian-720:  +    pid=`cat $PIDFILE`
I, [2015-07-14T21:45:42.190843 #40537]  INFO -- replicaset-debian-720:  +    running_pid $pid $DAEMON || return 1
I, [2015-07-14T21:45:42.190864 #40537]  INFO -- replicaset-debian-720:  +    for i in `seq 1 20`; do
I, [2015-07-14T21:45:42.190884 #40537]  INFO -- replicaset-debian-720:  +      nc -z 0.0.0.0 27017 && return 0
I, [2015-07-14T21:45:42.190902 #40537]  INFO -- replicaset-debian-720:  +      echo -n "."
I, [2015-07-14T21:45:42.190921 #40537]  INFO -- replicaset-debian-720:  +      sleep 15
I, [2015-07-14T21:45:42.190939 #40537]  INFO -- replicaset-debian-720:  +    done
I, [2015-07-14T21:45:42.190957 #40537]  INFO -- replicaset-debian-720:  +    return 1
I, [2015-07-14T21:45:42.190993 #40537]  INFO -- replicaset-debian-720:  +}
I, [2015-07-14T21:45:42.191013 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.191033 #40537]  INFO -- replicaset-debian-720:  +start_server() {
I, [2015-07-14T21:45:42.191051 #40537]  INFO -- replicaset-debian-720:  +# Start the process using the wrapper
I, [2015-07-14T21:45:42.191070 #40537]  INFO -- replicaset-debian-720:  +            start-stop-daemon --background --start --quiet --pidfile $PIDFILE \
I, [2015-07-14T21:45:42.191091 #40537]  INFO -- replicaset-debian-720:  +                        --make-pidfile --chuid $DAEMON_USER \
I, [2015-07-14T21:45:42.191110 #40537]  INFO -- replicaset-debian-720:  +                        --exec $NUMACTL $DAEMON $DAEMON_OPTS
I, [2015-07-14T21:45:42.191130 #40537]  INFO -- replicaset-debian-720:  +            errcode=$?
I, [2015-07-14T21:45:42.191149 #40537]  INFO -- replicaset-debian-720:  +    return $errcode
I, [2015-07-14T21:45:42.191168 #40537]  INFO -- replicaset-debian-720:  +}
I, [2015-07-14T21:45:42.191186 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.191204 #40537]  INFO -- replicaset-debian-720:  +stop_server() {
I, [2015-07-14T21:45:42.191224 #40537]  INFO -- replicaset-debian-720:  +# Stop the process using the wrapper
I, [2015-07-14T21:45:42.191244 #40537]  INFO -- replicaset-debian-720:  +            start-stop-daemon --stop --quiet --pidfile $PIDFILE \
I, [2015-07-14T21:45:42.191264 #40537]  INFO -- replicaset-debian-720:  +                        --retry 300 \
I, [2015-07-14T21:45:42.191283 #40537]  INFO -- replicaset-debian-720:  +                        --user $DAEMON_USER \
I, [2015-07-14T21:45:42.191303 #40537]  INFO -- replicaset-debian-720:  +                        --exec $DAEMON
I, [2015-07-14T21:45:42.191321 #40537]  INFO -- replicaset-debian-720:  +            errcode=$?
I, [2015-07-14T21:45:42.191339 #40537]  INFO -- replicaset-debian-720:  +    return $errcode
I, [2015-07-14T21:45:42.191357 #40537]  INFO -- replicaset-debian-720:  +}
I, [2015-07-14T21:45:42.191374 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.191392 #40537]  INFO -- replicaset-debian-720:  +force_stop() {
I, [2015-07-14T21:45:42.191410 #40537]  INFO -- replicaset-debian-720:  +# Force the process to die killing it manually
I, [2015-07-14T21:45:42.191431 #40537]  INFO -- replicaset-debian-720:  +    [ ! -e "$PIDFILE" ] && return
I, [2015-07-14T21:45:42.191452 #40537]  INFO -- replicaset-debian-720:  +    if running ; then
I, [2015-07-14T21:45:42.191471 #40537]  INFO -- replicaset-debian-720:  +        kill -15 $pid
I, [2015-07-14T21:45:42.191489 #40537]  INFO -- replicaset-debian-720:  +    # Is it really dead?
I, [2015-07-14T21:45:42.191507 #40537]  INFO -- replicaset-debian-720:  +        sleep "$DIETIME"s
I, [2015-07-14T21:45:42.191525 #40537]  INFO -- replicaset-debian-720:  +        if running ; then
I, [2015-07-14T21:45:42.191543 #40537]  INFO -- replicaset-debian-720:  +            kill -9 $pid
I, [2015-07-14T21:45:42.191561 #40537]  INFO -- replicaset-debian-720:  +            sleep "$DIETIME"s
I, [2015-07-14T21:45:42.191580 #40537]  INFO -- replicaset-debian-720:  +            if running ; then
I, [2015-07-14T21:45:42.191599 #40537]  INFO -- replicaset-debian-720:  +                echo "Cannot kill $NAME (pid=$pid)!"
I, [2015-07-14T21:45:42.192712 #40537]  INFO -- replicaset-debian-720:  +                exit 1
I, [2015-07-14T21:45:42.192752 #40537]  INFO -- replicaset-debian-720:  +            fi
I, [2015-07-14T21:45:42.192774 #40537]  INFO -- replicaset-debian-720:  +        fi
I, [2015-07-14T21:45:42.192793 #40537]  INFO -- replicaset-debian-720:  +    fi
I, [2015-07-14T21:45:42.192812 #40537]  INFO -- replicaset-debian-720:  +    rm -f $PIDFILE
I, [2015-07-14T21:45:42.192831 #40537]  INFO -- replicaset-debian-720:  +}
I, [2015-07-14T21:45:42.192849 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.192866 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.192885 #40537]  INFO -- replicaset-debian-720:  +case "$1" in
I, [2015-07-14T21:45:42.192921 #40537]  INFO -- replicaset-debian-720:  +  start)
I, [2015-07-14T21:45:42.192942 #40537]  INFO -- replicaset-debian-720:  +    log_daemon_msg "Starting $DESC" "$NAME"
I, [2015-07-14T21:45:42.192961 #40537]  INFO -- replicaset-debian-720:  +        # Check if it's running first
I, [2015-07-14T21:45:42.192979 #40537]  INFO -- replicaset-debian-720:  +        if running ;  then
I, [2015-07-14T21:45:42.192998 #40537]  INFO -- replicaset-debian-720:  +            log_progress_msg "apparently already running"
I, [2015-07-14T21:45:42.193017 #40537]  INFO -- replicaset-debian-720:  +            log_end_msg 0
I, [2015-07-14T21:45:42.193035 #40537]  INFO -- replicaset-debian-720:  +            exit 0
I, [2015-07-14T21:45:42.193054 #40537]  INFO -- replicaset-debian-720:  +        fi
I, [2015-07-14T21:45:42.193072 #40537]  INFO -- replicaset-debian-720:  +        if start_server ; then
I, [2015-07-14T21:45:42.193091 #40537]  INFO -- replicaset-debian-720:  +            # NOTE: Some servers might die some time after they start,
I, [2015-07-14T21:45:42.193112 #40537]  INFO -- replicaset-debian-720:  +            # this code will detect this issue if STARTTIME is set
I, [2015-07-14T21:45:42.193131 #40537]  INFO -- replicaset-debian-720:  +            # to a reasonable value
I, [2015-07-14T21:45:42.193150 #40537]  INFO -- replicaset-debian-720:  +            [ -n "$STARTTIME" ] && sleep $STARTTIME # Wait some time
I, [2015-07-14T21:45:42.193170 #40537]  INFO -- replicaset-debian-720:  +            if  running ;  then
I, [2015-07-14T21:45:42.193189 #40537]  INFO -- replicaset-debian-720:  +                # It's ok, the server started and is running
I, [2015-07-14T21:45:42.193208 #40537]  INFO -- replicaset-debian-720:  +                log_end_msg 0
I, [2015-07-14T21:45:42.193241 #40537]  INFO -- replicaset-debian-720:  +            else
I, [2015-07-14T21:45:42.193275 #40537]  INFO -- replicaset-debian-720:  +                # It is not running after we did start
I, [2015-07-14T21:45:42.193303 #40537]  INFO -- replicaset-debian-720:  +                log_end_msg 1
I, [2015-07-14T21:45:42.193322 #40537]  INFO -- replicaset-debian-720:  +            fi
I, [2015-07-14T21:45:42.193360 #40537]  INFO -- replicaset-debian-720:  +        else
I, [2015-07-14T21:45:42.193390 #40537]  INFO -- replicaset-debian-720:  +            # Either we could not start it
I, [2015-07-14T21:45:42.193409 #40537]  INFO -- replicaset-debian-720:  +            log_end_msg 1
I, [2015-07-14T21:45:42.193427 #40537]  INFO -- replicaset-debian-720:  +        fi
I, [2015-07-14T21:45:42.193444 #40537]  INFO -- replicaset-debian-720:  +    ;;
I, [2015-07-14T21:45:42.193461 #40537]  INFO -- replicaset-debian-720:  +  stop)
I, [2015-07-14T21:45:42.193479 #40537]  INFO -- replicaset-debian-720:  +        log_daemon_msg "Stopping $DESC" "$NAME"
I, [2015-07-14T21:45:42.193497 #40537]  INFO -- replicaset-debian-720:  +        if running ; then
I, [2015-07-14T21:45:42.193516 #40537]  INFO -- replicaset-debian-720:  +            # Only stop the server if we see it running
I, [2015-07-14T21:45:42.193536 #40537]  INFO -- replicaset-debian-720:  +            errcode=0
I, [2015-07-14T21:45:42.193554 #40537]  INFO -- replicaset-debian-720:  +            stop_server || errcode=$?
I, [2015-07-14T21:45:42.193572 #40537]  INFO -- replicaset-debian-720:  +            log_end_msg $errcode
I, [2015-07-14T21:45:42.193589 #40537]  INFO -- replicaset-debian-720:  +        else
I, [2015-07-14T21:45:42.193607 #40537]  INFO -- replicaset-debian-720:  +            # If it's not running don't do anything
I, [2015-07-14T21:45:42.193625 #40537]  INFO -- replicaset-debian-720:  +            log_progress_msg "apparently not running"
I, [2015-07-14T21:45:42.193644 #40537]  INFO -- replicaset-debian-720:  +            log_end_msg 0
I, [2015-07-14T21:45:42.193661 #40537]  INFO -- replicaset-debian-720:  +            exit 0
I, [2015-07-14T21:45:42.193679 #40537]  INFO -- replicaset-debian-720:  +        fi
I, [2015-07-14T21:45:42.193705 #40537]  INFO -- replicaset-debian-720:  +        ;;
I, [2015-07-14T21:45:42.193725 #40537]  INFO -- replicaset-debian-720:  +  force-stop)
I, [2015-07-14T21:45:42.193745 #40537]  INFO -- replicaset-debian-720:  +        # First try to stop gracefully the program
I, [2015-07-14T21:45:42.193764 #40537]  INFO -- replicaset-debian-720:  +        $0 stop
I, [2015-07-14T21:45:42.193781 #40537]  INFO -- replicaset-debian-720:  +        if running; then
I, [2015-07-14T21:45:42.193800 #40537]  INFO -- replicaset-debian-720:  +            # If it's still running try to kill it more forcefully
I, [2015-07-14T21:45:42.193819 #40537]  INFO -- replicaset-debian-720:  +            log_daemon_msg "Stopping (force) $DESC" "$NAME"
I, [2015-07-14T21:45:42.193838 #40537]  INFO -- replicaset-debian-720:  +            errcode=0
I, [2015-07-14T21:45:42.193855 #40537]  INFO -- replicaset-debian-720:  +            force_stop || errcode=$?
I, [2015-07-14T21:45:42.194579 #40537]  INFO -- replicaset-debian-720:  +            log_end_msg $errcode
I, [2015-07-14T21:45:42.194609 #40537]  INFO -- replicaset-debian-720:  +        fi
I, [2015-07-14T21:45:42.194630 #40537]  INFO -- replicaset-debian-720:  +    ;;
I, [2015-07-14T21:45:42.194649 #40537]  INFO -- replicaset-debian-720:  +  restart|force-reload)
I, [2015-07-14T21:45:42.194668 #40537]  INFO -- replicaset-debian-720:  +        log_daemon_msg "Restarting $DESC" "$NAME"
I, [2015-07-14T21:45:42.194686 #40537]  INFO -- replicaset-debian-720:  +        errcode=0
I, [2015-07-14T21:45:42.194704 #40537]  INFO -- replicaset-debian-720:  +        stop_server || errcode=$?
I, [2015-07-14T21:45:42.194723 #40537]  INFO -- replicaset-debian-720:  +        # Wait some sensible amount, some server need this
I, [2015-07-14T21:45:42.194742 #40537]  INFO -- replicaset-debian-720:  +        [ -n "$DIETIME" ] && sleep $DIETIME
I, [2015-07-14T21:45:42.194760 #40537]  INFO -- replicaset-debian-720:  +        start_server || errcode=$?
I, [2015-07-14T21:45:42.194779 #40537]  INFO -- replicaset-debian-720:  +        [ -n "$STARTTIME" ] && sleep $STARTTIME
I, [2015-07-14T21:45:42.194799 #40537]  INFO -- replicaset-debian-720:  +        running || errcode=$?
I, [2015-07-14T21:45:42.194836 #40537]  INFO -- replicaset-debian-720:  +        log_end_msg $errcode
I, [2015-07-14T21:45:42.194866 #40537]  INFO -- replicaset-debian-720:  +    ;;
I, [2015-07-14T21:45:42.194896 #40537]  INFO -- replicaset-debian-720:  +  status)
I, [2015-07-14T21:45:42.194924 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.194952 #40537]  INFO -- replicaset-debian-720:  +        log_daemon_msg "Checking status of $DESC" "$NAME"
I, [2015-07-14T21:45:42.194980 #40537]  INFO -- replicaset-debian-720:  +        if running ;  then
I, [2015-07-14T21:45:42.195009 #40537]  INFO -- replicaset-debian-720:  +            log_progress_msg "running"
I, [2015-07-14T21:45:42.195029 #40537]  INFO -- replicaset-debian-720:  +            log_end_msg 0
I, [2015-07-14T21:45:42.195046 #40537]  INFO -- replicaset-debian-720:  +        else
I, [2015-07-14T21:45:42.195064 #40537]  INFO -- replicaset-debian-720:  +            log_progress_msg "apparently not running"
I, [2015-07-14T21:45:42.195083 #40537]  INFO -- replicaset-debian-720:  +            log_end_msg 1
I, [2015-07-14T21:45:42.195102 #40537]  INFO -- replicaset-debian-720:  +            exit 1
I, [2015-07-14T21:45:42.195120 #40537]  INFO -- replicaset-debian-720:  +        fi
I, [2015-07-14T21:45:42.195138 #40537]  INFO -- replicaset-debian-720:  +        ;;
I, [2015-07-14T21:45:42.195168 #40537]  INFO -- replicaset-debian-720:  +  # MongoDB can't reload its configuration.
I, [2015-07-14T21:45:42.195241 #40537]  INFO -- replicaset-debian-720:  +  reload)
I, [2015-07-14T21:45:42.195275 #40537]  INFO -- replicaset-debian-720:  +        log_warning_msg "Reloading $NAME daemon: not implemented, as the daemon"
I, [2015-07-14T21:45:42.195298 #40537]  INFO -- replicaset-debian-720:  +        log_warning_msg "cannot re-read the config file (use restart)."
I, [2015-07-14T21:45:42.195318 #40537]  INFO -- replicaset-debian-720:  +        ;;
I, [2015-07-14T21:45:42.195350 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.195370 #40537]  INFO -- replicaset-debian-720:  +  *)
I, [2015-07-14T21:45:42.195388 #40537]  INFO -- replicaset-debian-720:  +    N=/etc/init.d/$NAME
I, [2015-07-14T21:45:42.195409 #40537]  INFO -- replicaset-debian-720:  +    echo "Usage: $N {start|stop|force-stop|restart|force-reload|status}" >&2
I, [2015-07-14T21:45:42.195427 #40537]  INFO -- replicaset-debian-720:  +    exit 1
I, [2015-07-14T21:45:42.195444 #40537]  INFO -- replicaset-debian-720:  +    ;;
I, [2015-07-14T21:45:42.195461 #40537]  INFO -- replicaset-debian-720:  +esac
I, [2015-07-14T21:45:42.195478 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.195495 #40537]  INFO -- replicaset-debian-720:  +exit 0
I, [2015-07-14T21:45:42.195512 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:45:42.196259 #40537]  INFO -- replicaset-debian-720:     - change mode from '' to '0755'
I, [2015-07-14T21:45:42.196453 #40537]  INFO -- replicaset-debian-720:     - change owner from '' to 'root'
I, [2015-07-14T21:45:42.196703 #40537]  INFO -- replicaset-debian-720:     - change group from '' to 'root'
I, [2015-07-14T21:46:17.365798 #40537]  INFO -- replicaset-debian-720:   * package[mongodb] action install
I, [2015-07-14T21:46:17.366152 #40537]  INFO -- replicaset-debian-720:     - install version 1:2.0.6-1.1 of package mongodb
I, [2015-07-14T21:46:17.366200 #40537]  INFO -- replicaset-debian-720: Recipe: mongodb::replicaset
I, [2015-07-14T21:46:27.946691 #40537]  INFO -- replicaset-debian-720: 
I, [2015-07-14T21:46:27.946891 #40537]  INFO -- replicaset-debian-720:     - execute the ruby block chef_gem_at_converge_time
I, [2015-07-14T21:46:27.968810 #40537]  INFO -- replicaset-debian-720:   * template[/etc/default/mongodb] action create
I, [2015-07-14T21:46:27.969028 #40537]  INFO -- replicaset-debian-720:     - update content in file /etc/default/mongodb from a35762 to 91c827
I, [2015-07-14T21:46:27.969511 #40537]  INFO -- replicaset-debian-720:  --- /etc/default/mongodb    2015-07-15 01:45:41.277619696 +0000
I, [2015-07-14T21:46:27.970062 #40537]  INFO -- replicaset-debian-720:  +++ /tmp/chef-rendered-template20150715-2898-fo1eck 2015-07-15 01:46:27.156547516 +0000
I, [2015-07-14T21:46:27.970424 #40537]  INFO -- replicaset-debian-720:  @@ -1,2 +1,13 @@
I, [2015-07-14T21:46:27.970619 #40537]  INFO -- replicaset-debian-720:  -ENABLE_MONGODB=no
I, [2015-07-14T21:46:27.970921 #40537]  INFO -- replicaset-debian-720:  +#
I, [2015-07-14T21:46:27.971357 #40537]  INFO -- replicaset-debian-720:  +# Automatically Generated by Chef, do not edit directly!
I, [2015-07-14T21:46:27.971560 #40537]  INFO -- replicaset-debian-720:  +#
I, [2015-07-14T21:46:27.971824 #40537]  INFO -- replicaset-debian-720:  +
I, [2015-07-14T21:46:27.972012 #40537]  INFO -- replicaset-debian-720:  +CONFIGFILE="/etc/mongodb.conf"
I, [2015-07-14T21:46:27.972395 #40537]  INFO -- replicaset-debian-720:  +DAEMON="/usr/bin/$NAME"
I, [2015-07-14T21:46:27.972582 #40537]  INFO -- replicaset-debian-720:  +DAEMONUSER="mongodb"
I, [2015-07-14T21:46:27.972850 #40537]  INFO -- replicaset-debian-720:  +DAEMON_OPTS="--config /etc/mongodb.conf"
I, [2015-07-14T21:46:27.973762 #40537]  INFO -- replicaset-debian-720:  +DAEMON_USER="mongodb"
I, [2015-07-14T21:46:27.973800 #40537]  INFO -- replicaset-debian-720:  +ENABLE_MONGO="yes"
I, [2015-07-14T21:46:27.973822 #40537]  INFO -- replicaset-debian-720:  +ENABLE_MONGOD="yes"
I, [2015-07-14T21:46:27.973842 #40537]  INFO -- replicaset-debian-720:  +ENABLE_MONGODB="yes"
I, [2015-07-14T21:46:27.976690 #40537]  INFO -- replicaset-debian-720:   * template[/etc/mongodb.conf] action create (up to date)
I, [2015-07-14T21:46:27.978224 #40537]  INFO -- replicaset-debian-720:   * directory[/var/log/mongodb] action create (up to date)
I, [2015-07-14T21:46:27.980283 #40537]  INFO -- replicaset-debian-720:   * directory[/var/lib/mongodb] action create (up to date)
I, [2015-07-14T21:46:27.980773 #40537]  INFO -- replicaset-debian-720:   * execute[mongodb-systemctl-daemon-reload] action nothing (skipped due to action :nothing)
I, [2015-07-14T21:46:27.984433 #40537]  INFO -- replicaset-debian-720:   * template[/etc/init.d/mongodb] action create (up to date)
I, [2015-07-14T21:46:28.034875 #40537]  INFO -- replicaset-debian-720:   * service[mongodb] action enable (up to date)
I, [2015-07-14T21:46:44.186193 #40537]  INFO -- replicaset-debian-720:   * service[mongodb] action start
I, [2015-07-14T21:46:44.186263 #40537]  INFO -- replicaset-debian-720:     - start service service[mongodb]
I, [2015-07-14T21:46:44.367629 #40537]  INFO -- replicaset-debian-720: [2015-07-15T01:46:43+00:00] WARN: Cannot configure replicaset 'kitchen', no member nodes found
I, [2015-07-14T21:46:44.367878 #40537]  INFO -- replicaset-debian-720: 
I, [2015-07-14T21:46:44.368266 #40537]  INFO -- replicaset-debian-720:     - execute the ruby block config_replicaset
I, [2015-07-14T21:46:44.368881 #40537]  INFO -- replicaset-debian-720:   * ruby_block[config_replicaset] action nothing (skipped due to action :nothing)
I, [2015-07-14T21:46:44.369812 #40537]  INFO -- replicaset-debian-720:   * ruby_block[run_config_replicaset] action run
I, [2015-07-14T21:46:44.370051 #40537]  INFO -- replicaset-debian-720:     - execute the ruby block run_config_replicaset
I, [2015-07-14T21:46:55.787671 #40537]  INFO -- replicaset-debian-720:   * service[mongodb] action restart
I, [2015-07-14T21:46:55.787743 #40537]  INFO -- replicaset-debian-720:     - restart service service[mongodb]
I, [2015-07-14T21:46:55.787772 #40537]  INFO -- replicaset-debian-720:   * ruby_block[config_replicaset] action create[2015-07-15T01:46:54+00:00] WARN: Cannot configure replicaset 'kitchen', no member nodes found
I, [2015-07-14T21:46:55.787797 #40537]  INFO -- replicaset-debian-720: 
I, [2015-07-14T21:46:55.787820 #40537]  INFO -- replicaset-debian-720:     - execute the ruby block config_replicaset
I, [2015-07-14T21:46:55.787842 #40537]  INFO -- replicaset-debian-720:   * ruby_block[config_replicaset] action create[2015-07-15T01:46:54+00:00] WARN: Cannot configure replicaset 'kitchen', no member nodes found
I, [2015-07-14T21:46:55.787864 #40537]  INFO -- replicaset-debian-720: 
I, [2015-07-14T21:46:55.787885 #40537]  INFO -- replicaset-debian-720:     - execute the ruby block config_replicaset
I, [2015-07-14T21:46:55.830804 #40537]  INFO -- replicaset-debian-720: 
I, [2015-07-14T21:46:55.831017 #40537]  INFO -- replicaset-debian-720: Running handlers:
I, [2015-07-14T21:46:55.831210 #40537]  INFO -- replicaset-debian-720: Running handlers complete
I, [2015-07-14T21:46:55.831567 #40537]  INFO -- replicaset-debian-720: Chef Client finished, 17/23 resources updated in 100.976123271 seconds
I, [2015-07-14T21:46:57.848510 #40537]  INFO -- replicaset-debian-720: Finished converging <replicaset-debian-720> (2m13.82s).
I, [2015-07-14T21:46:57.848643 #40537]  INFO -- replicaset-debian-720: -----> Setting up <replicaset-debian-720>...
I, [2015-07-14T21:46:57.849436 #40537]  INFO -- replicaset-debian-720: Finished setting up <replicaset-debian-720> (0m0.00s).
I, [2015-07-14T21:46:57.849508 #40537]  INFO -- replicaset-debian-720: -----> Verifying <replicaset-debian-720>...
I, [2015-07-14T21:46:57.850392 #40537]  INFO -- replicaset-debian-720: Preparing files for transfer
I, [2015-07-14T21:46:57.978622 #40537]  INFO -- replicaset-debian-720: -----> Installing Busser (busser)
I, [2015-07-14T21:47:17.094147 #40537]  INFO -- replicaset-debian-720: Fetching: thor-0.19.0.gem
Fetching: thor-0.19.0.gem ( 15%)
Fetching: thor-0.19.0.gem ( 33%)
Fetching: thor-0.19.0.gem ( 37%)
Fetching: thor-0.19.0.gem ( 47%)
Fetching: thor-0.19.0.gem ( 64%)
Fetching: thor-0.19.0.gem ( 72%)
Fetching: thor-0.19.0.gem ( 74%)
Fetching: thor-0.19.0.gem ( 75%)
Fetching: thor-0.19.0.gem ( 81%)
Fetching: thor-0.19.0.gem ( 86%)
Fetching: thor-0.19.0.gem ( 95%)
Fetching: thor-0.19.0.gem (100%)
Fetching: thor-0.19.0.gem (100%)
I, [2015-07-14T21:47:17.353713 #40537]  INFO -- replicaset-debian-720: Fetching: busser-0.7.1.gem
Fetching: busser-0.7.1.gem (  3%)
Fetching: busser-0.7.1.gem ( 70%)
Fetching: busser-0.7.1.gem (100%)
Fetching: busser-0.7.1.gem (100%)
I, [2015-07-14T21:47:17.366612 #40537]  INFO -- replicaset-debian-720: Successfully installed thor-0.19.0
I, [2015-07-14T21:47:17.366913 #40537]  INFO -- replicaset-debian-720: Successfully installed busser-0.7.1
I, [2015-07-14T21:47:17.367147 #40537]  INFO -- replicaset-debian-720: 2 gems installed
I, [2015-07-14T21:47:17.570071 #40537]  INFO -- replicaset-debian-720: -----> Setting up Busser
I, [2015-07-14T21:47:17.570425 #40537]  INFO -- replicaset-debian-720: Creating BUSSER_ROOT in /tmp/verifier
I, [2015-07-14T21:47:17.570864 #40537]  INFO -- replicaset-debian-720: Creating busser binstub
I, [2015-07-14T21:47:17.581797 #40537]  INFO -- replicaset-debian-720: Installing Busser plugins: busser-bats
I, [2015-07-14T21:47:25.910047 #40537]  INFO -- replicaset-debian-720: Plugin bats installed (version 0.3.0)
I, [2015-07-14T21:47:25.912813 #40537]  INFO -- replicaset-debian-720: -----> Running postinstall for bats plugin
I, [2015-07-14T21:47:25.944616 #40537]  INFO -- replicaset-debian-720: Installed Bats to /tmp/verifier/vendor/bats/bin/bats
I, [2015-07-14T21:47:26.123362 #40537]  INFO -- replicaset-debian-720: Suite path directory /tmp/verifier/suites does not exist, skipping.
I, [2015-07-14T21:47:26.129801 #40537]  INFO -- replicaset-debian-720: Transferring files to <replicaset-debian-720>
I, [2015-07-14T21:47:26.271025 #40537]  INFO -- replicaset-debian-720: -----> Running bats test suite
I, [2015-07-14T21:47:26.373603 #40537]  INFO -- replicaset-debian-720: �[1G   starts mongodb�[K�[77G1/2�[2G�[1G ✓ starts mongodb�[K
I, [2015-07-14T21:47:26.421253 #40537]  INFO -- replicaset-debian-720: �[1G�[31;1m ✗ replicaset initialized�[K
I, [2015-07-14T21:47:26.421307 #40537]  INFO -- replicaset-debian-720: �[0m�[31;22m   (in test file /tmp/verifier/suites/bats/default.bats, line 21)
I, [2015-07-14T21:47:26.421327 #40537]  INFO -- replicaset-debian-720: �[0m�[31;22m     `[ "${lines[@]:(-1)}" -eq 1 ]' failed
I, [2015-07-14T21:47:26.421343 #40537]  INFO -- replicaset-debian-720: �[0m
I, [2015-07-14T21:47:26.421365 #40537]  INFO -- replicaset-debian-720: 2 tests, 1 failure
I, [2015-07-14T21:47:26.422364 #40537]  INFO -- replicaset-debian-720: !!!!!! Command [/tmp/verifier/vendor/bats/bin/bats /tmp/verifier/suites/bats] exit code was 1
E, [2015-07-14T21:47:26.432608 #40537] ERROR -- replicaset-debian-720: Verify failed on instance <replicaset-debian-720>.
E, [2015-07-14T21:47:26.432710 #40537] ERROR -- replicaset-debian-720: ------Exception-------
E, [2015-07-14T21:47:26.432731 #40537] ERROR -- replicaset-debian-720: Class: Kitchen::ActionFailed
E, [2015-07-14T21:47:26.432746 #40537] ERROR -- replicaset-debian-720: Message: SSH exited (1) for command: [sh -c '

BUSSER_ROOT="/tmp/verifier"; export BUSSER_ROOT
GEM_HOME="/tmp/verifier/gems"; export GEM_HOME
GEM_PATH="/tmp/verifier/gems"; export GEM_PATH
GEM_CACHE="/tmp/verifier/gems/cache"; export GEM_CACHE

sudo -E /tmp/verifier/bin/busser test
']
E, [2015-07-14T21:47:26.432774 #40537] ERROR -- replicaset-debian-720: ---Nested Exception---
E, [2015-07-14T21:47:26.432787 #40537] ERROR -- replicaset-debian-720: Class: Kitchen::Transport::SshFailed
E, [2015-07-14T21:47:26.432798 #40537] ERROR -- replicaset-debian-720: Message: SSH exited (1) for command: [sh -c '

BUSSER_ROOT="/tmp/verifier"; export BUSSER_ROOT
GEM_HOME="/tmp/verifier/gems"; export GEM_HOME
GEM_PATH="/tmp/verifier/gems"; export GEM_PATH
GEM_CACHE="/tmp/verifier/gems/cache"; export GEM_CACHE

sudo -E /tmp/verifier/bin/busser test
']
E, [2015-07-14T21:47:26.432810 #40537] ERROR -- replicaset-debian-720: ------Backtrace-------
E, [2015-07-14T21:47:26.432831 #40537] ERROR -- replicaset-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/verifier/base.rb:79:in `rescue in call'
E, [2015-07-14T21:47:26.432843 #40537] ERROR -- replicaset-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/verifier/base.rb:82:in `call'
E, [2015-07-14T21:47:26.432855 #40537] ERROR -- replicaset-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:398:in `block in verify_action'
E, [2015-07-14T21:47:26.432878 #40537] ERROR -- replicaset-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:488:in `call'
E, [2015-07-14T21:47:26.432892 #40537] ERROR -- replicaset-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:488:in `synchronize_or_call'
E, [2015-07-14T21:47:26.432904 #40537] ERROR -- replicaset-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:453:in `block in action'
E, [2015-07-14T21:47:26.432925 #40537] ERROR -- replicaset-debian-720: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-14T21:47:26.432937 #40537] ERROR -- replicaset-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:452:in `action'
E, [2015-07-14T21:47:26.432948 #40537] ERROR -- replicaset-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:394:in `verify_action'
E, [2015-07-14T21:47:26.433002 #40537] ERROR -- replicaset-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:341:in `block in transition_to'
E, [2015-07-14T21:47:26.433015 #40537] ERROR -- replicaset-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `each'
E, [2015-07-14T21:47:26.433026 #40537] ERROR -- replicaset-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `transition_to'
E, [2015-07-14T21:47:26.433038 #40537] ERROR -- replicaset-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:160:in `verify'
E, [2015-07-14T21:47:26.433049 #40537] ERROR -- replicaset-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:189:in `block in test'
E, [2015-07-14T21:47:26.433061 #40537] ERROR -- replicaset-debian-720: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-14T21:47:26.433072 #40537] ERROR -- replicaset-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:185:in `test'
E, [2015-07-14T21:47:26.433084 #40537] ERROR -- replicaset-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `public_send'
E, [2015-07-14T21:47:26.433095 #40537] ERROR -- replicaset-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `block (2 levels) in run_action'
E, [2015-07-14T21:47:26.433122 #40537] ERROR -- replicaset-debian-720: ----------------------

Who should be our lead maintainer?

The thinking in sous-chefs/meta#2 is that each project should have one-and-only-one lead maintainer. @jamesonjlee certainly filled that role well for quite a while, but he can't devote as much time any more.

I'll support any selection procedure that: a) is non-violent & b) does not select me.

So who wants to shepherd this thing?

Failing Tests: mongos-debian-720

I, [2015-07-15T21:57:46.802029 #40048]  INFO -- mongos-debian-720: -----> Cleaning up any prior instances of <mongos-debian-720>
I, [2015-07-15T21:57:46.802480 #40048]  INFO -- mongos-debian-720: -----> Destroying <mongos-debian-720>...
I, [2015-07-15T21:57:46.803294 #40048]  INFO -- mongos-debian-720: Finished destroying <mongos-debian-720> (0m0.00s).
I, [2015-07-15T21:57:46.803472 #40048]  INFO -- mongos-debian-720: -----> Testing <mongos-debian-720>
I, [2015-07-15T21:57:46.803550 #40048]  INFO -- mongos-debian-720: -----> Creating <mongos-debian-720>...
I, [2015-07-15T21:57:49.029910 #40048]  INFO -- mongos-debian-720: Bringing machine 'default' up with 'virtualbox' provider...
I, [2015-07-15T21:57:49.255565 #40048]  INFO -- mongos-debian-720: ==> default: Importing base box 'opscode-debian-7.2.0'...
I, [2015-07-15T21:57:57.403862 #40048]  INFO -- mongos-debian-720: 
�[KProgress: 10%
�[KProgress: 30%
�[KProgress: 40%
�[KProgress: 50%
�[KProgress: 60%
�[KProgress: 70%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
I, [2015-07-15T21:57:58.151146 #40048]  INFO -- mongos-debian-720: ==> default: Setting the name of the VM: kitchen-mongodb-cookbook-mongos-debian-720_default_1437011878097_92093
I, [2015-07-15T21:58:00.411196 #40048]  INFO -- mongos-debian-720: ==> default: Fixed port collision for 22 => 2222. Now on port 2216.
I, [2015-07-15T21:58:00.474549 #40048]  INFO -- mongos-debian-720: ==> default: Clearing any previously set network interfaces...
I, [2015-07-15T21:58:00.526305 #40048]  INFO -- mongos-debian-720: ==> default: Preparing network interfaces based on configuration...
I, [2015-07-15T21:58:00.526727 #40048]  INFO -- mongos-debian-720:     default: Adapter 1: nat
I, [2015-07-15T21:58:00.578452 #40048]  INFO -- mongos-debian-720: ==> default: Forwarding ports...
I, [2015-07-15T21:58:00.653029 #40048]  INFO -- mongos-debian-720:     default: 22 => 2216 (adapter 1)
I, [2015-07-15T21:58:00.809491 #40048]  INFO -- mongos-debian-720: ==> default: Running 'pre-boot' VM customizations...
I, [2015-07-15T21:58:00.856015 #40048]  INFO -- mongos-debian-720: ==> default: Booting VM...
I, [2015-07-15T21:58:01.432734 #40048]  INFO -- mongos-debian-720: ==> default: Waiting for machine to boot. This may take a few minutes...    default: SSH address: 127.0.0.1:2216
I, [2015-07-15T21:58:01.433046 #40048]  INFO -- mongos-debian-720:     default: SSH username: vagrant
I, [2015-07-15T21:58:01.433276 #40048]  INFO -- mongos-debian-720:     default: SSH auth method: private key
I, [2015-07-15T21:58:16.636600 #40048]  INFO -- mongos-debian-720:     default: Warning: Connection timeout. Retrying...
I, [2015-07-15T21:58:20.225334 #40048]  INFO -- mongos-debian-720:     default: Warning: Remote connection disconnect. Retrying...
I, [2015-07-15T21:58:24.791984 #40048]  INFO -- mongos-debian-720:     default: 
I, [2015-07-15T21:58:24.792376 #40048]  INFO -- mongos-debian-720:     default: Vagrant insecure key detected. Vagrant will automatically replace
I, [2015-07-15T21:58:24.792423 #40048]  INFO -- mongos-debian-720:     default: this with a newly generated keypair for better security.
I, [2015-07-15T21:58:25.855228 #40048]  INFO -- mongos-debian-720:     default: 
I, [2015-07-15T21:58:25.855320 #40048]  INFO -- mongos-debian-720:     default: Inserting generated public key within guest...
I, [2015-07-15T21:58:26.136897 #40048]  INFO -- mongos-debian-720:     default: Removing insecure key from the guest if it's present...
I, [2015-07-15T21:58:26.219773 #40048]  INFO -- mongos-debian-720:     default: Key inserted! Disconnecting and reconnecting using new SSH key...
I, [2015-07-15T21:58:27.354523 #40048]  INFO -- mongos-debian-720: ==> default: Machine booted and ready!
I, [2015-07-15T21:58:27.354937 #40048]  INFO -- mongos-debian-720: ==> default: Checking for guest additions in VM...
I, [2015-07-15T21:58:27.400522 #40048]  INFO -- mongos-debian-720: ==> default: Setting hostname...
I, [2015-07-15T21:58:35.018262 #40048]  INFO -- mongos-debian-720: ==> default: Machine not provisioned because `--no-provision` is specified.
I, [2015-07-15T21:58:37.388858 #40048]  INFO -- mongos-debian-720: [SSH] Established
I, [2015-07-15T21:58:37.389463 #40048]  INFO -- mongos-debian-720: Vagrant instance <mongos-debian-720> created.
I, [2015-07-15T21:58:37.391112 #40048]  INFO -- mongos-debian-720: Finished creating <mongos-debian-720> (0m50.59s).
I, [2015-07-15T21:58:37.391415 #40048]  INFO -- mongos-debian-720: -----> Converging <mongos-debian-720>...
I, [2015-07-15T21:58:37.393419 #40048]  INFO -- mongos-debian-720: Preparing files for transfer
I, [2015-07-15T21:58:37.393599 #40048]  INFO -- mongos-debian-720: Preparing dna.json
I, [2015-07-15T21:58:37.394312 #40048]  INFO -- mongos-debian-720: Resolving cookbook dependencies with Berkshelf 3.3.0...
I, [2015-07-15T21:58:38.323430 #40048]  INFO -- mongos-debian-720: Removing non-cookbook files before transfer
I, [2015-07-15T21:58:38.361130 #40048]  INFO -- mongos-debian-720: Preparing nodes
I, [2015-07-15T21:58:38.362135 #40048]  INFO -- mongos-debian-720: Preparing validation.pem
I, [2015-07-15T21:58:38.363097 #40048]  INFO -- mongos-debian-720: Preparing client.rb
I, [2015-07-15T21:58:38.370233 #40048]  INFO -- mongos-debian-720: -----> Installing Chef Omnibus (11.12.8)
I, [2015-07-15T21:58:38.371013 #40048]  INFO -- mongos-debian-720: Downloading https://www.chef.io/chef/install.sh to file /tmp/install.sh
I, [2015-07-15T21:58:38.371075 #40048]  INFO -- mongos-debian-720: Trying wget...
I, [2015-07-15T21:58:43.934805 #40048]  INFO -- mongos-debian-720: Download complete.
I, [2015-07-15T21:58:43.945602 #40048]  INFO -- mongos-debian-720: Downloading Chef 11.12.8 for debian...
I, [2015-07-15T21:58:43.945688 #40048]  INFO -- mongos-debian-720: downloading https://www.chef.io/chef/metadata?v=11.12.8&prerelease=false&nightlies=false&p=debian&pv=6&m=x86_64
I, [2015-07-15T21:58:43.945740 #40048]  INFO -- mongos-debian-720:   to file /tmp/install.sh.2784/metadata.txt
I, [2015-07-15T21:58:43.945768 #40048]  INFO -- mongos-debian-720: trying wget...
I, [2015-07-15T21:58:49.711095 #40048]  INFO -- mongos-debian-720: url  https://opscode-omnibus-packages.s3.amazonaws.com/debian/6/x86_64/chef_11.12.8-2_amd64.deb
I, [2015-07-15T21:58:49.711614 #40048]  INFO -- mongos-debian-720: md5  7da696bbaad23ea00cd1f4f8394b7596
I, [2015-07-15T21:58:49.712131 #40048]  INFO -- mongos-debian-720: sha256   0c05369ba0e123099a428e5d16aa8cbbbfdb5834de8af9932bdbe08afa7144ae
I, [2015-07-15T21:58:49.714320 #40048]  INFO -- mongos-debian-720: downloaded metadata file looks valid...
I, [2015-07-15T21:58:49.721648 #40048]  INFO -- mongos-debian-720: downloading https://opscode-omnibus-packages.s3.amazonaws.com/debian/6/x86_64/chef_11.12.8-2_amd64.deb
I, [2015-07-15T21:58:49.721763 #40048]  INFO -- mongos-debian-720:   to file /tmp/install.sh.2784/chef_11.12.8-2_amd64.deb
I, [2015-07-15T21:58:49.721837 #40048]  INFO -- mongos-debian-720: trying wget...
I, [2015-07-15T21:58:59.438329 #40048]  INFO -- mongos-debian-720: Comparing checksum with sha256sum...
I, [2015-07-15T21:58:59.618082 #40048]  INFO -- mongos-debian-720: Installing Chef 11.12.8
I, [2015-07-15T21:58:59.618145 #40048]  INFO -- mongos-debian-720: installing with dpkg...
I, [2015-07-15T21:58:59.691211 #40048]  INFO -- mongos-debian-720: Selecting previously unselected package chef.
I, [2015-07-15T21:58:59.855352 #40048]  INFO -- mongos-debian-720: (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 37434 files and directories currently installed.)
I, [2015-07-15T21:58:59.858149 #40048]  INFO -- mongos-debian-720: Unpacking chef (from .../chef_11.12.8-2_amd64.deb) ...
I, [2015-07-15T21:59:03.150092 #40048]  INFO -- mongos-debian-720: Setting up chef (11.12.8-2) ...
I, [2015-07-15T21:59:03.167284 #40048]  INFO -- mongos-debian-720: Thank you for installing Chef!
I, [2015-07-15T21:59:03.208800 #40048]  INFO -- mongos-debian-720: Transferring files to <mongos-debian-720>
I, [2015-07-15T21:59:04.538328 #40048]  INFO -- mongos-debian-720: [2015-07-16T01:59:03+00:00] WARN: 
I, [2015-07-15T21:59:04.538590 #40048]  INFO -- mongos-debian-720: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
I, [2015-07-15T21:59:04.538836 #40048]  INFO -- mongos-debian-720: SSL validation of HTTPS requests is disabled. HTTPS connections are still
I, [2015-07-15T21:59:04.539156 #40048]  INFO -- mongos-debian-720: encrypted, but chef is not able to detect forged replies or man in the middle
I, [2015-07-15T21:59:04.539395 #40048]  INFO -- mongos-debian-720: attacks.
I, [2015-07-15T21:59:04.539514 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T21:59:04.539851 #40048]  INFO -- mongos-debian-720: To fix this issue add an entry like this to your configuration file:
I, [2015-07-15T21:59:04.539999 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T21:59:04.540242 #40048]  INFO -- mongos-debian-720: ```
I, [2015-07-15T21:59:04.540534 #40048]  INFO -- mongos-debian-720:   # Verify all HTTPS connections (recommended)
I, [2015-07-15T21:59:04.540742 #40048]  INFO -- mongos-debian-720:   ssl_verify_mode :verify_peer
I, [2015-07-15T21:59:04.540890 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T21:59:04.541071 #40048]  INFO -- mongos-debian-720:   # OR, Verify only connections to chef-server
I, [2015-07-15T21:59:04.541396 #40048]  INFO -- mongos-debian-720:   verify_api_cert true
I, [2015-07-15T21:59:04.541611 #40048]  INFO -- mongos-debian-720: ```
I, [2015-07-15T21:59:04.542230 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T21:59:04.542264 #40048]  INFO -- mongos-debian-720: To check your SSL configuration, or troubleshoot errors, you can use the
I, [2015-07-15T21:59:04.542283 #40048]  INFO -- mongos-debian-720: `knife ssl check` command like so:
I, [2015-07-15T21:59:04.542298 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T21:59:04.542315 #40048]  INFO -- mongos-debian-720: ```
I, [2015-07-15T21:59:04.542330 #40048]  INFO -- mongos-debian-720:   knife ssl check -c /tmp/kitchen/client.rb
I, [2015-07-15T21:59:04.542343 #40048]  INFO -- mongos-debian-720: ```
I, [2015-07-15T21:59:04.542356 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T21:59:04.542369 #40048]  INFO -- mongos-debian-720: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
I, [2015-07-15T21:59:04.542382 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T21:59:04.542562 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T21:59:11.780166 #40048]  INFO -- mongos-debian-720: Creating a new client identity for mongos-debian-720 using the validator key.
I, [2015-07-15T21:59:11.871882 #40048]  INFO -- mongos-debian-720: resolving cookbooks for run list: ["apt", "mongodb::mongos"]
I, [2015-07-15T21:59:12.363359 #40048]  INFO -- mongos-debian-720: Synchronizing Cookbooks:
I, [2015-07-15T21:59:12.627912 #40048]  INFO -- mongos-debian-720:   - apt
I, [2015-07-15T21:59:13.137481 #40048]  INFO -- mongos-debian-720:   - mongodb
I, [2015-07-15T21:59:13.317180 #40048]  INFO -- mongos-debian-720:   - yum
I, [2015-07-15T21:59:13.539096 #40048]  INFO -- mongos-debian-720:   - python
I, [2015-07-15T21:59:13.833388 #40048]  INFO -- mongos-debian-720:   - build-essential
I, [2015-07-15T21:59:13.999258 #40048]  INFO -- mongos-debian-720:   - yum-epel
I, [2015-07-15T21:59:13.999340 #40048]  INFO -- mongos-debian-720: Compiling Cookbooks...
I, [2015-07-15T21:59:14.143926 #40048]  INFO -- mongos-debian-720: [2015-07-16T01:59:13+00:00] WARN: Cloning resource attributes for template[/etc/mongodb.conf] from prior resource (CHEF-3694)
I, [2015-07-15T21:59:14.144288 #40048]  INFO -- mongos-debian-720: [2015-07-16T01:59:13+00:00] WARN: Previous template[/etc/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:14:in `from_file'
I, [2015-07-15T21:59:14.144630 #40048]  INFO -- mongos-debian-720: [2015-07-16T01:59:13+00:00] WARN: Current  template[/etc/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:139:in `block in from_file'
I, [2015-07-15T21:59:14.146035 #40048]  INFO -- mongos-debian-720: [2015-07-16T01:59:13+00:00] WARN: Cloning resource attributes for execute[mongodb-systemctl-daemon-reload] from prior resource (CHEF-3694)
I, [2015-07-15T21:59:14.146351 #40048]  INFO -- mongos-debian-720: [2015-07-16T01:59:13+00:00] WARN: Previous execute[mongodb-systemctl-daemon-reload]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:37:in `from_file'
I, [2015-07-15T21:59:14.146872 #40048]  INFO -- mongos-debian-720: [2015-07-16T01:59:13+00:00] WARN: Current  execute[mongodb-systemctl-daemon-reload]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:174:in `block in from_file'
I, [2015-07-15T21:59:14.175211 #40048]  INFO -- mongos-debian-720: Converging 25 resources
I, [2015-07-15T21:59:14.175263 #40048]  INFO -- mongos-debian-720: Recipe: apt::default
I, [2015-07-15T21:59:14.175281 #40048]  INFO -- mongos-debian-720:   * file[/var/lib/apt/periodic/update-success-stamp] action nothing (skipped due to action :nothing)
I, [2015-07-15T21:59:14.183097 #40048]  INFO -- mongos-debian-720:  (up to date)
I, [2015-07-15T21:59:14.183459 #40048]  INFO -- mongos-debian-720:   * cookbook_file[/etc/apt/apt.conf.d/15update-stamp] action create
I, [2015-07-15T21:59:14.198286 #40048]  INFO -- mongos-debian-720:     - create new file /etc/apt/apt.conf.d/15update-stamp
I, [2015-07-15T21:59:14.198768 #40048]  INFO -- mongos-debian-720:     - update content in file /etc/apt/apt.conf.d/15update-stamp from none to 174cdb
I, [2015-07-15T21:59:14.199174 #40048]  INFO -- mongos-debian-720:  --- /etc/apt/apt.conf.d/15update-stamp  2015-07-16 01:59:13.117796700 +0000
I, [2015-07-15T21:59:14.199866 #40048]  INFO -- mongos-debian-720:  +++ /tmp/.15update-stamp20150716-2861-1hw6skc   2015-07-16 01:59:13.137806700 +0000
I, [2015-07-15T21:59:14.200249 #40048]  INFO -- mongos-debian-720:  @@ -1 +1,2 @@
I, [2015-07-15T21:59:14.201029 #40048]  INFO -- mongos-debian-720:  +APT::Update::Post-Invoke-Success {"touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";};
I, [2015-07-15T21:59:27.772459 #40048]  INFO -- mongos-debian-720:   * execute[apt-get-update] action run
I, [2015-07-15T21:59:27.773277 #40048]  INFO -- mongos-debian-720:     - execute apt-get update
I, [2015-07-15T21:59:27.773323 #40048]  INFO -- mongos-debian-720:   * file[/var/lib/apt/periodic/update-success-stamp] action touch
I, [2015-07-15T21:59:27.773346 #40048]  INFO -- mongos-debian-720:     - update utime on file /var/lib/apt/periodic/update-success-stamp
I, [2015-07-15T21:59:27.773365 #40048]  INFO -- mongos-debian-720:   * execute[apt-get update] action nothing (skipped due to action :nothing)
I, [2015-07-15T21:59:27.773383 #40048]  INFO -- mongos-debian-720:   * execute[apt-get autoremove] action nothing (skipped due to action :nothing)
I, [2015-07-15T21:59:27.773401 #40048]  INFO -- mongos-debian-720:   * execute[apt-get autoclean] action nothing (skipped due to action :nothing)
I, [2015-07-15T21:59:27.773418 #40048]  INFO -- mongos-debian-720:   * execute[apt-get-update-periodic] action run (skipped due to only_if)
I, [2015-07-15T21:59:27.773435 #40048]  INFO -- mongos-debian-720:   * directory[/var/cache/local] action create
I, [2015-07-15T21:59:27.773452 #40048]  INFO -- mongos-debian-720:     - create new directory /var/cache/local
I, [2015-07-15T21:59:27.773478 #40048]  INFO -- mongos-debian-720:     - change mode from '' to '0755'
I, [2015-07-15T21:59:27.773494 #40048]  INFO -- mongos-debian-720:     - change owner from '' to 'root'
I, [2015-07-15T21:59:27.773511 #40048]  INFO -- mongos-debian-720:     - change group from '' to 'root'
I, [2015-07-15T21:59:27.773861 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T21:59:27.774321 #40048]  INFO -- mongos-debian-720:     - create new directory /var/cache/local/preseeding
I, [2015-07-15T21:59:27.774842 #40048]  INFO -- mongos-debian-720:     - change mode from '' to '0755'
I, [2015-07-15T21:59:27.775341 #40048]  INFO -- mongos-debian-720:     - change owner from '' to 'root'
I, [2015-07-15T21:59:27.776187 #40048]  INFO -- mongos-debian-720:     - change group from '' to 'root'
I, [2015-07-15T21:59:27.776651 #40048]  INFO -- mongos-debian-720: Recipe: mongodb::install
I, [2015-07-15T21:59:27.777934 #40048]  INFO -- mongos-debian-720:   * file[/etc/default/mongodb] action create_if_missing
I, [2015-07-15T21:59:27.779770 #40048]  INFO -- mongos-debian-720:     - create new file /etc/default/mongodb
I, [2015-07-15T21:59:27.780017 #40048]  INFO -- mongos-debian-720:     - update content in file /etc/default/mongodb from none to a35762
I, [2015-07-15T21:59:27.780944 #40048]  INFO -- mongos-debian-720:  --- /etc/default/mongodb    2015-07-16 01:59:26.724596416 +0000
I, [2015-07-15T21:59:27.781503 #40048]  INFO -- mongos-debian-720:  +++ /tmp/.mongodb20150716-2861-fzfzm2   2015-07-16 01:59:26.724596416 +0000
I, [2015-07-15T21:59:27.781683 #40048]  INFO -- mongos-debian-720:  @@ -1 +1,2 @@
I, [2015-07-15T21:59:27.782594 #40048]  INFO -- mongos-debian-720:  +ENABLE_MONGODB=no
I, [2015-07-15T21:59:27.782812 #40048]  INFO -- mongos-debian-720:     - change mode from '' to '0644'
I, [2015-07-15T21:59:27.783107 #40048]  INFO -- mongos-debian-720:     - change owner from '' to 'root'
I, [2015-07-15T21:59:27.783667 #40048]  INFO -- mongos-debian-720:     - change group from '' to 'root'
I, [2015-07-15T21:59:27.799348 #40048]  INFO -- mongos-debian-720:   * template[/etc/mongodb.conf] action create_if_missing
I, [2015-07-15T21:59:27.802577 #40048]  INFO -- mongos-debian-720:     - create new file /etc/mongodb.conf
I, [2015-07-15T21:59:27.802907 #40048]  INFO -- mongos-debian-720:     - update content in file /etc/mongodb.conf from none to 6d2585
I, [2015-07-15T21:59:27.803725 #40048]  INFO -- mongos-debian-720:  --- /etc/mongodb.conf   2015-07-16 01:59:26.744606416 +0000
I, [2015-07-15T21:59:27.804376 #40048]  INFO -- mongos-debian-720:  +++ /tmp/chef-rendered-template20150716-2861-cgi1c1 2015-07-16 01:59:26.748608416 +0000
I, [2015-07-15T21:59:27.804621 #40048]  INFO -- mongos-debian-720:  @@ -1 +1,15 @@
I, [2015-07-15T21:59:27.805038 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T21:59:27.805421 #40048]  INFO -- mongos-debian-720:  +# Automatically Generated by Chef, do not edit directly!
I, [2015-07-15T21:59:27.805744 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T21:59:27.806154 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.808239 #40048]  INFO -- mongos-debian-720:  +bind_ip = 0.0.0.0
I, [2015-07-15T21:59:27.808318 #40048]  INFO -- mongos-debian-720:  +configdb = my_configserver
I, [2015-07-15T21:59:27.808364 #40048]  INFO -- mongos-debian-720:  +dbpath = /var/lib/mongodb
I, [2015-07-15T21:59:27.808398 #40048]  INFO -- mongos-debian-720:  +fork = false
I, [2015-07-15T21:59:27.808428 #40048]  INFO -- mongos-debian-720:  +logappend = true
I, [2015-07-15T21:59:27.808457 #40048]  INFO -- mongos-debian-720:  +logpath = /var/log/mongodb/mongodb.log
I, [2015-07-15T21:59:27.808511 #40048]  INFO -- mongos-debian-720:  +nojournal = false
I, [2015-07-15T21:59:27.808566 #40048]  INFO -- mongos-debian-720:  +port = 27017
I, [2015-07-15T21:59:27.808602 #40048]  INFO -- mongos-debian-720:  +rest = false
I, [2015-07-15T21:59:27.808689 #40048]  INFO -- mongos-debian-720:  +smallfiles = false
I, [2015-07-15T21:59:27.809235 #40048]  INFO -- mongos-debian-720:     - change mode from '' to '0644'
I, [2015-07-15T21:59:27.809516 #40048]  INFO -- mongos-debian-720:     - change owner from '' to 'root'
I, [2015-07-15T21:59:27.809917 #40048]  INFO -- mongos-debian-720:     - change group from '' to 'root'
I, [2015-07-15T21:59:27.810994 #40048]  INFO -- mongos-debian-720:   * execute[mongodb-systemctl-daemon-reload] action nothing (skipped due to action :nothing)
I, [2015-07-15T21:59:27.838656 #40048]  INFO -- mongos-debian-720:   * template[/etc/init.d/mongodb] action create_if_missing
I, [2015-07-15T21:59:27.843732 #40048]  INFO -- mongos-debian-720:     - create new file /etc/init.d/mongodb
I, [2015-07-15T21:59:27.844026 #40048]  INFO -- mongos-debian-720:     - update content in file /etc/init.d/mongodb from none to 807705
I, [2015-07-15T21:59:27.844476 #40048]  INFO -- mongos-debian-720:  --- /etc/init.d/mongodb 2015-07-16 01:59:26.784626415 +0000
I, [2015-07-15T21:59:27.844934 #40048]  INFO -- mongos-debian-720:  +++ /tmp/chef-rendered-template20150716-2861-1tioegj    2015-07-16 01:59:26.788628415 +0000
I, [2015-07-15T21:59:27.845202 #40048]  INFO -- mongos-debian-720:  @@ -1 +1,265 @@
I, [2015-07-15T21:59:27.845485 #40048]  INFO -- mongos-debian-720:  +#!/bin/bash
I, [2015-07-15T21:59:27.845698 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T21:59:27.845967 #40048]  INFO -- mongos-debian-720:  +# init.d script with LSB support.
I, [2015-07-15T21:59:27.846224 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T21:59:27.846571 #40048]  INFO -- mongos-debian-720:  +# Copyright (c) 2007 Javier Fernandez-Sanguino <[email protected]>
I, [2015-07-15T21:59:27.846831 #40048]  INFO -- mongos-debian-720:  +# Copyright (c) 2011 edelight GmbH
I, [2015-07-15T21:59:27.847107 #40048]  INFO -- mongos-debian-720:  +#       Author: Markus Korn <[email protected]>
I, [2015-07-15T21:59:27.847445 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T21:59:27.847588 #40048]  INFO -- mongos-debian-720:  +# This is free software; you may redistribute it and/or modify
I, [2015-07-15T21:59:27.847809 #40048]  INFO -- mongos-debian-720:  +# it under the terms of the GNU General Public License as
I, [2015-07-15T21:59:27.848168 #40048]  INFO -- mongos-debian-720:  +# published by the Free Software Foundation; either version 2,
I, [2015-07-15T21:59:27.848204 #40048]  INFO -- mongos-debian-720:  +# or (at your option) any later version.
I, [2015-07-15T21:59:27.848224 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T21:59:27.848243 #40048]  INFO -- mongos-debian-720:  +# This is distributed in the hope that it will be useful, but
I, [2015-07-15T21:59:27.848261 #40048]  INFO -- mongos-debian-720:  +# WITHOUT ANY WARRANTY; without even the implied warranty of
I, [2015-07-15T21:59:27.848279 #40048]  INFO -- mongos-debian-720:  +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
I, [2015-07-15T21:59:27.848296 #40048]  INFO -- mongos-debian-720:  +# GNU General Public License for more details.
I, [2015-07-15T21:59:27.848312 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T21:59:27.848329 #40048]  INFO -- mongos-debian-720:  +# You should have received a copy of the GNU General Public License with
I, [2015-07-15T21:59:27.848345 #40048]  INFO -- mongos-debian-720:  +# the Debian operating system, in /usr/share/common-licenses/GPL;  if
I, [2015-07-15T21:59:27.848362 #40048]  INFO -- mongos-debian-720:  +# not, write to the Free Software Foundation, Inc., 59 Temple Place,
I, [2015-07-15T21:59:27.848378 #40048]  INFO -- mongos-debian-720:  +# Suite 330, Boston, MA 02111-1307 USA
I, [2015-07-15T21:59:27.848394 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T21:59:27.848410 #40048]  INFO -- mongos-debian-720:  +### BEGIN INIT INFO
I, [2015-07-15T21:59:27.848426 #40048]  INFO -- mongos-debian-720:  +# Provides:          mongod
I, [2015-07-15T21:59:27.848443 #40048]  INFO -- mongos-debian-720:  +# Required-Start:    $network $local_fs $remote_fs
I, [2015-07-15T21:59:27.848459 #40048]  INFO -- mongos-debian-720:  +# Required-Stop:     $network $local_fs $remote_fs
I, [2015-07-15T21:59:27.848476 #40048]  INFO -- mongos-debian-720:  +# Should-Start:      $named
I, [2015-07-15T21:59:27.848492 #40048]  INFO -- mongos-debian-720:  +# Should-Stop:
I, [2015-07-15T21:59:27.848520 #40048]  INFO -- mongos-debian-720:  +# Default-Start:     2 3 4 5
I, [2015-07-15T21:59:27.848544 #40048]  INFO -- mongos-debian-720:  +# Default-Stop:      0 1 6
I, [2015-07-15T21:59:27.848561 #40048]  INFO -- mongos-debian-720:  +# Short-Description: Start/stop mongod An object/document-origented database
I, [2015-07-15T21:59:27.848579 #40048]  INFO -- mongos-debian-720:  +# Description:       MongoDB is a high-performance, open source, schema-free
I, [2015-07-15T21:59:27.848613 #40048]  INFO -- mongos-debian-720:  +#                    document-oriented  data store that's easy to deploy, manage
I, [2015-07-15T21:59:27.848634 #40048]  INFO -- mongos-debian-720:  +#                    and use. It's network accessible, written in C++ and offers
I, [2015-07-15T21:59:27.848651 #40048]  INFO -- mongos-debian-720:  +#                    the following features:
I, [2015-07-15T21:59:27.848666 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T21:59:27.848684 #40048]  INFO -- mongos-debian-720:  +#                       * Collection oriented storage - easy storage of object-
I, [2015-07-15T21:59:27.848700 #40048]  INFO -- mongos-debian-720:  +#                         style data
I, [2015-07-15T21:59:27.848718 #40048]  INFO -- mongos-debian-720:  +#                       * Full index support, including on inner objects
I, [2015-07-15T21:59:27.848735 #40048]  INFO -- mongos-debian-720:  +#                       * Query profiling
I, [2015-07-15T21:59:27.848752 #40048]  INFO -- mongos-debian-720:  +#                       * Replication and fail-over support
I, [2015-07-15T21:59:27.848770 #40048]  INFO -- mongos-debian-720:  +#                       * Efficient storage of binary data including large
I, [2015-07-15T21:59:27.849377 #40048]  INFO -- mongos-debian-720:  +#                         objects (e.g. videos)
I, [2015-07-15T21:59:27.849412 #40048]  INFO -- mongos-debian-720:  +#                       * Auto-sharding for cloud-level scalability (Q209)
I, [2015-07-15T21:59:27.849433 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T21:59:27.849452 #40048]  INFO -- mongos-debian-720:  +#                    High performance, scalability, and reasonable depth of
I, [2015-07-15T21:59:27.849471 #40048]  INFO -- mongos-debian-720:  +#                    functionality are the goals for the project.
I, [2015-07-15T21:59:27.849488 #40048]  INFO -- mongos-debian-720:  +### END INIT INFO
I, [2015-07-15T21:59:27.849504 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T21:59:27.849523 #40048]  INFO -- mongos-debian-720:  +NAME=mongod
I, [2015-07-15T21:59:27.849542 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.849579 #40048]  INFO -- mongos-debian-720:  +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
I, [2015-07-15T21:59:27.849597 #40048]  INFO -- mongos-debian-720:  +DESC=database
I, [2015-07-15T21:59:27.849613 #40048]  INFO -- mongos-debian-720:  +PIDFILE=/var/run/$NAME.pid
I, [2015-07-15T21:59:27.849629 #40048]  INFO -- mongos-debian-720:  +ENABLE_MONGODB=yes
I, [2015-07-15T21:59:27.849645 #40048]  INFO -- mongos-debian-720:  +SYSCONFIG=/etc/default/mongodb
I, [2015-07-15T21:59:27.849662 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.849679 #40048]  INFO -- mongos-debian-720:  +# this should get removed at some point for more shell agnostic init script
I, [2015-07-15T21:59:27.849695 #40048]  INFO -- mongos-debian-720:  +ulimit -f unlimited
I, [2015-07-15T21:59:27.849712 #40048]  INFO -- mongos-debian-720:  +ulimit -t unlimited
I, [2015-07-15T21:59:27.849727 #40048]  INFO -- mongos-debian-720:  +ulimit -v unlimited
I, [2015-07-15T21:59:27.849746 #40048]  INFO -- mongos-debian-720:  +ulimit -n 64000
I, [2015-07-15T21:59:27.849763 #40048]  INFO -- mongos-debian-720:  +ulimit -m unlimited
I, [2015-07-15T21:59:27.849779 #40048]  INFO -- mongos-debian-720:  +ulimit -u 32000
I, [2015-07-15T21:59:27.849795 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.849811 #40048]  INFO -- mongos-debian-720:  +# Include mongodb defaults if available
I, [2015-07-15T21:59:27.849828 #40048]  INFO -- mongos-debian-720:  +if [ -f $SYSCONFIG ] ; then
I, [2015-07-15T21:59:27.849844 #40048]  INFO -- mongos-debian-720:  +    . $SYSCONFIG
I, [2015-07-15T21:59:27.849859 #40048]  INFO -- mongos-debian-720:  +fi
I, [2015-07-15T21:59:27.849875 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.849891 #40048]  INFO -- mongos-debian-720:  +# Handle NUMA access to CPUs (SERVER-3574)
I, [2015-07-15T21:59:27.849921 #40048]  INFO -- mongos-debian-720:  +# This verifies the existence of numactl as well as testing that the command works
I, [2015-07-15T21:59:27.849941 #40048]  INFO -- mongos-debian-720:  +NUMACTL_ARGS="--interleave=all"
I, [2015-07-15T21:59:27.849958 #40048]  INFO -- mongos-debian-720:  +if which numactl >/dev/null 2>/dev/null && numactl $NUMACTL_ARGS ls / >/dev/null 2>/dev/null
I, [2015-07-15T21:59:27.849974 #40048]  INFO -- mongos-debian-720:  +then
I, [2015-07-15T21:59:27.849991 #40048]  INFO -- mongos-debian-720:  +    NUMACTL="`which numactl` -- $NUMACTL_ARGS"
I, [2015-07-15T21:59:27.850006 #40048]  INFO -- mongos-debian-720:  +    DAEMON_OPTS="$DAEMON_OPTS"
I, [2015-07-15T21:59:27.850022 #40048]  INFO -- mongos-debian-720:  +else
I, [2015-07-15T21:59:27.850038 #40048]  INFO -- mongos-debian-720:  +    NUMACTL=""
I, [2015-07-15T21:59:27.850054 #40048]  INFO -- mongos-debian-720:  +    DAEMON_OPTS="-- $DAEMON_OPTS"
I, [2015-07-15T21:59:27.850076 #40048]  INFO -- mongos-debian-720:  +fi
I, [2015-07-15T21:59:27.850094 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.850111 #40048]  INFO -- mongos-debian-720:  +if test ! -x $DAEMON; then
I, [2015-07-15T21:59:27.850126 #40048]  INFO -- mongos-debian-720:  +    echo "Could not find $DAEMON"
I, [2015-07-15T21:59:27.850142 #40048]  INFO -- mongos-debian-720:  +    exit 0
I, [2015-07-15T21:59:27.850157 #40048]  INFO -- mongos-debian-720:  +fi
I, [2015-07-15T21:59:27.850173 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.850188 #40048]  INFO -- mongos-debian-720:  +if test "x$ENABLE_MONGODB" != "xyes"; then
I, [2015-07-15T21:59:27.850204 #40048]  INFO -- mongos-debian-720:  +    exit 0
I, [2015-07-15T21:59:27.850220 #40048]  INFO -- mongos-debian-720:  +fi
I, [2015-07-15T21:59:27.850235 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.850251 #40048]  INFO -- mongos-debian-720:  +. /lib/lsb/init-functions
I, [2015-07-15T21:59:27.850266 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.850283 #40048]  INFO -- mongos-debian-720:  +STARTTIME=1
I, [2015-07-15T21:59:27.850301 #40048]  INFO -- mongos-debian-720:  +DIETIME=10                  # Time to wait for the server to die, in seconds
I, [2015-07-15T21:59:27.850319 #40048]  INFO -- mongos-debian-720:  +                            # If this value is set too low you might not
I, [2015-07-15T21:59:27.850337 #40048]  INFO -- mongos-debian-720:  +                            # let some servers to die gracefully and
I, [2015-07-15T21:59:27.850354 #40048]  INFO -- mongos-debian-720:  +                            # 'restart' will not work
I, [2015-07-15T21:59:27.850370 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.850385 #40048]  INFO -- mongos-debian-720:  +DAEMON_USER=${DAEMON_USER:-mongodb}
I, [2015-07-15T21:59:27.850400 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.850416 #40048]  INFO -- mongos-debian-720:  +# debugging
I, [2015-07-15T21:59:27.850431 #40048]  INFO -- mongos-debian-720:  +echo "** Running $NAME ($DAEMON $DAEMON_OPTS)"
I, [2015-07-15T21:59:27.850447 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.850462 #40048]  INFO -- mongos-debian-720:  +set -e
I, [2015-07-15T21:59:27.850477 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.850492 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.850507 #40048]  INFO -- mongos-debian-720:  +running_pid() {
I, [2015-07-15T21:59:27.850523 #40048]  INFO -- mongos-debian-720:  +# Check if a given process pid's cmdline matches a given name
I, [2015-07-15T21:59:27.850539 #40048]  INFO -- mongos-debian-720:  +    pid=$1
I, [2015-07-15T21:59:27.851597 #40048]  INFO -- mongos-debian-720:  +    name=$2
I, [2015-07-15T21:59:27.851636 #40048]  INFO -- mongos-debian-720:  +    [ -z "$pid" ] && return 1
I, [2015-07-15T21:59:27.851658 #40048]  INFO -- mongos-debian-720:  +    [ ! -d /proc/$pid ] &&  return 1
I, [2015-07-15T21:59:27.851676 #40048]  INFO -- mongos-debian-720:  +    cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1`
I, [2015-07-15T21:59:27.851706 #40048]  INFO -- mongos-debian-720:  +    # Is this the expected server
I, [2015-07-15T21:59:27.851725 #40048]  INFO -- mongos-debian-720:  +    [ "$cmd" != "$name" ] &&  return 1
I, [2015-07-15T21:59:27.851743 #40048]  INFO -- mongos-debian-720:  +    return 0
I, [2015-07-15T21:59:27.851759 #40048]  INFO -- mongos-debian-720:  +}
I, [2015-07-15T21:59:27.851774 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.851790 #40048]  INFO -- mongos-debian-720:  +running() {
I, [2015-07-15T21:59:27.851807 #40048]  INFO -- mongos-debian-720:  +# Check if the process is running looking at /proc
I, [2015-07-15T21:59:27.851823 #40048]  INFO -- mongos-debian-720:  +# (works for all users)
I, [2015-07-15T21:59:27.851839 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.851855 #40048]  INFO -- mongos-debian-720:  +    # No pidfile, probably no daemon present
I, [2015-07-15T21:59:27.851876 #40048]  INFO -- mongos-debian-720:  +    [ ! -f "$PIDFILE" ] && return 1
I, [2015-07-15T21:59:27.851903 #40048]  INFO -- mongos-debian-720:  +    pid=`cat $PIDFILE`
I, [2015-07-15T21:59:27.851922 #40048]  INFO -- mongos-debian-720:  +    running_pid $pid $DAEMON || return 1
I, [2015-07-15T21:59:27.851938 #40048]  INFO -- mongos-debian-720:  +    for i in `seq 1 20`; do
I, [2015-07-15T21:59:27.851954 #40048]  INFO -- mongos-debian-720:  +      nc -z 0.0.0.0 27017 && return 0
I, [2015-07-15T21:59:27.851974 #40048]  INFO -- mongos-debian-720:  +      echo -n "."
I, [2015-07-15T21:59:27.851990 #40048]  INFO -- mongos-debian-720:  +      sleep 15
I, [2015-07-15T21:59:27.852006 #40048]  INFO -- mongos-debian-720:  +    done
I, [2015-07-15T21:59:27.852023 #40048]  INFO -- mongos-debian-720:  +    return 1
I, [2015-07-15T21:59:27.852038 #40048]  INFO -- mongos-debian-720:  +}
I, [2015-07-15T21:59:27.852054 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.852070 #40048]  INFO -- mongos-debian-720:  +start_server() {
I, [2015-07-15T21:59:27.852086 #40048]  INFO -- mongos-debian-720:  +# Start the process using the wrapper
I, [2015-07-15T21:59:27.852103 #40048]  INFO -- mongos-debian-720:  +            start-stop-daemon --background --start --quiet --pidfile $PIDFILE \
I, [2015-07-15T21:59:27.852121 #40048]  INFO -- mongos-debian-720:  +                        --make-pidfile --chuid $DAEMON_USER \
I, [2015-07-15T21:59:27.852139 #40048]  INFO -- mongos-debian-720:  +                        --exec $NUMACTL $DAEMON $DAEMON_OPTS
I, [2015-07-15T21:59:27.852156 #40048]  INFO -- mongos-debian-720:  +            errcode=$?
I, [2015-07-15T21:59:27.852172 #40048]  INFO -- mongos-debian-720:  +    return $errcode
I, [2015-07-15T21:59:27.852188 #40048]  INFO -- mongos-debian-720:  +}
I, [2015-07-15T21:59:27.852203 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.852218 #40048]  INFO -- mongos-debian-720:  +stop_server() {
I, [2015-07-15T21:59:27.852234 #40048]  INFO -- mongos-debian-720:  +# Stop the process using the wrapper
I, [2015-07-15T21:59:27.852250 #40048]  INFO -- mongos-debian-720:  +            start-stop-daemon --stop --quiet --pidfile $PIDFILE \
I, [2015-07-15T21:59:27.852269 #40048]  INFO -- mongos-debian-720:  +                        --retry 300 \
I, [2015-07-15T21:59:27.852297 #40048]  INFO -- mongos-debian-720:  +                        --user $DAEMON_USER \
I, [2015-07-15T21:59:27.852321 #40048]  INFO -- mongos-debian-720:  +                        --exec $DAEMON
I, [2015-07-15T21:59:27.852347 #40048]  INFO -- mongos-debian-720:  +            errcode=$?
I, [2015-07-15T21:59:27.852363 #40048]  INFO -- mongos-debian-720:  +    return $errcode
I, [2015-07-15T21:59:27.852379 #40048]  INFO -- mongos-debian-720:  +}
I, [2015-07-15T21:59:27.852394 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.852409 #40048]  INFO -- mongos-debian-720:  +force_stop() {
I, [2015-07-15T21:59:27.852425 #40048]  INFO -- mongos-debian-720:  +# Force the process to die killing it manually
I, [2015-07-15T21:59:27.852466 #40048]  INFO -- mongos-debian-720:  +    [ ! -e "$PIDFILE" ] && return
I, [2015-07-15T21:59:27.852504 #40048]  INFO -- mongos-debian-720:  +    if running ; then
I, [2015-07-15T21:59:27.852526 #40048]  INFO -- mongos-debian-720:  +        kill -15 $pid
I, [2015-07-15T21:59:27.852557 #40048]  INFO -- mongos-debian-720:  +    # Is it really dead?
I, [2015-07-15T21:59:27.852591 #40048]  INFO -- mongos-debian-720:  +        sleep "$DIETIME"s
I, [2015-07-15T21:59:27.852621 #40048]  INFO -- mongos-debian-720:  +        if running ; then
I, [2015-07-15T21:59:27.852639 #40048]  INFO -- mongos-debian-720:  +            kill -9 $pid
I, [2015-07-15T21:59:27.852656 #40048]  INFO -- mongos-debian-720:  +            sleep "$DIETIME"s
I, [2015-07-15T21:59:27.852672 #40048]  INFO -- mongos-debian-720:  +            if running ; then
I, [2015-07-15T21:59:27.852688 #40048]  INFO -- mongos-debian-720:  +                echo "Cannot kill $NAME (pid=$pid)!"
I, [2015-07-15T21:59:27.852706 #40048]  INFO -- mongos-debian-720:  +                exit 1
I, [2015-07-15T21:59:27.852722 #40048]  INFO -- mongos-debian-720:  +            fi
I, [2015-07-15T21:59:27.852738 #40048]  INFO -- mongos-debian-720:  +        fi
I, [2015-07-15T21:59:27.852754 #40048]  INFO -- mongos-debian-720:  +    fi
I, [2015-07-15T21:59:27.852769 #40048]  INFO -- mongos-debian-720:  +    rm -f $PIDFILE
I, [2015-07-15T21:59:27.852785 #40048]  INFO -- mongos-debian-720:  +}
I, [2015-07-15T21:59:27.852801 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.852816 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.852831 #40048]  INFO -- mongos-debian-720:  +case "$1" in
I, [2015-07-15T21:59:27.852846 #40048]  INFO -- mongos-debian-720:  +  start)
I, [2015-07-15T21:59:27.852862 #40048]  INFO -- mongos-debian-720:  +    log_daemon_msg "Starting $DESC" "$NAME"
I, [2015-07-15T21:59:27.852878 #40048]  INFO -- mongos-debian-720:  +        # Check if it's running first
I, [2015-07-15T21:59:27.852894 #40048]  INFO -- mongos-debian-720:  +        if running ;  then
I, [2015-07-15T21:59:27.852914 #40048]  INFO -- mongos-debian-720:  +            log_progress_msg "apparently already running"
I, [2015-07-15T21:59:27.852947 #40048]  INFO -- mongos-debian-720:  +            log_end_msg 0
I, [2015-07-15T21:59:27.852979 #40048]  INFO -- mongos-debian-720:  +            exit 0
I, [2015-07-15T21:59:27.852999 #40048]  INFO -- mongos-debian-720:  +        fi
I, [2015-07-15T21:59:27.853015 #40048]  INFO -- mongos-debian-720:  +        if start_server ; then
I, [2015-07-15T21:59:27.853032 #40048]  INFO -- mongos-debian-720:  +            # NOTE: Some servers might die some time after they start,
I, [2015-07-15T21:59:27.853048 #40048]  INFO -- mongos-debian-720:  +            # this code will detect this issue if STARTTIME is set
I, [2015-07-15T21:59:27.853066 #40048]  INFO -- mongos-debian-720:  +            # to a reasonable value
I, [2015-07-15T21:59:27.853082 #40048]  INFO -- mongos-debian-720:  +            [ -n "$STARTTIME" ] && sleep $STARTTIME # Wait some time
I, [2015-07-15T21:59:27.853097 #40048]  INFO -- mongos-debian-720:  +            if  running ;  then
I, [2015-07-15T21:59:27.853119 #40048]  INFO -- mongos-debian-720:  +                # It's ok, the server started and is running
I, [2015-07-15T21:59:27.853152 #40048]  INFO -- mongos-debian-720:  +                log_end_msg 0
I, [2015-07-15T21:59:27.853181 #40048]  INFO -- mongos-debian-720:  +            else
I, [2015-07-15T21:59:27.853231 #40048]  INFO -- mongos-debian-720:  +                # It is not running after we did start
I, [2015-07-15T21:59:27.854861 #40048]  INFO -- mongos-debian-720:  +                log_end_msg 1
I, [2015-07-15T21:59:27.854901 #40048]  INFO -- mongos-debian-720:  +            fi
I, [2015-07-15T21:59:27.854923 #40048]  INFO -- mongos-debian-720:  +        else
I, [2015-07-15T21:59:27.854944 #40048]  INFO -- mongos-debian-720:  +            # Either we could not start it
I, [2015-07-15T21:59:27.854971 #40048]  INFO -- mongos-debian-720:  +            log_end_msg 1
I, [2015-07-15T21:59:27.855022 #40048]  INFO -- mongos-debian-720:  +        fi
I, [2015-07-15T21:59:27.855051 #40048]  INFO -- mongos-debian-720:  +    ;;
I, [2015-07-15T21:59:27.855076 #40048]  INFO -- mongos-debian-720:  +  stop)
I, [2015-07-15T21:59:27.855100 #40048]  INFO -- mongos-debian-720:  +        log_daemon_msg "Stopping $DESC" "$NAME"
I, [2015-07-15T21:59:27.855123 #40048]  INFO -- mongos-debian-720:  +        if running ; then
I, [2015-07-15T21:59:27.855151 #40048]  INFO -- mongos-debian-720:  +            # Only stop the server if we see it running
I, [2015-07-15T21:59:27.855176 #40048]  INFO -- mongos-debian-720:  +            errcode=0
I, [2015-07-15T21:59:27.855203 #40048]  INFO -- mongos-debian-720:  +            stop_server || errcode=$?
I, [2015-07-15T21:59:27.855232 #40048]  INFO -- mongos-debian-720:  +            log_end_msg $errcode
I, [2015-07-15T21:59:27.855256 #40048]  INFO -- mongos-debian-720:  +        else
I, [2015-07-15T21:59:27.855330 #40048]  INFO -- mongos-debian-720:  +            # If it's not running don't do anything
I, [2015-07-15T21:59:27.855459 #40048]  INFO -- mongos-debian-720:  +            log_progress_msg "apparently not running"
I, [2015-07-15T21:59:27.855586 #40048]  INFO -- mongos-debian-720:  +            log_end_msg 0
I, [2015-07-15T21:59:27.855657 #40048]  INFO -- mongos-debian-720:  +            exit 0
I, [2015-07-15T21:59:27.855722 #40048]  INFO -- mongos-debian-720:  +        fi
I, [2015-07-15T21:59:27.855832 #40048]  INFO -- mongos-debian-720:  +        ;;
I, [2015-07-15T21:59:27.855933 #40048]  INFO -- mongos-debian-720:  +  force-stop)
I, [2015-07-15T21:59:27.856003 #40048]  INFO -- mongos-debian-720:  +        # First try to stop gracefully the program
I, [2015-07-15T21:59:27.856072 #40048]  INFO -- mongos-debian-720:  +        $0 stop
I, [2015-07-15T21:59:27.856099 #40048]  INFO -- mongos-debian-720:  +        if running; then
I, [2015-07-15T21:59:27.856124 #40048]  INFO -- mongos-debian-720:  +            # If it's still running try to kill it more forcefully
I, [2015-07-15T21:59:27.856153 #40048]  INFO -- mongos-debian-720:  +            log_daemon_msg "Stopping (force) $DESC" "$NAME"
I, [2015-07-15T21:59:27.856205 #40048]  INFO -- mongos-debian-720:  +            errcode=0
I, [2015-07-15T21:59:27.856245 #40048]  INFO -- mongos-debian-720:  +            force_stop || errcode=$?
I, [2015-07-15T21:59:27.856280 #40048]  INFO -- mongos-debian-720:  +            log_end_msg $errcode
I, [2015-07-15T21:59:27.856311 #40048]  INFO -- mongos-debian-720:  +        fi
I, [2015-07-15T21:59:27.856347 #40048]  INFO -- mongos-debian-720:  +    ;;
I, [2015-07-15T21:59:27.856382 #40048]  INFO -- mongos-debian-720:  +  restart|force-reload)
I, [2015-07-15T21:59:27.856457 #40048]  INFO -- mongos-debian-720:  +        log_daemon_msg "Restarting $DESC" "$NAME"
I, [2015-07-15T21:59:27.856525 #40048]  INFO -- mongos-debian-720:  +        errcode=0
I, [2015-07-15T21:59:27.856568 #40048]  INFO -- mongos-debian-720:  +        stop_server || errcode=$?
I, [2015-07-15T21:59:27.856598 #40048]  INFO -- mongos-debian-720:  +        # Wait some sensible amount, some server need this
I, [2015-07-15T21:59:27.856618 #40048]  INFO -- mongos-debian-720:  +        [ -n "$DIETIME" ] && sleep $DIETIME
I, [2015-07-15T21:59:27.856636 #40048]  INFO -- mongos-debian-720:  +        start_server || errcode=$?
I, [2015-07-15T21:59:27.856654 #40048]  INFO -- mongos-debian-720:  +        [ -n "$STARTTIME" ] && sleep $STARTTIME
I, [2015-07-15T21:59:27.856672 #40048]  INFO -- mongos-debian-720:  +        running || errcode=$?
I, [2015-07-15T21:59:27.856689 #40048]  INFO -- mongos-debian-720:  +        log_end_msg $errcode
I, [2015-07-15T21:59:27.856716 #40048]  INFO -- mongos-debian-720:  +    ;;
I, [2015-07-15T21:59:27.856731 #40048]  INFO -- mongos-debian-720:  +  status)
I, [2015-07-15T21:59:27.856747 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.856764 #40048]  INFO -- mongos-debian-720:  +        log_daemon_msg "Checking status of $DESC" "$NAME"
I, [2015-07-15T21:59:27.856885 #40048]  INFO -- mongos-debian-720:  +        if running ;  then
I, [2015-07-15T21:59:27.856950 #40048]  INFO -- mongos-debian-720:  +            log_progress_msg "running"
I, [2015-07-15T21:59:27.856972 #40048]  INFO -- mongos-debian-720:  +            log_end_msg 0
I, [2015-07-15T21:59:27.856990 #40048]  INFO -- mongos-debian-720:  +        else
I, [2015-07-15T21:59:27.857008 #40048]  INFO -- mongos-debian-720:  +            log_progress_msg "apparently not running"
I, [2015-07-15T21:59:27.857025 #40048]  INFO -- mongos-debian-720:  +            log_end_msg 1
I, [2015-07-15T21:59:27.857042 #40048]  INFO -- mongos-debian-720:  +            exit 1
I, [2015-07-15T21:59:27.857064 #40048]  INFO -- mongos-debian-720:  +        fi
I, [2015-07-15T21:59:27.857100 #40048]  INFO -- mongos-debian-720:  +        ;;
I, [2015-07-15T21:59:27.857129 #40048]  INFO -- mongos-debian-720:  +  # MongoDB can't reload its configuration.
I, [2015-07-15T21:59:27.857161 #40048]  INFO -- mongos-debian-720:  +  reload)
I, [2015-07-15T21:59:27.857193 #40048]  INFO -- mongos-debian-720:  +        log_warning_msg "Reloading $NAME daemon: not implemented, as the daemon"
I, [2015-07-15T21:59:27.857237 #40048]  INFO -- mongos-debian-720:  +        log_warning_msg "cannot re-read the config file (use restart)."
I, [2015-07-15T21:59:27.857293 #40048]  INFO -- mongos-debian-720:  +        ;;
I, [2015-07-15T21:59:27.857374 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.857416 #40048]  INFO -- mongos-debian-720:  +  *)
I, [2015-07-15T21:59:27.857447 #40048]  INFO -- mongos-debian-720:  +    N=/etc/init.d/$NAME
I, [2015-07-15T21:59:27.857493 #40048]  INFO -- mongos-debian-720:  +    echo "Usage: $N {start|stop|force-stop|restart|force-reload|status}" >&2
I, [2015-07-15T21:59:27.857516 #40048]  INFO -- mongos-debian-720:  +    exit 1
I, [2015-07-15T21:59:27.857535 #40048]  INFO -- mongos-debian-720:  +    ;;
I, [2015-07-15T21:59:27.857566 #40048]  INFO -- mongos-debian-720:  +esac
I, [2015-07-15T21:59:27.857603 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.857641 #40048]  INFO -- mongos-debian-720:  +exit 0
I, [2015-07-15T21:59:27.857667 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T21:59:27.859273 #40048]  INFO -- mongos-debian-720:     - change mode from '' to '0755'
I, [2015-07-15T21:59:27.859498 #40048]  INFO -- mongos-debian-720:     - change owner from '' to 'root'
I, [2015-07-15T21:59:27.859687 #40048]  INFO -- mongos-debian-720:     - change group from '' to 'root'
I, [2015-07-15T21:59:49.407615 #40048]  INFO -- mongos-debian-720:   * package[mongodb] action install
I, [2015-07-15T21:59:49.407955 #40048]  INFO -- mongos-debian-720:     - install version 1:2.0.6-1.1 of package mongodb
I, [2015-07-15T21:59:49.408001 #40048]  INFO -- mongos-debian-720: Recipe: mongodb::mongos
I, [2015-07-15T22:00:00.365136 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T22:00:00.365435 #40048]  INFO -- mongos-debian-720:     - execute the ruby block chef_gem_at_converge_time
I, [2015-07-15T22:00:00.451702 #40048]  INFO -- mongos-debian-720:   * service[mongodb] action disable
I, [2015-07-15T22:00:00.451755 #40048]  INFO -- mongos-debian-720:     - disable service service[mongodb]
I, [2015-07-15T22:00:00.498677 #40048]  INFO -- mongos-debian-720:  (up to date)
I, [2015-07-15T22:00:00.528615 #40048]  INFO -- mongos-debian-720:   * template[/etc/default/mongodb] action create
I, [2015-07-15T22:00:00.529048 #40048]  INFO -- mongos-debian-720:     - update content in file /etc/default/mongodb from a35762 to 91c827
I, [2015-07-15T22:00:00.529424 #40048]  INFO -- mongos-debian-720:  --- /etc/default/mongodb    2015-07-16 01:59:26.724596416 +0000
I, [2015-07-15T22:00:00.530071 #40048]  INFO -- mongos-debian-720:  +++ /tmp/chef-rendered-template20150716-2861-jio1ab 2015-07-16 01:59:59.488969733 +0000
I, [2015-07-15T22:00:00.530286 #40048]  INFO -- mongos-debian-720:  @@ -1,2 +1,13 @@
I, [2015-07-15T22:00:00.530582 #40048]  INFO -- mongos-debian-720:  -ENABLE_MONGODB=no
I, [2015-07-15T22:00:00.530950 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T22:00:00.531256 #40048]  INFO -- mongos-debian-720:  +# Automatically Generated by Chef, do not edit directly!
I, [2015-07-15T22:00:00.531509 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T22:00:00.531725 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.531973 #40048]  INFO -- mongos-debian-720:  +CONFIGFILE="/etc/mongodb.conf"
I, [2015-07-15T22:00:00.532007 #40048]  INFO -- mongos-debian-720:  +DAEMON="/usr/bin/$NAME"
I, [2015-07-15T22:00:00.532028 #40048]  INFO -- mongos-debian-720:  +DAEMONUSER="mongodb"
I, [2015-07-15T22:00:00.532045 #40048]  INFO -- mongos-debian-720:  +DAEMON_OPTS="--config /etc/mongodb.conf"
I, [2015-07-15T22:00:00.533013 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T22:00:00.533056 #40048]  INFO -- mongos-debian-720:  +ENABLE_MONGO="yes"
I, [2015-07-15T22:00:00.533079 #40048]  INFO -- mongos-debian-720:  +ENABLE_MONGOD="yes"
I, [2015-07-15T22:00:00.533160 #40048]  INFO -- mongos-debian-720:  +ENABLE_MONGODB="yes"
I, [2015-07-15T22:00:00.537201 #40048]  INFO -- mongos-debian-720:   * template[/etc/mongodb.conf] action create
I, [2015-07-15T22:00:00.537539 #40048]  INFO -- mongos-debian-720:     - update content in file /etc/mongodb.conf from 6d2585 to f247be
I, [2015-07-15T22:00:00.538174 #40048]  INFO -- mongos-debian-720:  --- /etc/mongodb.conf   2015-07-16 01:59:26.748608416 +0000
I, [2015-07-15T22:00:00.540030 #40048]  INFO -- mongos-debian-720:  +++ /tmp/chef-rendered-template20150716-2861-z4yz0u 2015-07-16 01:59:59.500975733 +0000
I, [2015-07-15T22:00:00.540363 #40048]  INFO -- mongos-debian-720:  @@ -4,7 +4,6 @@
I, [2015-07-15T22:00:00.540666 #40048]  INFO -- mongos-debian-720:   
I, [2015-07-15T22:00:00.540953 #40048]  INFO -- mongos-debian-720:   bind_ip = 0.0.0.0
I, [2015-07-15T22:00:00.541256 #40048]  INFO -- mongos-debian-720:   configdb = my_configserver
I, [2015-07-15T22:00:00.541574 #40048]  INFO -- mongos-debian-720:  -dbpath = /var/lib/mongodb
I, [2015-07-15T22:00:00.541869 #40048]  INFO -- mongos-debian-720:   fork = false
I, [2015-07-15T22:00:00.542206 #40048]  INFO -- mongos-debian-720:   logappend = true
I, [2015-07-15T22:00:00.543158 #40048]  INFO -- mongos-debian-720:   logpath = /var/log/mongodb/mongodb.log
I, [2015-07-15T22:00:00.545047 #40048]  INFO -- mongos-debian-720:   * directory[/var/log/mongodb] action create (up to date)
I, [2015-07-15T22:00:00.545791 #40048]  INFO -- mongos-debian-720:   * directory[/var/lib/mongodb] action create (skipped due to not_if)
I, [2015-07-15T22:00:00.546363 #40048]  INFO -- mongos-debian-720:   * execute[mongodb-systemctl-daemon-reload] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:00:00.548385 #40048]  INFO -- mongos-debian-720:   * template[/etc/init.d/mongos] action create
I, [2015-07-15T22:00:00.553093 #40048]  INFO -- mongos-debian-720:     - create new file /etc/init.d/mongos
I, [2015-07-15T22:00:00.553385 #40048]  INFO -- mongos-debian-720:     - update content in file /etc/init.d/mongos from none to f19eed
I, [2015-07-15T22:00:00.553962 #40048]  INFO -- mongos-debian-720:  --- /etc/init.d/mongos  2015-07-16 01:59:59.512981734 +0000
I, [2015-07-15T22:00:00.554619 #40048]  INFO -- mongos-debian-720:  +++ /tmp/chef-rendered-template20150716-2861-h49n0p 2015-07-16 01:59:59.512981734 +0000
I, [2015-07-15T22:00:00.554889 #40048]  INFO -- mongos-debian-720:  @@ -1 +1,265 @@
I, [2015-07-15T22:00:00.555309 #40048]  INFO -- mongos-debian-720:  +#!/bin/bash
I, [2015-07-15T22:00:00.555642 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T22:00:00.555917 #40048]  INFO -- mongos-debian-720:  +# init.d script with LSB support.
I, [2015-07-15T22:00:00.556197 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T22:00:00.556433 #40048]  INFO -- mongos-debian-720:  +# Copyright (c) 2007 Javier Fernandez-Sanguino <[email protected]>
I, [2015-07-15T22:00:00.557229 #40048]  INFO -- mongos-debian-720:  +# Copyright (c) 2011 edelight GmbH
I, [2015-07-15T22:00:00.557267 #40048]  INFO -- mongos-debian-720:  +#       Author: Markus Korn <[email protected]>
I, [2015-07-15T22:00:00.557288 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T22:00:00.557323 #40048]  INFO -- mongos-debian-720:  +# This is free software; you may redistribute it and/or modify
I, [2015-07-15T22:00:00.557345 #40048]  INFO -- mongos-debian-720:  +# it under the terms of the GNU General Public License as
I, [2015-07-15T22:00:00.557362 #40048]  INFO -- mongos-debian-720:  +# published by the Free Software Foundation; either version 2,
I, [2015-07-15T22:00:00.557379 #40048]  INFO -- mongos-debian-720:  +# or (at your option) any later version.
I, [2015-07-15T22:00:00.557401 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T22:00:00.557432 #40048]  INFO -- mongos-debian-720:  +# This is distributed in the hope that it will be useful, but
I, [2015-07-15T22:00:00.557459 #40048]  INFO -- mongos-debian-720:  +# WITHOUT ANY WARRANTY; without even the implied warranty of
I, [2015-07-15T22:00:00.557477 #40048]  INFO -- mongos-debian-720:  +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
I, [2015-07-15T22:00:00.557494 #40048]  INFO -- mongos-debian-720:  +# GNU General Public License for more details.
I, [2015-07-15T22:00:00.557509 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T22:00:00.557525 #40048]  INFO -- mongos-debian-720:  +# You should have received a copy of the GNU General Public License with
I, [2015-07-15T22:00:00.557541 #40048]  INFO -- mongos-debian-720:  +# the Debian operating system, in /usr/share/common-licenses/GPL;  if
I, [2015-07-15T22:00:00.557557 #40048]  INFO -- mongos-debian-720:  +# not, write to the Free Software Foundation, Inc., 59 Temple Place,
I, [2015-07-15T22:00:00.557574 #40048]  INFO -- mongos-debian-720:  +# Suite 330, Boston, MA 02111-1307 USA
I, [2015-07-15T22:00:00.557590 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T22:00:00.557605 #40048]  INFO -- mongos-debian-720:  +### BEGIN INIT INFO
I, [2015-07-15T22:00:00.557621 #40048]  INFO -- mongos-debian-720:  +# Provides:          mongos
I, [2015-07-15T22:00:00.557637 #40048]  INFO -- mongos-debian-720:  +# Required-Start:    $network $local_fs $remote_fs
I, [2015-07-15T22:00:00.557653 #40048]  INFO -- mongos-debian-720:  +# Required-Stop:     $network $local_fs $remote_fs
I, [2015-07-15T22:00:00.557670 #40048]  INFO -- mongos-debian-720:  +# Should-Start:      $named
I, [2015-07-15T22:00:00.557685 #40048]  INFO -- mongos-debian-720:  +# Should-Stop:
I, [2015-07-15T22:00:00.557701 #40048]  INFO -- mongos-debian-720:  +# Default-Start:     2 3 4 5
I, [2015-07-15T22:00:00.557717 #40048]  INFO -- mongos-debian-720:  +# Default-Stop:      0 1 6
I, [2015-07-15T22:00:00.557733 #40048]  INFO -- mongos-debian-720:  +# Short-Description: Start/stop mongos An object/document-origented database
I, [2015-07-15T22:00:00.557750 #40048]  INFO -- mongos-debian-720:  +# Description:       MongoDB is a high-performance, open source, schema-free
I, [2015-07-15T22:00:00.557767 #40048]  INFO -- mongos-debian-720:  +#                    document-oriented  data store that's easy to deploy, manage
I, [2015-07-15T22:00:00.557784 #40048]  INFO -- mongos-debian-720:  +#                    and use. It's network accessible, written in C++ and offers
I, [2015-07-15T22:00:00.557801 #40048]  INFO -- mongos-debian-720:  +#                    the following features:
I, [2015-07-15T22:00:00.557817 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T22:00:00.557834 #40048]  INFO -- mongos-debian-720:  +#                       * Collection oriented storage - easy storage of object-
I, [2015-07-15T22:00:00.557851 #40048]  INFO -- mongos-debian-720:  +#                         style data
I, [2015-07-15T22:00:00.557868 #40048]  INFO -- mongos-debian-720:  +#                       * Full index support, including on inner objects
I, [2015-07-15T22:00:00.557885 #40048]  INFO -- mongos-debian-720:  +#                       * Query profiling
I, [2015-07-15T22:00:00.557902 #40048]  INFO -- mongos-debian-720:  +#                       * Replication and fail-over support
I, [2015-07-15T22:00:00.557920 #40048]  INFO -- mongos-debian-720:  +#                       * Efficient storage of binary data including large
I, [2015-07-15T22:00:00.557945 #40048]  INFO -- mongos-debian-720:  +#                         objects (e.g. videos)
I, [2015-07-15T22:00:00.557963 #40048]  INFO -- mongos-debian-720:  +#                       * Auto-sharding for cloud-level scalability (Q209)
I, [2015-07-15T22:00:00.557980 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T22:00:00.557996 #40048]  INFO -- mongos-debian-720:  +#                    High performance, scalability, and reasonable depth of
I, [2015-07-15T22:00:00.558013 #40048]  INFO -- mongos-debian-720:  +#                    functionality are the goals for the project.
I, [2015-07-15T22:00:00.558034 #40048]  INFO -- mongos-debian-720:  +### END INIT INFO
I, [2015-07-15T22:00:00.558071 #40048]  INFO -- mongos-debian-720:  +#
I, [2015-07-15T22:00:00.558120 #40048]  INFO -- mongos-debian-720:  +NAME=mongos
I, [2015-07-15T22:00:00.560627 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T22:00:00.560719 #40048]  INFO -- mongos-debian-720:  +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
I, [2015-07-15T22:00:00.560774 #40048]  INFO -- mongos-debian-720:  +DESC=database
I, [2015-07-15T22:00:00.560802 #40048]  INFO -- mongos-debian-720:  +PIDFILE=/var/run/$NAME.pid
I, [2015-07-15T22:00:00.560826 #40048]  INFO -- mongos-debian-720:  +ENABLE_MONGODB=yes
I, [2015-07-15T22:00:00.560901 #40048]  INFO -- mongos-debian-720:  +SYSCONFIG=/etc/default/mongodb
I, [2015-07-15T22:00:00.560947 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.560978 #40048]  INFO -- mongos-debian-720:  +# this should get removed at some point for more shell agnostic init script
I, [2015-07-15T22:00:00.561004 #40048]  INFO -- mongos-debian-720:  +ulimit -f unlimited
I, [2015-07-15T22:00:00.561026 #40048]  INFO -- mongos-debian-720:  +ulimit -t unlimited
I, [2015-07-15T22:00:00.561048 #40048]  INFO -- mongos-debian-720:  +ulimit -v unlimited
I, [2015-07-15T22:00:00.561072 #40048]  INFO -- mongos-debian-720:  +ulimit -n 64000
I, [2015-07-15T22:00:00.561093 #40048]  INFO -- mongos-debian-720:  +ulimit -m unlimited
I, [2015-07-15T22:00:00.561120 #40048]  INFO -- mongos-debian-720:  +ulimit -u 32000
I, [2015-07-15T22:00:00.561144 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.561167 #40048]  INFO -- mongos-debian-720:  +# Include mongodb defaults if available
I, [2015-07-15T22:00:00.561189 #40048]  INFO -- mongos-debian-720:  +if [ -f $SYSCONFIG ] ; then
I, [2015-07-15T22:00:00.561212 #40048]  INFO -- mongos-debian-720:  +    . $SYSCONFIG
I, [2015-07-15T22:00:00.561272 #40048]  INFO -- mongos-debian-720:  +fi
I, [2015-07-15T22:00:00.561326 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.561352 #40048]  INFO -- mongos-debian-720:  +# Handle NUMA access to CPUs (SERVER-3574)
I, [2015-07-15T22:00:00.561379 #40048]  INFO -- mongos-debian-720:  +# This verifies the existence of numactl as well as testing that the command works
I, [2015-07-15T22:00:00.561404 #40048]  INFO -- mongos-debian-720:  +NUMACTL_ARGS="--interleave=all"
I, [2015-07-15T22:00:00.561433 #40048]  INFO -- mongos-debian-720:  +if which numactl >/dev/null 2>/dev/null && numactl $NUMACTL_ARGS ls / >/dev/null 2>/dev/null
I, [2015-07-15T22:00:00.561478 #40048]  INFO -- mongos-debian-720:  +then
I, [2015-07-15T22:00:00.561529 #40048]  INFO -- mongos-debian-720:  +    NUMACTL="`which numactl` -- $NUMACTL_ARGS"
I, [2015-07-15T22:00:00.561558 #40048]  INFO -- mongos-debian-720:  +    DAEMON_OPTS="$DAEMON_OPTS"
I, [2015-07-15T22:00:00.561577 #40048]  INFO -- mongos-debian-720:  +else
I, [2015-07-15T22:00:00.561595 #40048]  INFO -- mongos-debian-720:  +    NUMACTL=""
I, [2015-07-15T22:00:00.561613 #40048]  INFO -- mongos-debian-720:  +    DAEMON_OPTS="-- $DAEMON_OPTS"
I, [2015-07-15T22:00:00.561631 #40048]  INFO -- mongos-debian-720:  +fi
I, [2015-07-15T22:00:00.561646 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.561664 #40048]  INFO -- mongos-debian-720:  +if test ! -x $DAEMON; then
I, [2015-07-15T22:00:00.561682 #40048]  INFO -- mongos-debian-720:  +    echo "Could not find $DAEMON"
I, [2015-07-15T22:00:00.561735 #40048]  INFO -- mongos-debian-720:  +    exit 0
I, [2015-07-15T22:00:00.561766 #40048]  INFO -- mongos-debian-720:  +fi
I, [2015-07-15T22:00:00.561792 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.561828 #40048]  INFO -- mongos-debian-720:  +if test "x$ENABLE_MONGODB" != "xyes"; then
I, [2015-07-15T22:00:00.561863 #40048]  INFO -- mongos-debian-720:  +    exit 0
I, [2015-07-15T22:00:00.564015 #40048]  INFO -- mongos-debian-720:  +fi
I, [2015-07-15T22:00:00.564113 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.564203 #40048]  INFO -- mongos-debian-720:  +. /lib/lsb/init-functions
I, [2015-07-15T22:00:00.564241 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.564273 #40048]  INFO -- mongos-debian-720:  +STARTTIME=1
I, [2015-07-15T22:00:00.564307 #40048]  INFO -- mongos-debian-720:  +DIETIME=10                  # Time to wait for the server to die, in seconds
I, [2015-07-15T22:00:00.564347 #40048]  INFO -- mongos-debian-720:  +                            # If this value is set too low you might not
I, [2015-07-15T22:00:00.564375 #40048]  INFO -- mongos-debian-720:  +                            # let some servers to die gracefully and
I, [2015-07-15T22:00:00.564428 #40048]  INFO -- mongos-debian-720:  +                            # 'restart' will not work
I, [2015-07-15T22:00:00.564446 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.564509 #40048]  INFO -- mongos-debian-720:  +DAEMON_USER=${DAEMON_USER:-mongodb}
I, [2015-07-15T22:00:00.564543 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.564565 #40048]  INFO -- mongos-debian-720:  +# debugging
I, [2015-07-15T22:00:00.564640 #40048]  INFO -- mongos-debian-720:  +echo "** Running $NAME ($DAEMON $DAEMON_OPTS)"
I, [2015-07-15T22:00:00.564688 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.564768 #40048]  INFO -- mongos-debian-720:  +set -e
I, [2015-07-15T22:00:00.564798 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.564817 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.564834 #40048]  INFO -- mongos-debian-720:  +running_pid() {
I, [2015-07-15T22:00:00.564851 #40048]  INFO -- mongos-debian-720:  +# Check if a given process pid's cmdline matches a given name
I, [2015-07-15T22:00:00.564867 #40048]  INFO -- mongos-debian-720:  +    pid=$1
I, [2015-07-15T22:00:00.564882 #40048]  INFO -- mongos-debian-720:  +    name=$2
I, [2015-07-15T22:00:00.564921 #40048]  INFO -- mongos-debian-720:  +    [ -z "$pid" ] && return 1
I, [2015-07-15T22:00:00.564939 #40048]  INFO -- mongos-debian-720:  +    [ ! -d /proc/$pid ] &&  return 1
I, [2015-07-15T22:00:00.564957 #40048]  INFO -- mongos-debian-720:  +    cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1`
I, [2015-07-15T22:00:00.564974 #40048]  INFO -- mongos-debian-720:  +    # Is this the expected server
I, [2015-07-15T22:00:00.564992 #40048]  INFO -- mongos-debian-720:  +    [ "$cmd" != "$name" ] &&  return 1
I, [2015-07-15T22:00:00.565009 #40048]  INFO -- mongos-debian-720:  +    return 0
I, [2015-07-15T22:00:00.565025 #40048]  INFO -- mongos-debian-720:  +}
I, [2015-07-15T22:00:00.565042 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.565061 #40048]  INFO -- mongos-debian-720:  +running() {
I, [2015-07-15T22:00:00.565080 #40048]  INFO -- mongos-debian-720:  +# Check if the process is running looking at /proc
I, [2015-07-15T22:00:00.565115 #40048]  INFO -- mongos-debian-720:  +# (works for all users)
I, [2015-07-15T22:00:00.565171 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.565197 #40048]  INFO -- mongos-debian-720:  +    # No pidfile, probably no daemon present
I, [2015-07-15T22:00:00.565225 #40048]  INFO -- mongos-debian-720:  +    [ ! -f "$PIDFILE" ] && return 1
I, [2015-07-15T22:00:00.565249 #40048]  INFO -- mongos-debian-720:  +    pid=`cat $PIDFILE`
I, [2015-07-15T22:00:00.565280 #40048]  INFO -- mongos-debian-720:  +    running_pid $pid $DAEMON || return 1
I, [2015-07-15T22:00:00.565298 #40048]  INFO -- mongos-debian-720:  +    for i in `seq 1 20`; do
I, [2015-07-15T22:00:00.565360 #40048]  INFO -- mongos-debian-720:  +      nc -z 0.0.0.0 27017 && return 0
I, [2015-07-15T22:00:00.565380 #40048]  INFO -- mongos-debian-720:  +      echo -n "."
I, [2015-07-15T22:00:00.565396 #40048]  INFO -- mongos-debian-720:  +      sleep 15
I, [2015-07-15T22:00:00.565412 #40048]  INFO -- mongos-debian-720:  +    done
I, [2015-07-15T22:00:00.565427 #40048]  INFO -- mongos-debian-720:  +    return 1
I, [2015-07-15T22:00:00.565442 #40048]  INFO -- mongos-debian-720:  +}
I, [2015-07-15T22:00:00.565457 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.565472 #40048]  INFO -- mongos-debian-720:  +start_server() {
I, [2015-07-15T22:00:00.565487 #40048]  INFO -- mongos-debian-720:  +# Start the process using the wrapper
I, [2015-07-15T22:00:00.565503 #40048]  INFO -- mongos-debian-720:  +            start-stop-daemon --background --start --quiet --pidfile $PIDFILE \
I, [2015-07-15T22:00:00.565521 #40048]  INFO -- mongos-debian-720:  +                        --make-pidfile --chuid $DAEMON_USER \
I, [2015-07-15T22:00:00.565538 #40048]  INFO -- mongos-debian-720:  +                        --exec $NUMACTL $DAEMON $DAEMON_OPTS
I, [2015-07-15T22:00:00.565555 #40048]  INFO -- mongos-debian-720:  +            errcode=$?
I, [2015-07-15T22:00:00.565600 #40048]  INFO -- mongos-debian-720:  +    return $errcode
I, [2015-07-15T22:00:00.565616 #40048]  INFO -- mongos-debian-720:  +}
I, [2015-07-15T22:00:00.565632 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.565647 #40048]  INFO -- mongos-debian-720:  +stop_server() {
I, [2015-07-15T22:00:00.565662 #40048]  INFO -- mongos-debian-720:  +# Stop the process using the wrapper
I, [2015-07-15T22:00:00.565678 #40048]  INFO -- mongos-debian-720:  +            start-stop-daemon --stop --quiet --pidfile $PIDFILE \
I, [2015-07-15T22:00:00.565695 #40048]  INFO -- mongos-debian-720:  +                        --retry 300 \
I, [2015-07-15T22:00:00.565712 #40048]  INFO -- mongos-debian-720:  +                        --user $DAEMON_USER \
I, [2015-07-15T22:00:00.565729 #40048]  INFO -- mongos-debian-720:  +                        --exec $DAEMON
I, [2015-07-15T22:00:00.565744 #40048]  INFO -- mongos-debian-720:  +            errcode=$?
I, [2015-07-15T22:00:00.565759 #40048]  INFO -- mongos-debian-720:  +    return $errcode
I, [2015-07-15T22:00:00.565801 #40048]  INFO -- mongos-debian-720:  +}
I, [2015-07-15T22:00:00.565816 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.565831 #40048]  INFO -- mongos-debian-720:  +force_stop() {
I, [2015-07-15T22:00:00.565846 #40048]  INFO -- mongos-debian-720:  +# Force the process to die killing it manually
I, [2015-07-15T22:00:00.565861 #40048]  INFO -- mongos-debian-720:  +    [ ! -e "$PIDFILE" ] && return
I, [2015-07-15T22:00:00.565876 #40048]  INFO -- mongos-debian-720:  +    if running ; then
I, [2015-07-15T22:00:00.565892 #40048]  INFO -- mongos-debian-720:  +        kill -15 $pid
I, [2015-07-15T22:00:00.565908 #40048]  INFO -- mongos-debian-720:  +    # Is it really dead?
I, [2015-07-15T22:00:00.565924 #40048]  INFO -- mongos-debian-720:  +        sleep "$DIETIME"s
I, [2015-07-15T22:00:00.565941 #40048]  INFO -- mongos-debian-720:  +        if running ; then
I, [2015-07-15T22:00:00.565958 #40048]  INFO -- mongos-debian-720:  +            kill -9 $pid
I, [2015-07-15T22:00:00.565974 #40048]  INFO -- mongos-debian-720:  +            sleep "$DIETIME"s
I, [2015-07-15T22:00:00.568536 #40048]  INFO -- mongos-debian-720: ng ; then
I, [2015-07-15T22:00:00.568580 #40048]  INFO -- mongos-debian-720:  +                echo "Cannot kill $NAME (pid=$pid)!"
I, [2015-07-15T22:00:00.568601 #40048]  INFO -- mongos-debian-720:  +                exit 1
I, [2015-07-15T22:00:00.568618 #40048]  INFO -- mongos-debian-720:  +            fi
I, [2015-07-15T22:00:00.568633 #40048]  INFO -- mongos-debian-720:  +        fi
I, [2015-07-15T22:00:00.568817 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T22:00:00.568845 #40048]  INFO -- mongos-debian-720:  +    rm -f $PIDFILE
I, [2015-07-15T22:00:00.568878 #40048]  INFO -- mongos-debian-720:  +}
I, [2015-07-15T22:00:00.568897 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.568912 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.568927 #40048]  INFO -- mongos-debian-720:  +case "$1" in
I, [2015-07-15T22:00:00.568942 #40048]  INFO -- mongos-debian-720:  +  start)
I, [2015-07-15T22:00:00.568958 #40048]  INFO -- mongos-debian-720:  +    log_daemon_msg "Starting $DESC" "$NAME"
I, [2015-07-15T22:00:00.568974 #40048]  INFO -- mongos-debian-720:  +        # Check if it's running first
I, [2015-07-15T22:00:00.568989 #40048]  INFO -- mongos-debian-720:  +        if running ;  then
I, [2015-07-15T22:00:00.569004 #40048]  INFO -- mongos-debian-720:  +            log_progress_msg "apparently already running"
I, [2015-07-15T22:00:00.569041 #40048]  INFO -- mongos-debian-720:  +            log_end_msg 0
I, [2015-07-15T22:00:00.569057 #40048]  INFO -- mongos-debian-720:  +            exit 0
I, [2015-07-15T22:00:00.569072 #40048]  INFO -- mongos-debian-720:  +        fi
I, [2015-07-15T22:00:00.569087 #40048]  INFO -- mongos-debian-720:  +        if start_server ; then
I, [2015-07-15T22:00:00.569102 #40048]  INFO -- mongos-debian-720:  +            # NOTE: Some servers might die some time after they start,
I, [2015-07-15T22:00:00.569119 #40048]  INFO -- mongos-debian-720:  +            # this code will detect this issue if STARTTIME is set
I, [2015-07-15T22:00:00.569134 #40048]  INFO -- mongos-debian-720:  +            # to a reasonable value
I, [2015-07-15T22:00:00.569150 #40048]  INFO -- mongos-debian-720:  +            [ -n "$STARTTIME" ] && sleep $STARTTIME # Wait some time
I, [2015-07-15T22:00:00.569167 #40048]  INFO -- mongos-debian-720:  +            if  running ;  then
I, [2015-07-15T22:00:00.569183 #40048]  INFO -- mongos-debian-720:  +                # It's ok, the server started and is running
I, [2015-07-15T22:00:00.569199 #40048]  INFO -- mongos-debian-720:  +                log_end_msg 0
I, [2015-07-15T22:00:00.569229 #40048]  INFO -- mongos-debian-720:  +            else
I, [2015-07-15T22:00:00.569300 #40048]  INFO -- mongos-debian-720:  +                # It is not running after we did start
I, [2015-07-15T22:00:00.569349 #40048]  INFO -- mongos-debian-720:  +                log_end_msg 1
I, [2015-07-15T22:00:00.569393 #40048]  INFO -- mongos-debian-720:  +            fi
I, [2015-07-15T22:00:00.569419 #40048]  INFO -- mongos-debian-720:  +        else
I, [2015-07-15T22:00:00.569437 #40048]  INFO -- mongos-debian-720:  +            # Either we could not start it
I, [2015-07-15T22:00:00.569453 #40048]  INFO -- mongos-debian-720:  +            log_end_msg 1
I, [2015-07-15T22:00:00.569469 #40048]  INFO -- mongos-debian-720:  +        fi
I, [2015-07-15T22:00:00.569484 #40048]  INFO -- mongos-debian-720:  +    ;;
I, [2015-07-15T22:00:00.569499 #40048]  INFO -- mongos-debian-720:  +  stop)
I, [2015-07-15T22:00:00.569556 #40048]  INFO -- mongos-debian-720:  +        log_daemon_msg "Stopping $DESC" "$NAME"
I, [2015-07-15T22:00:00.569595 #40048]  INFO -- mongos-debian-720:  +        if running ; then
I, [2015-07-15T22:00:00.569616 #40048]  INFO -- mongos-debian-720:  +            # Only stop the server if we see it running
I, [2015-07-15T22:00:00.569634 #40048]  INFO -- mongos-debian-720:  +            errcode=0
I, [2015-07-15T22:00:00.569651 #40048]  INFO -- mongos-debian-720:  +            stop_server || errcode=$?
I, [2015-07-15T22:00:00.569668 #40048]  INFO -- mongos-debian-720:  +            log_end_msg $errcode
I, [2015-07-15T22:00:00.569684 #40048]  INFO -- mongos-debian-720:  +        else
I, [2015-07-15T22:00:00.569701 #40048]  INFO -- mongos-debian-720:  +            # If it's not running don't do anything
I, [2015-07-15T22:00:00.569718 #40048]  INFO -- mongos-debian-720:  +            log_progress_msg "apparently not running"
I, [2015-07-15T22:00:00.569734 #40048]  INFO -- mongos-debian-720:  +            log_end_msg 0
I, [2015-07-15T22:00:00.569750 #40048]  INFO -- mongos-debian-720:  +            exit 0
I, [2015-07-15T22:00:00.569803 #40048]  INFO -- mongos-debian-720:  +        fi
I, [2015-07-15T22:00:00.569822 #40048]  INFO -- mongos-debian-720:  +        ;;
I, [2015-07-15T22:00:00.569837 #40048]  INFO -- mongos-debian-720:  +  force-stop)
I, [2015-07-15T22:00:00.569852 #40048]  INFO -- mongos-debian-720:  +        # First try to stop gracefully the program
I, [2015-07-15T22:00:00.569868 #40048]  INFO -- mongos-debian-720:  +        $0 stop
I, [2015-07-15T22:00:00.569883 #40048]  INFO -- mongos-debian-720:  +        if running; then
I, [2015-07-15T22:00:00.569899 #40048]  INFO -- mongos-debian-720:  +            # If it's still running try to kill it more forcefully
I, [2015-07-15T22:00:00.569914 #40048]  INFO -- mongos-debian-720:  +            log_daemon_msg "Stopping (force) $DESC" "$NAME"
I, [2015-07-15T22:00:00.569930 #40048]  INFO -- mongos-debian-720:  +            errcode=0
I, [2015-07-15T22:00:00.569945 #40048]  INFO -- mongos-debian-720:  +            force_stop || errcode=$?
I, [2015-07-15T22:00:00.569961 #40048]  INFO -- mongos-debian-720:  +            log_end_msg $errcode
I, [2015-07-15T22:00:00.569976 #40048]  INFO -- mongos-debian-720:  +        fi
I, [2015-07-15T22:00:00.569990 #40048]  INFO -- mongos-debian-720:  +    ;;
I, [2015-07-15T22:00:00.570004 #40048]  INFO -- mongos-debian-720:  +  restart|force-reload)
I, [2015-07-15T22:00:00.570044 #40048]  INFO -- mongos-debian-720:  +        log_daemon_msg "Restarting $DESC" "$NAME"
I, [2015-07-15T22:00:00.570060 #40048]  INFO -- mongos-debian-720:  +        errcode=0
I, [2015-07-15T22:00:00.570074 #40048]  INFO -- mongos-debian-720:  +        stop_server || errcode=$?
I, [2015-07-15T22:00:00.570090 #40048]  INFO -- mongos-debian-720:  +        # Wait some sensible amount, some server need this
I, [2015-07-15T22:00:00.570105 #40048]  INFO -- mongos-debian-720:  +        [ -n "$DIETIME" ] && sleep $DIETIME
I, [2015-07-15T22:00:00.570120 #40048]  INFO -- mongos-debian-720:  +        start_server || errcode=$?
I, [2015-07-15T22:00:00.570135 #40048]  INFO -- mongos-debian-720:  +        [ -n "$STARTTIME" ] && sleep $STARTTIME
I, [2015-07-15T22:00:00.570150 #40048]  INFO -- mongos-debian-720:  +        running || errcode=$?
I, [2015-07-15T22:00:00.570164 #40048]  INFO -- mongos-debian-720:  +        log_end_msg $errcode
I, [2015-07-15T22:00:00.570178 #40048]  INFO -- mongos-debian-720:  +    ;;
I, [2015-07-15T22:00:00.570193 #40048]  INFO -- mongos-debian-720:  +  status)
I, [2015-07-15T22:00:00.570207 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.570243 #40048]  INFO -- mongos-debian-720:  +        log_daemon_msg "Checking status of $DESC" "$NAME"
I, [2015-07-15T22:00:00.570259 #40048]  INFO -- mongos-debian-720:  +        if running ;  then
I, [2015-07-15T22:00:00.570274 #40048]  INFO -- mongos-debian-720:  +            log_progress_msg "running"
I, [2015-07-15T22:00:00.570288 #40048]  INFO -- mongos-debian-720:  +            log_end_msg 0
I, [2015-07-15T22:00:00.570303 #40048]  INFO -- mongos-debian-720:  +        else
I, [2015-07-15T22:00:00.570318 #40048]  INFO -- mongos-debian-720:  +            log_progress_msg "apparently not running"
I, [2015-07-15T22:00:00.570333 #40048]  INFO -- mongos-debian-720:  +            log_end_msg 1
I, [2015-07-15T22:00:00.570348 #40048]  INFO -- mongos-debian-720:  +            exit 1
I, [2015-07-15T22:00:00.570363 #40048]  INFO -- mongos-debian-720:  +        fi
I, [2015-07-15T22:00:00.570401 #40048]  INFO -- mongos-debian-720:  +        ;;
I, [2015-07-15T22:00:00.570417 #40048]  INFO -- mongos-debian-720:  +  # MongoDB can't reload its configuration.
I, [2015-07-15T22:00:00.570432 #40048]  INFO -- mongos-debian-720:  +  reload)
I, [2015-07-15T22:00:00.570447 #40048]  INFO -- mongos-debian-720:  +        log_warning_msg "Reloading $NAME daemon: not implemented, as the daemon"
I, [2015-07-15T22:00:00.570463 #40048]  INFO -- mongos-debian-720:  +        log_warning_msg "cannot re-read the config file (use restart)."
I, [2015-07-15T22:00:00.570478 #40048]  INFO -- mongos-debian-720:  +        ;;
I, [2015-07-15T22:00:00.570500 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.572408 #40048]  INFO -- mongos-debian-720:  +  *)
I, [2015-07-15T22:00:00.572451 #40048]  INFO -- mongos-debian-720:  +    N=/etc/init.d/$NAME
I, [2015-07-15T22:00:00.572472 #40048]  INFO -- mongos-debian-720:  +    echo "Usage: $N {start|stop|force-stop|restart|force-reload|status}" >&2
I, [2015-07-15T22:00:00.572490 #40048]  INFO -- mongos-debian-720:  +    exit 1
I, [2015-07-15T22:00:00.572506 #40048]  INFO -- mongos-debian-720:  +    ;;
I, [2015-07-15T22:00:00.572521 #40048]  INFO -- mongos-debian-720:  +esac
I, [2015-07-15T22:00:00.572556 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.572572 #40048]  INFO -- mongos-debian-720:  +exit 0
I, [2015-07-15T22:00:00.572587 #40048]  INFO -- mongos-debian-720:  +
I, [2015-07-15T22:00:00.572850 #40048]  INFO -- mongos-debian-720:     - change mode from '' to '0755'
I, [2015-07-15T22:00:00.573008 #40048]  INFO -- mongos-debian-720:     - change owner from '' to 'root'
I, [2015-07-15T22:00:00.573147 #40048]  INFO -- mongos-debian-720:     - change group from '' to 'root'
I, [2015-07-15T22:00:00.681661 #40048]  INFO -- mongos-debian-720:   * service[mongos] action enable
I, [2015-07-15T22:00:00.681724 #40048]  INFO -- mongos-debian-720:     - enable service service[mongos]
I, [2015-07-15T22:00:00.906497 #40048]  INFO -- mongos-debian-720: [2015-07-16T01:59:59+00:00] WARN: Could not connect to database: 'localhost:27017', reason Failed to connect to a master node at localhost:27017
I, [2015-07-15T22:00:00.906552 #40048]  INFO -- mongos-debian-720: [2015-07-16T01:59:59+00:00] WARN: No sharded collections configured, doing nothing
I, [2015-07-15T22:00:00.906596 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T22:00:00.906615 #40048]  INFO -- mongos-debian-720:     - execute the ruby block config_sharding
I, [2015-07-15T22:05:01.937989 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T22:05:01.939793 #40048]  INFO -- mongos-debian-720: ================================================================================
I, [2015-07-15T22:05:01.940212 #40048]  INFO -- mongos-debian-720: Error executing action `start` on resource 'service[mongos]'
I, [2015-07-15T22:05:01.940601 #40048]  INFO -- mongos-debian-720: ================================================================================
I, [2015-07-15T22:05:01.940923 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T22:05:01.941079 #40048]  INFO -- mongos-debian-720: Mixlib::ShellOut::ShellCommandFailed
I, [2015-07-15T22:05:01.941408 #40048]  INFO -- mongos-debian-720: ------------------------------------
I, [2015-07-15T22:05:01.941565 #40048]  INFO -- mongos-debian-720: Expected process to exit with [0], but received '1'
I, [2015-07-15T22:05:01.942033 #40048]  INFO -- mongos-debian-720: ---- Begin output of /etc/init.d/mongos start ----
I, [2015-07-15T22:05:01.942409 #40048]  INFO -- mongos-debian-720: STDOUT: ** Running mongos (/usr/bin/mongos -- --config /etc/mongodb.conf)
I, [2015-07-15T22:05:01.942625 #40048]  INFO -- mongos-debian-720: Starting database: mongos.................... failed!
I, [2015-07-15T22:05:01.943080 #40048]  INFO -- mongos-debian-720: STDERR: 
I, [2015-07-15T22:05:01.943237 #40048]  INFO -- mongos-debian-720: ---- End output of /etc/init.d/mongos start ----
I, [2015-07-15T22:05:01.943507 #40048]  INFO -- mongos-debian-720: Ran /etc/init.d/mongos start returned 1
I, [2015-07-15T22:05:01.943639 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T22:05:01.943752 #40048]  INFO -- mongos-debian-720: Resource Declaration:
I, [2015-07-15T22:05:01.943771 #40048]  INFO -- mongos-debian-720: ---------------------
I, [2015-07-15T22:05:01.943785 #40048]  INFO -- mongos-debian-720: # In /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb
I, [2015-07-15T22:05:01.943798 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T22:05:01.943811 #40048]  INFO -- mongos-debian-720: 202:   service new_resource.name do
I, [2015-07-15T22:05:01.943824 #40048]  INFO -- mongos-debian-720: 203:     provider Chef::Provider::Service::Upstart if node['mongodb']['apt_repo'] == 'ubuntu-upstart'
I, [2015-07-15T22:05:01.944174 #40048]  INFO -- mongos-debian-720: 204:     supports :status => true, :restart => true
I, [2015-07-15T22:05:01.944203 #40048]  INFO -- mongos-debian-720: 205:     action new_resource.service_action
I, [2015-07-15T22:05:01.944219 #40048]  INFO -- mongos-debian-720: 206:     new_resource.service_notifies.each do |service_notify|
I, [2015-07-15T22:05:01.944246 #40048]  INFO -- mongos-debian-720: 207:       notifies :run, service_notify
I, [2015-07-15T22:05:01.944261 #40048]  INFO -- mongos-debian-720: 208:     end
I, [2015-07-15T22:05:01.944275 #40048]  INFO -- mongos-debian-720: 209:     notifies :create, 'ruby_block[config_replicaset]', :immediately if new_resource.is_replicaset && new_resource.auto_configure_replicaset
I, [2015-07-15T22:05:01.944434 #40048]  INFO -- mongos-debian-720: 210:     notifies :create, 'ruby_block[config_sharding]', :immediately if new_resource.is_mongos && new_resource.auto_configure_sharding
I, [2015-07-15T22:05:01.944452 #40048]  INFO -- mongos-debian-720: 211:       # we don't care about a running mongodb service in these cases, all we need is stopping it
I, [2015-07-15T22:05:01.944465 #40048]  INFO -- mongos-debian-720: 212:     ignore_failure true if new_resource.name == 'mongodb'
I, [2015-07-15T22:05:01.944478 #40048]  INFO -- mongos-debian-720: 213:   end
I, [2015-07-15T22:05:01.944490 #40048]  INFO -- mongos-debian-720: 214: 
I, [2015-07-15T22:05:01.944502 #40048]  INFO -- mongos-debian-720: 215:   # replicaset
I, [2015-07-15T22:05:01.944514 #40048]  INFO -- mongos-debian-720: 216:   if new_resource.is_replicaset && new_resource.auto_configure_replicaset
I, [2015-07-15T22:05:01.944527 #40048]  INFO -- mongos-debian-720: 217:     rs_nodes = search(
I, [2015-07-15T22:05:01.944539 #40048]  INFO -- mongos-debian-720: 218:       :node,
I, [2015-07-15T22:05:01.944561 #40048]  INFO -- mongos-debian-720: 219:       "mongodb_cluster_name:#{new_resource.replicaset['mongodb']['cluster_name']} AND \
I, [2015-07-15T22:05:01.944575 #40048]  INFO -- mongos-debian-720: 220:        mongodb_is_replicaset:true AND \
I, [2015-07-15T22:05:01.944587 #40048]  INFO -- mongos-debian-720: 221:        mongodb_config_replSet:#{new_resource.replicaset['mongodb']['config']['replSet']} AND \
I, [2015-07-15T22:05:01.944600 #40048]  INFO -- mongos-debian-720: 222:        chef_environment:#{new_resource.replicaset.chef_environment}"
I, [2015-07-15T22:05:01.944734 #40048]  INFO -- mongos-debian-720: 223:     )
I, [2015-07-15T22:05:01.944774 #40048]  INFO -- mongos-debian-720: 224: 
I, [2015-07-15T22:05:01.944787 #40048]  INFO -- mongos-debian-720: 225:     ruby_block 'config_replicaset' do
I, [2015-07-15T22:05:01.944800 #40048]  INFO -- mongos-debian-720: 226:       block do
I, [2015-07-15T22:05:01.944825 #40048]  INFO -- mongos-debian-720: 227:         MongoDB.configure_replicaset(new_resource.replicaset, replicaset_name, rs_nodes) unless new_resource.replicaset.nil?
I, [2015-07-15T22:05:01.944840 #40048]  INFO -- mongos-debian-720: 228:       end
I, [2015-07-15T22:05:01.944861 #40048]  INFO -- mongos-debian-720: 229:       action :nothing
I, [2015-07-15T22:05:01.944873 #40048]  INFO -- mongos-debian-720: 230:     end
I, [2015-07-15T22:05:01.944885 #40048]  INFO -- mongos-debian-720: 231: 
I, [2015-07-15T22:05:01.945811 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T22:05:01.945847 #40048]  INFO -- mongos-debian-720: 233:       block {}
I, [2015-07-15T22:05:01.945863 #40048]  INFO -- mongos-debian-720: 234:       notifies :create, 'ruby_block[config_replicaset]'
I, [2015-07-15T22:05:01.945877 #40048]  INFO -- mongos-debian-720: 235:     end
I, [2015-07-15T22:05:01.945890 #40048]  INFO -- mongos-debian-720: 236:   end
I, [2015-07-15T22:05:01.945906 #40048]  INFO -- mongos-debian-720: 237: 
I, [2015-07-15T22:05:01.945919 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T22:05:01.945931 #40048]  INFO -- mongos-debian-720: Compiled Resource:
I, [2015-07-15T22:05:01.945943 #40048]  INFO -- mongos-debian-720: ------------------
I, [2015-07-15T22:05:01.945970 #40048]  INFO -- mongos-debian-720: # Declared in /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:202:in `block in from_file'
I, [2015-07-15T22:05:01.946120 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T22:05:01.946134 #40048]  INFO -- mongos-debian-720: service("mongos") do
I, [2015-07-15T22:05:01.946148 #40048]  INFO -- mongos-debian-720:   params {:mongodb_type=>"mongos", :action=>[:enable, :start], :logpath=>"/var/log/mongodb/mongodb.log", :dbpath=>"/var/lib/mongodb", :configservers=>[node[mongodb-configserver-001]], :replicaset=>nil, :notifies=>[], :port=>27017, :enable_rest=>false, :smallfiles=>false, :name=>"mongos"}
I, [2015-07-15T22:05:01.946161 #40048]  INFO -- mongos-debian-720:   action [:enable, :start]
I, [2015-07-15T22:05:01.946173 #40048]  INFO -- mongos-debian-720:   updated true
I, [2015-07-15T22:05:01.946185 #40048]  INFO -- mongos-debian-720:   supports {:status=>true, :restart=>true}
I, [2015-07-15T22:05:01.946197 #40048]  INFO -- mongos-debian-720:   retries 0
I, [2015-07-15T22:05:01.946209 #40048]  INFO -- mongos-debian-720:   retry_delay 2
I, [2015-07-15T22:05:01.946222 #40048]  INFO -- mongos-debian-720:   guard_interpreter :default
I, [2015-07-15T22:05:01.946234 #40048]  INFO -- mongos-debian-720:   service_name "mongos"
I, [2015-07-15T22:05:01.946246 #40048]  INFO -- mongos-debian-720:   enabled true
I, [2015-07-15T22:05:01.946258 #40048]  INFO -- mongos-debian-720:   pattern "mongos"
I, [2015-07-15T22:05:01.946383 #40048]  INFO -- mongos-debian-720:   cookbook_name "mongodb"
I, [2015-07-15T22:05:01.946396 #40048]  INFO -- mongos-debian-720:   recipe_name "mongos"
I, [2015-07-15T22:05:01.946408 #40048]  INFO -- mongos-debian-720: end
I, [2015-07-15T22:05:01.946420 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T22:10:12.939951 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T22:10:12.941972 #40048]  INFO -- mongos-debian-720: ================================================================================
I, [2015-07-15T22:10:12.942712 #40048]  INFO -- mongos-debian-720: Error executing action `restart` on resource 'service[mongos]'
I, [2015-07-15T22:10:12.943174 #40048]  INFO -- mongos-debian-720: ================================================================================
I, [2015-07-15T22:10:12.943888 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T22:10:12.944164 #40048]  INFO -- mongos-debian-720: Mixlib::ShellOut::ShellCommandFailed
I, [2015-07-15T22:10:12.944687 #40048]  INFO -- mongos-debian-720: ------------------------------------
I, [2015-07-15T22:10:12.945079 #40048]  INFO -- mongos-debian-720: Expected process to exit with [0], but received '1'
I, [2015-07-15T22:10:12.945722 #40048]  INFO -- mongos-debian-720: ---- Begin output of /etc/init.d/mongos restart ----
I, [2015-07-15T22:10:12.945908 #40048]  INFO -- mongos-debian-720: STDOUT: ** Running mongos (/usr/bin/mongos -- --config /etc/mongodb.conf)
I, [2015-07-15T22:10:12.946057 #40048]  INFO -- mongos-debian-720: Restarting database: mongos.................... failed!
I, [2015-07-15T22:10:12.946429 #40048]  INFO -- mongos-debian-720: STDERR: 
I, [2015-07-15T22:10:12.946550 #40048]  INFO -- mongos-debian-720: ---- End output of /etc/init.d/mongos restart ----
I, [2015-07-15T22:10:12.946574 #40048]  INFO -- mongos-debian-720: Ran /etc/init.d/mongos restart returned 1
I, [2015-07-15T22:10:12.946589 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T22:10:12.946911 #40048]  INFO -- mongos-debian-720: Resource Declaration:
I, [2015-07-15T22:10:12.946947 #40048]  INFO -- mongos-debian-720: ---------------------
I, [2015-07-15T22:10:12.946979 #40048]  INFO -- mongos-debian-720: # In /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb
I, [2015-07-15T22:10:12.947001 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T22:10:12.947015 #40048]  INFO -- mongos-debian-720: 202:   service new_resource.name do
I, [2015-07-15T22:10:12.947028 #40048]  INFO -- mongos-debian-720: 203:     provider Chef::Provider::Service::Upstart if node['mongodb']['apt_repo'] == 'ubuntu-upstart'
I, [2015-07-15T22:10:12.947319 #40048]  INFO -- mongos-debian-720: 204:     supports :status => true, :restart => true
I, [2015-07-15T22:10:12.947348 #40048]  INFO -- mongos-debian-720: 205:     action new_resource.service_action
I, [2015-07-15T22:10:12.947490 #40048]  INFO -- mongos-debian-720: 206:     new_resource.service_notifies.each do |service_notify|
I, [2015-07-15T22:10:12.947507 #40048]  INFO -- mongos-debian-720: 207:       notifies :run, service_notify
I, [2015-07-15T22:10:12.947520 #40048]  INFO -- mongos-debian-720: 208:     end
I, [2015-07-15T22:10:12.947533 #40048]  INFO -- mongos-debian-720: 209:     notifies :create, 'ruby_block[config_replicaset]', :immediately if new_resource.is_replicaset && new_resource.auto_configure_replicaset
I, [2015-07-15T22:10:12.947546 #40048]  INFO -- mongos-debian-720: 210:     notifies :create, 'ruby_block[config_sharding]', :immediately if new_resource.is_mongos && new_resource.auto_configure_sharding
I, [2015-07-15T22:10:12.947560 #40048]  INFO -- mongos-debian-720: 211:       # we don't care about a running mongodb service in these cases, all we need is stopping it
I, [2015-07-15T22:10:12.947572 #40048]  INFO -- mongos-debian-720: 212:     ignore_failure true if new_resource.name == 'mongodb'
I, [2015-07-15T22:10:12.947584 #40048]  INFO -- mongos-debian-720: 213:   end
I, [2015-07-15T22:10:12.947596 #40048]  INFO -- mongos-debian-720: 214: 
I, [2015-07-15T22:10:12.947608 #40048]  INFO -- mongos-debian-720: 215:   # replicaset
I, [2015-07-15T22:10:12.947620 #40048]  INFO -- mongos-debian-720: 216:   if new_resource.is_replicaset && new_resource.auto_configure_replicaset
I, [2015-07-15T22:10:12.947633 #40048]  INFO -- mongos-debian-720: 217:     rs_nodes = search(
I, [2015-07-15T22:10:12.947645 #40048]  INFO -- mongos-debian-720: 218:       :node,
I, [2015-07-15T22:10:12.947742 #40048]  INFO -- mongos-debian-720: 219:       "mongodb_cluster_name:#{new_resource.replicaset['mongodb']['cluster_name']} AND \
I, [2015-07-15T22:10:12.947758 #40048]  INFO -- mongos-debian-720: 220:        mongodb_is_replicaset:true AND \
I, [2015-07-15T22:10:12.947771 #40048]  INFO -- mongos-debian-720: 221:        mongodb_config_replSet:#{new_resource.replicaset['mongodb']['config']['replSet']} AND \
I, [2015-07-15T22:10:12.947783 #40048]  INFO -- mongos-debian-720: 222:        chef_environment:#{new_resource.replicaset.chef_environment}"
I, [2015-07-15T22:10:12.947796 #40048]  INFO -- mongos-debian-720: 223:     )
I, [2015-07-15T22:10:12.947808 #40048]  INFO -- mongos-debian-720: 224: 
I, [2015-07-15T22:10:12.947820 #40048]  INFO -- mongos-debian-720: 225:     ruby_block 'config_replicaset' do
I, [2015-07-15T22:10:12.947832 #40048]  INFO -- mongos-debian-720: 226:       block do
I, [2015-07-15T22:10:12.947844 #40048]  INFO -- mongos-debian-720: 227:         MongoDB.configure_replicaset(new_resource.replicaset, replicaset_name, rs_nodes) unless new_resource.replicaset.nil?
I, [2015-07-15T22:10:12.947857 #40048]  INFO -- mongos-debian-720: 228:       end
I, [2015-07-15T22:10:12.947869 #40048]  INFO -- mongos-debian-720: 229:       action :nothing
I, [2015-07-15T22:10:12.947957 #40048]  INFO -- mongos-debian-720: 230:     end
I, [2015-07-15T22:10:12.947970 #40048]  INFO -- mongos-debian-720: 231: 
I, [2015-07-15T22:10:12.947982 #40048]  INFO -- mongos-debian-720: 232:     ruby_block 'run_config_replicaset' do
I, [2015-07-15T22:10:12.947994 #40048]  INFO -- mongos-debian-720: 233:       block {}
I, [2015-07-15T22:10:12.948006 #40048]  INFO -- mongos-debian-720: 234:       notifies :create, 'ruby_block[config_replicaset]'
I, [2015-07-15T22:10:12.948019 #40048]  INFO -- mongos-debian-720: 235:     end
I, [2015-07-15T22:10:12.948031 #40048]  INFO -- mongos-debian-720: 236:   end
I, [2015-07-15T22:10:12.948066 #40048]  INFO -- mongos-debian-720: 237: 
I, [2015-07-15T22:10:12.948078 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T22:10:12.948221 #40048]  INFO -- mongos-debian-720: Compiled Resource:
I, [2015-07-15T22:10:12.948248 #40048]  INFO -- mongos-debian-720: ------------------
I, [2015-07-15T22:10:12.948285 #40048]  INFO -- mongos-debian-720: # Declared in /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:202:in `block in from_file'
I, [2015-07-15T22:10:12.948309 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T22:10:12.948329 #40048]  INFO -- mongos-debian-720: service("mongos") do
I, [2015-07-15T22:10:12.948352 #40048]  INFO -- mongos-debian-720:   params {:mongodb_type=>"mongos", :action=>[:enable, :start], :logpath=>"/var/log/mongodb/mongodb.log", :dbpath=>"/var/lib/mongodb", :configservers=>[node[mongodb-configserver-001]], :replicaset=>nil, :notifies=>[], :port=>27017, :enable_rest=>false, :smallfiles=>false, :name=>"mongos"}
I, [2015-07-15T22:10:12.948375 #40048]  INFO -- mongos-debian-720:   action [:enable, :start]
I, [2015-07-15T22:10:12.948395 #40048]  INFO -- mongos-debian-720:   updated true
I, [2015-07-15T22:10:12.948417 #40048]  INFO -- mongos-debian-720:   supports {:status=>true, :restart=>true}
I, [2015-07-15T22:10:12.948438 #40048]  INFO -- mongos-debian-720:   retries 0
I, [2015-07-15T22:10:12.948458 #40048]  INFO -- mongos-debian-720:   retry_delay 2
I, [2015-07-15T22:10:12.948478 #40048]  INFO -- mongos-debian-720:   guard_interpreter :default
I, [2015-07-15T22:10:12.948499 #40048]  INFO -- mongos-debian-720:   service_name "mongos"
I, [2015-07-15T22:10:12.948740 #40048]  INFO -- mongos-debian-720:   enabled true
I, [2015-07-15T22:10:12.948766 #40048]  INFO -- mongos-debian-720:   pattern "mongos"
I, [2015-07-15T22:10:12.948789 #40048]  INFO -- mongos-debian-720:   cookbook_name "mongodb"
I, [2015-07-15T22:10:12.948811 #40048]  INFO -- mongos-debian-720:   recipe_name "mongos"
I, [2015-07-15T22:10:12.948833 #40048]  INFO -- mongos-debian-720: end
I, [2015-07-15T22:10:12.948855 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T22:10:12.948878 #40048]  INFO -- mongos-debian-720: 
I, [2015-07-15T22:10:12.951290 #40048]  INFO -- mongos-debian-720: Running handlers:
I, [2015-07-15T22:10:12.951686 #40048]  INFO -- mongos-debian-720: [2015-07-16T02:10:12+00:00] ERROR: Running exception handlers
I, [2015-07-15T22:10:12.952513 #40048]  INFO -- mongos-debian-720: Running handlers complete
I, [2015-07-15T22:10:12.952737 #40048]  INFO -- mongos-debian-720: [2015-07-16T02:10:12+00:00] ERROR: Exception handlers complete
I, [2015-07-15T22:10:12.953169 #40048]  INFO -- mongos-debian-720: [2015-07-16T02:10:12+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
I, [2015-07-15T22:10:12.953366 #40048]  INFO -- mongos-debian-720: Chef Client failed. 16 resources updated in 668.790743962 seconds
I, [2015-07-15T22:10:13.136581 #40048]  INFO -- mongos-debian-720: [2015-07-16T02:10:12+00:00] ERROR: Chef::Exceptions::MultipleFailures
I, [2015-07-15T22:10:13.219549 #40048]  INFO -- mongos-debian-720: [2015-07-16T02:10:12+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
E, [2015-07-15T22:10:13.331532 #40048] ERROR -- mongos-debian-720: Converge failed on instance <mongos-debian-720>.
E, [2015-07-15T22:10:13.332312 #40048] ERROR -- mongos-debian-720: ------Exception-------
E, [2015-07-15T22:10:13.332353 #40048] ERROR -- mongos-debian-720: Class: Kitchen::ActionFailed
E, [2015-07-15T22:10:13.332372 #40048] ERROR -- mongos-debian-720: Message: SSH exited (1) for command: [sh -c '

sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']
E, [2015-07-15T22:10:13.332385 #40048] ERROR -- mongos-debian-720: ---Nested Exception---
E, [2015-07-15T22:10:13.332399 #40048] ERROR -- mongos-debian-720: Class: Kitchen::Transport::SshFailed
E, [2015-07-15T22:10:13.332419 #40048] ERROR -- mongos-debian-720: Message: SSH exited (1) for command: [sh -c '

sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']
E, [2015-07-15T22:10:13.332441 #40048] ERROR -- mongos-debian-720: ------Backtrace-------
E, [2015-07-15T22:10:13.332468 #40048] ERROR -- mongos-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/provisioner/base.rb:74:in `rescue in call'
E, [2015-07-15T22:10:13.332486 #40048] ERROR -- mongos-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/provisioner/base.rb:77:in `call'
E, [2015-07-15T22:10:13.332508 #40048] ERROR -- mongos-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:366:in `block in converge_action'
E, [2015-07-15T22:10:13.332525 #40048] ERROR -- mongos-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:488:in `call'
E, [2015-07-15T22:10:13.332536 #40048] ERROR -- mongos-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:488:in `synchronize_or_call'
E, [2015-07-15T22:10:13.332547 #40048] ERROR -- mongos-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:453:in `block in action'
E, [2015-07-15T22:10:13.332558 #40048] ERROR -- mongos-debian-720: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T22:10:13.332904 #40048] ERROR -- mongos-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:452:in `action'
E, [2015-07-15T22:10:13.332950 #40048] ERROR -- mongos-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:362:in `converge_action'
E, [2015-07-15T22:10:13.332971 #40048] ERROR -- mongos-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:341:in `block in transition_to'
E, [2015-07-15T22:10:13.332983 #40048] ERROR -- mongos-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `each'
E, [2015-07-15T22:10:13.332994 #40048] ERROR -- mongos-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `transition_to'
E, [2015-07-15T22:10:13.333005 #40048] ERROR -- mongos-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:160:in `verify'
E, [2015-07-15T22:10:13.333016 #40048] ERROR -- mongos-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:189:in `block in test'
E, [2015-07-15T22:10:13.333026 #40048] ERROR -- mongos-debian-720: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T22:10:13.333036 #40048] ERROR -- mongos-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:185:in `test'
E, [2015-07-15T22:10:13.333046 #40048] ERROR -- mongos-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `public_send'
E, [2015-07-15T22:10:13.333057 #40048] ERROR -- mongos-debian-720: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `block (2 levels) in run_action'
E, [2015-07-15T22:10:13.333067 #40048] ERROR -- mongos-debian-720: ----------------------

Fix compatibility with ruby 1.9.3

In order to have a clean start with CI we should fix the compatibility with ruby 1.9.3

https://travis-ci.org/edelight/chef-mongodb/jobs/59349011

Gem::InstallError: ohai requires Ruby version >= 2.0.0.
An error occurred while installing ohai (8.2.0), and Bundler cannot continue.
Make sure that `gem install ohai -v '8.2.0'` succeeds before bundling.

Options: set gem 'ohai', '< 8.0.0' or remove support for ruby 1.9.3

Failing Test: mongos-centos-510

test hangs

I, [2015-07-15T22:31:32.509440 #56904]  INFO -- mongos-centos-510: -----> Cleaning up any prior instances of <mongos-centos-510>
I, [2015-07-15T22:31:32.510059 #56904]  INFO -- mongos-centos-510: -----> Destroying <mongos-centos-510>...
I, [2015-07-15T22:31:32.510862 #56904]  INFO -- mongos-centos-510: Finished destroying <mongos-centos-510> (0m0.00s).
I, [2015-07-15T22:31:32.511060 #56904]  INFO -- mongos-centos-510: -----> Testing <mongos-centos-510>
I, [2015-07-15T22:31:32.511145 #56904]  INFO -- mongos-centos-510: -----> Creating <mongos-centos-510>...
I, [2015-07-15T22:31:34.739551 #56904]  INFO -- mongos-centos-510: Bringing machine 'default' up with 'virtualbox' provider...
I, [2015-07-15T22:31:35.011934 #56904]  INFO -- mongos-centos-510: ==> default: Importing base box 'opscode-centos-5.10'...
I, [2015-07-15T22:31:44.544957 #56904]  INFO -- mongos-centos-510: 
�[KProgress: 10%
�[KProgress: 20%
�[KProgress: 30%
�[KProgress: 40%
�[KProgress: 50%
�[KProgress: 60%
�[KProgress: 70%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
I, [2015-07-15T22:31:45.430692 #56904]  INFO -- mongos-centos-510: ==> default: Setting the name of the VM: kitchen-mongodb-cookbook-mongos-centos-510_default_1437013905376_79786
I, [2015-07-15T22:31:47.897254 #56904]  INFO -- mongos-centos-510: ==> default: Fixed port collision for 22 => 2222. Now on port 2219.
I, [2015-07-15T22:31:47.957240 #56904]  INFO -- mongos-centos-510: ==> default: Clearing any previously set network interfaces...
I, [2015-07-15T22:31:48.006021 #56904]  INFO -- mongos-centos-510: ==> default: Preparing network interfaces based on configuration...
I, [2015-07-15T22:31:48.006352 #56904]  INFO -- mongos-centos-510:     default: Adapter 1: nat
I, [2015-07-15T22:31:48.053334 #56904]  INFO -- mongos-centos-510: ==> default: Forwarding ports...
I, [2015-07-15T22:31:48.119821 #56904]  INFO -- mongos-centos-510:     default: 22 => 2219 (adapter 1)
I, [2015-07-15T22:31:48.314158 #56904]  INFO -- mongos-centos-510: ==> default: Running 'pre-boot' VM customizations...
I, [2015-07-15T22:31:48.362313 #56904]  INFO -- mongos-centos-510: ==> default: Booting VM...
I, [2015-07-15T22:31:48.603286 #56904]  INFO -- mongos-centos-510: ==> default: Waiting for machine to boot. This may take a few minutes...
I, [2015-07-15T22:31:48.939484 #56904]  INFO -- mongos-centos-510:     default: SSH address: 127.0.0.1:2219
I, [2015-07-15T22:31:48.939767 #56904]  INFO -- mongos-centos-510:     default: SSH username: vagrant
I, [2015-07-15T22:31:48.939872 #56904]  INFO -- mongos-centos-510:     default: SSH auth method: private key
I, [2015-07-15T22:32:04.103211 #56904]  INFO -- mongos-centos-510:     default: Warning: Connection timeout. Retrying...
I, [2015-07-15T22:32:19.310396 #56904]  INFO -- mongos-centos-510:     default: Warning: Connection timeout. Retrying...
I, [2015-07-15T22:32:34.474260 #56904]  INFO -- mongos-centos-510:     default: Warning: Connection timeout. Retrying...
I, [2015-07-15T22:32:34.946108 #56904]  INFO -- mongos-centos-510:     default: 
I, [2015-07-15T22:32:34.946164 #56904]  INFO -- mongos-centos-510:     default: Vagrant insecure key detected. Vagrant will automatically replace
I, [2015-07-15T22:32:34.946210 #56904]  INFO -- mongos-centos-510:     default: this with a newly generated keypair for better security.
I, [2015-07-15T22:32:35.673468 #56904]  INFO -- mongos-centos-510:     default: 
I, [2015-07-15T22:32:35.673529 #56904]  INFO -- mongos-centos-510:     default: Inserting generated public key within guest...
I, [2015-07-15T22:32:35.843500 #56904]  INFO -- mongos-centos-510:     default: Removing insecure key from the guest if it's present...
I, [2015-07-15T22:32:35.959071 #56904]  INFO -- mongos-centos-510:     default: Key inserted! Disconnecting and reconnecting using new SSH key...
I, [2015-07-15T22:32:36.815274 #56904]  INFO -- mongos-centos-510: ==> default: Machine booted and ready!
I, [2015-07-15T22:32:36.815714 #56904]  INFO -- mongos-centos-510: ==> default: Checking for guest additions in VM...
I, [2015-07-15T22:32:36.861453 #56904]  INFO -- mongos-centos-510: ==> default: Setting hostname...
I, [2015-07-15T22:32:38.093183 #56904]  INFO -- mongos-centos-510: ==> default: Machine not provisioned because `--no-provision` is specified.
I, [2015-07-15T22:32:40.476832 #56904]  INFO -- mongos-centos-510: [SSH] Established
I, [2015-07-15T22:32:40.477411 #56904]  INFO -- mongos-centos-510: Vagrant instance <mongos-centos-510> created.
I, [2015-07-15T22:32:40.480192 #56904]  INFO -- mongos-centos-510: Finished creating <mongos-centos-510> (1m7.97s).
I, [2015-07-15T22:32:40.480726 #56904]  INFO -- mongos-centos-510: -----> Converging <mongos-centos-510>...
I, [2015-07-15T22:32:40.482776 #56904]  INFO -- mongos-centos-510: Preparing files for transfer
I, [2015-07-15T22:32:40.482976 #56904]  INFO -- mongos-centos-510: Preparing dna.json
I, [2015-07-15T22:32:40.483816 #56904]  INFO -- mongos-centos-510: Resolving cookbook dependencies with Berkshelf 3.3.0...
I, [2015-07-15T22:32:41.460013 #56904]  INFO -- mongos-centos-510: Removing non-cookbook files before transfer
I, [2015-07-15T22:32:41.493786 #56904]  INFO -- mongos-centos-510: Preparing nodes
I, [2015-07-15T22:32:41.495034 #56904]  INFO -- mongos-centos-510: Preparing validation.pem
I, [2015-07-15T22:32:41.496118 #56904]  INFO -- mongos-centos-510: Preparing client.rb
I, [2015-07-15T22:32:41.511839 #56904]  INFO -- mongos-centos-510: -----> Installing Chef Omnibus (11.12.8)
I, [2015-07-15T22:32:41.511898 #56904]  INFO -- mongos-centos-510: Downloading https://www.chef.io/chef/install.sh to file /tmp/install.sh
I, [2015-07-15T22:32:41.513775 #56904]  INFO -- mongos-centos-510: Trying wget...
I, [2015-07-15T22:32:41.718489 #56904]  INFO -- mongos-centos-510: Trying curl...
I, [2015-07-15T22:32:41.854015 #56904]  INFO -- mongos-centos-510: Download complete.
I, [2015-07-15T22:32:41.872596 #56904]  INFO -- mongos-centos-510: Downloading Chef 11.12.8 for el...
I, [2015-07-15T22:32:41.872929 #56904]  INFO -- mongos-centos-510: downloading https://www.chef.io/chef/metadata?v=11.12.8&prerelease=false&nightlies=false&p=el&pv=5&m=x86_64
I, [2015-07-15T22:32:41.873142 #56904]  INFO -- mongos-centos-510:   to file /tmp/install.sh.3557/metadata.txt
I, [2015-07-15T22:32:41.873672 #56904]  INFO -- mongos-centos-510: trying wget...
I, [2015-07-15T22:32:41.965781 #56904]  INFO -- mongos-centos-510: trying curl...
I, [2015-07-15T22:32:42.270701 #56904]  INFO -- mongos-centos-510: url  https://opscode-omnibus-packages.s3.amazonaws.com/el/5/x86_64/chef-11.12.8-2.el5.x86_64.rpm
I, [2015-07-15T22:32:42.270768 #56904]  INFO -- mongos-centos-510: md5  d5b1993f869b3d8bf2acaecc439743ee
I, [2015-07-15T22:32:42.270791 #56904]  INFO -- mongos-centos-510: sha256   860eacafc82b58fff9c758a24deed76990a073d7d92c7f74202aa2afde466b9a
I, [2015-07-15T22:32:42.273739 #56904]  INFO -- mongos-centos-510: downloaded metadata file looks valid...
I, [2015-07-15T22:32:42.282749 #56904]  INFO -- mongos-centos-510: downloading https://opscode-omnibus-packages.s3.amazonaws.com/el/5/x86_64/chef-11.12.8-2.el5.x86_64.rpm
I, [2015-07-15T22:32:42.282886 #56904]  INFO -- mongos-centos-510:   to file /tmp/install.sh.3557/chef-11.12.8-2.el5.x86_64.rpm
I, [2015-07-15T22:32:42.283061 #56904]  INFO -- mongos-centos-510: trying wget...
I, [2015-07-15T22:32:47.101196 #56904]  INFO -- mongos-centos-510: Comparing checksum with sha256sum...
I, [2015-07-15T22:32:47.322610 #56904]  INFO -- mongos-centos-510: Installing Chef 11.12.8
I, [2015-07-15T22:32:47.322789 #56904]  INFO -- mongos-centos-510: installing with rpm...
I, [2015-07-15T22:32:47.542381 #56904]  INFO -- mongos-centos-510: warning: /tmp/install.sh.3557/chef-11.12.8-2.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 83ef826a
I, [2015-07-15T22:32:47.862984 #56904]  INFO -- mongos-centos-510: Preparing...                                                            (100%)��������������������������������������������������#                                           (100%)��������������������������������������������������##                                          (100%)��������������������������������������������������###                                         (100%)��������������������������������������������������####                                        (100%)��������������������������������������������������#####                                       (100%)��������������������������������������������������######                                      (100%)��������������������������������������������������#######                                     (100%)��������������������������������������������������########                                    (100%)��������������������������������������������������#########                                   (100%)��������������������������������������������������##########                                  (100%)��������������������������������������������������###########                                 (100%)��������������������������������������������������############                                (100%)��������������������������������������������������#############                               (100%)��������������������������������������������������##############                              (100%)��������������������������������������������������###############                             (100%)��������������������������������������������������################                            (100%)��������������������������������������������������#################                           (100%)��������������������������������������������������##################                          (100%)��������������������������������������������������###################                         (100%)��������������������������������������������������####################                        (100%)��������������������������������������������������#####################                       (100%)��������������������������������������������������######################                      (100%)��������������������������������������������������#######################                     (100%)��������������������������������������������������########################                    (100%)��������������������������������������������������#########################                   (100%)��������������������������������������������������##########################                  (100%)��������������������������������������������������###########################                 (100%)��������������������������������������������������############################                (100%)��������������������������������������������������#############################               (100%)��������������������������������������������������##############################              (100%)��������������������������������������������������###############################             (100%)��������������������������������������������������################################            (100%)��������������������������������������������������#################################           (100%)��������������������������������������������������##################################          (100%)��������������������������������������������������###################################         (100%)��������������������������������������������������####################################        (100%)��������������������������������������������������#####################################       (100%)��������������������������������������������������######################################      (100%)��������������������������������������������������#######################################     (100%)��������������������������������������������������########################################    (100%)��������������������������������������������������#########################################   (100%)��������������������������������������������������##########################################  (100%)��������������������������������������������������########################################### (100%)��������������������������������������������������########################################### [100%]
I, [2015-07-15T22:32:51.202054 #56904]  INFO -- mongos-centos-510:    1:chef                                                               (  1%)��������������������������������������������������#                                           (  3%)��������������������������������������������������##                                          (  6%)��������������������������������������������������###                                         (  8%)��������������������������������������������������####                                        ( 10%)��������������������������������������������������#####                                       ( 13%)��������������������������������������������������######                                      ( 15%)��������������������������������������������������#######                                     ( 17%)��������������������������������������������������########                                    ( 19%)��������������������������������������������������#########                                   ( 22%)��������������������������������������������������##########                                  ( 24%)��������������������������������������������������###########                                 ( 26%)��������������������������������������������������############                                ( 28%)��������������������������������������������������#############                               ( 31%)��������������������������������������������������##############                              ( 33%)��������������������������������������������������###############                             ( 35%)��������������������������������������������������################                            ( 38%)��������������������������������������������������#################                           ( 40%)��������������������������������������������������##################                          ( 42%)��������������������������������������������������###################                         ( 44%)��������������������������������������������������####################                        ( 47%)��������������������������������������������������#####################                       ( 49%)��������������������������������������������������######################                      ( 51%)��������������������������������������������������#######################                     ( 53%)��������������������������������������������������########################                    ( 56%)��������������������������������������������������#########################                   ( 58%)��������������������������������������������������##########################                  ( 60%)��������������������������������������������������###########################                 ( 63%)��������������������������������������������������############################                ( 65%)��������������������������������������������������#############################               ( 67%)��������������������������������������������������##############################              ( 69%)��������������������������������������������������###############################             ( 72%)��������������������������������������������������################################            ( 74%)��������������������������������������������������#################################           ( 76%)��������������������������������������������������##################################          ( 78%)��������������������������������������������������###################################         ( 81%)��������������������������������������������������####################################        ( 83%)��������������������������������������������������#####################################       ( 85%)��������������������������������������������������######################################      ( 88%)��������������������������������������������������#######################################     ( 90%)��������������������������������������������������########################################    ( 92%)��������������������������������������������������#########################################   ( 94%)��������������������������������������������������##########################################  ( 97%)��������������������������������������������������########################################### ( 99%)��������������������������������������������������########################################### [100%]
I, [2015-07-15T22:32:51.944505 #56904]  INFO -- mongos-centos-510: Thank you for installing Chef!
I, [2015-07-15T22:32:51.982942 #56904]  INFO -- mongos-centos-510: Transferring files to <mongos-centos-510>
I, [2015-07-15T22:32:53.615637 #56904]  INFO -- mongos-centos-510: [2015-07-16T02:32:52+00:00] WARN: 
I, [2015-07-15T22:32:53.615690 #56904]  INFO -- mongos-centos-510: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
I, [2015-07-15T22:32:53.615709 #56904]  INFO -- mongos-centos-510: SSL validation of HTTPS requests is disabled. HTTPS connections are still
I, [2015-07-15T22:32:53.615725 #56904]  INFO -- mongos-centos-510: encrypted, but chef is not able to detect forged replies or man in the middle
I, [2015-07-15T22:32:53.615740 #56904]  INFO -- mongos-centos-510: attacks.
I, [2015-07-15T22:32:53.615753 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:53.615767 #56904]  INFO -- mongos-centos-510: To fix this issue add an entry like this to your configuration file:
I, [2015-07-15T22:32:53.615780 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:53.615793 #56904]  INFO -- mongos-centos-510: ```
I, [2015-07-15T22:32:53.615806 #56904]  INFO -- mongos-centos-510:   # Verify all HTTPS connections (recommended)
I, [2015-07-15T22:32:53.615819 #56904]  INFO -- mongos-centos-510:   ssl_verify_mode :verify_peer
I, [2015-07-15T22:32:53.615832 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:53.615845 #56904]  INFO -- mongos-centos-510:   # OR, Verify only connections to chef-server
I, [2015-07-15T22:32:53.615891 #56904]  INFO -- mongos-centos-510:   verify_api_cert true
I, [2015-07-15T22:32:53.615924 #56904]  INFO -- mongos-centos-510: ```
I, [2015-07-15T22:32:53.615941 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:53.615956 #56904]  INFO -- mongos-centos-510: To check your SSL configuration, or troubleshoot errors, you can use the
I, [2015-07-15T22:32:53.615971 #56904]  INFO -- mongos-centos-510: `knife ssl check` command like so:
I, [2015-07-15T22:32:53.615984 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:53.615997 #56904]  INFO -- mongos-centos-510: ```
I, [2015-07-15T22:32:53.616011 #56904]  INFO -- mongos-centos-510:   knife ssl check -c /tmp/kitchen/client.rb
I, [2015-07-15T22:32:53.616036 #56904]  INFO -- mongos-centos-510: ```
I, [2015-07-15T22:32:53.616053 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:53.616067 #56904]  INFO -- mongos-centos-510: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
I, [2015-07-15T22:32:53.616081 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:53.616503 #56904]  INFO -- mongos-centos-510: Starting Chef Client, version 11.12.8
I, [2015-07-15T22:32:55.263935 #56904]  INFO -- mongos-centos-510: Creating a new client identity for mongos-centos-510 using the validator key.
I, [2015-07-15T22:32:55.493733 #56904]  INFO -- mongos-centos-510: resolving cookbooks for run list: ["yum", "yum-epel", "mongodb::mongos"]
I, [2015-07-15T22:32:55.928142 #56904]  INFO -- mongos-centos-510: Synchronizing Cookbooks:
I, [2015-07-15T22:32:56.062938 #56904]  INFO -- mongos-centos-510:   - yum
I, [2015-07-15T22:32:56.235709 #56904]  INFO -- mongos-centos-510:   - yum-epel
I, [2015-07-15T22:32:56.659644 #56904]  INFO -- mongos-centos-510:   - mongodb
I, [2015-07-15T22:32:56.901790 #56904]  INFO -- mongos-centos-510:   - apt
I, [2015-07-15T22:32:57.107098 #56904]  INFO -- mongos-centos-510:   - python
I, [2015-07-15T22:32:57.391059 #56904]  INFO -- mongos-centos-510:   - build-essential
I, [2015-07-15T22:32:57.391131 #56904]  INFO -- mongos-centos-510: Compiling Cookbooks...
I, [2015-07-15T22:32:57.440773 #56904]  INFO -- mongos-centos-510: [2015-07-16T02:32:55+00:00] WARN: CentOS doesn't provide mongodb, forcing use of mongodb-org repo
I, [2015-07-15T22:32:57.528608 #56904]  INFO -- mongos-centos-510: [2015-07-16T02:32:56+00:00] WARN: 10gen_repo is deprecated, use mongodb_org_repo
I, [2015-07-15T22:32:57.551894 #56904]  INFO -- mongos-centos-510: [2015-07-16T02:32:56+00:00] WARN: Cloning resource attributes for template[/etc/mongodb.conf] from prior resource (CHEF-3694)
I, [2015-07-15T22:32:57.552127 #56904]  INFO -- mongos-centos-510: [2015-07-16T02:32:56+00:00] WARN: Previous template[/etc/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:14:in `from_file'
I, [2015-07-15T22:32:57.552397 #56904]  INFO -- mongos-centos-510: [2015-07-16T02:32:56+00:00] WARN: Current  template[/etc/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:139:in `block in from_file'
I, [2015-07-15T22:32:57.553671 #56904]  INFO -- mongos-centos-510: [2015-07-16T02:32:56+00:00] WARN: Cloning resource attributes for execute[mongodb-systemctl-daemon-reload] from prior resource (CHEF-3694)
I, [2015-07-15T22:32:57.553843 #56904]  INFO -- mongos-centos-510: [2015-07-16T02:32:56+00:00] WARN: Previous execute[mongodb-systemctl-daemon-reload]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:37:in `from_file'
I, [2015-07-15T22:32:57.553986 #56904]  INFO -- mongos-centos-510: [2015-07-16T02:32:56+00:00] WARN: Current  execute[mongodb-systemctl-daemon-reload]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:174:in `block in from_file'
I, [2015-07-15T22:32:57.573719 #56904]  INFO -- mongos-centos-510: Converging 18 resources
I, [2015-07-15T22:32:57.573761 #56904]  INFO -- mongos-centos-510: Recipe: yum::default
I, [2015-07-15T22:32:57.586463 #56904]  INFO -- mongos-centos-510: Recipe: <Dynamically Defined Resource>
I, [2015-07-15T22:32:57.607344 #56904]  INFO -- mongos-centos-510:   * template[/etc/yum.conf] action create
I, [2015-07-15T22:32:57.607523 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.607616 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.607725 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.607877 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.608023 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.608139 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.608355 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.608493 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.608713 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.609529 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.609587 #56904]  INFO -- mongos-centos-510:   debuglevel=2
I, [2015-07-15T22:32:57.609610 #56904]  INFO -- mongos-centos-510:  -logfile=/var/log/yum.log
I, [2015-07-15T22:32:57.609628 #56904]  INFO -- mongos-centos-510:  -distroverpkg=redhat-release
I, [2015-07-15T22:32:57.609644 #56904]  INFO -- mongos-centos-510:  -tolerant=1
I, [2015-07-15T22:32:57.609660 #56904]  INFO -- mongos-centos-510:  +distroverpkg=centos-release
I, [2015-07-15T22:32:57.609676 #56904]  INFO -- mongos-centos-510:   exactarch=1
I, [2015-07-15T22:32:57.609692 #56904]  INFO -- mongos-centos-510:  -obsoletes=1
I, [2015-07-15T22:32:57.609707 #56904]  INFO -- mongos-centos-510:   gpgcheck=1
I, [2015-07-15T22:32:57.609723 #56904]  INFO -- mongos-centos-510:  +installonly_limit=3
I, [2015-07-15T22:32:57.609738 #56904]  INFO -- mongos-centos-510:  +keepcache=0
I, [2015-07-15T22:32:57.609754 #56904]  INFO -- mongos-centos-510:  +logfile=/var/log/yum.log
I, [2015-07-15T22:32:57.609769 #56904]  INFO -- mongos-centos-510:  +obsoletes=1
I, [2015-07-15T22:32:57.609785 #56904]  INFO -- mongos-centos-510:   plugins=1
I, [2015-07-15T22:32:57.609801 #56904]  INFO -- mongos-centos-510:  -bugtracker_url=http://bugs.centos.org/yum5bug
I, [2015-07-15T22:32:57.609816 #56904]  INFO -- mongos-centos-510:  -
I, [2015-07-15T22:32:57.609853 #56904]  INFO -- mongos-centos-510:  -# Note: yum-RHN-plugin doesn't honor this.
I, [2015-07-15T22:32:57.609871 #56904]  INFO -- mongos-centos-510:  -metadata_expire=1h
I, [2015-07-15T22:32:57.609888 #56904]  INFO -- mongos-centos-510:  -
I, [2015-07-15T22:32:57.609918 #56904]  INFO -- mongos-centos-510:  -installonly_limit = 5
I, [2015-07-15T22:32:57.609933 #56904]  INFO -- mongos-centos-510:  -
I, [2015-07-15T22:32:57.609950 #56904]  INFO -- mongos-centos-510:  -# PUT YOUR REPOS HERE OR IN separate files named file.repo
I, [2015-07-15T22:32:57.793515 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.794093 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.794466 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.794927 #56904]  INFO -- mongos-centos-510: Recipe: yum-epel::default
I, [2015-07-15T22:32:57.798189 #56904]  INFO -- mongos-centos-510:   * yum_repository[epel] action createRecipe: <Dynamically Defined Resource>
I, [2015-07-15T22:32:57.814295 #56904]  INFO -- mongos-centos-510:   * template[/etc/yum.repos.d/epel.repo] action create
I, [2015-07-15T22:32:57.817272 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.817430 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.817543 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.817721 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.817860 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.818019 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.818128 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.818240 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.818378 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.818583 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.818730 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.818860 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.819001 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.819120 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.819806 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.946279 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:57.946884 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:32:59.402398 #56904]  INFO -- mongos-centos-510:   * execute[yum clean epel] action run
I, [2015-07-15T22:32:59.402471 #56904]  INFO -- mongos-centos-510:     - execute yum clean all --disablerepo=* --enablerepo=epel
I, [2015-07-15T22:33:07.287349 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:07.287408 #56904]  INFO -- mongos-centos-510:     - execute yum -q -y makecache --disablerepo=* --enablerepo=epel
I, [2015-07-15T22:33:07.287426 #56904]  INFO -- mongos-centos-510:   * ruby_block[yum-cache-reload-epel] action create
I, [2015-07-15T22:33:07.287440 #56904]  INFO -- mongos-centos-510:     - execute the ruby block yum-cache-reload-epel
I, [2015-07-15T22:33:07.287454 #56904]  INFO -- mongos-centos-510:   * execute[yum clean epel] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:33:07.287467 #56904]  INFO -- mongos-centos-510:   * execute[yum-makecache-epel] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:33:07.287481 #56904]  INFO -- mongos-centos-510:   * ruby_block[yum-cache-reload-epel] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:33:07.287498 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:07.287511 #56904]  INFO -- mongos-centos-510: Recipe: mongodb::mongodb_org_repo
I, [2015-07-15T22:33:07.287524 #56904]  INFO -- mongos-centos-510:   * yum_repository[mongodb] action createRecipe: <Dynamically Defined Resource>
I, [2015-07-15T22:33:07.287537 #56904]  INFO -- mongos-centos-510:   * template[/etc/yum.repos.d/mongodb.repo] action create
I, [2015-07-15T22:33:07.290145 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:07.290188 #56904]  INFO -- mongos-centos-510:     - update content in file /etc/yum.repos.d/mongodb.repo from none to bf24c8
I, [2015-07-15T22:33:07.290214 #56904]  INFO -- mongos-centos-510:  --- /etc/yum.repos.d/mongodb.repo   2015-07-16 02:33:05.000000000 +0000
I, [2015-07-15T22:33:07.290255 #56904]  INFO -- mongos-centos-510:  +++ /tmp/chef-rendered-template20150716-3681-ynxvt7 2015-07-16 02:33:05.000000000 +0000
I, [2015-07-15T22:33:07.290277 #56904]  INFO -- mongos-centos-510:  @@ -1 +1,9 @@
I, [2015-07-15T22:33:07.290294 #56904]  INFO -- mongos-centos-510:  +# This file was generated by Chef
I, [2015-07-15T22:33:07.290311 #56904]  INFO -- mongos-centos-510:  +# Do NOT modify this file by hand.
I, [2015-07-15T22:33:07.290327 #56904]  INFO -- mongos-centos-510:  +
I, [2015-07-15T22:33:07.290343 #56904]  INFO -- mongos-centos-510:  +[mongodb]
I, [2015-07-15T22:33:07.290358 #56904]  INFO -- mongos-centos-510:  +name=mongodb RPM Repository
I, [2015-07-15T22:33:07.290374 #56904]  INFO -- mongos-centos-510:  +baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64
I, [2015-07-15T22:33:07.290390 #56904]  INFO -- mongos-centos-510:  +enabled=1
I, [2015-07-15T22:33:07.290405 #56904]  INFO -- mongos-centos-510:  +gpgcheck=0
I, [2015-07-15T22:33:07.449668 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:07.450260 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:07.682701 #56904]  INFO -- mongos-centos-510:   * execute[yum clean mongodb] action run
I, [2015-07-15T22:33:07.683260 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.722962 #56904]  INFO -- mongos-centos-510:   * execute[yum-makecache-mongodb] action run
I, [2015-07-15T22:33:08.723029 #56904]  INFO -- mongos-centos-510:     - execute yum -q -y makecache --disablerepo=* --enablerepo=mongodb
I, [2015-07-15T22:33:08.723052 #56904]  INFO -- mongos-centos-510:   * ruby_block[yum-cache-reload-mongodb] action create
I, [2015-07-15T22:33:08.723082 #56904]  INFO -- mongos-centos-510:     - execute the ruby block yum-cache-reload-mongodb
I, [2015-07-15T22:33:08.723097 #56904]  INFO -- mongos-centos-510:   * execute[yum clean mongodb] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:33:08.723113 #56904]  INFO -- mongos-centos-510:   * execute[yum-makecache-mongodb] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:33:08.723129 #56904]  INFO -- mongos-centos-510:   * ruby_block[yum-cache-reload-mongodb] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:33:08.723145 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.723159 #56904]  INFO -- mongos-centos-510: Recipe: mongodb::install
I, [2015-07-15T22:33:08.723174 #56904]  INFO -- mongos-centos-510:   * file[/etc/sysconfig/mongodb] action create_if_missing
I, [2015-07-15T22:33:08.723189 #56904]  INFO -- mongos-centos-510:     - create new file /etc/sysconfig/mongodb
I, [2015-07-15T22:33:08.723203 #56904]  INFO -- mongos-centos-510:     - update content in file /etc/sysconfig/mongodb from none to a35762
I, [2015-07-15T22:33:08.723228 #56904]  INFO -- mongos-centos-510:  --- /etc/sysconfig/mongodb  2015-07-16 02:33:07.000000000 +0000
I, [2015-07-15T22:33:08.723248 #56904]  INFO -- mongos-centos-510:  +++ /tmp/.mongodb20150716-3681-1vquces  2015-07-16 02:33:07.000000000 +0000
I, [2015-07-15T22:33:08.723267 #56904]  INFO -- mongos-centos-510:  @@ -1 +1,2 @@
I, [2015-07-15T22:33:08.723285 #56904]  INFO -- mongos-centos-510:  +ENABLE_MONGODB=no
I, [2015-07-15T22:33:08.723300 #56904]  INFO -- mongos-centos-510:     - change mode from '' to '0644'
I, [2015-07-15T22:33:08.723315 #56904]  INFO -- mongos-centos-510:     - change owner from '' to 'root'
I, [2015-07-15T22:33:08.880666 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.881442 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.902267 #56904]  INFO -- mongos-centos-510:   * template[/etc/mongodb.conf] action create_if_missing
I, [2015-07-15T22:33:08.903980 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.904116 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.904260 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.904439 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.904618 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.904804 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.904971 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.905082 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.905172 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.905272 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.905370 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.905503 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.905614 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.905753 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.905881 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.906034 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.906246 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.906396 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.906528 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.907604 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.907729 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:08.907840 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.072656 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.073290 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.074215 #56904]  INFO -- mongos-centos-510:   * execute[mongodb-systemctl-daemon-reload] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:33:09.109743 #56904]  INFO -- mongos-centos-510:   * template[/etc/init.d/mongod] action create_if_missing
I, [2015-07-15T22:33:09.115407 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.115602 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.115785 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.115974 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.116138 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.116302 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.116458 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.116552 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.116670 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.116819 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.116938 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.117052 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.117167 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.117276 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.117386 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.117497 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.117637 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.117817 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.117933 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.118020 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.118135 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.118248 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.118352 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.118563 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.118720 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.118848 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.118952 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.119060 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.119172 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.119284 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.119393 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.119610 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.120473 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.120675 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.120806 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.120951 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.121094 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.121303 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.121464 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.121635 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.121750 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.121894 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.122016 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.122119 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.122223 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.122318 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.122472 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.122583 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.122711 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.122827 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.122911 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.123001 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.123105 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.123206 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.123302 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.123412 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.123518 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.123599 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.123737 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.123824 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.123911 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.124016 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.124113 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.124223 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.124335 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.124492 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.124650 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.124752 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.124845 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.124939 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.125057 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.125147 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.125306 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.125481 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.125609 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.125772 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.125903 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.125995 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.126161 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.126280 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.126403 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.126528 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.126677 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.126771 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.126888 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.127062 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.127237 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.127378 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.127546 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.127840 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.128002 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.128131 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.128256 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.128517 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.128722 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.128874 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.129037 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.129263 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.129390 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.129521 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.129637 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.129723 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.129803 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.129887 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.129967 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.130048 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.130131 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.130213 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.130290 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.130368 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.131034 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.131276 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.131539 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.291249 #56904]  INFO -- mongos-centos-510: 
I, [2015-07-15T22:33:09.291942 #56904]  INFO -- mongos-centos-510: 

Failing Test: mms-monitoring-agent-centos-70

I, [2015-07-15T22:48:41.277397 #63048]  INFO -- mms-monitoring-agent-centos-70: -----> Cleaning up any prior instances of <mms-monitoring-agent-centos-70>
I, [2015-07-15T22:48:41.278015 #63048]  INFO -- mms-monitoring-agent-centos-70: -----> Destroying <mms-monitoring-agent-centos-70>...
I, [2015-07-15T22:48:41.279104 #63048]  INFO -- mms-monitoring-agent-centos-70: Finished destroying <mms-monitoring-agent-centos-70> (0m0.00s).
I, [2015-07-15T22:48:41.279296 #63048]  INFO -- mms-monitoring-agent-centos-70: -----> Testing <mms-monitoring-agent-centos-70>
I, [2015-07-15T22:48:41.279377 #63048]  INFO -- mms-monitoring-agent-centos-70: -----> Creating <mms-monitoring-agent-centos-70>...
I, [2015-07-15T22:48:43.421768 #63048]  INFO -- mms-monitoring-agent-centos-70: Bringing machine 'default' up with 'virtualbox' provider...
I, [2015-07-15T22:48:43.633319 #63048]  INFO -- mms-monitoring-agent-centos-70: ==> default: Importing base box 'opscode-centos-7.0'...
I, [2015-07-15T22:48:51.074981 #63048]  INFO -- mms-monitoring-agent-centos-70: 
�[KProgress: 20%
�[KProgress: 50%
�[KProgress: 70%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
I, [2015-07-15T22:48:51.830081 #63048]  INFO -- mms-monitoring-agent-centos-70: ==> default: Setting the name of the VM: kitchen-mongodb-cookbook-mms-monitoring-agent-centos-70_default_1437014931775_3618
I, [2015-07-15T22:48:54.628200 #63048]  INFO -- mms-monitoring-agent-centos-70: ==> default: Fixed port collision for 22 => 2222. Now on port 2221.
I, [2015-07-15T22:48:54.685804 #63048]  INFO -- mms-monitoring-agent-centos-70: ==> default: Clearing any previously set network interfaces...
I, [2015-07-15T22:48:54.734910 #63048]  INFO -- mms-monitoring-agent-centos-70: ==> default: Preparing network interfaces based on configuration...
I, [2015-07-15T22:48:54.735237 #63048]  INFO -- mms-monitoring-agent-centos-70:     default: Adapter 1: nat
I, [2015-07-15T22:48:54.782720 #63048]  INFO -- mms-monitoring-agent-centos-70: ==> default: Forwarding ports...
I, [2015-07-15T22:48:54.854565 #63048]  INFO -- mms-monitoring-agent-centos-70:     default: 22 => 2221 (adapter 1)
I, [2015-07-15T22:48:55.107001 #63048]  INFO -- mms-monitoring-agent-centos-70: ==> default: Running 'pre-boot' VM customizations...
I, [2015-07-15T22:48:55.157808 #63048]  INFO -- mms-monitoring-agent-centos-70: ==> default: Booting VM...
I, [2015-07-15T22:48:55.392634 #63048]  INFO -- mms-monitoring-agent-centos-70: ==> default: Waiting for machine to boot. This may take a few minutes...
I, [2015-07-15T22:48:55.732519 #63048]  INFO -- mms-monitoring-agent-centos-70:     default: SSH address: 127.0.0.1:2221
I, [2015-07-15T22:48:55.732719 #63048]  INFO -- mms-monitoring-agent-centos-70:     default: SSH username: vagrant
I, [2015-07-15T22:48:55.732850 #63048]  INFO -- mms-monitoring-agent-centos-70:     default: SSH auth method: private key
I, [2015-07-15T22:49:10.883614 #63048]  INFO -- mms-monitoring-agent-centos-70:     default: Warning: Connection timeout. Retrying...
I, [2015-07-15T22:49:11.968681 #63048]  INFO -- mms-monitoring-agent-centos-70:     default: 
I, [2015-07-15T22:49:11.968761 #63048]  INFO -- mms-monitoring-agent-centos-70:     default: Vagrant insecure key detected. Vagrant will automatically replace
I, [2015-07-15T22:49:11.968783 #63048]  INFO -- mms-monitoring-agent-centos-70:     default: this with a newly generated keypair for better security.
I, [2015-07-15T22:49:13.340370 #63048]  INFO -- mms-monitoring-agent-centos-70:     default: 
I, [2015-07-15T22:49:13.340436 #63048]  INFO -- mms-monitoring-agent-centos-70:     default: Inserting generated public key within guest...
I, [2015-07-15T22:49:13.648831 #63048]  INFO -- mms-monitoring-agent-centos-70:     default: Removing insecure key from the guest if it's present...
I, [2015-07-15T22:49:13.841117 #63048]  INFO -- mms-monitoring-agent-centos-70:     default: Key inserted! Disconnecting and reconnecting using new SSH key...
I, [2015-07-15T22:49:14.476176 #63048]  INFO -- mms-monitoring-agent-centos-70: ==> default: Machine booted and ready!
I, [2015-07-15T22:49:14.476601 #63048]  INFO -- mms-monitoring-agent-centos-70: ==> default: Checking for guest additions in VM...
I, [2015-07-15T22:49:14.519833 #63048]  INFO -- mms-monitoring-agent-centos-70: ==> default: Setting hostname...
I, [2015-07-15T22:49:15.302707 #63048]  INFO -- mms-monitoring-agent-centos-70: ==> default: Machine not provisioned because `--no-provision` is specified.
I, [2015-07-15T22:49:17.844369 #63048]  INFO -- mms-monitoring-agent-centos-70: [SSH] Established
I, [2015-07-15T22:49:17.844893 #63048]  INFO -- mms-monitoring-agent-centos-70: Vagrant instance <mms-monitoring-agent-centos-70> created.
I, [2015-07-15T22:49:17.846761 #63048]  INFO -- mms-monitoring-agent-centos-70: Finished creating <mms-monitoring-agent-centos-70> (0m36.57s).
I, [2015-07-15T22:49:17.847074 #63048]  INFO -- mms-monitoring-agent-centos-70: -----> Converging <mms-monitoring-agent-centos-70>...
I, [2015-07-15T22:49:17.849219 #63048]  INFO -- mms-monitoring-agent-centos-70: Preparing files for transfer
I, [2015-07-15T22:49:17.849408 #63048]  INFO -- mms-monitoring-agent-centos-70: Preparing dna.json
I, [2015-07-15T22:49:17.850386 #63048]  INFO -- mms-monitoring-agent-centos-70: Resolving cookbook dependencies with Berkshelf 3.3.0...
I, [2015-07-15T22:49:19.007567 #63048]  INFO -- mms-monitoring-agent-centos-70: Removing non-cookbook files before transfer
I, [2015-07-15T22:49:19.045418 #63048]  INFO -- mms-monitoring-agent-centos-70: Preparing nodes
I, [2015-07-15T22:49:19.046494 #63048]  INFO -- mms-monitoring-agent-centos-70: Preparing validation.pem
I, [2015-07-15T22:49:19.047610 #63048]  INFO -- mms-monitoring-agent-centos-70: Preparing client.rb
I, [2015-07-15T22:49:19.073046 #63048]  INFO -- mms-monitoring-agent-centos-70: -----> Installing Chef Omnibus (11.12.8)
I, [2015-07-15T22:49:19.081939 #63048]  INFO -- mms-monitoring-agent-centos-70: Downloading https://www.chef.io/chef/install.sh to file /tmp/install.sh
I, [2015-07-15T22:49:19.081983 #63048]  INFO -- mms-monitoring-agent-centos-70: Trying wget...
I, [2015-07-15T22:49:24.402047 #63048]  INFO -- mms-monitoring-agent-centos-70: Download complete.
I, [2015-07-15T22:49:24.620393 #63048]  INFO -- mms-monitoring-agent-centos-70: Downloading Chef 11.12.8 for el...
I, [2015-07-15T22:49:24.620458 #63048]  INFO -- mms-monitoring-agent-centos-70: downloading https://www.chef.io/chef/metadata?v=11.12.8&prerelease=false&nightlies=false&p=el&pv=7&m=x86_64
I, [2015-07-15T22:49:24.620504 #63048]  INFO -- mms-monitoring-agent-centos-70:   to file /tmp/install.sh.8233/metadata.txt
I, [2015-07-15T22:49:24.620520 #63048]  INFO -- mms-monitoring-agent-centos-70: trying wget...
I, [2015-07-15T22:49:30.187231 #63048]  INFO -- mms-monitoring-agent-centos-70: url https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.12.8-2.el6.x86_64.rpm
I, [2015-07-15T22:49:30.187287 #63048]  INFO -- mms-monitoring-agent-centos-70: md5 3dfacef6e6640adefc12bf6956a3a4e2
I, [2015-07-15T22:49:30.187305 #63048]  INFO -- mms-monitoring-agent-centos-70: sha256  ee45e0f226ffd503a949c1b10944064a4655d0255e03a16b073bed85eac83e95
I, [2015-07-15T22:49:30.230539 #63048]  INFO -- mms-monitoring-agent-centos-70: downloaded metadata file looks valid...
I, [2015-07-15T22:49:30.383882 #63048]  INFO -- mms-monitoring-agent-centos-70: downloading https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.12.8-2.el6.x86_64.rpm
I, [2015-07-15T22:49:30.383939 #63048]  INFO -- mms-monitoring-agent-centos-70:   to file /tmp/install.sh.8233/chef-11.12.8-2.el6.x86_64.rpm
I, [2015-07-15T22:49:30.383968 #63048]  INFO -- mms-monitoring-agent-centos-70: trying wget...
I, [2015-07-15T22:49:39.808180 #63048]  INFO -- mms-monitoring-agent-centos-70: Comparing checksum with sha256sum...
I, [2015-07-15T22:49:39.967974 #63048]  INFO -- mms-monitoring-agent-centos-70: Installing Chef 11.12.8
I, [2015-07-15T22:49:39.968027 #63048]  INFO -- mms-monitoring-agent-centos-70: installing with rpm...
I, [2015-07-15T22:49:40.035781 #63048]  INFO -- mms-monitoring-agent-centos-70: warning: /tmp/install.sh.8233/chef-11.12.8-2.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
I, [2015-07-15T22:49:40.345256 #63048]  INFO -- mms-monitoring-agent-centos-70: Preparing...                                                            (100%)����������������������������������������#                                 (100%)����������������������������������������##                                (100%)����������������������������������������###                               (100%)����������������������������������������####                              (100%)����������������������������������������#####                             (100%)����������������������������������������######                            (100%)����������������������������������������#######                           (100%)����������������������������������������########                          (100%)����������������������������������������#########                         (100%)����������������������������������������##########                        (100%)����������������������������������������###########                       (100%)����������������������������������������############                      (100%)����������������������������������������#############                     (100%)����������������������������������������##############                    (100%)����������������������������������������###############                   (100%)����������������������������������������################                  (100%)����������������������������������������#################                 (100%)����������������������������������������##################                (100%)����������������������������������������###################               (100%)����������������������������������������####################              (100%)����������������������������������������#####################             (100%)����������������������������������������######################            (100%)����������������������������������������#######################           (100%)����������������������������������������########################          (100%)����������������������������������������#########################         (100%)����������������������������������������##########################        (100%)����������������������������������������###########################       (100%)����������������������������������������############################      (100%)����������������������������������������#############################     (100%)����������������������������������������##############################    (100%)����������������������������������������###############################   (100%)����������������������������������������################################  (100%)����������������������������������������################################# (100%)����������������������������������������################################# [100%]
I, [2015-07-15T22:49:40.356121 #63048]  INFO -- mms-monitoring-agent-centos-70: Updating / installing...
I, [2015-07-15T22:49:43.843690 #63048]  INFO -- mms-monitoring-agent-centos-70:                            (  2%)����������������������������������������#                                 (  4%)����������������������������������������##                                (  7%)����������������������������������������###                               ( 10%)����������������������������������������####                              ( 13%)����������������������������������������#####                             ( 16%)����������������������������������������######                            ( 19%)����������������������������������������#######                           ( 22%)����������������������������������������########                          ( 25%)����������������������������������������#########                         ( 28%)����������������������������������������##########                        ( 31%)����������������������������������������###########                       ( 34%)����������������������������������������############                      ( 37%)����������������������������������������#############                     ( 40%)����������������������������������������##############                    ( 43%)����������������������������������������###############                   ( 46%)����������������������������������������################                  ( 49%)����������������������������������������#################                 ( 52%)����������������������������������������##################                ( 54%)����������������������������������������###################               ( 57%)����������������������������������������####################              ( 60%)����������������������������������������#####################             ( 63%)����������������������������������������######################            ( 66%)����������������������������������������#######################           ( 69%)����������������������������������������########################          ( 72%)����������������������������������������#########################         ( 75%)����������������������������������������##########################        ( 78%)����������������������������������������###########################       ( 81%)����������������������������������������############################      ( 84%)����������������������������������������#############################     ( 87%)����������������������������������������##############################    ( 90%)����������������������������������������###############################   ( 93%)����������������������������������������################################  ( 96%)����������������������������������������################################# ( 99%)����������������������������������������################################# [100%]
I, [2015-07-15T22:49:44.236335 #63048]  INFO -- mms-monitoring-agent-centos-70: Thank you for installing Chef!
I, [2015-07-15T22:49:44.313673 #63048]  INFO -- mms-monitoring-agent-centos-70: Transferring files to <mms-monitoring-agent-centos-70>
I, [2015-07-15T22:49:45.955109 #63048]  INFO -- mms-monitoring-agent-centos-70: [2015-07-16T02:49:44+00:00] WARN: 
I, [2015-07-15T22:49:45.955163 #63048]  INFO -- mms-monitoring-agent-centos-70: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
I, [2015-07-15T22:49:45.955183 #63048]  INFO -- mms-monitoring-agent-centos-70: SSL validation of HTTPS requests is disabled. HTTPS connections are still
I, [2015-07-15T22:49:45.955198 #63048]  INFO -- mms-monitoring-agent-centos-70: encrypted, but chef is not able to detect forged replies or man in the middle
I, [2015-07-15T22:49:45.955212 #63048]  INFO -- mms-monitoring-agent-centos-70: attacks.
I, [2015-07-15T22:49:45.955226 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:49:45.955241 #63048]  INFO -- mms-monitoring-agent-centos-70: To fix this issue add an entry like this to your configuration file:
I, [2015-07-15T22:49:45.955254 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:49:45.955267 #63048]  INFO -- mms-monitoring-agent-centos-70: ```
I, [2015-07-15T22:49:45.955281 #63048]  INFO -- mms-monitoring-agent-centos-70:   # Verify all HTTPS connections (recommended)
I, [2015-07-15T22:49:45.955296 #63048]  INFO -- mms-monitoring-agent-centos-70:   ssl_verify_mode :verify_peer
I, [2015-07-15T22:49:45.955308 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:49:45.955321 #63048]  INFO -- mms-monitoring-agent-centos-70:   # OR, Verify only connections to chef-server
I, [2015-07-15T22:49:45.955335 #63048]  INFO -- mms-monitoring-agent-centos-70:   verify_api_cert true
I, [2015-07-15T22:49:45.955348 #63048]  INFO -- mms-monitoring-agent-centos-70: ```
I, [2015-07-15T22:49:45.955361 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:49:45.955374 #63048]  INFO -- mms-monitoring-agent-centos-70: To check your SSL configuration, or troubleshoot errors, you can use the
I, [2015-07-15T22:49:45.955387 #63048]  INFO -- mms-monitoring-agent-centos-70: `knife ssl check` command like so:
I, [2015-07-15T22:49:45.955420 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:49:45.955438 #63048]  INFO -- mms-monitoring-agent-centos-70: ```
I, [2015-07-15T22:49:45.955455 #63048]  INFO -- mms-monitoring-agent-centos-70:   knife ssl check -c /tmp/kitchen/client.rb
I, [2015-07-15T22:49:45.955470 #63048]  INFO -- mms-monitoring-agent-centos-70: ```
I, [2015-07-15T22:49:45.955484 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:49:45.955500 #63048]  INFO -- mms-monitoring-agent-centos-70: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
I, [2015-07-15T22:49:45.955514 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:49:45.955529 #63048]  INFO -- mms-monitoring-agent-centos-70: Starting Chef Client, version 11.12.8
I, [2015-07-15T22:49:52.857585 #63048]  INFO -- mms-monitoring-agent-centos-70: Creating a new client identity for mms-monitoring-agent-centos-70 using the validator key.
I, [2015-07-15T22:49:53.150866 #63048]  INFO -- mms-monitoring-agent-centos-70: resolving cookbooks for run list: ["yum", "yum-epel", "mongodb::mms_monitoring_agent"]
I, [2015-07-15T22:49:53.554584 #63048]  INFO -- mms-monitoring-agent-centos-70: Synchronizing Cookbooks:
I, [2015-07-15T22:49:53.688016 #63048]  INFO -- mms-monitoring-agent-centos-70:   - yum
I, [2015-07-15T22:49:53.856168 #63048]  INFO -- mms-monitoring-agent-centos-70:   - yum-epel
I, [2015-07-15T22:49:54.275347 #63048]  INFO -- mms-monitoring-agent-centos-70:   - mongodb
I, [2015-07-15T22:49:54.569449 #63048]  INFO -- mms-monitoring-agent-centos-70:   - apt
I, [2015-07-15T22:49:54.826189 #63048]  INFO -- mms-monitoring-agent-centos-70:   - python
I, [2015-07-15T22:49:55.206955 #63048]  INFO -- mms-monitoring-agent-centos-70:   - build-essential
I, [2015-07-15T22:49:55.207010 #63048]  INFO -- mms-monitoring-agent-centos-70: Compiling Cookbooks...
I, [2015-07-15T22:49:55.239185 #63048]  INFO -- mms-monitoring-agent-centos-70: [2015-07-16T02:49:54+00:00] WARN: CentOS doesn't provide mongodb, forcing use of mongodb-org repo
I, [2015-07-15T22:49:55.318976 #63048]  INFO -- mms-monitoring-agent-centos-70: Converging 6 resources
I, [2015-07-15T22:49:55.319031 #63048]  INFO -- mms-monitoring-agent-centos-70: Recipe: yum::default
I, [2015-07-15T22:49:55.319048 #63048]  INFO -- mms-monitoring-agent-centos-70:   * yum_globalconfig[/etc/yum.conf] action createRecipe: <Dynamically Defined Resource>
I, [2015-07-15T22:49:55.340944 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:49:55.341001 #63048]  INFO -- mms-monitoring-agent-centos-70:     - update content in file /etc/yum.conf from 08310b to 31c39a
I, [2015-07-15T22:49:55.341028 #63048]  INFO -- mms-monitoring-agent-centos-70:  --- /etc/yum.conf  2014-06-27 11:07:01.000000000 +0000
I, [2015-07-15T22:49:55.341048 #63048]  INFO -- mms-monitoring-agent-centos-70:  +++ /tmp/chef-rendered-template20150716-10668-xw5xkw   2015-07-16 02:49:54.327905410 +0000
I, [2015-07-15T22:49:55.341067 #63048]  INFO -- mms-monitoring-agent-centos-70:  @@ -1,27 +1,15 @@
I, [2015-07-15T22:49:55.341084 #63048]  INFO -- mms-monitoring-agent-centos-70:  +# This file was generated by Chef
I, [2015-07-15T22:49:55.341101 #63048]  INFO -- mms-monitoring-agent-centos-70:  +# Do NOT modify this file by hand.
I, [2015-07-15T22:49:55.341117 #63048]  INFO -- mms-monitoring-agent-centos-70:  +
I, [2015-07-15T22:49:55.341134 #63048]  INFO -- mms-monitoring-agent-centos-70:   [main]
I, [2015-07-15T22:49:55.341150 #63048]  INFO -- mms-monitoring-agent-centos-70:   cachedir=/var/cache/yum/$basearch/$releasever
I, [2015-07-15T22:49:55.341166 #63048]  INFO -- mms-monitoring-agent-centos-70:  -keepcache=0
I, [2015-07-15T22:49:55.341182 #63048]  INFO -- mms-monitoring-agent-centos-70:   debuglevel=2
I, [2015-07-15T22:49:55.341197 #63048]  INFO -- mms-monitoring-agent-centos-70:  -logfile=/var/log/yum.log
I, [2015-07-15T22:49:55.341212 #63048]  INFO -- mms-monitoring-agent-centos-70:  +distroverpkg=centos-release
I, [2015-07-15T22:49:55.341228 #63048]  INFO -- mms-monitoring-agent-centos-70:   exactarch=1
I, [2015-07-15T22:49:55.341263 #63048]  INFO -- mms-monitoring-agent-centos-70:  -obsoletes=1
I, [2015-07-15T22:49:55.341281 #63048]  INFO -- mms-monitoring-agent-centos-70:   gpgcheck=1
I, [2015-07-15T22:49:55.341308 #63048]  INFO -- mms-monitoring-agent-centos-70:  +installonly_limit=3
I, [2015-07-15T22:49:55.341324 #63048]  INFO -- mms-monitoring-agent-centos-70:  +keepcache=0
I, [2015-07-15T22:49:55.341340 #63048]  INFO -- mms-monitoring-agent-centos-70:  +logfile=/var/log/yum.log
I, [2015-07-15T22:49:55.341358 #63048]  INFO -- mms-monitoring-agent-centos-70:  +obsoletes=1
I, [2015-07-15T22:49:55.341382 #63048]  INFO -- mms-monitoring-agent-centos-70:   plugins=1
I, [2015-07-15T22:49:55.341398 #63048]  INFO -- mms-monitoring-agent-centos-70:  -installonly_limit=5
I, [2015-07-15T22:49:55.341415 #63048]  INFO -- mms-monitoring-agent-centos-70:  -bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum
I, [2015-07-15T22:49:55.341432 #63048]  INFO -- mms-monitoring-agent-centos-70:  -distroverpkg=centos-release
I, [2015-07-15T22:49:55.341447 #63048]  INFO -- mms-monitoring-agent-centos-70:  -
I, [2015-07-15T22:49:55.341472 #63048]  INFO -- mms-monitoring-agent-centos-70:  -
I, [2015-07-15T22:49:55.341489 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#  This is the default, if you make this bigger yum won't see if the metadata
I, [2015-07-15T22:49:55.341507 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# is newer on the remote and so you'll "gain" the bandwidth of not having to
I, [2015-07-15T22:49:55.341537 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# download the new metadata and "pay" for it by yum not having correct
I, [2015-07-15T22:49:55.341554 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# information.
I, [2015-07-15T22:49:55.341571 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#  It is esp. important, to have correct metadata, for distributions like
I, [2015-07-15T22:49:55.341588 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# Fedora which don't keep old packages around. If you don't like this checking
I, [2015-07-15T22:49:55.341604 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# interupting your command line usage, it's much better to have something
I, [2015-07-15T22:49:55.341622 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# manually check the metadata once an hour (yum-updatesd will do this).
I, [2015-07-15T22:49:55.341647 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# metadata_expire=90m
I, [2015-07-15T22:49:55.341663 #63048]  INFO -- mms-monitoring-agent-centos-70:  -
I, [2015-07-15T22:49:55.341678 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# PUT YOUR REPOS HERE OR IN separate files named file.repo
I, [2015-07-15T22:49:55.469441 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:49:55.469540 #63048]  INFO -- mms-monitoring-agent-centos-70:     - restore selinux security context
I, [2015-07-15T22:49:55.469564 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:49:55.469580 #63048]  INFO -- mms-monitoring-agent-centos-70: Recipe: yum-epel::default
I, [2015-07-15T22:49:55.469593 #63048]  INFO -- mms-monitoring-agent-centos-70:   * yum_repository[epel] action createRecipe: <Dynamically Defined Resource>
I, [2015-07-15T22:49:55.485648 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:49:55.485711 #63048]  INFO -- mms-monitoring-agent-centos-70:     - create new file /etc/yum.repos.d/epel.repo
I, [2015-07-15T22:49:55.485738 #63048]  INFO -- mms-monitoring-agent-centos-70:     - update content in file /etc/yum.repos.d/epel.repo from none to 19be5f
I, [2015-07-15T22:49:55.485767 #63048]  INFO -- mms-monitoring-agent-centos-70:  --- /etc/yum.repos.d/epel.repo 2015-07-16 02:49:54.471977420 +0000
I, [2015-07-15T22:49:55.485790 #63048]  INFO -- mms-monitoring-agent-centos-70:  +++ /tmp/chef-rendered-template20150716-10668-1eb6ftf  2015-07-16 02:49:54.473978420 +0000
I, [2015-07-15T22:49:55.485811 #63048]  INFO -- mms-monitoring-agent-centos-70:  @@ -1 +1,11 @@
I, [2015-07-15T22:49:55.485852 #63048]  INFO -- mms-monitoring-agent-centos-70:  +# This file was generated by Chef
I, [2015-07-15T22:49:55.485874 #63048]  INFO -- mms-monitoring-agent-centos-70:  +# Do NOT modify this file by hand.
I, [2015-07-15T22:49:55.485904 #63048]  INFO -- mms-monitoring-agent-centos-70:  +
I, [2015-07-15T22:49:55.485934 #63048]  INFO -- mms-monitoring-agent-centos-70:  +[epel]
I, [2015-07-15T22:49:55.485954 #63048]  INFO -- mms-monitoring-agent-centos-70:  +name=Extra Packages for Enterprise Linux 7 - $basearch
I, [2015-07-15T22:49:55.485972 #63048]  INFO -- mms-monitoring-agent-centos-70:  +enabled=1
I, [2015-07-15T22:49:55.485989 #63048]  INFO -- mms-monitoring-agent-centos-70:  +failovermethod=priority
I, [2015-07-15T22:49:55.486006 #63048]  INFO -- mms-monitoring-agent-centos-70:  +gpgcheck=1
I, [2015-07-15T22:49:55.486022 #63048]  INFO -- mms-monitoring-agent-centos-70:  +gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
I, [2015-07-15T22:49:55.486039 #63048]  INFO -- mms-monitoring-agent-centos-70:  +mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
I, [2015-07-15T22:49:55.566778 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:49:55.566836 #63048]  INFO -- mms-monitoring-agent-centos-70:     - restore selinux security context
I, [2015-07-15T22:49:56.013965 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:49:56.014028 #63048]  INFO -- mms-monitoring-agent-centos-70:     - execute yum clean all --disablerepo=* --enablerepo=epel
I, [2015-07-15T22:50:24.488064 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:50:24.488386 #63048]  INFO -- mms-monitoring-agent-centos-70:     - execute yum -q -y makecache --disablerepo=* --enablerepo=epel
I, [2015-07-15T22:50:24.488424 #63048]  INFO -- mms-monitoring-agent-centos-70:   * ruby_block[yum-cache-reload-epel] action create
I, [2015-07-15T22:50:24.488443 #63048]  INFO -- mms-monitoring-agent-centos-70:     - execute the ruby block yum-cache-reload-epel
I, [2015-07-15T22:50:24.488461 #63048]  INFO -- mms-monitoring-agent-centos-70:   * execute[yum clean epel] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:50:24.488478 #63048]  INFO -- mms-monitoring-agent-centos-70:   * execute[yum-makecache-epel] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:50:24.488497 #63048]  INFO -- mms-monitoring-agent-centos-70:   * ruby_block[yum-cache-reload-epel] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:50:24.488515 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:50:24.488531 #63048]  INFO -- mms-monitoring-agent-centos-70: Recipe: mongodb::mms_monitoring_agent
I, [2015-07-15T22:50:24.488546 #63048]  INFO -- mms-monitoring-agent-centos-70:   * remote_file[/tmp/kitchen/cache/mongodb-mms-monitoring-agent] action create
I, [2015-07-15T22:50:27.025509 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:50:27.025566 #63048]  INFO -- mms-monitoring-agent-centos-70:     - update content in file /tmp/kitchen/cache/mongodb-mms-monitoring-agent from none to a4d6a5
I, [2015-07-15T22:50:27.064911 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:50:27.064971 #63048]  INFO -- mms-monitoring-agent-centos-70:     - restore selinux security context
I, [2015-07-15T22:50:27.659957 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:50:27.660021 #63048]  INFO -- mms-monitoring-agent-centos-70:     - install version 2.2.0.70-1 of package mongodb-mms-monitoring-agent
I, [2015-07-15T22:50:27.678057 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:50:27.678118 #63048]  INFO -- mms-monitoring-agent-centos-70:     - update content in file /etc/mongodb-mms/monitoring-agent.config from b67325 to f5d2c5
I, [2015-07-15T22:50:27.678149 #63048]  INFO -- mms-monitoring-agent-centos-70:  --- /etc/mongodb-mms/monitoring-agent.config   2014-05-23 20:24:36.000000000 +0000
I, [2015-07-15T22:50:27.678173 #63048]  INFO -- mms-monitoring-agent-centos-70:  +++ /tmp/chef-rendered-template20150716-10668-ixlfje   2015-07-16 02:50:26.681075946 +0000
I, [2015-07-15T22:50:27.678215 #63048]  INFO -- mms-monitoring-agent-centos-70:  @@ -1,120 +1,18 @@
I, [2015-07-15T22:50:27.678237 #63048]  INFO -- mms-monitoring-agent-centos-70:   #
I, [2015-07-15T22:50:27.678256 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# Required
I, [2015-07-15T22:50:27.678276 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# Enter your API key  - See: https://mms.mongodb.com/settings
I, [2015-07-15T22:50:27.678296 #63048]  INFO -- mms-monitoring-agent-centos-70:  +# Automatically Generated by Chef, do not edit directly!
I, [2015-07-15T22:50:27.678316 #63048]  INFO -- mms-monitoring-agent-centos-70:   #
I, [2015-07-15T22:50:27.678334 #63048]  INFO -- mms-monitoring-agent-centos-70:  -mmsApiKey=
I, [2015-07-15T22:50:27.678353 #63048]  INFO -- mms-monitoring-agent-centos-70:   
I, [2015-07-15T22:50:27.678371 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.678390 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# Hostname of the MMS monitoring web server.
I, [2015-07-15T22:50:27.678409 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.678428 #63048]  INFO -- mms-monitoring-agent-centos-70:  -mmsBaseUrl=https://mms.mongodb.com
I, [2015-07-15T22:50:27.678446 #63048]  INFO -- mms-monitoring-agent-centos-70:  -
I, [2015-07-15T22:50:27.678464 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.678483 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# The global authentication credentials to be used by the agent.
I, [2015-07-15T22:50:27.678501 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.678520 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# The user must be created on the "admin" database.
I, [2015-07-15T22:50:27.678539 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.678558 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# If the global username/password is set then all hosts monitored by the
I, [2015-07-15T22:50:27.678578 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# agent *must* use the same username password.
I, [2015-07-15T22:50:27.678597 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.678615 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# Example usage:
I, [2015-07-15T22:50:27.678632 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.678650 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# globalAuthUsername=yourAdminUser
I, [2015-07-15T22:50:27.678669 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# globalAuthPassword=yourAdminPassword
I, [2015-07-15T22:50:27.678687 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.678706 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# For more information about MongoDB authentication, see:
I, [2015-07-15T22:50:27.678724 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.678742 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# http://www.mongodb.org/display/DOCS/Security+and+Authentication
I, [2015-07-15T22:50:27.678761 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.678779 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.678797 #63048]  INFO -- mms-monitoring-agent-centos-70:  -globalAuthUsername=
I, [2015-07-15T22:50:27.678815 #63048]  INFO -- mms-monitoring-agent-centos-70:  -globalAuthPassword=
I, [2015-07-15T22:50:27.678833 #63048]  INFO -- mms-monitoring-agent-centos-70:  -
I, [2015-07-15T22:50:27.678850 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.678870 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# Ability to capture mongoS database and collection config information. Defaults to true.
I, [2015-07-15T22:50:27.678888 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.678906 #63048]  INFO -- mms-monitoring-agent-centos-70:   configCollectionsEnabled=true
I, [2015-07-15T22:50:27.678933 #63048]  INFO -- mms-monitoring-agent-centos-70:   configDatabasesEnabled=true
I, [2015-07-15T22:50:27.678953 #63048]  INFO -- mms-monitoring-agent-centos-70:  -
I, [2015-07-15T22:50:27.678971 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.678990 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# Definitions for throttling particularly heavy-weight stats.
I, [2015-07-15T22:50:27.679011 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# Value means "collect once every Nth passes".
I, [2015-07-15T22:50:27.679030 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.679049 #63048]  INFO -- mms-monitoring-agent-centos-70:  -throttlePassesShardChunkCounts = 10
I, [2015-07-15T22:50:27.679143 #63048]  INFO -- mms-monitoring-agent-centos-70:  -throttlePassesDbstats = 20
I, [2015-07-15T22:50:27.679226 #63048]  INFO -- mms-monitoring-agent-centos-70:  -throttlePassesOplog = 10
I, [2015-07-15T22:50:27.679273 #63048]  INFO -- mms-monitoring-agent-centos-70:  -
I, [2015-07-15T22:50:27.679297 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.679320 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# Experimental: support for periodically capturing workingSet. Defaults to disabled.
I, [2015-07-15T22:50:27.679340 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.679359 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#throttlePassesWorkingSet = 30
I, [2015-07-15T22:50:27.679379 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#workingSetEnabled = true
I, [2015-07-15T22:50:27.679397 #63048]  INFO -- mms-monitoring-agent-centos-70:  -
I, [2015-07-15T22:50:27.679416 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.679436 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# Ability to disable getLogs and profile data collection in the agent. This overrides
I, [2015-07-15T22:50:27.679456 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# the server configuration. Set these fields to True if you can NEVER allow profile or log data
I, [2015-07-15T22:50:27.679475 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# to be relayed to the central MMS servers.
I, [2015-07-15T22:50:27.679493 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.679511 #63048]  INFO -- mms-monitoring-agent-centos-70:  -disableProfileDataCollection=false
I, [2015-07-15T22:50:27.679529 #63048]  INFO -- mms-monitoring-agent-centos-70:   disableGetLogsDataCollection=false
I, [2015-07-15T22:50:27.679546 #63048]  INFO -- mms-monitoring-agent-centos-70:  -
I, [2015-07-15T22:50:27.679565 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.679584 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# Ability to disable the retrieval of the locks and recordStats information from
I, [2015-07-15T22:50:27.679604 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# within a db.serverStatus call. This may be necessary for performance optimization in
I, [2015-07-15T22:50:27.679624 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# deployments with thousands of databases. Only valid for MongoDB 2.4+
I, [2015-07-15T22:50:27.679642 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.679661 #63048]  INFO -- mms-monitoring-agent-centos-70:   disableLocksAndRecordStatsDataCollection=false
I, [2015-07-15T22:50:27.679679 #63048]  INFO -- mms-monitoring-agent-centos-70:  -
I, [2015-07-15T22:50:27.679699 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# Set to False if you have no plans to use munin (saves one thread per server)
I, [2015-07-15T22:50:27.679717 #63048]  INFO -- mms-monitoring-agent-centos-70:  +disableProfileDataCollection=false
I, [2015-07-15T22:50:27.679735 #63048]  INFO -- mms-monitoring-agent-centos-70:   enableMunin=true
I, [2015-07-15T22:50:27.679752 #63048]  INFO -- mms-monitoring-agent-centos-70:  -
I, [2015-07-15T22:50:27.679769 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.679805 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# You must be running a mongod process with built in SSL support. If
I, [2015-07-15T22:50:27.679827 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# this setting is enabled the `sslTrustedServerCertificates` setting below
I, [2015-07-15T22:50:27.679846 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# is required.
I, [2015-07-15T22:50:27.679865 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.679883 #63048]  INFO -- mms-monitoring-agent-centos-70:  +mmsApiKey=random key
I, [2015-07-15T22:50:27.679900 #63048]  INFO -- mms-monitoring-agent-centos-70:  +mmsBaseUrl=https://mms.mongodb.com
I, [2015-07-15T22:50:27.679918 #63048]  INFO -- mms-monitoring-agent-centos-70:  +sslRequireValidServerCertificates=false
I, [2015-07-15T22:50:27.679936 #63048]  INFO -- mms-monitoring-agent-centos-70:  +throttlePassesDbstats=20
I, [2015-07-15T22:50:27.679953 #63048]  INFO -- mms-monitoring-agent-centos-70:  +throttlePassesOplog=10
I, [2015-07-15T22:50:27.679971 #63048]  INFO -- mms-monitoring-agent-centos-70:  +throttlePassesShardChunkCounts=10
I, [2015-07-15T22:50:27.679988 #63048]  INFO -- mms-monitoring-agent-centos-70:   useSslForAllConnections=false
I, [2015-07-15T22:50:27.680006 #63048]  INFO -- mms-monitoring-agent-centos-70:  -
I, [2015-07-15T22:50:27.680023 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.680042 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# Required only if connecting to MongoDBs running
I, [2015-07-15T22:50:27.680060 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# with SSL.
I, [2015-07-15T22:50:27.680078 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.680096 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# `sslTrustedServerCertificates` is path on disk that contains the trusted certificate
I, [2015-07-15T22:50:27.680115 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# authority certificates in PEM format. The certificates will be used to verify
I, [2015-07-15T22:50:27.680134 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# the server certificate returned from any MongoDBs running with SSL.
I, [2015-07-15T22:50:27.680158 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.680177 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# Certificate verification can be turned off by changing the `sslRequireValidServerCertificates`
I, [2015-07-15T22:50:27.680196 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# field to False. That configuration is only recommended for testing purposes
I, [2015-07-15T22:50:27.681657 #63048]  INFO -- mms-monitoring-agent-centos-70: it makes connections susceptible to MITM attacks.
I, [2015-07-15T22:50:27.681697 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.681727 #63048]  INFO -- mms-monitoring-agent-centos-70:  -sslTrustedServerCertificates=
I, [2015-07-15T22:50:27.681753 #63048]  INFO -- mms-monitoring-agent-centos-70:  -sslRequireValidServerCertificates=true
I, [2015-07-15T22:50:27.681772 #63048]  INFO -- mms-monitoring-agent-centos-70:  -
I, [2015-07-15T22:50:27.681790 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# Kerberos settings
I, [2015-07-15T22:50:27.681807 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# krb5Principal: The Kerberos principal used by the agent, e.g. mmsagent/[email protected]
I, [2015-07-15T22:50:27.681825 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# krb5Keytab: The ABSOLUTE path to kerberos principal's keytab file.
I, [2015-07-15T22:50:27.681842 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.681858 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# IMPORTANT:
I, [2015-07-15T22:50:27.681875 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# 1) You must set both of the following parameters to enable Kerberos authentication
I, [2015-07-15T22:50:27.681892 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.681910 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# 2) Each monitored Host that is to authenticate using Kerberos must be edited in MMS to select
I, [2015-07-15T22:50:27.681941 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# GSSAPI as the Auth Mechanism.
I, [2015-07-15T22:50:27.681960 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.681977 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# 3) The monitoring agent depends on 'kinit' to do the Kerberos authentication and looks for the
I, [2015-07-15T22:50:27.681995 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# executable at /usr/bin/kinit. Please ensure kinit is available at this location.
I, [2015-07-15T22:50:27.682011 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.682029 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# 4) The KDC for this principal must grant tickets that are valid for at least 4 hours. The
I, [2015-07-15T22:50:27.682046 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# monitoring agent takes care of periodically renewing the ticket.
I, [2015-07-15T22:50:27.682064 #63048]  INFO -- mms-monitoring-agent-centos-70:  -krb5Principal=
I, [2015-07-15T22:50:27.682080 #63048]  INFO -- mms-monitoring-agent-centos-70:  -krb5Keytab=
I, [2015-07-15T22:50:27.682097 #63048]  INFO -- mms-monitoring-agent-centos-70:  -
I, [2015-07-15T22:50:27.682112 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.682130 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# Required only if the root CAs are kept in a non-standard location.
I, [2015-07-15T22:50:27.682146 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.682163 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# `sslTrustedMMSServerCertificate` is the path on disk that contains
I, [2015-07-15T22:50:27.682181 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# the trusted certificate authority certificates in PEM format. The
I, [2015-07-15T22:50:27.682198 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# certificates will be used to verify the agent is communicating
I, [2015-07-15T22:50:27.682215 #63048]  INFO -- mms-monitoring-agent-centos-70:  -# to MongoDB Inc MMS servers.
I, [2015-07-15T22:50:27.682231 #63048]  INFO -- mms-monitoring-agent-centos-70:  -#
I, [2015-07-15T22:50:27.716238 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:50:27.716307 #63048]  INFO -- mms-monitoring-agent-centos-70:     - restore selinux security context
I, [2015-07-15T22:50:27.716336 #63048]  INFO -- mms-monitoring-agent-centos-70:   * service[mongodb-mms-monitoring-agent] action nothing (skipped due to action :nothing)
I, [2015-07-15T22:50:27.891055 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:50:27.891113 #63048]  INFO -- mms-monitoring-agent-centos-70:     - restart service service[mongodb-mms-monitoring-agent]
I, [2015-07-15T22:50:27.929371 #63048]  INFO -- mms-monitoring-agent-centos-70: 
I, [2015-07-15T22:50:27.929454 #63048]  INFO -- mms-monitoring-agent-centos-70: Running handlers:
I, [2015-07-15T22:50:27.929486 #63048]  INFO -- mms-monitoring-agent-centos-70: Running handlers complete
I, [2015-07-15T22:50:27.929509 #63048]  INFO -- mms-monitoring-agent-centos-70: Chef Client finished, 11/11 resources updated in 42.015533845 seconds
I, [2015-07-15T22:50:29.949683 #63048]  INFO -- mms-monitoring-agent-centos-70: Finished converging <mms-monitoring-agent-centos-70> (1m12.10s).
I, [2015-07-15T22:50:29.949862 #63048]  INFO -- mms-monitoring-agent-centos-70: -----> Setting up <mms-monitoring-agent-centos-70>...
I, [2015-07-15T22:50:29.956658 #63048]  INFO -- mms-monitoring-agent-centos-70: Finished setting up <mms-monitoring-agent-centos-70> (0m0.00s).
I, [2015-07-15T22:50:29.956761 #63048]  INFO -- mms-monitoring-agent-centos-70: -----> Verifying <mms-monitoring-agent-centos-70>...
I, [2015-07-15T22:50:29.957897 #63048]  INFO -- mms-monitoring-agent-centos-70: Preparing files for transfer
I, [2015-07-15T22:50:30.353354 #63048]  INFO -- mms-monitoring-agent-centos-70: -----> Installing Busser (busser)
I, [2015-07-15T22:51:40.590086 #63048]  INFO -- mms-monitoring-agent-centos-70: Fetching: thor-0.19.0.gem
Fetching: thor-0.19.0.gem ( 15%)
Fetching: thor-0.19.0.gem ( 33%)
Fetching: thor-0.19.0.gem ( 37%)
Fetching: thor-0.19.0.gem ( 39%)
Fetching: thor-0.19.0.gem ( 57%)
Fetching: thor-0.19.0.gem ( 59%)
Fetching: thor-0.19.0.gem ( 68%)
Fetching: thor-0.19.0.gem ( 72%)
Fetching: thor-0.19.0.gem ( 81%)
Fetching: thor-0.19.0.gem ( 99%)
Fetching: thor-0.19.0.gem (100%)
Fetching: thor-0.19.0.gem (100%)
I, [2015-07-15T22:51:40.748030 #63048]  INFO -- mms-monitoring-agent-centos-70: Fetching: busser-0.7.1.gem
Fetching: busser-0.7.1.gem ( 64%)
Fetching: busser-0.7.1.gem ( 77%)
Fetching: busser-0.7.1.gem (100%)
Fetching: busser-0.7.1.gem (100%)
I, [2015-07-15T22:51:40.759148 #63048]  INFO -- mms-monitoring-agent-centos-70: Successfully installed thor-0.19.0
I, [2015-07-15T22:51:40.759212 #63048]  INFO -- mms-monitoring-agent-centos-70: Successfully installed busser-0.7.1
I, [2015-07-15T22:51:40.759234 #63048]  INFO -- mms-monitoring-agent-centos-70: 2 gems installed
I, [2015-07-15T22:51:40.971925 #63048]  INFO -- mms-monitoring-agent-centos-70: -----> Setting up Busser
I, [2015-07-15T22:51:40.971988 #63048]  INFO -- mms-monitoring-agent-centos-70: Creating BUSSER_ROOT in /tmp/verifier
I, [2015-07-15T22:51:40.972012 #63048]  INFO -- mms-monitoring-agent-centos-70: Creating busser binstub
I, [2015-07-15T22:51:40.975941 #63048]  INFO -- mms-monitoring-agent-centos-70: Installing Busser plugins: busser-bats
I, [2015-07-15T22:51:56.768778 #63048]  INFO -- mms-monitoring-agent-centos-70: Plugin bats installed (version 0.3.0)
I, [2015-07-15T22:51:56.771715 #63048]  INFO -- mms-monitoring-agent-centos-70: -----> Running postinstall for bats plugin
I, [2015-07-15T22:51:56.812920 #63048]  INFO -- mms-monitoring-agent-centos-70: Installed Bats to /tmp/verifier/vendor/bats/bin/bats
I, [2015-07-15T22:51:57.026671 #63048]  INFO -- mms-monitoring-agent-centos-70: Suite path directory /tmp/verifier/suites does not exist, skipping.
I, [2015-07-15T22:51:57.029950 #63048]  INFO -- mms-monitoring-agent-centos-70: Transferring files to <mms-monitoring-agent-centos-70>
I, [2015-07-15T22:51:57.232516 #63048]  INFO -- mms-monitoring-agent-centos-70: -----> Running bats test suite
I, [2015-07-15T22:51:57.377377 #63048]  INFO -- mms-monitoring-agent-centos-70: �[1G   starts mms monitoring agent�[K�[77G1/2�[2G�[1G�[31;1m ✗ starts mms monitoring agent�[K
I, [2015-07-15T22:51:57.377439 #63048]  INFO -- mms-monitoring-agent-centos-70: �[0m�[31;22m   (in test file /tmp/verifier/suites/bats/default.bats, line 6)
I, [2015-07-15T22:51:57.377461 #63048]  INFO -- mms-monitoring-agent-centos-70: �[0m�[31;22m     `[ "$status" -eq 0 ]' failed
I, [2015-07-15T22:51:57.389911 #63048]  INFO -- mms-monitoring-agent-centos-70: �[1G ✓ sets sslRequireValidServerCertificates to false�[K
I, [2015-07-15T22:51:57.389987 #63048]  INFO -- mms-monitoring-agent-centos-70: �[0m
I, [2015-07-15T22:51:57.390015 #63048]  INFO -- mms-monitoring-agent-centos-70: 2 tests, 1 failure
I, [2015-07-15T22:51:57.397793 #63048]  INFO -- mms-monitoring-agent-centos-70: !!!!!! Command [/tmp/verifier/vendor/bats/bin/bats /tmp/verifier/suites/bats] exit code was 1
E, [2015-07-15T22:51:57.402391 #63048] ERROR -- mms-monitoring-agent-centos-70: Verify failed on instance <mms-monitoring-agent-centos-70>.
E, [2015-07-15T22:51:57.402529 #63048] ERROR -- mms-monitoring-agent-centos-70: ------Exception-------
E, [2015-07-15T22:51:57.402549 #63048] ERROR -- mms-monitoring-agent-centos-70: Class: Kitchen::ActionFailed
E, [2015-07-15T22:51:57.402571 #63048] ERROR -- mms-monitoring-agent-centos-70: Message: SSH exited (1) for command: [sh -c '

BUSSER_ROOT="/tmp/verifier"; export BUSSER_ROOT
GEM_HOME="/tmp/verifier/gems"; export GEM_HOME
GEM_PATH="/tmp/verifier/gems"; export GEM_PATH
GEM_CACHE="/tmp/verifier/gems/cache"; export GEM_CACHE

sudo -E /tmp/verifier/bin/busser test
']
E, [2015-07-15T22:51:57.402584 #63048] ERROR -- mms-monitoring-agent-centos-70: ---Nested Exception---
E, [2015-07-15T22:51:57.402594 #63048] ERROR -- mms-monitoring-agent-centos-70: Class: Kitchen::Transport::SshFailed
E, [2015-07-15T22:51:57.402897 #63048] ERROR -- mms-monitoring-agent-centos-70: Message: SSH exited (1) for command: [sh -c '

BUSSER_ROOT="/tmp/verifier"; export BUSSER_ROOT
GEM_HOME="/tmp/verifier/gems"; export GEM_HOME
GEM_PATH="/tmp/verifier/gems"; export GEM_PATH
GEM_CACHE="/tmp/verifier/gems/cache"; export GEM_CACHE

sudo -E /tmp/verifier/bin/busser test
']
E, [2015-07-15T22:51:57.402928 #63048] ERROR -- mms-monitoring-agent-centos-70: ------Backtrace-------
E, [2015-07-15T22:51:57.402943 #63048] ERROR -- mms-monitoring-agent-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/verifier/base.rb:79:in `rescue in call'
E, [2015-07-15T22:51:57.402955 #63048] ERROR -- mms-monitoring-agent-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/verifier/base.rb:82:in `call'
E, [2015-07-15T22:51:57.402967 #63048] ERROR -- mms-monitoring-agent-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:398:in `block in verify_action'
E, [2015-07-15T22:51:57.402978 #63048] ERROR -- mms-monitoring-agent-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:488:in `call'
E, [2015-07-15T22:51:57.402989 #63048] ERROR -- mms-monitoring-agent-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:488:in `synchronize_or_call'
E, [2015-07-15T22:51:57.403000 #63048] ERROR -- mms-monitoring-agent-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:453:in `block in action'
E, [2015-07-15T22:51:57.403021 #63048] ERROR -- mms-monitoring-agent-centos-70: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T22:51:57.403031 #63048] ERROR -- mms-monitoring-agent-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:452:in `action'
E, [2015-07-15T22:51:57.403041 #63048] ERROR -- mms-monitoring-agent-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:394:in `verify_action'
E, [2015-07-15T22:51:57.403052 #63048] ERROR -- mms-monitoring-agent-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:341:in `block in transition_to'
E, [2015-07-15T22:51:57.403062 #63048] ERROR -- mms-monitoring-agent-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `each'
E, [2015-07-15T22:51:57.403073 #63048] ERROR -- mms-monitoring-agent-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `transition_to'
E, [2015-07-15T22:51:57.403083 #63048] ERROR -- mms-monitoring-agent-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:160:in `verify'
E, [2015-07-15T22:51:57.403094 #63048] ERROR -- mms-monitoring-agent-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:189:in `block in test'
E, [2015-07-15T22:51:57.403104 #63048] ERROR -- mms-monitoring-agent-centos-70: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T22:51:57.403114 #63048] ERROR -- mms-monitoring-agent-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:185:in `test'
E, [2015-07-15T22:51:57.403125 #63048] ERROR -- mms-monitoring-agent-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `public_send'
E, [2015-07-15T22:51:57.403135 #63048] ERROR -- mms-monitoring-agent-centos-70: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `block (2 levels) in run_action'
E, [2015-07-15T22:51:57.403146 #63048] ERROR -- mms-monitoring-agent-centos-70: ----------------------

mongodb_org_repo recipe errors out installing GPG key

The 10gen_repo/mongodb_org_repo recipe fails when trying to install the GPG key:


================================================================================
      Error executing action `run` on resource 'execute[install-key 7F0CEB10]'
      ================================================================================

      Mixlib::ShellOut::ShellCommandFailed
      ------------------------------------
      Expected process to exit with [0], but received '2'
      ---- Begin output of apt-key adv --keyserver hkp://hkp://keyserver.ubuntu.com:80:80 --recv 7F0CEB10 ----
      STDOUT: Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.goxaENJhgS --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://hkp://keyserver.ubuntu.com:80:80 --recv 7F0CEB10
      ?: hkp: Host not found
      gpgkeys: HTTP fetch error 7: couldn't connect: Success
      STDERR: gpg: requesting key 7F0CEB10 from hkp server hkp
      gpg: no valid OpenPGP data found.
      gpg: Total number processed: 0
      ---- End output of apt-key adv --keyserver hkp://hkp://keyserver.ubuntu.com:80:80 --recv 7F0CEB10 ----
      Ran apt-key adv --keyserver hkp://hkp://keyserver.ubuntu.com:80:80 --recv 7F0CEB10 returned 2

      Resource Declaration:
      ---------------------
      # In /var/chef/cache/cookbooks/apt/providers/repository.rb

       28:   execute "install-key #{key}" do
       29:     if key_proxy.empty?
       30:       command "apt-key adv --keyserver hkp://#{keyserver}:80 --recv #{key}"
       31:     else
       32:       command "apt-key adv --keyserver-options http-proxy=#{key_proxy} --keyserver hkp://#{keyserver}:80 --recv #{key}"
       33:     end
       34:     action :run

      Compiled Resource:
      ------------------
      # Declared in /var/chef/cache/cookbooks/apt/providers/repository.rb:28:in `install_key_from_keyserver'

      execute("install-key 7F0CEB10") do
        action [:run]
        retries 0
        retry_delay 2
        default_guard_interpreter :execute
        command "apt-key adv --keyserver hkp://hkp://keyserver.ubuntu.com:80:80 --recv 7F0CEB10"
        backup 5
        returns 0
        declared_type :execute
        cookbook_name "mongodb"
        not_if { #code block }
      end


    ================================================================================
    Error executing action `add` on resource 'apt_repository[mongodb]'
    ================================================================================

    Mixlib::ShellOut::ShellCommandFailed
    ------------------------------------
    execute[install-key 7F0CEB10] (/var/chef/cache/cookbooks/apt/providers/repository.rb line 28) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2'
    ---- Begin output of apt-key adv --keyserver hkp://hkp://keyserver.ubuntu.com:80:80 --recv 7F0CEB10 ----
    STDOUT: Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.goxaENJhgS --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://hkp://keyserver.ubuntu.com:80:80 --recv 7F0CEB10
    ?: hkp: Host not found
    gpgkeys: HTTP fetch error 7: couldn't connect: Success
    STDERR: gpg: requesting key 7F0CEB10 from hkp server hkp
    gpg: no valid OpenPGP data found.
    gpg: Total number processed: 0
    ---- End output of apt-key adv --keyserver hkp://hkp://keyserver.ubuntu.com:80:80 --recv 7F0CEB10 ----
    Ran apt-key adv --keyserver hkp://hkp://keyserver.ubuntu.com:80:80 --recv 7F0CEB10 returned 2

    Resource Declaration:
    ---------------------
    # In /var/chef/cache/cookbooks/mongodb/recipes/mongodb_org_repo.rb

     29:   apt_repository 'mongodb' do
     30:     uri "#{node[:mongodb][:repo]}/#{node[:mongodb][:apt_repo]}"
     31:     distribution 'dist'
     32:     components ['10gen']
     33:     keyserver 'hkp://keyserver.ubuntu.com:80'
     34:     key '7F0CEB10'
     35:     action :add
     36:   end
     37:

I believe apt_repository expects the keyserver to be the bare hostname of the keyserver, as shown in this example from the apt cookbook README:

apt_repository 'juju' do
  uri 'http://ppa.launchpad.net/juju/stable/ubuntu'
  components ['main']
  distribution 'trusty'
  key 'C8068B11'
  keyserver 'keyserver.ubuntu.com'
  action :add
  deb_src true
end

Failing Test: default-mongodb-org-repo-debian-720

% kitchen test default-mongodb-org-repo-debian-720                                                                                                    20 ↵
-----> Starting Kitchen (v1.4.0)
-----> Cleaning up any prior instances of <default-mongodb-org-repo-debian-720>
-----> Destroying <default-mongodb-org-repo-debian-720>...
       Finished destroying <default-mongodb-org-repo-debian-720> (0m0.00s).
-----> Testing <default-mongodb-org-repo-debian-720>
-----> Creating <default-mongodb-org-repo-debian-720>...
       Bringing machine 'default' up with 'virtualbox' provider...
       ==> default: Importing base box 'opscode-debian-7.2.0'...
==> default: Matching MAC address for NAT networking...
       ==> default: Setting the name of the VM: kitchen-mongodb-cookbook-default-mongodb-org-repo-debian-720_default_1436914191045_91796
       ==> default: Fixed port collision for 22 => 2222. Now on port 2205.
       ==> default: Clearing any previously set network interfaces...
       ==> default: Preparing network interfaces based on configuration...
           default: Adapter 1: nat
       ==> default: Forwarding ports...
           default: 22 => 2205 (adapter 1)
       ==> default: Running 'pre-boot' VM customizations...
       ==> default: Booting VM...
       ==> default: Waiting for machine to boot. This may take a few minutes...
           default: SSH address: 127.0.0.1:2205
           default: SSH username: vagrant
           default: SSH auth method: private key
           default: Warning: Connection timeout. Retrying...
           default:
           default: Vagrant insecure key detected. Vagrant will automatically replace
           default: this with a newly generated keypair for better security.
           default:
           default: Inserting generated public key within guest...
           default: Removing insecure key from the guest if it's present...
           default: Key inserted! Disconnecting and reconnecting using new SSH key...
       ==> default: Machine booted and ready!
       ==> default: Checking for guest additions in VM...
       ==> default: Setting hostname...
       ==> default: Machine not provisioned because `--no-provision` is specified.
       [SSH] Established
       Vagrant instance <default-mongodb-org-repo-debian-720> created.
       Finished creating <default-mongodb-org-repo-debian-720> (0m43.12s).
-----> Converging <default-mongodb-org-repo-debian-720>...
       Preparing files for transfer
       Preparing dna.json
       Resolving cookbook dependencies with Berkshelf 3.3.0...
       Removing non-cookbook files before transfer
       Preparing nodes
       Preparing validation.pem
       Preparing client.rb
-----> Installing Chef Omnibus (11.12.8)
       Downloading https://www.chef.io/chef/install.sh to file /tmp/install.sh
       Trying wget...
       Download complete.
       Downloading Chef 11.12.8 for debian...
       downloading https://www.chef.io/chef/metadata?v=11.12.8&prerelease=false&nightlies=false&p=debian&pv=6&m=x86_64
         to file /tmp/install.sh.2826/metadata.txt
       trying wget...
       url      https://opscode-omnibus-packages.s3.amazonaws.com/debian/6/x86_64/chef_11.12.8-2_amd64.deb
       md5      7da696bbaad23ea00cd1f4f8394b7596
       sha256   0c05369ba0e123099a428e5d16aa8cbbbfdb5834de8af9932bdbe08afa7144ae
       downloaded metadata file looks valid...
       downloading https://opscode-omnibus-packages.s3.amazonaws.com/debian/6/x86_64/chef_11.12.8-2_amd64.deb
         to file /tmp/install.sh.2826/chef_11.12.8-2_amd64.deb
       trying wget...
       Comparing checksum with sha256sum...
       Installing Chef 11.12.8
       installing with dpkg...
       Selecting previously unselected package chef.
(Reading database ... 37434 files and directories currently installed.)
       Unpacking chef (from .../chef_11.12.8-2_amd64.deb) ...
       Setting up chef (11.12.8-2) ...
       Thank you for installing Chef!
       Transferring files to <default-mongodb-org-repo-debian-720>
       [2015-07-14T22:50:50+00:00] WARN:
       * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
       SSL validation of HTTPS requests is disabled. HTTPS connections are still
       encrypted, but chef is not able to detect forged replies or man in the middle
       attacks.

       To fix this issue add an entry like this to your configuration file:

       ```
         # Verify all HTTPS connections (recommended)
         ssl_verify_mode :verify_peer

         # OR, Verify only connections to chef-server
         verify_api_cert true
       ```

       To check your SSL configuration, or troubleshoot errors, you can use the
       `knife ssl check` command like so:

       ```
         knife ssl check -c /tmp/kitchen/client.rb
       ```

       * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


       Creating a new client identity for default-mongodb-org-repo-debian-720 using the validator key.
       resolving cookbooks for run list: ["apt", "mongodb"]
       Synchronizing Cookbooks:
         - apt
         - mongodb
         - yum
         - python
         - build-essential
         - yum-epel
       Compiling Cookbooks...
       [2015-07-14T22:50:59+00:00] WARN: 10gen_repo is deprecated, use mongodb_org_repo
       [2015-07-14T22:50:59+00:00] WARN: Cloning resource attributes for template[/etc/mongodb.conf] from prior resource (CHEF-3694)
       [2015-07-14T22:50:59+00:00] WARN: Previous template[/etc/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:14:in `from_file'
       [2015-07-14T22:50:59+00:00] WARN: Current  template[/etc/mongodb.conf]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:139:in `block in
 from_file'
       [2015-07-14T22:50:59+00:00] WARN: Cloning resource attributes for execute[mongodb-systemctl-daemon-reload] from prior resource (CHEF-3694)
       [2015-07-14T22:50:59+00:00] WARN: Previous execute[mongodb-systemctl-daemon-reload]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:37:in `
from_file'
       [2015-07-14T22:50:59+00:00] WARN: Current  execute[mongodb-systemctl-daemon-reload]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:174
:in `block in from_file'
       [2015-07-14T22:50:59+00:00] WARN: Cloning resource attributes for template[/etc/init.d/mongodb] from prior resource (CHEF-3694)
       [2015-07-14T22:50:59+00:00] WARN: Previous template[/etc/init.d/mongodb]: /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:42:in `from_file'
       [2015-07-14T22:50:59+00:00] WARN: Current  template[/etc/init.d/mongodb]: /tmp/kitchen/cache/cookbooks/mongodb/definitions/mongodb.rb:180:in `block
in from_file'
       Converging 23 resources
       Recipe: apt::default
         * file[/var/lib/apt/periodic/update-success-stamp] action nothing (skipped due to action :nothing)
         * directory[/etc/apt/apt.conf.d] action create (up to date)
         * cookbook_file[/etc/apt/apt.conf.d/15update-stamp] action create
           - create new file /etc/apt/apt.conf.d/15update-stamp
           - update content in file /etc/apt/apt.conf.d/15update-stamp from none to 174cdb
        --- /etc/apt/apt.conf.d/15update-stamp  2015-07-14 22:50:59.546831658 +0000
        +++ /tmp/.15update-stamp20150714-2903-1b4rujo   2015-07-14 22:50:59.570843656 +0000
        @@ -1 +1,2 @@
        +APT::Update::Post-Invoke-Success {"touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";};
         * execute[apt-get-update] action run
           - execute apt-get update

           - update utime on file /var/lib/apt/periodic/update-success-stamp
         * execute[apt-get update] action nothing (skipped due to action :nothing)
         * execute[apt-get autoremove] action nothing (skipped due to action :nothing)
         * execute[apt-get autoclean] action nothing (skipped due to action :nothing)
         * execute[apt-get-update-periodic] action run (skipped due to only_if)
         * directory[/var/cache/local] action create
           - create new directory /var/cache/local
           - change mode from '' to '0755'
           - change owner from '' to 'root'
           - change group from '' to 'root'
         * directory[/var/cache/local/preseeding] action create
           - create new directory /var/cache/local/preseeding
           - change mode from '' to '0755'
           - change owner from '' to 'root'
           - change group from '' to 'root'
       Recipe: mongodb::mongodb_org_repo
         * apt_repository[mongodb] action addRecipe: <Dynamically Defined Resource>
         * execute[install-key 7F0CEB10] action run
           - execute apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
         * file[/var/lib/apt/periodic/update-success-stamp] action nothing (skipped due to action :nothing)
         * execute[apt-cache gencaches] action nothing (skipped due to action :nothing)
         * execute[apt-get update] action nothing (skipped due to action :nothing)
         * file[/etc/apt/sources.list.d/mongodb.list] action create
           - create new file /etc/apt/sources.list.d/mongodb.list
           - update content in file /etc/apt/sources.list.d/mongodb.list from none to 20d6dd
        --- /etc/apt/sources.list.d/mongodb.list        2015-07-14 22:51:19.760932822 +0000
        +++ /tmp/.mongodb.list20150714-2903-1eedttg     2015-07-14 22:51:19.760932822 +0000
        @@ -1 +1,2 @@
        +deb     /debian-sysvinit dist 10gen
           - change mode from '' to '0644'
           - change owner from '' to 'root'
           - change group from '' to 'root'
         * file[/var/lib/apt/periodic/update-success-stamp] action delete
           - delete file /var/lib/apt/periodic/update-success-stamp
         * execute[apt-get update] action run[2015-07-14T22:51:19+00:00] ERROR: execute[apt-get update] (/tmp/kitchen/cache/cookbooks/apt/providers/reposit
ory.rb line 156) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'
       ---- Begin output of apt-get update -o Dir::Etc::sourcelist='sources.list.d/mongodb.list' -o Dir::Etc::sourceparts='-' -o APT::Get::List-Cleanup='0'
 ----
       STDOUT:
       STDERR: E: Malformed line 1 in source list /etc/apt/sources.list.d/mongodb.list (URI parse)
       E: The list of sources could not be read.
       ---- End output of apt-get update -o Dir::Etc::sourcelist='sources.list.d/mongodb.list' -o Dir::Etc::sourceparts='-' -o APT::Get::List-Cleanup='0' -

---
       Ran apt-get update -o Dir::Etc::sourcelist='sources.list.d/mongodb.list' -o Dir::Etc::sourceparts='-' -o APT::Get::List-Cleanup='0' returned 100; ig
nore_failure is set, continuing

       ================================================================================
       Error executing action `run` on resource 'execute[apt-get update]'
       ================================================================================

       Mixlib::ShellOut::ShellCommandFailed
       ------------------------------------
       Expected process to exit with [0], but received '100'
       ---- Begin output of apt-get update -o Dir::Etc::sourcelist='sources.list.d/mongodb.list' -o Dir::Etc::sourceparts='-' -o APT::Get::List-Cleanup='0'
 ----
       STDOUT:
       STDERR: E: Malformed line 1 in source list /etc/apt/sources.list.d/mongodb.list (URI parse)
       E: The list of sources could not be read.
       ---- End output of apt-get update -o Dir::Etc::sourcelist='sources.list.d/mongodb.list' -o Dir::Etc::sourceparts='-' -o APT::Get::List-Cleanup='0' -

---
       Ran apt-get update -o Dir::Etc::sourcelist='sources.list.d/mongodb.list' -o Dir::Etc::sourceparts='-' -o APT::Get::List-Cleanup='0' returned 100

       Resource Declaration:
       ---------------------
       # In /tmp/kitchen/cache/cookbooks/apt/providers/repository.rb

       156:   execute 'apt-get update' do
       157:     command "apt-get update -o Dir::Etc::sourcelist='sources.list.d/#{new_resource.name}.list' -o Dir::Etc::sourceparts='-' -o APT::Get::List-C
leanup='0'"
       158:     ignore_failure true
       159:     action :nothing
       160:     notifies :run, 'execute[apt-cache gencaches]', :immediately
       161:   end
       162:

       Compiled Resource:
       ------------------
       # Declared in /tmp/kitchen/cache/cookbooks/apt/providers/repository.rb:156:in `block in class_from_file'

       execute("apt-get update") do
         action [:nothing]
         ignore_failure true
         retries 0
         retry_delay 2
         guard_interpreter :default
         command "apt-get update -o Dir::Etc::sourcelist='sources.list.d/mongodb.list' -o Dir::Etc::sourceparts='-' -o APT::Get::List-Cleanup='0'"
         backup 5
         returns 0
         cookbook_name "mongodb"
       end
    Recipe: mongodb::install
         * file[/etc/default/mongodb] action create_if_missing
           - create new file /etc/default/mongodb
           - update content in file /etc/default/mongodb from none to a35762
        --- /etc/default/mongodb        2015-07-14 22:51:19.856980820 +0000
        +++ /tmp/.mongodb20150714-2903-fbo573   2015-07-14 22:51:19.860982820 +0000
        @@ -1 +1,2 @@
        +ENABLE_MONGODB=no
           - change mode from '' to '0644'
           - change owner from '' to 'root'
           - change group from '' to 'root'
         * template[/etc/mongodb.conf] action create_if_missing
           - create new file /etc/mongodb.conf
           - update content in file /etc/mongodb.conf from none to bc3b84
        --- /etc/mongodb.conf   2015-07-14 22:51:19.876990817 +0000
        +++ /tmp/chef-rendered-template20150714-2903-mtl9vj     2015-07-14 22:51:19.880992817 +0000
        @@ -1 +1,14 @@
        +#
        +# Automatically Generated by Chef, do not edit directly!
        +#
        +
        +bind_ip = 0.0.0.0
        +dbpath = /var/lib/mongodb
        +fork = false
        +logappend = true
        +logpath = /var/log/mongodb/mongodb.log
        +nojournal = false
        +port = 27017
        +rest = false
        +smallfiles = false
           - change mode from '' to '0644'
           - change owner from '' to 'root'
           - change group from '' to 'root'
         * execute[mongodb-systemctl-daemon-reload] action nothing (skipped due to action :nothing)
         * template[/etc/init.d/mongodb] action create_if_missing
           - create new file /etc/init.d/mongodb
           - update content in file /etc/init.d/mongodb from none to 807705
        --- /etc/init.d/mongodb 2015-07-14 22:51:19.913008816 +0000
        +++ /tmp/chef-rendered-template20150714-2903-eknr51     2015-07-14 22:51:19.917010817 +0000
        @@ -1 +1,265 @@
        +#!/bin/bash
        +#
        +# init.d script with LSB support.
        +#
        +# Copyright (c) 2007 Javier Fernandez-Sanguino <[email protected]>
        +# Copyright (c) 2011 edelight GmbH
        +#       Author: Markus Korn <[email protected]>
        +#
        +# This is free software; you may redistribute it and/or modify
        +# it under the terms of the GNU General Public License as
        +# published by the Free Software Foundation; either version 2,
        +# or (at your option) any later version.
        +#
        +# This is distributed in the hope that it will be useful, but
        +# WITHOUT ANY WARRANTY; without even the implied warranty of
        +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        +# GNU General Public License for more details.
        +#
        +# You should have received a copy of the GNU General Public License with
        +# the Debian operating system, in /usr/share/common-licenses/GPL;  if
        +# not, write to the Free Software Foundation, Inc., 59 Temple Place,
        +# Suite 330, Boston, MA 02111-1307 USA
        +#
        +### BEGIN INIT INFO
        +# Provides:          mongod
        +# Required-Start:    $network $local_fs $remote_fs
        +# Required-Stop:     $network $local_fs $remote_fs
        +# Should-Start:      $named
        +# Should-Stop:
        +# Default-Start:     2 3 4 5
        +# Default-Stop:      0 1 6
       +# Short-Description: Start/stop mongod An object/document-origented database
        +# Description:       MongoDB is a high-performance, open source, schema-free
        +#                    document-oriented  data store that's easy to deploy, manage
        +#                    and use. It's network accessible, written in C++ and offers
        +#                    the following features:
        +#
        +#                       * Collection oriented storage - easy storage of object-
        +#                         style data
        +#                       * Full index support, including on inner objects
        +#                       * Query profiling
        +#                       * Replication and fail-over support
        +#                       * Efficient storage of binary data including large
        +#                         objects (e.g. videos)
        +#                       * Auto-sharding for cloud-level scalability (Q209)
        +#
        +#                    High performance, scalability, and reasonable depth of
        +#                    functionality are the goals for the project.
        +### END INIT INFO
        +#
        +NAME=mongod
        +
        +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
        +DESC=database
        +PIDFILE=/var/run/$NAME.pid
        +ENABLE_MONGODB=yes
        +SYSCONFIG=/etc/default/mongodb
        +
        +# this should get removed at some point for more shell agnostic init script
        +ulimit -f unlimited
        +ulimit -t unlimited
        +ulimit -v unlimited
        +ulimit -n 64000
        +ulimit -m unlimited
        +ulimit -u 32000
        +
        +# Include mongodb defaults if available
        +if [ -f $SYSCONFIG ] ; then
        +    . $SYSCONFIG
        +fi
        +
        +# Handle NUMA access to CPUs (SERVER-3574)
        +# This verifies the existence of numactl as well as testing that the command works
        +NUMACTL_ARGS="--interleave=all"
        +if which numactl >/dev/null 2>/dev/null && numactl $NUMACTL_ARGS ls / >/dev/null 2>/dev/null
        +then
        +    NUMACTL="`which numactl` -- $NUMACTL_ARGS"
        +    DAEMON_OPTS="$DAEMON_OPTS"
        +else
        +    NUMACTL=""
        +    DAEMON_OPTS="-- $DAEMON_OPTS"
        +fi
        +
        +if test ! -x $DAEMON; then
        +    echo "Could not find $DAEMON"
        +    exit 0
        +fi
        +
        +if test "x$ENABLE_MONGODB" != "xyes"; then
        +    exit 0
        +fi
        +
        +. /lib/lsb/init-functions
        +
        +STARTTIME=1
        +DIETIME=10                  # Time to wait for the server to die, in seconds
        +                            # If this value is set too low you might not
        +                            # let some servers to die gracefully and
        +                            # 'restart' will not work
        +
        +DAEMON_USER=${DAEMON_USER:-mongodb}
        +
        +# debugging
        +echo "** Running $NAME ($DAEMON $DAEMON_OPTS)"
        +
        +set -e
        +
        +      +running_pid() {
        +# Check if a given process pid's cmdline matches a given name
        +    pid=$1
        +    name=$2
        +    [ -z "$pid" ] && return 1
        +    [ ! -d /proc/$pid ] &&  return 1
        +    cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1`
        +    # Is this the expected server
        +    [ "$cmd" != "$name" ] &&  return 1
        +    return 0
        +}
        +
        +running() {
        +# Check if the process is running looking at /proc
        +# (works for all users)
        +
        +    # No pidfile, probably no daemon present
        +    [ ! -f "$PIDFILE" ] && return 1
        +    pid=`cat $PIDFILE`
        +    running_pid $pid $DAEMON || return 1
        +    for i in `seq 1 20`; do
        +      nc -z 0.0.0.0 27017 && return 0
        +      echo -n "."
        +      sleep 15
        +    done
        +    return 1
        +}
        +
        +start_server() {
        +# Start the process using the wrapper
        +            start-stop-daemon --background --start --quiet --pidfile $PIDFILE \
        +                        --make-pidfile --chuid $DAEMON_USER \
        +                        --exec $NUMACTL $DAEMON $DAEMON_OPTS
        +            errcode=$?
        +    return $errcode
        +}
        +
        +stop_server() {
        +# Stop the process using the wrapper
        +            start-stop-daemon --stop --quiet --pidfile $PIDFILE \
        +                        --retry 300 \
        +                        --user $DAEMON_USER \
        +                        --exec $DAEMON
        +            errcode=$?
        +    return $errcode
        +}
        +
        +force_stop() {
        +# Force the process to die killing it manually
        +    [ ! -e "$PIDFILE" ] && return
        +    if running ; then
        +        kill -15 $pid
        +    # Is it really dead?
        +        sleep "$DIETIME"s
        +        if running ; then
        +            kill -9 $pid
        +            sleep "$DIETIME"s
        +            if running ; then
        +                echo "Cannot kill $NAME (pid=$pid)!"
        +                exit 1
        +            fi
        +        fi
        +    fi
        +    rm -f $PIDFILE
        +}
        +
        +
        +
        +case "$1" in
        +  start)
        +    log_daemon_msg "Starting $DESC" "$NAME"
        +        # Check if it's running first
        +        if running ;  then
        +            log_progress_msg "apparently already running"
        +            log_end_msg 0
        +            exit 0
        +        fi
        +        if start_server ; then
        +            # NOTE: Some servers might die some time after they start,
        +            # this code will detect this issue if STARTTIME is set
        +            # to a reasonable value
        +            [ -n "$STARTTIME" ] && sleep $STARTTIME # Wait some time
        +            if  running ;  then
        +                # It's ok, the server started and is running
        +                log_end_msg 0
        +            else
        +                # It is not running after we did start
        +                log_end_msg 1
        +            fi
        +        else
        +            # Either we could not start it
        +            log_end_msg 1
        +        fi
        +    ;;
        +  stop)
        +        log_daemon_msg "Stopping $DESC" "$NAME"
        +        if running ; then
        +            # Only stop the server if we see it running
        +            errcode=0
        +            stop_server || errcode=$?
        +            log_end_msg $errcode
        +        else
        +            # If it's not running don't do anything
        +            log_progress_msg "apparently not running"
        +            log_end_msg 0
        +            exit 0
        +        fi
        +        ;;
        +  force-stop)
        +        # First try to stop gracefully the program
        +        $0 stop
        +        if running; then
        +            # If it's still running try to kill it more forcefully
        +            log_daemon_msg "Stopping (force) $DESC" "$NAME"
        +            errcode=0
        +            force_stop || errcode=$?
        +            log_end_msg $errcode
        +        fi
        +    ;;
        +  restart|force-reload)
        +        log_daemon_msg "Restarting $DESC" "$NAME"
        +        errcode=0
        +        stop_server || errcode=$?
        +        # Wait some sensible amount, some server need this
        +        [ -n "$DIETIME" ] && sleep $DIETIME
        +        start_server || errcode=$?
        +        [ -n "$STARTTIME" ] && sleep $STARTTIME
        +        running || errcode=$?
        +        log_end_msg $errcode
        +    ;;
        +  status)
        +
        +        log_daemon_msg "Checking status of $DESC" "$NAME"
        +        if running ;  then
        +            log_progress_msg "running"
        +            log_end_msg 0
        +        else
        +            log_progress_msg "apparently not running"
        +            log_end_msg 1
        +            exit 1
        +        fi
        +        ;;
        +  # MongoDB can't reload its configuration.
     +        log_warning_msg "Reloading $NAME daemon: not implemented, as the daemon"
        +        log_warning_msg "cannot re-read the config file (use restart)."
        +        ;;
        +
        +  *)
        +    N=/etc/init.d/$NAME
        +    echo "Usage: $N {start|stop|force-stop|restart|force-reload|status}" >&2
        +    exit 1
        +    ;;
        +esac
        +
        +exit 0
        +
           - change mode from '' to '0755'
           - change owner from '' to 'root'
           - change group from '' to 'root'
         * package[mongodb-org] action install
       ================================================================================
       Error executing action `install` on resource 'package[mongodb-org]'
       ================================================================================

       Mixlib::ShellOut::ShellCommandFailed
       ------------------------------------
       Expected process to exit with [0], but received '100'
       ---- Begin output of apt-cache policy mongodb-org ----
       STDOUT:
       STDERR: E: Malformed line 1 in source list /etc/apt/sources.list.d/mongodb.list (URI parse)
       E: The list of sources could not be read.
       E: The package lists or status file could not be parsed or opened.
       ---- End output of apt-cache policy mongodb-org ----
       Ran apt-cache policy mongodb-org returned 100

       Resource Declaration:
       ---------------------
       # In /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb

        78:   package node[:mongodb][:package_name] do
        79:     options packager_opts
        80:     action :install
        81:     version node[:mongodb][:package_version]
        82:   end
        83: end

       Compiled Resource:
       ------------------
       # Declared in /tmp/kitchen/cache/cookbooks/mongodb/recipes/install.rb:78:in `from_file'

       package("mongodb-org") do
         action [:install]
         retries 0
         retry_delay 2
         guard_interpreter :default
         options "-o Dpkg::Options::=\"--force-confold\" --force-yes"
         package_name "mongodb-org"
         cookbook_name "mongodb"
         recipe_name "install"
       end


         * service[mongodb] action restart
           - restart service service[mongodb]
     Running handlers:
       [2015-07-14T22:51:20+00:00] ERROR: Running exception handlers
       Running handlers complete
       [2015-07-14T22:51:20+00:00] ERROR: Exception handlers complete
       [2015-07-14T22:51:20+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       Chef Client failed. 13 resources updated in 29.911735359 seconds
       [2015-07-14T22:51:20+00:00] ERROR: package[mongodb-org] (mongodb::install line 78) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'
       ---- Begin output of apt-cache policy mongodb-org ----
       STDOUT:
       STDERR: E: Malformed line 1 in source list /etc/apt/sources.list.d/mongodb.list (URI parse)
       E: The list of sources could not be read.
       E: The package lists or status file could not be parsed or opened.
       ---- End output of apt-cache policy mongodb-org ----
       Ran apt-cache policy mongodb-org returned 100
       [2015-07-14T22:51:20+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
>>>>>> Converge failed on instance <default-mongodb-org-repo-debian-720>.
>>>>>> Please see .kitchen/logs/default-mongodb-org-repo-debian-720.log for more details
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: SSH exited (1) for command: [sh -c '

sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']
>>>>>> ----------------------

Break Backward Compatibility

From edelight/chef-mongodb#308

Note: this ticket may be out of date.

Someday soon we're going to have to break backwards compatibility, and we may as well rip the bandage off. This is a tracking ticket for all the backwards incompatible changes that should go into the next breaking release (1.0?).

  • allow arbitrary shard names
  • separate shard and replicaset names
  • remove references to 10gen
  • support compound sharding keys
  • stop creating a mongodb_instance in mongodb::default
  • update default paths to match mongodb defaults
  • use yaml format config, incompatible with < 2.6 mongo

Cannot specify custom dbpath

Whenever I set the dbpath before running the recipes, mongodb fails launching. If I just run mongodb::default, /var/log/mongodb is empty. If I include the 10gen_repo beforehand, I get the log below.

However, everything works as expected if I leave in the default dbpath.

2015-07-24T14:15:39.048+0000 [initandlisten] MongoDB starting : pid=12300 port=27017 dbpath=/mongo/data 64-bit host=tst-mng-10gen
2015-07-24T14:15:39.051+0000 [initandlisten] db version v2.6.10
2015-07-24T14:15:39.051+0000 [initandlisten] git version: 5901dbfb49d16eaef6f2c2c50fba534d23ac7f6c
2015-07-24T14:15:39.051+0000 [initandlisten] build info: Linux build18.nj1.10gen.cc 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3 21:39:27 UTC 2014 x86_64 BOOST_LIB_VERSION=1_49
2015-07-24T14:15:39.051+0000 [initandlisten] allocator: tcmalloc
2015-07-24T14:15:39.051+0000 [initandlisten] options: { config: "/etc/mongod.conf", net: { bindIp: "0.0.0.0", port: 27017 }, security: { authorization: "enabled" }, storage: { dbPath: "/mongo/data" }, systemLog: { destination: "file", logAppend: true, path: "/var/log/mongodb/mongodb.log" } }
2015-07-24T14:15:39.055+0000 [initandlisten] exception in initAndListen: 10296


ERROR: dbpath (/mongo/data) does not exist.
Create this directory or give existing directory in --dbpath.
See http://dochub.mongodb.org/core/startingandstoppingmongo


, terminating
2015-07-24T14:15:39.055+0000 [initandlisten] dbexit:
2015-07-24T14:15:39.055+0000 [initandlisten] shutdown: going to close listening sockets...
2015-07-24T14:15:39.055+0000 [initandlisten] shutdown: going to flush diaglog...
2015-07-24T14:15:39.055+0000 [initandlisten] shutdown: going to close sockets...
2015-07-24T14:15:39.055+0000 [initandlisten] shutdown: waiting for fs preallocator...
2015-07-24T14:15:39.055+0000 [initandlisten] shutdown: lock for final commit...
2015-07-24T14:15:39.055+0000 [initandlisten] shutdown: final commit...
2015-07-24T14:15:39.055+0000 [initandlisten] shutdown: closing all files...
2015-07-24T14:15:39.055+0000 [initandlisten] closeAllFiles() finished
2015-07-24T14:15:39.055+0000 [initandlisten] dbexit: really exiting now

Failing Test: mongos-ubuntu-1004

I, [2015-07-15T21:54:30.679368 #39876]  INFO -- mongos-ubuntu-1004: -----> Cleaning up any prior instances of <mongos-ubuntu-1004>
I, [2015-07-15T21:54:30.679792 #39876]  INFO -- mongos-ubuntu-1004: -----> Destroying <mongos-ubuntu-1004>...
I, [2015-07-15T21:54:30.680594 #39876]  INFO -- mongos-ubuntu-1004: Finished destroying <mongos-ubuntu-1004> (0m0.00s).
I, [2015-07-15T21:54:30.680889 #39876]  INFO -- mongos-ubuntu-1004: -----> Testing <mongos-ubuntu-1004>
I, [2015-07-15T21:54:30.680971 #39876]  INFO -- mongos-ubuntu-1004: -----> Creating <mongos-ubuntu-1004>...
I, [2015-07-15T21:54:32.837738 #39876]  INFO -- mongos-ubuntu-1004: Bringing machine 'default' up with 'virtualbox' provider...
I, [2015-07-15T21:54:33.138693 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Importing base box 'opscode-ubuntu-10.04'...
I, [2015-07-15T21:54:41.167878 #39876]  INFO -- mongos-ubuntu-1004: 
�[KProgress: 10%
�[KProgress: 30%
�[KProgress: 40%
�[KProgress: 50%
�[KProgress: 60%
�[KProgress: 70%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
I, [2015-07-15T21:54:42.194082 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Setting the name of the VM: kitchen-mongodb-cookbook-mongos-ubuntu-1004_default_1437011682128_81439
I, [2015-07-15T21:54:44.610655 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Fixed port collision for 22 => 2222. Now on port 2215.
I, [2015-07-15T21:54:44.674193 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Clearing any previously set network interfaces...
I, [2015-07-15T21:54:44.727682 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Preparing network interfaces based on configuration...
I, [2015-07-15T21:54:44.727980 #39876]  INFO -- mongos-ubuntu-1004:     default: Adapter 1: nat
I, [2015-07-15T21:54:44.779411 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Forwarding ports...
I, [2015-07-15T21:54:44.862807 #39876]  INFO -- mongos-ubuntu-1004:     default: 22 => 2215 (adapter 1)
I, [2015-07-15T21:54:45.039465 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Running 'pre-boot' VM customizations...
I, [2015-07-15T21:54:45.084401 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Booting VM...
I, [2015-07-15T21:54:45.419972 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Waiting for machine to boot. This may take a few minutes...
I, [2015-07-15T21:54:45.820289 #39876]  INFO -- mongos-ubuntu-1004:     default: SSH address: 127.0.0.1:2215
I, [2015-07-15T21:54:45.820497 #39876]  INFO -- mongos-ubuntu-1004:     default: SSH username: vagrant
I, [2015-07-15T21:54:45.820521 #39876]  INFO -- mongos-ubuntu-1004:     default: SSH auth method: private key
I, [2015-07-15T21:55:00.984978 #39876]  INFO -- mongos-ubuntu-1004:     default: Warning: Connection timeout. Retrying...
I, [2015-07-15T21:55:01.780278 #39876]  INFO -- mongos-ubuntu-1004:     default: 
I, [2015-07-15T21:55:01.780425 #39876]  INFO -- mongos-ubuntu-1004:     default: Vagrant insecure key detected. Vagrant will automatically replace
I, [2015-07-15T21:55:01.780494 #39876]  INFO -- mongos-ubuntu-1004:     default: this with a newly generated keypair for better security.
I, [2015-07-15T21:55:02.216184 #39876]  INFO -- mongos-ubuntu-1004:     default: 
I, [2015-07-15T21:55:02.216241 #39876]  INFO -- mongos-ubuntu-1004:     default: Inserting generated public key within guest...
I, [2015-07-15T21:55:02.389373 #39876]  INFO -- mongos-ubuntu-1004:     default: Removing insecure key from the guest if it's present...
I, [2015-07-15T21:55:02.467255 #39876]  INFO -- mongos-ubuntu-1004:     default: Key inserted! Disconnecting and reconnecting using new SSH key...
I, [2015-07-15T21:55:03.515694 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Machine booted and ready!
I, [2015-07-15T21:55:03.516133 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Checking for guest additions in VM...
I, [2015-07-15T21:55:03.580503 #39876]  INFO -- mongos-ubuntu-1004: ==> default: Setting hostname...
I, [2015-07-15T21:55:03.853084 #39876]  INFO -- mongos-ubuntu-1004: The following SSH command responded with a non-zero exit status.
I, [2015-07-15T21:55:03.853156 #39876]  INFO -- mongos-ubuntu-1004: Vagrant assumes that this means the command failed!
I, [2015-07-15T21:55:03.853178 #39876]  INFO -- mongos-ubuntu-1004: 
I, [2015-07-15T21:55:03.853194 #39876]  INFO -- mongos-ubuntu-1004: hostnamectl set-hostname 'mongos-ubuntu-1004'
I, [2015-07-15T21:55:03.853208 #39876]  INFO -- mongos-ubuntu-1004: 
I, [2015-07-15T21:55:03.853221 #39876]  INFO -- mongos-ubuntu-1004: Stdout from the command:
I, [2015-07-15T21:55:03.853234 #39876]  INFO -- mongos-ubuntu-1004: 
I, [2015-07-15T21:55:03.853247 #39876]  INFO -- mongos-ubuntu-1004: 
I, [2015-07-15T21:55:03.853260 #39876]  INFO -- mongos-ubuntu-1004: 
I, [2015-07-15T21:55:03.853273 #39876]  INFO -- mongos-ubuntu-1004: Stderr from the command:
I, [2015-07-15T21:55:03.853367 #39876]  INFO -- mongos-ubuntu-1004: 
I, [2015-07-15T21:55:03.853398 #39876]  INFO -- mongos-ubuntu-1004: stdin: is not a tty
I, [2015-07-15T21:55:03.853413 #39876]  INFO -- mongos-ubuntu-1004: bash: line 2: hostnamectl: command not found
E, [2015-07-15T21:55:03.903576 #39876] ERROR -- mongos-ubuntu-1004: Create failed on instance <mongos-ubuntu-1004>.
E, [2015-07-15T21:55:03.903817 #39876] ERROR -- mongos-ubuntu-1004: ------Exception-------
E, [2015-07-15T21:55:03.903984 #39876] ERROR -- mongos-ubuntu-1004: Class: Kitchen::ShellOut::ShellCommandFailed
E, [2015-07-15T21:55:03.904002 #39876] ERROR -- mongos-ubuntu-1004: Message: Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-ubuntu-10.04'...

�[KProgress: 10%
�[KProgress: 30%
�[KProgress: 40%
�[KProgress: 50%
�[KProgress: 60%
�[KProgress: 70%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: kitchen-mongodb-cookbook-mongos-ubuntu-1004_default_1437011682128_81439
==> default: Fixed port collision for 22 => 2222. Now on port 2215.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2215 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2215
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: 
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default: 
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

hostnamectl set-hostname 'mongos-ubuntu-1004'

Stdout from the command:



Stderr from the command:

stdin: is not a tty
bash: line 2: hostnamectl: command not found
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1
E, [2015-07-15T21:55:03.904042 #39876] ERROR -- mongos-ubuntu-1004: ---Nested Exception---
E, [2015-07-15T21:55:03.904056 #39876] ERROR -- mongos-ubuntu-1004: Class: Mixlib::ShellOut::ShellCommandFailed
E, [2015-07-15T21:55:03.904070 #39876] ERROR -- mongos-ubuntu-1004: Message: Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opscode-ubuntu-10.04'...

�[KProgress: 10%
�[KProgress: 30%
�[KProgress: 40%
�[KProgress: 50%
�[KProgress: 60%
�[KProgress: 70%
�[KProgress: 80%
�[KProgress: 90%
�[K==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: kitchen-mongodb-cookbook-mongos-ubuntu-1004_default_1437011682128_81439
==> default: Fixed port collision for 22 => 2222. Now on port 2215.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2215 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2215
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: 
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default: 
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
STDERR: The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

hostnamectl set-hostname 'mongos-ubuntu-1004'

Stdout from the command:



Stderr from the command:

stdin: is not a tty
bash: line 2: hostnamectl: command not found
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1
E, [2015-07-15T21:55:03.904113 #39876] ERROR -- mongos-ubuntu-1004: ------Backtrace-------
E, [2015-07-15T21:55:03.904127 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/shell_out.rb:73:in `rescue in run_command'
E, [2015-07-15T21:55:03.904140 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/shell_out.rb:61:in `run_command'
E, [2015-07-15T21:55:03.904152 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:318:in `run_command'
E, [2015-07-15T21:55:03.904171 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:302:in `run'
E, [2015-07-15T21:55:03.904185 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:348:in `run_vagrant_up'
E, [2015-07-15T21:55:03.904197 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-vagrant-0.18.0/lib/kitchen/driver/vagrant.rb:88:in `create'
E, [2015-07-15T21:55:03.904208 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:424:in `public_send'
E, [2015-07-15T21:55:03.904220 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:424:in `block in perform_action'
E, [2015-07-15T21:55:03.904233 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:485:in `call'
E, [2015-07-15T21:55:03.904267 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:485:in `block in synchronize_or_call'
E, [2015-07-15T21:55:03.904280 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:483:in `synchronize'
E, [2015-07-15T21:55:03.904292 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:483:in `synchronize_or_call'
E, [2015-07-15T21:55:03.904303 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:453:in `block in action'
E, [2015-07-15T21:55:03.904315 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T21:55:03.904333 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:452:in `action'
E, [2015-07-15T21:55:03.904357 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:424:in `perform_action'
E, [2015-07-15T21:55:03.904381 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:352:in `create_action'
E, [2015-07-15T21:55:03.904546 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:341:in `block in transition_to'
E, [2015-07-15T21:55:03.904573 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `each'
E, [2015-07-15T21:55:03.904600 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:340:in `transition_to'
E, [2015-07-15T21:55:03.904615 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:160:in `verify'
E, [2015-07-15T21:55:03.904629 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:189:in `block in test'
E, [2015-07-15T21:55:03.904644 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
E, [2015-07-15T21:55:03.904656 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/instance.rb:185:in `test'
E, [2015-07-15T21:55:03.904671 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `public_send'
E, [2015-07-15T21:55:03.904688 #39876] ERROR -- mongos-ubuntu-1004: /opt/chefdk/embedded/apps/test-kitchen/lib/kitchen/command.rb:176:in `block (2 levels) in run_action'
E, [2015-07-15T21:55:03.904700 #39876] ERROR -- mongos-ubuntu-1004: ----------------------

When specifying a package version, the packages below metapackage do not respect version

Originally from edelight/chef-mongodb#378

When specifying a specific package version to install, the metapackage installed is of the correct version but the packages below that are not correct.

node.default['mongodb']['package_version'] = '2.6.7'
[lzarou@mpqa1mdb03 / ]$ dpkg -l | grep mongo
ii  mongodb-org                              2.6.7                            amd64        MongoDB open source document-oriented database system (metapackage)
ii  mongodb-org-mongos                       2.6.8                            amd64        MongoDB sharded cluster query router
ii  mongodb-org-server                       2.6.8                            amd64        MongoDB database server
ii  mongodb-org-shell                        2.6.8                            amd64        MongoDB shell client
ii  mongodb-org-tools                        2.6.8                            amd64        MongoDB tools

The mongo documentation talks about specifying the version for each subpackage during install.

http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/?_ga=1.205420498.331254452.1423066281#install-a-specific-release-of-mongodb

Is this a direction we should move in? I don't mind throwing together a PR to install each of those packages separately for debian/ubuntu but I am curious as to thoughts before going in that direction.

Abstract away chef search for discovery

From edelight/chef-mongodb#215

Chef Search is used for three purposes in this cookbook:

While chef search is great for a good out-of-the-box experience, it's actually quite poorly suited to the task of configuring a database cluster:

  • solr updates not synchronous, so an overloaded chef-server may be many seconds behind actual configuration
  • node objects in the chef-server may diverge from actual running instances
  • chef solo does not natively support search, requiring chef-solo-search

Additionally, our use of search has other problems:

  • hard-coded search queries require nodes to match our expected attributes, which may not suit the needs of some users
  • assuming the result of discovery is from chef search causes the code to assume it is receiving chef node objects, which makes it cumbersome to replace with another discovery implementation, or ever to stub for testing

Considering all those issues, we should strive to isolate our use of chef-search for discovery. To tackle this, we'll need to:

Improve Library, Definition & Resource APIs

Pull access to node objects out from library functions, and ultimately out of the mongodb_instance definition so wrapper cookbooks can provide alternative discovery methods. These should be possible while remaining backwards compatible.

This should require refactoring MongoDB::configure_replicaset and MongoDB::configure_shards to accept a mere array of strings as node identifiers. To do this, mongodb_instance will need to extract the correct attributes for each node.

With this done, that logic will need to be pulled up into the cookbooks which call mongodb_instance. At this point, it will probably be useful to create a helper library to abstract this discovery. I suggest we model this library after search_for_nodes from the elasticsearch cookbook, and the discovery cookbook from Heavywater.

Improve cookbook API

Define a set of node attributes which allow overriding discovery for most use cases:

  • search by role
  • search by tag
  • search by arbitrary query
  • select fqdn attribute from each matched nodes
  • select cloud.local_ipv4 attribute from each matched nodes
  • select cloud. public_ipv4 attribute from each matched nodes
  • select ipaddress attributes from each matched nodes

I suggest we model our use of attributes after search in the elasticsearch cookbook, which uses:

  • node['elasticsearch']['discovery']['search_query'] - which defaults to roles:elasticsearch AND chef_environment:#{node.chef_environment} AND elasticsearch_cluster_name:#{node[:elasticsearch][:cluster][:name]}"
  • node['elasticsearch']['discovery']['node_attribute'] - which defaults to cloud.local_ipv4 if it exists, or ipaddress

This implies the following :

  • node['elasticsearch']['discovery']['search_query'] - which defaults to roles:elasticsearch AND chef_environment:#{node.chef_environment} AND elasticsearch_cluster_name:#{node[:elasticsearch][:cluster][:name]}"
  • node['elasticsearch']['discovery']['node_attribute'] - which defaults to cloud.local_ipv4 if it exists, or ipaddress

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.