sous-chefs / sc-mongodb

Development repository for the sc-mongodb cookbook
https://supermarket.chef.io/cookbooks/sc-mongodb
Apache License 2.0
75 stars 92 forks source link

Failing Test: mongos-centos-70 #63

Closed zarry closed 7 years ago

zarry commented 9 years ago
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: 
Progress: 20%
Progress: 50%
Progress: 60%
Progress: 70%
Progress: 90%
==> 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: ----------------------
rex commented 9 years ago

Missing Development Tools

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.
shortdudey123 commented 7 years ago

Completed in v1 rewrite

lock[bot] commented 6 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.