aws / opsworks-cookbooks

Chef Cookbooks for the AWS OpsWorks Service
Other
1.05k stars 1.23k forks source link

Bad patch level value for ruby #193

Closed mhalligan closed 5 years ago

mhalligan commented 10 years ago

Setting up a node without any cookbooks applied besides the daault with ubuntu 14.04 and chef 11.10 fails due to a missing ruby deb in your apt servers because you specify patch-level 454 by default in ruby/attributes/ruby.rb: default[:ruby][:patch] = 'p451'

resulting in this error:

[2014-08-19T20:28:28+00:00] INFO: Starting chef-zero on port 8889 with repository at repository at /opt/aws/opsworks/current One version per cookbook data_bags at /var/lib/aws/opsworks/data/data_bags nodes at /var/lib/aws/opsworks/data/nodes

[2014-08-19T20:28:28+00:00] INFO: Forking chef instance to converge... [2014-08-19T20:28:28+00:00] INFO: * Chef 11.10.4 * [2014-08-19T20:28:28+00:00] INFO: Chef-client pid: 13270 [2014-08-19T20:28:29+00:00] INFO: Setting the run_list to ["opsworks_custom_cookbooks::load", "opsworks_custom_cookbooks::execute"] from JSON [2014-08-19T20:28:29+00:00] WARN: Run List override has been provided. [2014-08-19T20:28:29+00:00] WARN: Original Run List: [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]] [2014-08-19T20:28:29+00:00] WARN: Overridden Run List: [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]] [2014-08-19T20:28:29+00:00] INFO: Run List is [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]] [2014-08-19T20:28:29+00:00] INFO: Run List expands to [opsworks_custom_cookbooks::load, opsworks_custom_cookbooks::execute] [2014-08-19T20:28:29+00:00] INFO: Starting Chef Run for gateway-python1.localdomain [2014-08-19T20:28:29+00:00] INFO: Running start handlers [2014-08-19T20:28:29+00:00] INFO: Start handlers complete. [2014-08-19T20:28:29+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: /reports/nodes/gateway-python1.localdomain/runs [2014-08-19T20:28:37+00:00] INFO: Loading cookbooks [apache2, dependencies, deploy, gem_support, mod_php5_apache2, mysql, nginx, opsworks_agent_monit, opsworks_berkshelf, opsworks_bundler, opsworks_commons, opsworks_custom_cookbooks, opsworks_initial_setup, opsworks_java, opsworks_nodejs, opsworks_rubygems, packages, passenger_apache2, php, rails, ruby, scm_helper, ssh_users, unicorn] [2014-08-19T20:28:38+00:00] INFO: Not needed with Chef 11.x (x >= 8) anymore. [2014-08-19T20:28:38+00:00] INFO: Processing package[git-core] action install (opsworks_custom_cookbooks::checkout line 9) [2014-08-19T20:28:38+00:00] INFO: Processing directory[/root/.ssh] action create (opsworks_custom_cookbooks::checkout line 8) [2014-08-19T20:28:38+00:00] INFO: Processing file[/root/.ssh/config] action touch (opsworks_custom_cookbooks::checkout line 16) [2014-08-19T20:28:38+00:00] INFO: file[/root/.ssh/config] updated atime and mtime to 2014-08-19 20:28:38 +0000 [2014-08-19T20:28:38+00:00] INFO: Processing execute[echo 'StrictHostKeyChecking no' > /root/.ssh/config] action run (opsworks_custom_cookbooks::checkout line 23) [2014-08-19T20:28:38+00:00] INFO: Processing template[/root/.ssh/id_dsa] action create (opsworks_custom_cookbooks::checkout line 27) [2014-08-19T20:28:38+00:00] INFO: Processing git[Download Custom Cookbooks] action checkout (opsworks_custom_cookbooks::checkout line 29) [2014-08-19T20:28:38+00:00] INFO: Processing ruby_block[Move single cookbook contents into appropriate subdirectory] action run (opsworks_custom_cookbooks::checkout line 64) [2014-08-19T20:28:38+00:00] INFO: Processing opsworks_berkshelf_runner[Install berkshelf cookbooks] action berks_install (opsworks_berkshelf::install line 54) [2014-08-19T20:28:38+00:00] INFO: Processing directory[/opt/aws/opsworks/current/berkshelf-cookbooks] action delete (/var/lib/aws/opsworks/cache.stage1/cookbooks/opsworks_berkshelf/providers/runner.rb line 2) [2014-08-19T20:28:38+00:00] INFO: directory[/opt/aws/opsworks/current/berkshelf-cookbooks] deleted /opt/aws/opsworks/current/berkshelf-cookbooks recursively [2014-08-19T20:28:38+00:00] INFO: Processing ruby_block[Install the cookbooks specified in the Berksfile and their dependencies] action run (/var/lib/aws/opsworks/cache.stage1/cookbooks/opsworks_berkshelf/providers/runner.rb line 11) [2014-08-19T20:28:41+00:00] INFO: Resolving cookbook dependencies... Fetching 'rcp' from source at rcp Fetching cookbook index from https://api.berkshelf.com... Using 7-zip (1.0.2) Using ant (1.0.2) Using apt (2.5.2) Using ark (0.9.0) Using build-essential (2.0.6) Using chef_handler (1.1.6) Using dmg (2.2.0) Using git (4.0.2) Using java (1.26.0) Using logrotate (1.6.0) Using logstash (0.9.2) Using python (1.4.6) Using rcp (0.0.24) from source at rcp Using runit (1.5.10) Using windows (1.34.2) Using yum (3.2.2) Using yum-epel (0.4.0) Vendoring 7-zip (1.0.2) to /opt/aws/opsworks/current/berkshelf-cookbooks/7-zip Vendoring ant (1.0.2) to /opt/aws/opsworks/current/berkshelf-cookbooks/ant Vendoring apt (2.5.2) to /opt/aws/opsworks/current/berkshelf-cookbooks/apt Vendoring ark (0.9.0) to /opt/aws/opsworks/current/berkshelf-cookbooks/ark Vendoring build-essential (2.0.6) to /opt/aws/opsworks/current/berkshelf-cookbooks/build-essential Vendoring chef_handler (1.1.6) to /opt/aws/opsworks/current/berkshelf-cookbooks/chef_handler Vendoring dmg (2.2.0) to /opt/aws/opsworks/current/berkshelf-cookbooks/dmg Vendoring git (4.0.2) to /opt/aws/opsworks/current/berkshelf-cookbooks/git Vendoring java (1.26.0) to /opt/aws/opsworks/current/berkshelf-cookbooks/java Vendoring logrotate (1.6.0) to /opt/aws/opsworks/current/berkshelf-cookbooks/logrotate Vendoring logstash (0.9.2) to /opt/aws/opsworks/current/berkshelf-cookbooks/logstash Vendoring python (1.4.6) to /opt/aws/opsworks/current/berkshelf-cookbooks/python Vendoring rcp (0.0.24) to /opt/aws/opsworks/current/berkshelf-cookbooks/rcp Vendoring runit (1.5.10) to /opt/aws/opsworks/current/berkshelf-cookbooks/runit Vendoring windows (1.34.2) to /opt/aws/opsworks/current/berkshelf-cookbooks/windows Vendoring yum (3.2.2) to /opt/aws/opsworks/current/berkshelf-cookbooks/yum Vendoring yum-epel (0.4.0) to /opt/aws/opsworks/current/berkshelf-cookbooks/yum-epel

[2014-08-19T20:28:41+00:00] INFO: ruby_block[Install the cookbooks specified in the Berksfile and their dependencies] called [2014-08-19T20:28:41+00:00] INFO: Processing execute[ensure correct permissions of custom cookbooks] action run (opsworks_custom_cookbooks::checkout line 82) [2014-08-19T20:28:41+00:00] INFO: execute[ensure correct permissions of custom cookbooks] ran successfully [2014-08-19T20:28:41+00:00] INFO: Processing ruby_block[merge all cookbooks sources] action run (opsworks_custom_cookbooks::load line 12) [2014-08-19T20:28:42+00:00] INFO: ruby_block[merge all cookbooks sources] called [2014-08-19T20:28:42+00:00] WARN: Skipping final node save because override_runlist was given [2014-08-19T20:28:42+00:00] INFO: Chef Run complete in 12.075183326 seconds [2014-08-19T20:28:42+00:00] INFO: Running report handlers [2014-08-19T20:28:42+00:00] INFO: Report handlers complete


[2014-08-19T20:28:43+00:00] INFO: Starting chef-zero on port 8889 with repository at repository at /opt/aws/opsworks/current One version per cookbook data_bags at /var/lib/aws/opsworks/data/data_bags nodes at /var/lib/aws/opsworks/data/nodes

[2014-08-19T20:28:43+00:00] INFO: Forking chef instance to converge... [2014-08-19T20:28:43+00:00] INFO: * Chef 11.10.4 * [2014-08-19T20:28:43+00:00] INFO: Chef-client pid: 13446 [2014-08-19T20:28:44+00:00] INFO: Setting the run_list to ["opsworks_custom_cookbooks::load", "opsworks_custom_cookbooks::execute"] from JSON [2014-08-19T20:28:44+00:00] WARN: Run List override has been provided. [2014-08-19T20:28:44+00:00] WARN: Original Run List: [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]] [2014-08-19T20:28:44+00:00] WARN: Overridden Run List: [recipe[opsworks_initial_setup], recipe[ssh_host_keys], recipe[ssh_users], recipe[mysql::client], recipe[dependencies], recipe[ebs], recipe[opsworks_ganglia::client], recipe[opsworks_stack_state_sync], recipe[python], recipe[deploy::default], recipe[test_suite], recipe[opsworks_cleanup]] [2014-08-19T20:28:44+00:00] INFO: Run List is [recipe[opsworks_initial_setup], recipe[ssh_host_keys], recipe[ssh_users], recipe[mysql::client], recipe[dependencies], recipe[ebs], recipe[opsworks_ganglia::client], recipe[opsworks_stack_state_sync], recipe[python], recipe[deploy::default], recipe[test_suite], recipe[opsworks_cleanup]] [2014-08-19T20:28:44+00:00] INFO: Run List expands to [opsworks_initial_setup, ssh_host_keys, ssh_users, mysql::client, dependencies, ebs, opsworks_ganglia::client, opsworks_stack_state_sync, python, deploy::default, test_suite, opsworks_cleanup] [2014-08-19T20:28:44+00:00] INFO: Starting Chef Run for gateway-python1.localdomain [2014-08-19T20:28:44+00:00] INFO: Running start handlers [2014-08-19T20:28:44+00:00] INFO: Start handlers complete. [2014-08-19T20:28:44+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: /reports/nodes/gateway-python1.localdomain/runs [2014-08-19T20:29:01+00:00] INFO: Loading cookbooks [apache2, build-essential, dependencies, deploy, ebs, gem_support, mod_php5_apache2, mysql, nginx, opsworks_agent_monit, opsworks_bundler, opsworks_cleanup, opsworks_commons, opsworks_ganglia, opsworks_initial_setup, opsworks_java, opsworks_postgresql, opsworks_rubygems, opsworks_stack_state_sync, packages, passenger_apache2, php, python, rails, ruby, ruby_enterprise, ssh_host_keys, ssh_users, test_suite, unicorn, yum, yum-epel] [2014-08-19T20:29:02+00:00] INFO: Storing updated cookbooks/ssh_host_keys/recipes/default.rb in the cache. [2014-08-19T20:29:02+00:00] INFO: Storing updated cookbooks/ssh_host_keys/libraries/host_key.rb in the cache. [2014-08-19T20:29:02+00:00] INFO: Storing updated cookbooks/ssh_host_keys/metadata.rb in the cache. [2014-08-19T20:29:02+00:00] INFO: Storing updated cookbooks/ssh_users/recipes/default.rb in the cache. [2014-08-19T20:29:02+00:00] INFO: Storing updated cookbooks/ssh_users/libraries/user.rb in the cache. [2014-08-19T20:29:02+00:00] INFO: Storing updated cookbooks/ssh_users/attributes/customize.rb in the cache. [2014-08-19T20:29:02+00:00] INFO: Storing updated cookbooks/ssh_users/attributes/default.rb in the cache. [2014-08-19T20:29:02+00:00] INFO: Storing updated cookbooks/ssh_users/metadata.rb in the cache. [2014-08-19T20:29:02+00:00] INFO: Storing updated cookbooks/mysql/recipes/apparmor.rb in the cache. [2014-08-19T20:29:02+00:00] INFO: Storing updated cookbooks/mysql/recipes/stop.rb in the cache. [2014-08-19T20:29:02+00:00] INFO: Storing updated cookbooks/mysql/recipes/prepare.rb in the cache. [2014-08-19T20:29:03+00:00] INFO: Storing updated cookbooks/mysql/recipes/service.rb in the cache. [2014-08-19T20:29:03+00:00] INFO: Storing updated cookbooks/mysql/recipes/ebs.rb in the cache. [2014-08-19T20:29:03+00:00] INFO: Storing updated cookbooks/mysql/recipes/config.rb in the cache. [2014-08-19T20:29:03+00:00] INFO: Storing updated cookbooks/mysql/recipes/client_install.rb in the cache. [2014-08-19T20:29:03+00:00] INFO: Storing updated cookbooks/mysql/recipes/server.rb in the cache. [2014-08-19T20:29:03+00:00] INFO: Storing updated cookbooks/mysql/recipes/client.rb in the cache. [2014-08-19T20:29:03+00:00] INFO: Storing updated cookbooks/mysql/attributes/customize.rb in the cache. [2014-08-19T20:29:03+00:00] INFO: Storing updated cookbooks/mysql/attributes/server.rb in the cache. [2014-08-19T20:29:03+00:00] INFO: Storing updated cookbooks/mysql/metadata.rb in the cache. [2014-08-19T20:29:03+00:00] INFO: Storing updated cookbooks/ebs/recipes/default.rb in the cache. [2014-08-19T20:29:04+00:00] INFO: Storing updated cookbooks/ebs/recipes/volumes.rb in the cache. [2014-08-19T20:29:04+00:00] INFO: Storing updated cookbooks/ebs/recipes/raids.rb in the cache. [2014-08-19T20:29:04+00:00] INFO: Storing updated cookbooks/ebs/libraries/block_device.rb in the cache. [2014-08-19T20:29:04+00:00] INFO: Storing updated cookbooks/ebs/attributes/customize.rb in the cache. [2014-08-19T20:29:04+00:00] INFO: Storing updated cookbooks/ebs/attributes/default.rb in the cache. [2014-08-19T20:29:04+00:00] INFO: Storing updated cookbooks/ebs/metadata.rb in the cache. [2014-08-19T20:29:04+00:00] INFO: Storing updated cookbooks/opsworks_ganglia/recipes/monitor-mysql.rb in the cache. [2014-08-19T20:29:04+00:00] INFO: Storing updated cookbooks/opsworks_ganglia/recipes/bind-mount-data.rb in the cache. [2014-08-19T20:29:04+00:00] INFO: Storing updated cookbooks/opsworks_ganglia/recipes/monitor-disk.rb in the cache. [2014-08-19T20:29:04+00:00] INFO: Storing updated cookbooks/opsworks_ganglia/recipes/monitor-haproxy.rb in the cache. [2014-08-19T20:29:05+00:00] INFO: Storing updated cookbooks/opsworks_ganglia/recipes/monitor-apache.rb in the cache. [2014-08-19T20:29:05+00:00] INFO: Storing updated cookbooks/opsworks_ganglia/recipes/service-gmetad.rb in the cache. [2014-08-19T20:29:05+00:00] INFO: Storing updated cookbooks/opsworks_ganglia/recipes/monitor-fd-and-sockets.rb in the cache. [2014-08-19T20:29:05+00:00] INFO: Storing updated cookbooks/opsworks_ganglia/recipes/service.rb in the cache. [2014-08-19T20:29:05+00:00] INFO: Storing updated cookbooks/opsworks_ganglia/recipes/views.rb in the cache. [2014-08-19T20:29:05+00:00] INFO: Storing updated cookbooks/opsworks_ganglia/recipes/monitor-nginx.rb in the cache. [2014-08-19T20:29:05+00:00] INFO: Storing updated cookbooks/opsworks_ganglia/recipes/configure-server.rb in the cache. [2014-08-19T20:29:05+00:00] INFO: Storing updated cookbooks/opsworks_ganglia/recipes/configure-client.rb in the cache. [2014-08-19T20:29:05+00:00] INFO: Storing updated cookbooks/opsworks_ganglia/recipes/monitor-passenger.rb in the cache. [2014-08-19T20:29:05+00:00] INFO: Storing updated cookbooks/opsworks_ganglia/recipes/server.rb in the cache. [2014-08-19T20:29:05+00:00] INFO: Storing updated cookbooks/opsworks_ganglia/recipes/client.rb in the cache. [2014-08-19T20:29:06+00:00] INFO: Storing updated cookbooks/opsworks_ganglia/recipes/deploy.rb in the cache. [2014-08-19T20:29:06+00:00] INFO: Storing updated cookbooks/opsworks_ganglia/recipes/monitor-memcached.rb in the cache. [2014-08-19T20:29:06+00:00] INFO: Storing updated cookbooks/opsworks_ganglia/attributes/customize.rb in the cache. [2014-08-19T20:29:06+00:00] INFO: Storing updated cookbooks/opsworks_ganglia/attributes/default.rb in the cache. [2014-08-19T20:29:06+00:00] INFO: Storing updated cookbooks/opsworks_ganglia/metadata.rb in the cache. [2014-08-19T20:29:06+00:00] INFO: Storing updated cookbooks/python/resources/virtualenv.rb in the cache. [2014-08-19T20:29:06+00:00] INFO: Storing updated cookbooks/python/resources/pip.rb in the cache. [2014-08-19T20:29:06+00:00] INFO: Storing updated cookbooks/python/providers/virtualenv.rb in the cache. [2014-08-19T20:29:06+00:00] INFO: Storing updated cookbooks/python/providers/pip.rb in the cache. [2014-08-19T20:29:06+00:00] INFO: Storing updated cookbooks/python/recipes/default.rb in the cache. [2014-08-19T20:29:07+00:00] INFO: Storing updated cookbooks/python/recipes/source.rb in the cache. [2014-08-19T20:29:07+00:00] INFO: Storing updated cookbooks/python/recipes/virtualenv.rb in the cache. [2014-08-19T20:29:07+00:00] INFO: Storing updated cookbooks/python/recipes/package.rb in the cache. [2014-08-19T20:29:07+00:00] INFO: Storing updated cookbooks/python/recipes/pip.rb in the cache. [2014-08-19T20:29:07+00:00] INFO: Storing updated cookbooks/python/libraries/matchers.rb in the cache. [2014-08-19T20:29:07+00:00] INFO: Storing updated cookbooks/python/attributes/default.rb in the cache. [2014-08-19T20:29:07+00:00] INFO: Storing updated cookbooks/python/NOTICE.txt in the cache. [2014-08-19T20:29:07+00:00] INFO: Storing updated cookbooks/python/CHANGELOG.md in the cache. [2014-08-19T20:29:07+00:00] INFO: Storing updated cookbooks/python/Gemfile in the cache. [2014-08-19T20:29:07+00:00] INFO: Storing updated cookbooks/python/ZPL.txt in the cache. [2014-08-19T20:29:07+00:00] INFO: Storing updated cookbooks/python/LICENSE in the cache. [2014-08-19T20:29:08+00:00] INFO: Storing updated cookbooks/python/Rakefile in the cache. [2014-08-19T20:29:08+00:00] INFO: Storing updated cookbooks/python/README.md in the cache. [2014-08-19T20:29:08+00:00] INFO: Storing updated cookbooks/python/TESTING.md in the cache. [2014-08-19T20:29:08+00:00] INFO: Storing updated cookbooks/python/Berksfile.lock in the cache. [2014-08-19T20:29:08+00:00] INFO: Storing updated cookbooks/python/metadata.json in the cache. [2014-08-19T20:29:08+00:00] INFO: Storing updated cookbooks/python/Gemfile.lock in the cache. [2014-08-19T20:29:08+00:00] INFO: Storing updated cookbooks/python/Berksfile in the cache. [2014-08-19T20:29:08+00:00] INFO: Storing updated cookbooks/deploy/recipes/nodejs.rb in the cache. [2014-08-19T20:29:08+00:00] INFO: Storing updated cookbooks/deploy/recipes/default.rb in the cache. [2014-08-19T20:29:08+00:00] INFO: Storing updated cookbooks/deploy/recipes/nodejs-rollback.rb in the cache. [2014-08-19T20:29:09+00:00] INFO: Storing updated cookbooks/deploy/recipes/web-restart.rb in the cache. [2014-08-19T20:29:09+00:00] INFO: Storing updated cookbooks/deploy/recipes/nodejs-stop.rb in the cache. [2014-08-19T20:29:09+00:00] INFO: Storing updated cookbooks/deploy/recipes/rails.rb in the cache. [2014-08-19T20:29:09+00:00] INFO: Storing updated cookbooks/deploy/recipes/rails-restart.rb in the cache. [2014-08-19T20:29:09+00:00] INFO: Storing updated cookbooks/deploy/recipes/java.rb in the cache. [2014-08-19T20:29:09+00:00] INFO: Storing updated cookbooks/deploy/recipes/nodejs-restart.rb in the cache. [2014-08-19T20:29:09+00:00] INFO: Storing updated cookbooks/deploy/recipes/java-restart.rb in the cache. [2014-08-19T20:29:09+00:00] INFO: Storing updated cookbooks/deploy/recipes/java-undeploy.rb in the cache. [2014-08-19T20:29:09+00:00] INFO: Storing updated cookbooks/deploy/recipes/java-rollback.rb in the cache. [2014-08-19T20:29:09+00:00] INFO: Storing updated cookbooks/deploy/recipes/web-undeploy.rb in the cache. [2014-08-19T20:29:10+00:00] INFO: Storing updated cookbooks/deploy/recipes/rails-rollback.rb in the cache. [2014-08-19T20:29:10+00:00] INFO: Storing updated cookbooks/deploy/recipes/mysql.rb in the cache. [2014-08-19T20:29:10+00:00] INFO: Storing updated cookbooks/deploy/recipes/php-restart.rb in the cache. [2014-08-19T20:29:10+00:00] INFO: Storing updated cookbooks/deploy/recipes/java-stop.rb in the cache. [2014-08-19T20:29:10+00:00] INFO: Storing updated cookbooks/deploy/recipes/web.rb in the cache. [2014-08-19T20:29:10+00:00] INFO: Storing updated cookbooks/deploy/recipes/nodejs-undeploy.rb in the cache. [2014-08-19T20:29:10+00:00] INFO: Storing updated cookbooks/deploy/recipes/php-undeploy.rb in the cache. [2014-08-19T20:29:10+00:00] INFO: Storing updated cookbooks/deploy/recipes/php.rb in the cache. [2014-08-19T20:29:10+00:00] INFO: Storing updated cookbooks/deploy/recipes/rails-undeploy.rb in the cache. [2014-08-19T20:29:10+00:00] INFO: Storing updated cookbooks/deploy/definitions/opsworks_deploy.rb in the cache. [2014-08-19T20:29:11+00:00] INFO: Storing updated cookbooks/deploy/definitions/opsworks_deploy_dir.rb in the cache. [2014-08-19T20:29:11+00:00] INFO: Storing updated cookbooks/deploy/definitions/opsworks_rails.rb in the cache. [2014-08-19T20:29:11+00:00] INFO: Storing updated cookbooks/deploy/definitions/opsworks_nodejs.rb in the cache. [2014-08-19T20:29:11+00:00] INFO: Storing updated cookbooks/deploy/definitions/opsworks_deploy_user.rb in the cache. [2014-08-19T20:29:11+00:00] INFO: Storing updated cookbooks/deploy/attributes/customize.rb in the cache. [2014-08-19T20:29:11+00:00] INFO: Storing updated cookbooks/deploy/attributes/rails_stack.rb in the cache. [2014-08-19T20:29:11+00:00] INFO: Storing updated cookbooks/deploy/attributes/default.rb in the cache. [2014-08-19T20:29:11+00:00] INFO: Storing updated cookbooks/deploy/attributes/logrotate.rb in the cache. [2014-08-19T20:29:11+00:00] INFO: Storing updated cookbooks/deploy/attributes/deploy.rb in the cache. [2014-08-19T20:29:11+00:00] INFO: Storing updated cookbooks/deploy/metadata.rb in the cache. [2014-08-19T20:29:11+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_python.rb in the cache. [2014-08-19T20:29:12+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_authn_file.rb in the cache. [2014-08-19T20:29:12+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_headers.rb in the cache. [2014-08-19T20:29:12+00:00] INFO: Storing updated cookbooks/apache2/recipes/stop.rb in the cache. [2014-08-19T20:29:12+00:00] INFO: Storing updated cookbooks/apache2/recipes/default.rb in the cache. [2014-08-19T20:29:12+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_fcgid.rb in the cache. [2014-08-19T20:29:12+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_negotiation.rb in the cache. [2014-08-19T20:29:12+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_proxy.rb in the cache. [2014-08-19T20:29:12+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_authz_default.rb in the cache. [2014-08-19T20:29:12+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_authz_host.rb in the cache. [2014-08-19T20:29:12+00:00] INFO: Storing updated cookbooks/apache2/recipes/logrotate.rb in the cache. [2014-08-19T20:29:13+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_auth_digest.rb in the cache. [2014-08-19T20:29:13+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_env.rb in the cache. [2014-08-19T20:29:13+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_deflate.rb in the cache. [2014-08-19T20:29:13+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_dav.rb in the cache. [2014-08-19T20:29:13+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_authnz_ldap.rb in the cache. [2014-08-19T20:29:13+00:00] INFO: Storing updated cookbooks/apache2/recipes/service.rb in the cache. [2014-08-19T20:29:13+00:00] INFO: Storing updated cookbooks/apache2/recipes/uninstall.rb in the cache. [2014-08-19T20:29:13+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_autoindex.rb in the cache. [2014-08-19T20:29:13+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_dav_svn.rb in the cache. [2014-08-19T20:29:14+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_php5.rb in the cache. [2014-08-19T20:29:14+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_status.rb in the cache. [2014-08-19T20:29:14+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_alias.rb in the cache. [2014-08-19T20:29:14+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_dir.rb in the cache. [2014-08-19T20:29:14+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_rewrite.rb in the cache. [2014-08-19T20:29:14+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_ldap.rb in the cache. [2014-08-19T20:29:14+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_log_config.rb in the cache. [2014-08-19T20:29:14+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_proxy_http.rb in the cache. [2014-08-19T20:29:14+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_auth_basic.rb in the cache. [2014-08-19T20:29:14+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_ssl.rb in the cache. [2014-08-19T20:29:15+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_authz_groupfile.rb in the cache. [2014-08-19T20:29:15+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_authz_user.rb in the cache. [2014-08-19T20:29:15+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_mime.rb in the cache. [2014-08-19T20:29:15+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_cgi.rb in the cache. [2014-08-19T20:29:15+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_expires.rb in the cache. [2014-08-19T20:29:15+00:00] INFO: Storing updated cookbooks/apache2/recipes/mod_setenvif.rb in the cache. [2014-08-19T20:29:15+00:00] INFO: Storing updated cookbooks/apache2/definitions/apache_site.rb in the cache. [2014-08-19T20:29:15+00:00] INFO: Storing updated cookbooks/apache2/definitions/apache_module.rb in the cache. [2014-08-19T20:29:15+00:00] INFO: Storing updated cookbooks/apache2/definitions/web_app.rb in the cache. [2014-08-19T20:29:15+00:00] INFO: Storing updated cookbooks/apache2/definitions/apache_conf.rb in the cache. [2014-08-19T20:29:16+00:00] INFO: Storing updated cookbooks/apache2/attributes/customize.rb in the cache. [2014-08-19T20:29:16+00:00] INFO: Storing updated cookbooks/apache2/attributes/apache.rb in the cache. [2014-08-19T20:29:16+00:00] INFO: Storing updated cookbooks/apache2/metadata.rb in the cache. [2014-08-19T20:29:16+00:00] INFO: Storing updated cookbooks/apache2/README.rdoc in the cache. [2014-08-19T20:29:16+00:00] INFO: Storing updated cookbooks/build-essential/recipes/_omnios.rb in the cache. [2014-08-19T20:29:16+00:00] INFO: Storing updated cookbooks/build-essential/recipes/_fedora.rb in the cache. [2014-08-19T20:29:16+00:00] INFO: Storing updated cookbooks/build-essential/recipes/default.rb in the cache. [2014-08-19T20:29:16+00:00] INFO: Storing updated cookbooks/build-essential/recipes/_debian.rb in the cache. [2014-08-19T20:29:16+00:00] INFO: Storing updated cookbooks/build-essential/recipes/_freebsd.rb in the cache. [2014-08-19T20:29:16+00:00] INFO: Storing updated cookbooks/build-essential/recipes/_smartos.rb in the cache. [2014-08-19T20:29:17+00:00] INFO: Storing updated cookbooks/build-essential/recipes/_solaris2.rb in the cache. [2014-08-19T20:29:17+00:00] INFO: Storing updated cookbooks/build-essential/recipes/_rhel.rb in the cache. [2014-08-19T20:29:17+00:00] INFO: Storing updated cookbooks/build-essential/recipes/_mac_os_x.rb in the cache. [2014-08-19T20:29:17+00:00] INFO: Storing updated cookbooks/build-essential/recipes/_suse.rb in the cache. [2014-08-19T20:29:17+00:00] INFO: Storing updated cookbooks/build-essential/libraries/timing.rb in the cache. [2014-08-19T20:29:17+00:00] INFO: Storing updated cookbooks/build-essential/libraries/matchers.rb in the cache. [2014-08-19T20:29:17+00:00] INFO: Storing updated cookbooks/build-essential/libraries/xcode_command_line_tools.rb in the cache. [2014-08-19T20:29:17+00:00] INFO: Storing updated cookbooks/build-essential/attributes/default.rb in the cache. [2014-08-19T20:29:17+00:00] INFO: Storing updated cookbooks/build-essential/CHANGELOG.md in the cache. [2014-08-19T20:29:17+00:00] INFO: Storing updated cookbooks/build-essential/README.md in the cache. [2014-08-19T20:29:17+00:00] INFO: Storing updated cookbooks/build-essential/metadata.json in the cache. [2014-08-19T20:29:18+00:00] INFO: Storing updated cookbooks/yum-epel/recipes/default.rb in the cache. [2014-08-19T20:29:18+00:00] INFO: Storing updated cookbooks/yum-epel/attributes/default.rb in the cache. [2014-08-19T20:29:18+00:00] INFO: Storing updated cookbooks/yum-epel/attributes/epel-testing-source.rb in the cache. [2014-08-19T20:29:18+00:00] INFO: Storing updated cookbooks/yum-epel/attributes/epel-testing.rb in the cache. [2014-08-19T20:29:18+00:00] INFO: Storing updated cookbooks/yum-epel/attributes/epel-testing-debuginfo.rb in the cache. [2014-08-19T20:29:18+00:00] INFO: Storing updated cookbooks/yum-epel/attributes/epel-debuginfo.rb in the cache. [2014-08-19T20:29:18+00:00] INFO: Storing updated cookbooks/yum-epel/attributes/epel.rb in the cache. [2014-08-19T20:29:18+00:00] INFO: Storing updated cookbooks/yum-epel/attributes/epel-source.rb in the cache. [2014-08-19T20:29:18+00:00] INFO: Storing updated cookbooks/yum-epel/CHANGELOG.md in the cache. [2014-08-19T20:29:18+00:00] INFO: Storing updated cookbooks/yum-epel/README.md in the cache. [2014-08-19T20:29:19+00:00] INFO: Storing updated cookbooks/yum-epel/metadata.json in the cache. [2014-08-19T20:29:19+00:00] INFO: Storing updated cookbooks/mod_php5_apache2/recipes/default.rb in the cache. [2014-08-19T20:29:19+00:00] INFO: Storing updated cookbooks/mod_php5_apache2/recipes/php.rb in the cache. [2014-08-19T20:29:19+00:00] INFO: Storing updated cookbooks/mod_php5_apache2/attributes/customize.rb in the cache. [2014-08-19T20:29:19+00:00] INFO: Storing updated cookbooks/mod_php5_apache2/attributes/default.rb in the cache. [2014-08-19T20:29:19+00:00] INFO: Storing updated cookbooks/mod_php5_apache2/metadata.rb in the cache. [2014-08-19T20:29:19+00:00] INFO: Storing updated cookbooks/nginx/recipes/stop.rb in the cache. [2014-08-19T20:29:19+00:00] INFO: Storing updated cookbooks/nginx/recipes/default.rb in the cache. [2014-08-19T20:29:19+00:00] INFO: Storing updated cookbooks/nginx/recipes/service.rb in the cache. [2014-08-19T20:29:19+00:00] INFO: Storing updated cookbooks/nginx/recipes/uninstall.rb in the cache. [2014-08-19T20:29:19+00:00] INFO: Storing updated cookbooks/nginx/definitions/nginx_web_app.rb in the cache. [2014-08-19T20:29:20+00:00] INFO: Storing updated cookbooks/nginx/attributes/customize.rb in the cache. [2014-08-19T20:29:20+00:00] INFO: Storing updated cookbooks/nginx/attributes/nginx.rb in the cache. [2014-08-19T20:29:20+00:00] INFO: Storing updated cookbooks/nginx/metadata.rb in the cache. [2014-08-19T20:29:20+00:00] INFO: Storing updated cookbooks/opsworks_agent_monit/recipes/stop.rb in the cache. [2014-08-19T20:29:20+00:00] INFO: Storing updated cookbooks/opsworks_agent_monit/recipes/default.rb in the cache. [2014-08-19T20:29:20+00:00] INFO: Storing updated cookbooks/opsworks_agent_monit/recipes/service.rb in the cache. [2014-08-19T20:29:20+00:00] INFO: Storing updated cookbooks/opsworks_agent_monit/attributes/customize.rb in the cache. [2014-08-19T20:29:20+00:00] INFO: Storing updated cookbooks/opsworks_agent_monit/attributes/default.rb in the cache. [2014-08-19T20:29:20+00:00] INFO: Storing updated cookbooks/opsworks_agent_monit/metadata.rb in the cache. [2014-08-19T20:29:20+00:00] INFO: Storing updated cookbooks/passenger_apache2/recipes/default.rb in the cache. [2014-08-19T20:29:21+00:00] INFO: Storing updated cookbooks/passenger_apache2/recipes/mod_rails.rb in the cache. [2014-08-19T20:29:21+00:00] INFO: Storing updated cookbooks/passenger_apache2/recipes/rails.rb in the cache. [2014-08-19T20:29:21+00:00] INFO: Storing updated cookbooks/passenger_apache2/definitions/passenger_web_app.rb in the cache. [2014-08-19T20:29:21+00:00] INFO: Storing updated cookbooks/passenger_apache2/attributes/customize.rb in the cache. [2014-08-19T20:29:21+00:00] INFO: Storing updated cookbooks/passenger_apache2/attributes/passenger.rb in the cache. [2014-08-19T20:29:21+00:00] INFO: Storing updated cookbooks/passenger_apache2/metadata.rb in the cache. [2014-08-19T20:29:21+00:00] INFO: Storing updated cookbooks/passenger_apache2/README.rdoc in the cache. [2014-08-19T20:29:21+00:00] INFO: Storing updated cookbooks/unicorn/recipes/stop.rb in the cache. [2014-08-19T20:29:21+00:00] INFO: Storing updated cookbooks/unicorn/recipes/default.rb in the cache. [2014-08-19T20:29:21+00:00] INFO: Storing updated cookbooks/unicorn/recipes/rails.rb in the cache. [2014-08-19T20:29:21+00:00] INFO: Storing updated cookbooks/unicorn/definitions/unicorn_web_app.rb in the cache. [2014-08-19T20:29:22+00:00] INFO: Storing updated cookbooks/unicorn/attributes/customize.rb in the cache. [2014-08-19T20:29:22+00:00] INFO: Storing updated cookbooks/unicorn/attributes/default.rb in the cache. [2014-08-19T20:29:22+00:00] INFO: Storing updated cookbooks/unicorn/metadata.rb in the cache. [2014-08-19T20:29:22+00:00] INFO: Storing updated cookbooks/opsworks_java/recipes/tomcat_install.rb in the cache. [2014-08-19T20:29:22+00:00] INFO: Storing updated cookbooks/opsworks_java/recipes/postgresql_connector.rb in the cache. [2014-08-19T20:29:22+00:00] INFO: Storing updated cookbooks/opsworks_java/recipes/apache_tomcat_bind.rb in the cache. [2014-08-19T20:29:22+00:00] INFO: Storing updated cookbooks/opsworks_java/recipes/jvm_install.rb in the cache. [2014-08-19T20:29:22+00:00] INFO: Storing updated cookbooks/opsworks_java/recipes/tomcat_setup.rb in the cache. [2014-08-19T20:29:22+00:00] INFO: Storing updated cookbooks/opsworks_java/recipes/configure.rb in the cache. [2014-08-19T20:29:22+00:00] INFO: Storing updated cookbooks/opsworks_java/recipes/setup.rb in the cache. [2014-08-19T20:29:22+00:00] INFO: Storing updated cookbooks/opsworks_java/recipes/remove_root_webapp.rb in the cache. [2014-08-19T20:29:23+00:00] INFO: Storing updated cookbooks/opsworks_java/recipes/tomcat_service.rb in the cache. [2014-08-19T20:29:23+00:00] INFO: Storing updated cookbooks/opsworks_java/recipes/web_app.rb in the cache. [2014-08-19T20:29:23+00:00] INFO: Storing updated cookbooks/opsworks_java/recipes/context.rb in the cache. [2014-08-19T20:29:23+00:00] INFO: Storing updated cookbooks/opsworks_java/recipes/mysql_connector.rb in the cache. [2014-08-19T20:29:23+00:00] INFO: Storing updated cookbooks/opsworks_java/recipes/tomcat_container_config.rb in the cache. [2014-08-19T20:29:23+00:00] INFO: Storing updated cookbooks/opsworks_java/attributes/customize.rb in the cache. [2014-08-19T20:29:23+00:00] INFO: Storing updated cookbooks/opsworks_java/attributes/default.rb in the cache. [2014-08-19T20:29:23+00:00] INFO: Storing updated cookbooks/opsworks_java/metadata.rb in the cache. [2014-08-19T20:29:23+00:00] INFO: Storing updated cookbooks/php/recipes/configure.rb in the cache. [2014-08-19T20:29:23+00:00] INFO: Storing updated cookbooks/php/attributes/customize.rb in the cache. [2014-08-19T20:29:24+00:00] INFO: Storing updated cookbooks/php/attributes/default.rb in the cache. [2014-08-19T20:29:24+00:00] INFO: Storing updated cookbooks/php/metadata.rb in the cache. [2014-08-19T20:29:24+00:00] INFO: Storing updated cookbooks/opsworks_postgresql/recipes/client_install.rb in the cache. [2014-08-19T20:29:24+00:00] INFO: Storing updated cookbooks/opsworks_postgresql/metadata.rb in the cache. [2014-08-19T20:29:24+00:00] INFO: Storing updated cookbooks/yum/resources/repository.rb in the cache. [2014-08-19T20:29:24+00:00] INFO: Storing updated cookbooks/yum/resources/globalconfig.rb in the cache. [2014-08-19T20:29:24+00:00] INFO: Storing updated cookbooks/yum/providers/repository.rb in the cache. [2014-08-19T20:29:24+00:00] INFO: Storing updated cookbooks/yum/providers/globalconfig.rb in the cache. [2014-08-19T20:29:24+00:00] INFO: Storing updated cookbooks/yum/recipes/default.rb in the cache. [2014-08-19T20:29:24+00:00] INFO: Storing updated cookbooks/yum/libraries/matchers.rb in the cache. [2014-08-19T20:29:24+00:00] INFO: Storing updated cookbooks/yum/attributes/main.rb in the cache. [2014-08-19T20:29:25+00:00] INFO: Storing updated cookbooks/yum/CHANGELOG.md in the cache. [2014-08-19T20:29:25+00:00] INFO: Storing updated cookbooks/yum/README.md in the cache. [2014-08-19T20:29:25+00:00] INFO: Storing updated cookbooks/yum/metadata.json in the cache. [2014-08-19T20:29:25+00:00] INFO: Storing updated cookbooks/rails/recipes/configure.rb in the cache. [2014-08-19T20:29:25+00:00] INFO: Storing updated cookbooks/rails/libraries/rails_configuration.rb in the cache. [2014-08-19T20:29:25+00:00] INFO: Storing updated cookbooks/rails/attributes/customize.rb in the cache. [2014-08-19T20:29:25+00:00] INFO: Storing updated cookbooks/rails/attributes/rails.rb in the cache. [2014-08-19T20:29:25+00:00] INFO: Storing updated cookbooks/rails/metadata.rb in the cache. [2014-08-19T20:29:26+00:00] INFO: Userspace Ruby version is not 2.0.0p451 - /usr/local/bin/ruby does not exist [2014-08-19T20:29:26+00:00] INFO: Adding EBS volumes [] to monitoring [2014-08-19T20:29:26+00:00] INFO: Installing Monitoring for disk xvdap1 [2014-08-19T20:29:26+00:00] INFO: Installing Monitoring for disk xvdbp [2014-08-19T20:29:26+00:00] INFO: Processing directory[/etc/sysctl.d] action create (opsworks_initial_setup::sysctl line 1) [2014-08-19T20:29:26+00:00] INFO: Processing template[/etc/sysctl.d/70-opsworks-defaults.conf] action create (opsworks_initial_setup::sysctl line 8) [2014-08-19T20:29:26+00:00] INFO: Processing execute[Setting sysctl: net.core.somaxconn] action run (opsworks_initial_setup::sysctl line 17) [2014-08-19T20:29:26+00:00] INFO: execute[Setting sysctl: net.core.somaxconn] ran successfully [2014-08-19T20:29:26+00:00] INFO: Processing execute[Setting sysctl: net.core.netdev_max_backlog] action run (opsworks_initial_setup::sysctl line 17) [2014-08-19T20:29:26+00:00] INFO: execute[Setting sysctl: net.core.netdev_max_backlog] ran successfully [2014-08-19T20:29:26+00:00] INFO: Processing execute[Setting sysctl: net.ipv4.tcp_max_syn_backlog] action run (opsworks_initial_setup::sysctl line 17) [2014-08-19T20:29:26+00:00] INFO: execute[Setting sysctl: net.ipv4.tcp_max_syn_backlog] ran successfully [2014-08-19T20:29:26+00:00] INFO: Processing execute[Setting sysctl: net.ipv4.tcp_fin_timeout] action run (opsworks_initial_setup::sysctl line 17) [2014-08-19T20:29:26+00:00] INFO: execute[Setting sysctl: net.ipv4.tcp_fin_timeout] ran successfully [2014-08-19T20:29:26+00:00] INFO: Processing execute[Setting sysctl: net.ipv4.tcp_keepalive_time] action run (opsworks_initial_setup::sysctl line 17) [2014-08-19T20:29:26+00:00] INFO: execute[Setting sysctl: net.ipv4.tcp_keepalive_time] ran successfully [2014-08-19T20:29:26+00:00] INFO: Processing execute[Setting sysctl: net.ipv4.tcp_max_orphans] action run (opsworks_initial_setup::sysctl line 17) [2014-08-19T20:29:27+00:00] INFO: execute[Setting sysctl: net.ipv4.tcp_max_orphans] ran successfully [2014-08-19T20:29:27+00:00] INFO: Processing execute[Setting sysctl: net.ipv4.tcp_tw_reuse] action run (opsworks_initial_setup::sysctl line 17) [2014-08-19T20:29:27+00:00] INFO: execute[Setting sysctl: net.ipv4.tcp_tw_reuse] ran successfully [2014-08-19T20:29:27+00:00] INFO: Processing template[/etc/security/limits.conf] action create (opsworks_initial_setup::limits line 1) [2014-08-19T20:29:27+00:00] INFO: Processing directory[/mnt/var/log/mysql] action create (opsworks_initial_setup::bind_mounts line 2) [2014-08-19T20:29:27+00:00] INFO: Processing directory[/mnt/srv/www] action create (opsworks_initial_setup::bind_mounts line 2) [2014-08-19T20:29:27+00:00] INFO: Processing directory[/mnt/var/www] action create (opsworks_initial_setup::bind_mounts line 2) [2014-08-19T20:29:27+00:00] INFO: Processing directory[/mnt/var/log/apache2] action create (opsworks_initial_setup::bind_mounts line 2) [2014-08-19T20:29:27+00:00] INFO: Processing package[autofs] action install (opsworks_initial_setup::autofs line 1) [2014-08-19T20:29:27+00:00] INFO: Processing service[autofs] action enable (opsworks_initial_setup::autofs line 3) [2014-08-19T20:29:27+00:00] INFO: Processing service[autofs] action start (opsworks_initial_setup::autofs line 3) [2014-08-19T20:29:27+00:00] INFO: service[autofs] started [2014-08-19T20:29:27+00:00] INFO: Processing template[/etc/auto.opsworks] action create (opsworks_initial_setup::autofs line 8) [2014-08-19T20:29:27+00:00] INFO: Processing ruby_block[Update autofs loglevel] action run (opsworks_initial_setup::autofs line 15) [2014-08-19T20:29:27+00:00] INFO: Processing ruby_block[Update autofs configuration] action run (opsworks_initial_setup::autofs line 27) [2014-08-19T20:29:27+00:00] INFO: Processing directory[/vol] action create (opsworks_initial_setup::vol_mount_point line 1) [2014-08-19T20:29:27+00:00] INFO: Processing package[landscape-common] action purge (opsworks_initial_setup::remove_landscape line 5) [2014-08-19T20:29:27+00:00] INFO: Processing package[landscape-client] action purge (opsworks_initial_setup::remove_landscape line 5) [2014-08-19T20:29:27+00:00] INFO: Processing template[/etc/ld.so.conf.d/opsworks-user-space.conf] action create (opsworks_initial_setup::ldconfig line 1) [2014-08-19T20:29:27+00:00] INFO: Processing execute[Configure dynamic linker run-time bindings] action run (opsworks_initial_setup::ldconfig line 8) [2014-08-19T20:29:27+00:00] INFO: execute[Configure dynamic linker run-time bindings] ran successfully [2014-08-19T20:29:27+00:00] INFO: Processing ruby_block[enable keepcache in yum.conf] action run (opsworks_initial_setup::yum_conf line 1) [2014-08-19T20:29:27+00:00] INFO: Processing ruby_block[disable yum update-motd plugin] action run (opsworks_initial_setup::yum_conf line 13) [2014-08-19T20:29:27+00:00] INFO: Processing bash[set lock timeout in Chef's yum-dump.py] action run (opsworks_initial_setup::tweak_chef_yum_dump line 2) [2014-08-19T20:29:27+00:00] INFO: Processing package[procps] action install (opsworks_initial_setup::package_procps line 1) [2014-08-19T20:29:28+00:00] INFO: Processing package[ntp] action install (opsworks_initial_setup::package_ntpd line 3) [2014-08-19T20:29:28+00:00] INFO: Processing package[vim-nox] action install (opsworks_initial_setup::package_vim line 3) [2014-08-19T20:29:28+00:00] INFO: Processing package[screen] action install (opsworks_initial_setup::package_screen line 1) [2014-08-19T20:29:28+00:00] INFO: Processing template[/etc/ssh/ssh_host_rsa_key] action create (ssh_host_keys::default line 4) [2014-08-19T20:29:28+00:00] INFO: Processing template[/etc/ssh/ssh_host_rsa_key.pub] action create (ssh_host_keys::default line 4) [2014-08-19T20:29:28+00:00] INFO: Processing template[/etc/ssh/ssh_host_dsa_key] action create (ssh_host_keys::default line 4) [2014-08-19T20:29:28+00:00] INFO: Processing template[/etc/ssh/ssh_host_dsa_key.pub] action create (ssh_host_keys::default line 4) [2014-08-19T20:29:28+00:00] INFO: Processing group[opsworks] action create (ssh_users::default line 1) [2014-08-19T20:29:28+00:00] INFO: Processing template[/etc/sudoers] action create (ssh_users::default line 31) [2014-08-19T20:29:28+00:00] INFO: Processing package[mysql-devel] action install (mysql::client line 1) [2014-08-19T20:29:28+00:00] INFO: Processing package[mysql-client] action install (mysql::client line 9) [2014-08-19T20:29:28+00:00] INFO: Processing remote_file[/tmp/opsworks-ruby2.0_2.0.0-p451.1_amd64.deb] action create_if_missing (ruby::default line 23) [2014-08-19T20:29:28+00:00] INFO: remote_file[/tmp/opsworks-ruby2.0_2.0.0-p451.1_amd64.deb] created file /tmp/opsworks-ruby2.0_2.0.0-p451.1_amd64.deb [2014-08-19T20:29:28+00:00] INFO: HTTP Request Returned 403 Forbidden: [2014-08-19T20:29:28+00:00] INFO: Retrying execution of remote_file[/tmp/opsworks-ruby2.0_2.0.0-p451.1_amd64.deb], 1 attempt(s) left [2014-08-19T20:29:30+00:00] INFO: Processing package[opsworks-ruby1.9] action remove (ruby::default line 34) [2014-08-19T20:29:30+00:00] INFO: Processing package[opsworks-ruby2.0] action remove (ruby::default line 34) [2014-08-19T20:29:30+00:00] INFO: Processing package[opsworks-ruby2.1] action remove (ruby::default line 34) [2014-08-19T20:29:31+00:00] INFO: Processing package[ruby-enterprise] action remove (ruby::default line 34) [2014-08-19T20:29:31+00:00] INFO: Processing package[ruby1.9] action remove (ruby::default line 34) [2014-08-19T20:29:31+00:00] ERROR: package[ruby1.9](ruby::default line 34) had an error: ruby1.9 has no candidate in the apt-cache; ignore_failure is set, continuing

Error executing action remove on resource 'package[ruby1.9]'

Chef::Exceptions::Package

ruby1.9 has no candidate in the apt-cache

Resource Declaration:

In /var/lib/aws/opsworks/cache.stage2/cookbooks/ruby/recipes/default.rb

34: package pkg do 35: action :remove 36: ignore_failure true 37: 38: only_if do 39: ::File.exists?("/tmp/#{node['ruby']['deb']}") 40: end 41: end 42: end

Compiled Resource:

Declared in /var/lib/aws/opsworks/cache.stage2/cookbooks/ruby/recipes/default.rb:34:in `block in from_file'

package("ruby1.9") do action [:remove] ignore_failure true retries 0 retry_delay 2 package_name "ruby1.9" cookbook_name "ruby" recipe_name "default" only_if { #code block } end

[2014-08-19T20:29:31+00:00] INFO: Processing package[ruby2.0] action remove (ruby::default line 34) [2014-08-19T20:29:31+00:00] INFO: Processing execute[Install Ruby 2.0.0] action run (ruby::default line 67)

Error executing action run on resource 'execute[Install Ruby 2.0.0]'

Mixlib::ShellOut::ShellCommandFailed

Expected process to exit with [0], but received '1' ---- Begin output of dpkg -i /tmp/opsworks-ruby2.0_2.0.0-p451.1_amd64.deb ---- STDOUT: STDERR: dpkg-deb: error: `/tmp/opsworks-ruby2.0_2.0.0-p451.1_amd64.deb' is not a debian format archive dpkg: error processing archive /tmp/opsworks-ruby2.0_2.0.0-p451.1_amd64.deb (--install): subprocess dpkg-deb --control returned error exit status 2 Errors were encountered while processing: /tmp/opsworks-ruby2.0_2.0.0-p451.1_amd64.deb ---- End output of dpkg -i /tmp/opsworks-ruby2.0_2.0.0-p451.1_amd64.deb ---- Ran dpkg -i /tmp/opsworks-ruby2.0_2.0.0-p451.1_amd64.deb returned 1

Resource Declaration:

In /var/lib/aws/opsworks/cache.stage2/cookbooks/ruby/recipes/default.rb

67: execute "Install Ruby #{node[:ruby][:full_version]}" do 68: cwd "/tmp" 69: case node[:platform] 70: when 'centos','redhat','fedora','amazon' 71: command "rpm -Uvh /tmp/#{node['ruby']['rpm']}" 72: only_if do 73: ::File.exists?("/tmp/#{node['ruby']['rpm']}") 74: end 75: 76: when 'debian','ubuntu' 77: command "dpkg -i /tmp/#{node['ruby']['deb']}" 78: only_if do 79: ::File.exists?("/tmp/#{node['ruby']['deb']}") 80: end 81: end 82: end

Compiled Resource:

Declared in /var/lib/aws/opsworks/cache.stage2/cookbooks/ruby/recipes/default.rb:67:in `from_file'

execute("Install Ruby 2.0.0") do action "run" retries 0 retry_delay 2 command "dpkg -i /tmp/opsworks-ruby2.0_2.0.0-p451.1_amd64.deb" backup 5 cwd "/tmp" returns 0 cookbook_name "ruby" recipe_name "default" only_if { #code block } end

[2014-08-19T20:29:31+00:00] INFO: Running queued delayed notifications before re-raising exception [2014-08-19T20:29:31+00:00] ERROR: Running exception handlers [2014-08-19T20:29:31+00:00] ERROR: Exception handlers complete [2014-08-19T20:29:31+00:00] FATAL: Stacktrace dumped to /var/lib/aws/opsworks/cache.stage2/chef-stacktrace.out [2014-08-19T20:29:31+00:00] ERROR: execute[Install Ruby 2.0.0](ruby::default line 67) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' ---- Begin output of dpkg -i /tmp/opsworks-ruby2.0_2.0.0-p451.1_amd64.deb ---- STDOUT: STDERR: dpkg-deb: error: `/tmp/opsworks-ruby2.0_2.0.0-p451.1_amd64.deb' is not a debian format archive dpkg: error processing archive /tmp/opsworks-ruby2.0_2.0.0-p451.1_amd64.deb (--install): subprocess dpkg-deb --control returned error exit status 2 Errors were encountered while processing: /tmp/opsworks-ruby2.0_2.0.0-p451.1_amd64.deb ---- End output of dpkg -i /tmp/opsworks-ruby2.0_2.0.0-p451.1_amd64.deb ---- Ran dpkg -i /tmp/opsworks-ruby2.0_2.0.0-p451.1_amd64.deb returned 1 [2014-08-19T20:29:31+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

awsrequena commented 10 years ago

In the current version of opsworks-cookbooks, we set the patch level for ruby 2.0.0 to p481, which is available from our repositories. (https://github.com/aws/opsworks-cookbooks/blob/release-chef-11.10/ruby/attributes/ruby.rb)

It seams, you're setting this the patch level either per custom JSON or you forked opsworks-cookbooks and set them as custom cookbook and haven't update them for a while.

awsrequena commented 10 years ago

Is this question answered? Can this be closed?