Skip to content

Instantly share code, notes, and snippets.

@flyingzumwalt
Last active October 27, 2015 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flyingzumwalt/912346155ea1af4d0fe2 to your computer and use it in GitHub Desktop.
Save flyingzumwalt/912346155ea1af4d0fe2 to your computer and use it in GitHub Desktop.
opsworks with apt

The instances

elasticsearch2
EC2 instance ID: i-03dd74fa
OpsWorks ID: 9ae9aac9-47d4-4dd2-9207-43222ab8ec01

elasticsearch3
EC2 instance ID i-63d27b9a
OpsWorks ID 4eb1e92c-19d9-442e-ae7e-52dd8b0135b7

elasticsearch2 is using my old Berksfile and old Berksfile.lock. It resolves the dependencies and runs the recipes without error. Here is the log output. elasticsearch3 uses the new Berksfile and new Berksfile.lock. It is not able to resolve the dependencies. Here is the log output

Notes

I tried pinning to various versions of apt (2.6.0, 2.8.2, 2.9.2). All of them have the same result.

Diagnosis

Note that the setup logs for elasticsearch2 (WORKING) and elasticsearch3 (FAILING) diverge at line 32.

The WORKING build says [2015-10-27T18:35:06+00:00] INFO: directory[/opt/aws/opsworks/current/berkshelf-cookbooks] deleted /opt/aws/opsworks/current/berkshelf-cookbooks recursively

The failing build skips that step and goes straight into [2015-10-27T18:39:10+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)

DEPENDENCIES
databindery
path: .
dependencies
git: git://github.com/aws/opsworks-cookbooks.git
revision: c98299cb36d64614ca26a02aab4793d925cf16bf
branch: release-chef-11.10
rel: dependencies
deploy
git: git://github.com/aws/opsworks-cookbooks.git
revision: c98299cb36d64614ca26a02aab4793d925cf16bf
branch: release-chef-11.10
rel: deploy
gem_support
git: git://github.com/aws/opsworks-cookbooks.git
revision: c98299cb36d64614ca26a02aab4793d925cf16bf
branch: release-chef-11.10
rel: gem_support
mod_php5_apache2
git: git://github.com/aws/opsworks-cookbooks.git
revision: c98299cb36d64614ca26a02aab4793d925cf16bf
branch: release-chef-11.10
rel: mod_php5_apache2
opsworks_agent_monit
git: git://github.com/aws/opsworks-cookbooks.git
revision: c98299cb36d64614ca26a02aab4793d925cf16bf
branch: release-chef-11.10
rel: opsworks_agent_monit
opsworks_aws_flow_ruby
git: git://github.com/aws/opsworks-cookbooks.git
revision: c98299cb36d64614ca26a02aab4793d925cf16bf
branch: release-chef-11.10
rel: opsworks_aws_flow_ruby
opsworks_bundler
git: git://github.com/aws/opsworks-cookbooks.git
revision: c98299cb36d64614ca26a02aab4793d925cf16bf
branch: release-chef-11.10
rel: opsworks_bundler
opsworks_commons
git: git://github.com/aws/opsworks-cookbooks.git
revision: c98299cb36d64614ca26a02aab4793d925cf16bf
branch: release-chef-11.10
rel: opsworks_commons
opsworks_initial_setup
git: git://github.com/aws/opsworks-cookbooks.git
revision: c98299cb36d64614ca26a02aab4793d925cf16bf
branch: release-chef-11.10
rel: opsworks_initial_setup
opsworks_java
git: git://github.com/aws/opsworks-cookbooks.git
revision: c98299cb36d64614ca26a02aab4793d925cf16bf
branch: release-chef-11.10
rel: opsworks_java
opsworks_nodejs
git: git://github.com/aws/opsworks-cookbooks.git
revision: c98299cb36d64614ca26a02aab4793d925cf16bf
branch: release-chef-11.10
rel: opsworks_nodejs
opsworks_rubygems
git: git://github.com/aws/opsworks-cookbooks.git
revision: c98299cb36d64614ca26a02aab4793d925cf16bf
branch: release-chef-11.10
rel: opsworks_rubygems
ruby
git: git://github.com/aws/opsworks-cookbooks.git
revision: c98299cb36d64614ca26a02aab4793d925cf16bf
branch: release-chef-11.10
rel: ruby
scm_helper
git: git://github.com/aws/opsworks-cookbooks.git
revision: c98299cb36d64614ca26a02aab4793d925cf16bf
branch: release-chef-11.10
rel: scm_helper
ssh_users
git: git://github.com/aws/opsworks-cookbooks.git
revision: c98299cb36d64614ca26a02aab4793d925cf16bf
branch: release-chef-11.10
rel: ssh_users
GRAPH
apache2 (3.0.0)
iptables (>= 0.0.0)
logrotate (>= 0.0.0)
apt (2.6.0)
bluepill (2.3.1)
rsyslog (>= 0.0.0)
build-essential (2.1.3)
chef-sugar (2.4.1)
chef_handler (1.1.6)
databindery (1.0.0)
deploy (>= 0.0.0)
dependencies (1.0.0)
gem_support (>= 0.0.0)
opsworks_nodejs (>= 0.0.0)
packages (>= 0.0.0)
ruby (>= 0.0.0)
deploy (1.0.0)
apache2 (>= 0.0.0)
dependencies (>= 0.0.0)
mod_php5_apache2 (>= 0.0.0)
mysql (>= 0.0.0)
nginx (>= 0.0.0)
opsworks_agent_monit (>= 0.0.0)
opsworks_aws_flow_ruby (>= 0.0.0)
opsworks_java (>= 0.0.0)
opsworks_nodejs (>= 0.0.0)
passenger_apache2 (>= 0.0.0)
php (>= 0.0.0)
scm_helper (>= 0.0.0)
ssh_users (>= 0.0.0)
unicorn (>= 0.0.0)
gem_support (1.0.0)
iis (2.1.6)
windows (>= 1.34.6)
iptables (0.14.0)
logrotate (1.7.0)
mod_php5_apache2 (1.0.0)
apache2 (>= 0.0.0)
deploy (>= 0.0.0)
mysql (5.6.1)
yum-mysql-community (>= 0.0.0)
nginx (2.7.4)
apt (~> 2.2)
bluepill (~> 2.3)
build-essential (~> 2.0)
ohai (~> 2.0)
runit (~> 1.2)
yum-epel (~> 0.3)
ohai (2.0.1)
opsworks_agent_monit (1.0.0)
opsworks_initial_setup (>= 0.0.0)
opsworks_aws_flow_ruby (1.0.0)
opsworks_bundler (1.0.0)
opsworks_commons (1.0.0)
dependencies (>= 0.0.0)
opsworks_initial_setup (1.0.0)
opsworks_commons (>= 0.0.0)
opsworks_java (1.0.0)
apache2 (>= 0.0.0)
opsworks_nodejs (1.0.0)
deploy (>= 0.0.0)
opsworks_commons (>= 0.0.0)
opsworks_rubygems (1.0.0)
opsworks_initial_setup (>= 0.0.0)
packages (0.4.0)
passenger_apache2 (2.2.2)
apache2 (>= 1.0.4)
build-essential (>= 0.0.0)
php (1.5.0)
build-essential (>= 0.0.0)
iis (>= 0.0.0)
mysql (>= 0.0.0)
windows (>= 0.0.0)
xml (>= 0.0.0)
yum-epel (>= 0.0.0)
rsyslog (1.13.0)
ruby (1.0.0)
opsworks_bundler (>= 0.0.0)
opsworks_commons (>= 0.0.0)
opsworks_initial_setup (>= 0.0.0)
opsworks_rubygems (>= 0.0.0)
runit (1.5.10)
build-essential (>= 0.0.0)
yum (~> 3.0)
yum-epel (>= 0.0.0)
scm_helper (1.0.0)
opsworks_commons (>= 0.0.0)
ssh_users (1.0.0)
opsworks_commons (>= 0.0.0)
opsworks_initial_setup (>= 0.0.0)
unicorn (2.0.0)
windows (1.34.8)
chef_handler (>= 0.0.0)
xml (1.2.6)
build-essential (>= 0.0.0)
chef-sugar (>= 0.0.0)
yum (3.5.1)
yum-epel (0.5.3)
yum (~> 3.0)
yum-mysql-community (0.1.10)
yum (>= 3.0)
[2015-10-27T18:34:39+00:00] INFO: AWS OpsWorks instance 9ae9aac9-47d4-4dd2-9207-43222ab8ec01, Agent version 3424-20150709092700
[2015-10-27T18:34:44+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
[2015-10-27T18:34:44+00:00] INFO: Forking chef instance to converge...
[2015-10-27T18:34:44+00:00] INFO: *** Chef 11.10.4 ***
[2015-10-27T18:34:44+00:00] INFO: Chef-client pid: 2027
[2015-10-27T18:34:48+00:00] INFO: Setting the run_list to ["opsworks_custom_cookbooks::load", "opsworks_custom_cookbooks::execute"] from JSON
[2015-10-27T18:34:48+00:00] WARN: Run List override has been provided.
[2015-10-27T18:34:48+00:00] WARN: Original Run List: [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]]
[2015-10-27T18:34:48+00:00] WARN: Overridden Run List: [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]]
[2015-10-27T18:34:48+00:00] INFO: Run List is [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]]
[2015-10-27T18:34:48+00:00] INFO: Run List expands to [opsworks_custom_cookbooks::load, opsworks_custom_cookbooks::execute]
[2015-10-27T18:34:48+00:00] INFO: Starting Chef Run for elasticsearch2.localdomain
[2015-10-27T18:34:48+00:00] INFO: Running start handlers
[2015-10-27T18:34:48+00:00] INFO: Start handlers complete.
[2015-10-27T18:34:48+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: /reports/nodes/elasticsearch2.localdomain/runs
[2015-10-27T18:35:04+00:00] INFO: Loading cookbooks [apache2, dependencies, deploy, gem_support, mod_php5_apache2, mysql, nginx, opsworks_agent_monit, opsworks_aws_flow_ruby, 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]
[2015-10-27T18:35:06+00:00] INFO: Not needed with Chef 11.x (x >= 8) anymore.
[2015-10-27T18:35:06+00:00] INFO: Processing package[git-core] action install (opsworks_custom_cookbooks::checkout line 9)
[2015-10-27T18:35:06+00:00] INFO: Processing directory[/root/.ssh] action create (opsworks_custom_cookbooks::checkout line 8)
[2015-10-27T18:35:06+00:00] INFO: Processing file[/root/.ssh/config] action touch (opsworks_custom_cookbooks::checkout line 16)
[2015-10-27T18:35:06+00:00] INFO: file[/root/.ssh/config] updated atime and mtime to 2015-10-27 18:35:06 +0000
[2015-10-27T18:35:06+00:00] INFO: Processing execute[echo 'StrictHostKeyChecking no' > /root/.ssh/config] action run (opsworks_custom_cookbooks::checkout line 23)
[2015-10-27T18:35:06+00:00] INFO: Processing template[/root/.ssh/id_dsa] action create (opsworks_custom_cookbooks::checkout line 27)
[2015-10-27T18:35:06+00:00] INFO: Processing git[Download Custom Cookbooks] action checkout (opsworks_custom_cookbooks::checkout line 29)
[2015-10-27T18:35:06+00:00] INFO: Processing ruby_block[Move single cookbook contents into appropriate subdirectory] action run (opsworks_custom_cookbooks::checkout line 64)
[2015-10-27T18:35:06+00:00] INFO: Processing opsworks_berkshelf_runner[Install berkshelf cookbooks] action berks_install (opsworks_berkshelf::install line 54)
[2015-10-27T18:35:06+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)
[2015-10-27T18:35:06+00:00] INFO: directory[/opt/aws/opsworks/current/berkshelf-cookbooks] deleted /opt/aws/opsworks/current/berkshelf-cookbooks recursively
[2015-10-27T18:35:06+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)
[2015-10-27T18:35:09+00:00] INFO:
Resolving cookbook dependencies...
Fetching 'databindery' from source at .
Fetching cookbook index from https://supermarket.getchef.com...
Installing apt (2.9.2)
Using databindery (1.0.0) from source at .
Vendoring apt (2.9.2) to /opt/aws/opsworks/current/berkshelf-cookbooks/apt
Vendoring databindery (1.0.0) to /opt/aws/opsworks/current/berkshelf-cookbooks/databindery
[2015-10-27T18:35:09+00:00] INFO: ruby_block[Install the cookbooks specified in the Berksfile and their dependencies] called
[2015-10-27T18:35:09+00:00] INFO: Processing execute[ensure correct permissions of custom cookbooks] action run (opsworks_custom_cookbooks::checkout line 82)
[2015-10-27T18:35:10+00:00] INFO: execute[ensure correct permissions of custom cookbooks] ran successfully
[2015-10-27T18:35:10+00:00] INFO: Processing ruby_block[merge all cookbooks sources] action run (opsworks_custom_cookbooks::load line 12)
[2015-10-27T18:35:10+00:00] INFO: ruby_block[merge all cookbooks sources] called
[2015-10-27T18:35:10+00:00] WARN: Skipping final node save because override_runlist was given
[2015-10-27T18:35:10+00:00] INFO: Chef Run complete in 22.027833947 seconds
[2015-10-27T18:35:10+00:00] INFO: Running report handlers
[2015-10-27T18:35:10+00:00] INFO: Report handlers complete
---
[2015-10-27T18:35:12+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
[2015-10-27T18:35:12+00:00] INFO: Forking chef instance to converge...
[2015-10-27T18:35:12+00:00] INFO: *** Chef 11.10.4 ***
[2015-10-27T18:35:12+00:00] INFO: Chef-client pid: 2224
[2015-10-27T18:35:14+00:00] INFO: Setting the run_list to ["opsworks_custom_cookbooks::load", "opsworks_custom_cookbooks::execute"] from JSON
[2015-10-27T18:35:14+00:00] WARN: Run List override has been provided.
[2015-10-27T18:35:14+00:00] WARN: Original Run List: [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]]
[2015-10-27T18:35:14+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[databindery::elastic_setup], recipe[deploy::default], recipe[test_suite], recipe[opsworks_cleanup]]
[2015-10-27T18:35:14+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[databindery::elastic_setup], recipe[deploy::default], recipe[test_suite], recipe[opsworks_cleanup]]
[2015-10-27T18:35:14+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, databindery::elastic_setup, deploy::default, test_suite, opsworks_cleanup]
[2015-10-27T18:35:14+00:00] INFO: Starting Chef Run for elasticsearch2.localdomain
[2015-10-27T18:35:14+00:00] INFO: Running start handlers
[2015-10-27T18:35:14+00:00] INFO: Start handlers complete.
[2015-10-27T18:35:14+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: /reports/nodes/elasticsearch2.localdomain/runs
[2015-10-27T18:35:31+00:00] INFO: Loading cookbooks [apache2, apt, databindery, dependencies, deploy, ebs, gem_support, mod_php5_apache2, mysql, nginx, opsworks_agent_monit, opsworks_aws_flow_ruby, opsworks_bundler, opsworks_cleanup, opsworks_commons, opsworks_ganglia, opsworks_initial_setup, opsworks_java, opsworks_nodejs, opsworks_rubygems, opsworks_stack_state_sync, packages, passenger_apache2, php, rails, ruby, scm_helper, ssh_host_keys, ssh_users, test_suite, unicorn]
[2015-10-27T18:35:32+00:00] INFO: setting public key for user matt
[2015-10-27T18:35:32+00:00] INFO: setting public key for user steffen
[2015-10-27T18:35:32+00:00] INFO: setting public key for user frontendmasters
[2015-10-27T18:35:32+00:00] INFO: No db-master layer or MySQL RDS DB instance found. Skipping MySQL client package installation.
[2015-10-27T18:35:32+00:00] INFO: Userspace Ruby version is up-to-date (2.1 patch release 1)
[2015-10-27T18:35:32+00:00] INFO: No monitoring-master node found. Skipping Ganglia client setup.
[2015-10-27T18:35:33+00:00] WARN: Cloning resource attributes for group[www-data] from prior resource (CHEF-3694)
[2015-10-27T18:35:33+00:00] WARN: Previous group[www-data]: /var/lib/aws/opsworks/cache.stage2/cookbooks/deploy/definitions/opsworks_deploy_user.rb:4:in `block in from_file'
[2015-10-27T18:35:33+00:00] WARN: Current group[www-data]: /var/lib/aws/opsworks/cache.stage2/cookbooks/deploy/definitions/opsworks_deploy_user.rb:4:in `block in from_file'
[2015-10-27T18:35:33+00:00] WARN: Cloning resource attributes for user[deploy] from prior resource (CHEF-3694)
[2015-10-27T18:35:33+00:00] WARN: Previous user[deploy]: /var/lib/aws/opsworks/cache.stage2/cookbooks/deploy/definitions/opsworks_deploy_user.rb:6:in `block in from_file'
[2015-10-27T18:35:33+00:00] WARN: Current user[deploy]: /var/lib/aws/opsworks/cache.stage2/cookbooks/deploy/definitions/opsworks_deploy_user.rb:6:in `block in from_file'
[2015-10-27T18:35:33+00:00] INFO: Processing directory[/etc/sysctl.d] action create (opsworks_initial_setup::sysctl line 1)
[2015-10-27T18:35:33+00:00] INFO: Processing template[/etc/sysctl.d/70-opsworks-defaults.conf] action create (opsworks_initial_setup::sysctl line 8)
[2015-10-27T18:35:33+00:00] INFO: Processing execute[Setting sysctl: net.core.somaxconn] action run (opsworks_initial_setup::sysctl line 17)
[2015-10-27T18:35:33+00:00] INFO: execute[Setting sysctl: net.core.somaxconn] ran successfully
[2015-10-27T18:35:33+00:00] INFO: Processing execute[Setting sysctl: net.core.netdev_max_backlog] action run (opsworks_initial_setup::sysctl line 17)
[2015-10-27T18:35:33+00:00] INFO: execute[Setting sysctl: net.core.netdev_max_backlog] ran successfully
[2015-10-27T18:35:33+00:00] INFO: Processing execute[Setting sysctl: net.ipv4.tcp_max_syn_backlog] action run (opsworks_initial_setup::sysctl line 17)
[2015-10-27T18:35:33+00:00] INFO: execute[Setting sysctl: net.ipv4.tcp_max_syn_backlog] ran successfully
[2015-10-27T18:35:33+00:00] INFO: Processing execute[Setting sysctl: net.ipv4.tcp_fin_timeout] action run (opsworks_initial_setup::sysctl line 17)
[2015-10-27T18:35:33+00:00] INFO: execute[Setting sysctl: net.ipv4.tcp_fin_timeout] ran successfully
[2015-10-27T18:35:33+00:00] INFO: Processing execute[Setting sysctl: net.ipv4.tcp_keepalive_time] action run (opsworks_initial_setup::sysctl line 17)
[2015-10-27T18:35:33+00:00] INFO: execute[Setting sysctl: net.ipv4.tcp_keepalive_time] ran successfully
[2015-10-27T18:35:33+00:00] INFO: Processing execute[Setting sysctl: net.ipv4.tcp_max_orphans] action run (opsworks_initial_setup::sysctl line 17)
[2015-10-27T18:35:33+00:00] INFO: execute[Setting sysctl: net.ipv4.tcp_max_orphans] ran successfully
[2015-10-27T18:35:33+00:00] INFO: Processing execute[Setting sysctl: net.ipv4.tcp_tw_reuse] action run (opsworks_initial_setup::sysctl line 17)
[2015-10-27T18:35:33+00:00] INFO: execute[Setting sysctl: net.ipv4.tcp_tw_reuse] ran successfully
[2015-10-27T18:35:33+00:00] INFO: Processing template[/etc/security/limits.conf] action create (opsworks_initial_setup::limits line 1)
[2015-10-27T18:35:33+00:00] INFO: Processing directory[/mnt/var/log/mysql] action create (opsworks_initial_setup::bind_mounts line 2)
[2015-10-27T18:35:33+00:00] INFO: Processing directory[/mnt/srv/www] action create (opsworks_initial_setup::bind_mounts line 2)
[2015-10-27T18:35:33+00:00] INFO: Processing directory[/mnt/var/www] action create (opsworks_initial_setup::bind_mounts line 2)
[2015-10-27T18:35:33+00:00] INFO: Processing directory[/mnt/var/log/apache2] action create (opsworks_initial_setup::bind_mounts line 2)
[2015-10-27T18:35:33+00:00] INFO: Processing bash[Enable selinux http_log target for apache log files] action run (opsworks_initial_setup::bind_mounts line 9)
[2015-10-27T18:35:33+00:00] INFO: Processing package[autofs] action install (opsworks_initial_setup::autofs line 1)
[2015-10-27T18:35:33+00:00] INFO: Processing service[autofs] action enable (opsworks_initial_setup::autofs line 3)
[2015-10-27T18:35:33+00:00] INFO: Processing service[autofs] action start (opsworks_initial_setup::autofs line 3)
[2015-10-27T18:35:33+00:00] INFO: Processing template[/etc/auto.opsworks] action create (opsworks_initial_setup::autofs line 11)
[2015-10-27T18:35:33+00:00] INFO: Processing ruby_block[Update autofs loglevel] action run (opsworks_initial_setup::autofs line 18)
[2015-10-27T18:35:33+00:00] INFO: Processing ruby_block[Update autofs configuration] action run (opsworks_initial_setup::autofs line 30)
[2015-10-27T18:35:33+00:00] INFO: Processing directory[/vol] action create (opsworks_initial_setup::vol_mount_point line 1)
[2015-10-27T18:35:33+00:00] INFO: Processing package[landscape-common] action purge (opsworks_initial_setup::remove_landscape line 5)
[2015-10-27T18:35:33+00:00] INFO: Processing package[landscape-client] action purge (opsworks_initial_setup::remove_landscape line 5)
[2015-10-27T18:35:34+00:00] INFO: Processing template[/etc/ld.so.conf.d/opsworks-user-space.conf] action create (opsworks_initial_setup::ldconfig line 1)
[2015-10-27T18:35:34+00:00] INFO: Processing execute[Configure dynamic linker run-time bindings] action run (opsworks_initial_setup::ldconfig line 8)
[2015-10-27T18:35:34+00:00] INFO: execute[Configure dynamic linker run-time bindings] ran successfully
[2015-10-27T18:35:34+00:00] INFO: Processing ruby_block[enable keepcache in yum.conf] action run (opsworks_initial_setup::yum_conf line 1)
[2015-10-27T18:35:34+00:00] INFO: Processing ruby_block[disable yum update-motd plugin] action run (opsworks_initial_setup::yum_conf line 13)
[2015-10-27T18:35:34+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)
[2015-10-27T18:35:34+00:00] INFO: Processing package[procps] action install (opsworks_initial_setup::package_procps line 1)
[2015-10-27T18:35:34+00:00] INFO: Processing package[ntp] action install (opsworks_initial_setup::package_ntpd line 3)
[2015-10-27T18:35:34+00:00] INFO: Processing package[vim-nox] action install (opsworks_initial_setup::package_vim line 3)
[2015-10-27T18:35:34+00:00] INFO: Processing package[screen] action install (opsworks_initial_setup::package_screen line 1)
[2015-10-27T18:35:34+00:00] INFO: Processing template[/etc/ssh/ssh_host_rsa_key] action create (ssh_host_keys::default line 4)
[2015-10-27T18:35:34+00:00] INFO: Processing template[/etc/ssh/ssh_host_rsa_key.pub] action create (ssh_host_keys::default line 4)
[2015-10-27T18:35:34+00:00] INFO: Processing template[/etc/ssh/ssh_host_dsa_key] action create (ssh_host_keys::default line 4)
[2015-10-27T18:35:34+00:00] INFO: Processing template[/etc/ssh/ssh_host_dsa_key.pub] action create (ssh_host_keys::default line 4)
[2015-10-27T18:35:34+00:00] INFO: Processing group[opsworks] action create (ssh_users::default line 1)
[2015-10-27T18:35:34+00:00] INFO: Processing template[/home/matt/.ssh/authorized_keys] action create (ssh_users::default line 55)
[2015-10-27T18:35:34+00:00] INFO: Processing template[/home/steffen/.ssh/authorized_keys] action create (ssh_users::default line 55)
[2015-10-27T18:35:34+00:00] INFO: Processing template[/home/frontendmasters/.ssh/authorized_keys] action create (ssh_users::default line 55)
[2015-10-27T18:35:34+00:00] INFO: Processing template[/etc/sudoers] action create (ssh_users::default line 31)
[2015-10-27T18:35:34+00:00] INFO: Processing template[/etc/sudoers.d/opsworks] action create (ssh_users::default line 41)
[2015-10-27T18:35:34+00:00] INFO: Processing remote_file[/tmp/rubygems-2.2.2.tgz] action create (opsworks_rubygems::default line 1)
[2015-10-27T18:35:34+00:00] INFO: Processing execute[tar xfz rubygems-2.2.2.tgz] action run (opsworks_rubygems::default line 8)
[2015-10-27T18:35:34+00:00] INFO: Processing execute[Updating Rubygems to 2.2.2] action run (opsworks_rubygems::default line 16)
[2015-10-27T18:35:34+00:00] INFO: Processing execute[Clean up] action run (opsworks_rubygems::default line 25)
[2015-10-27T18:35:34+00:00] INFO: execute[Clean up] ran successfully
[2015-10-27T18:35:34+00:00] INFO: Processing gem_package[Installing Bundler 1.5.3] action install (opsworks_bundler::default line 2)
[2015-10-27T18:35:35+00:00] INFO: Processing ruby_block[Fallback Bundler install of 1.5.3] action run (opsworks_bundler::default line 12)
true
[2015-10-27T18:35:35+00:00] INFO: Processing package[xfsprogs] action install (ebs::default line 3)
[2015-10-27T18:35:35+00:00] INFO: Processing package[xfsdump] action install (ebs::default line 4)
[2015-10-27T18:35:35+00:00] INFO: Processing package[xfslibs-dev] action install (ebs::default line 5)
[2015-10-27T18:35:36+00:00] INFO: Processing template[/etc/hosts] action create (opsworks_stack_state_sync::hosts line 3)
[2015-10-27T18:35:36+00:00] INFO: Processing template[/etc/motd.opsworks-static] action create (opsworks_stack_state_sync::motd line 8)
[2015-10-27T18:35:36+00:00] INFO: Processing file[/var/lib/apt/periodic/update-success-stamp] action nothing (apt::default line 30)
[2015-10-27T18:35:36+00:00] INFO: Processing directory[/etc/apt/apt.conf.d] action create (apt::default line 53)
[2015-10-27T18:35:36+00:00] INFO: Processing cookbook_file[/etc/apt/apt.conf.d/15update-stamp] action create (apt::default line 57)
[2015-10-27T18:35:36+00:00] INFO: Processing execute[apt-get update] action nothing (apt::default line 62)
[2015-10-27T18:35:36+00:00] INFO: Processing execute[apt-get autoremove] action nothing (apt::default line 71)
[2015-10-27T18:35:36+00:00] INFO: Processing execute[apt-get autoclean] action nothing (apt::default line 78)
[2015-10-27T18:35:36+00:00] INFO: Processing execute[apt-get-update-periodic] action run (apt::default line 84)
[2015-10-27T18:35:36+00:00] INFO: Processing directory[/var/cache/local] action create (apt::default line 93)
[2015-10-27T18:35:36+00:00] INFO: Processing directory[/var/cache/local/preseeding] action create (apt::default line 93)
[2015-10-27T18:35:36+00:00] INFO: Processing template[/etc/apt/apt.conf.d/10recommends] action create (apt::default line 102)
[2015-10-27T18:35:36+00:00] INFO: Processing package[apt-transport-https] action install (apt::default line 109)
[2015-10-27T18:35:36+00:00] INFO: Processing apt_repository[elastic] action add (databindery::apt line 3)
[2015-10-27T18:35:36+00:00] INFO: Processing remote_file[/var/lib/aws/opsworks/cache.stage2/GPG-KEY-elasticsearch] action create (/var/lib/aws/opsworks/cache.stage2/cookbooks/apt/providers/repository.rb line 90)
[2015-10-27T18:35:36+00:00] INFO: Processing execute[install-key GPG-KEY-elasticsearch] action run (/var/lib/aws/opsworks/cache.stage2/cookbooks/apt/providers/repository.rb line 112)
[2015-10-27T18:35:36+00:00] INFO: Processing file[/var/lib/apt/periodic/update-success-stamp] action nothing (/var/lib/aws/opsworks/cache.stage2/cookbooks/apt/providers/repository.rb line 187)
[2015-10-27T18:35:36+00:00] INFO: Processing execute[apt-cache gencaches] action nothing (/var/lib/aws/opsworks/cache.stage2/cookbooks/apt/providers/repository.rb line 191)
[2015-10-27T18:35:36+00:00] INFO: Processing execute[apt-get update] action nothing (/var/lib/aws/opsworks/cache.stage2/cookbooks/apt/providers/repository.rb line 196)
[2015-10-27T18:35:36+00:00] INFO: Processing file[/etc/apt/sources.list.d/elastic.list] action create (/var/lib/aws/opsworks/cache.stage2/cookbooks/apt/providers/repository.rb line 226)
[2015-10-27T18:35:36+00:00] INFO: Processing apt_repository[postgres] action add (databindery::apt line 10)
[2015-10-27T18:35:36+00:00] INFO: Processing remote_file[/var/lib/aws/opsworks/cache.stage2/ACCC4CF8.asc] action create (/var/lib/aws/opsworks/cache.stage2/cookbooks/apt/providers/repository.rb line 90)
[2015-10-27T18:35:37+00:00] INFO: Processing execute[install-key ACCC4CF8.asc] action run (/var/lib/aws/opsworks/cache.stage2/cookbooks/apt/providers/repository.rb line 112)
[2015-10-27T18:35:37+00:00] INFO: Processing file[/var/lib/apt/periodic/update-success-stamp] action nothing (/var/lib/aws/opsworks/cache.stage2/cookbooks/apt/providers/repository.rb line 187)
[2015-10-27T18:35:37+00:00] INFO: Processing execute[apt-cache gencaches] action nothing (/var/lib/aws/opsworks/cache.stage2/cookbooks/apt/providers/repository.rb line 191)
[2015-10-27T18:35:37+00:00] INFO: Processing execute[apt-get update] action nothing (/var/lib/aws/opsworks/cache.stage2/cookbooks/apt/providers/repository.rb line 196)
[2015-10-27T18:35:37+00:00] INFO: Processing file[/etc/apt/sources.list.d/postgres.list] action create (/var/lib/aws/opsworks/cache.stage2/cookbooks/apt/providers/repository.rb line 226)
[2015-10-27T18:35:37+00:00] INFO: Processing package[elasticsearch] action install (databindery::elastic_setup line 7)
[2015-10-27T18:35:37+00:00] INFO: Processing template[/etc/elasticsearch/elasticsearch.yml] action create (databindery::elastic_setup line 12)
[2015-10-27T18:35:37+00:00] INFO: Processing package[openjdk-7-jdk] action install (databindery::elastic_setup line 23)
[2015-10-27T18:35:37+00:00] INFO: Processing service[elasticsearch] action enable (databindery::elastic_setup line 25)
[2015-10-27T18:35:37+00:00] INFO: Processing service[elasticsearch] action start (databindery::elastic_setup line 25)
[2015-10-27T18:35:38+00:00] INFO: service[elasticsearch] started
[2015-10-27T18:35:38+00:00] INFO: Processing group[www-data] action create (deploy::default line 4)
[2015-10-27T18:35:38+00:00] INFO: Processing user[deploy] action create (deploy::default line 6)
[2015-10-27T18:35:38+00:00] INFO: Processing group[www-data] action create (deploy::default line 4)
[2015-10-27T18:35:38+00:00] INFO: Processing user[deploy] action create (deploy::default line 6)
[2015-10-27T18:35:38+00:00] INFO: Processing ruby_block[Remove temp directories] action run (opsworks_cleanup::default line 3)
[2015-10-27T18:35:38+00:00] INFO: ruby_block[Remove temp directories] called
[2015-10-27T18:35:38+00:00] INFO: Processing ruby_block[Clean up old chef log files] action run (opsworks_cleanup::default line 11)
[2015-10-27T18:35:38+00:00] INFO: Clean up: There are fewer than 10 logs - skipping cleanup
[2015-10-27T18:35:38+00:00] INFO: ruby_block[Clean up old chef log files] called
[2015-10-27T18:35:38+00:00] WARN: Skipping final node save because override_runlist was given
[2015-10-27T18:35:38+00:00] INFO: Chef Run complete in 23.526030516 seconds
[2015-10-27T18:35:38+00:00] INFO: Running report handlers
[2015-10-27T18:35:38+00:00] INFO: Report handlers complete
source "https://supermarket.getchef.com"
# def opsworks_cookbook(name, branch=nil)
# cookbook name, github: 'aws/opsworks-cookbooks', branch: 'release-chef-11.10', rel: name
# end
# %w{ deploy scm_helper mod_php5_apache2 ssh_users opsworks_agent_monit opsworks_java opsworks_nodejs opsworks_aws_flow_ruby dependencies opsworks_commons opsworks_initial_setup gem_support ruby opsworks_bundler opsworks_rubygems} .each do |cb|
# opsworks_cookbook cb
# end
cookbook 'apt', '2.9.2'
cookbook 'databindery', path: '.'
DEPENDENCIES
apt (= 2.9.2)
databindery
path: .
GRAPH
apt (2.9.2)
databindery (1.0.0)
apt (>= 0.0.0)
[2015-10-27T18:38:51+00:00] INFO: AWS OpsWorks instance 4eb1e92c-19d9-442e-ae7e-52dd8b0135b7, Agent version 3424-20150709092700
[2015-10-27T18:38:53+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
[2015-10-27T18:38:53+00:00] INFO: Forking chef instance to converge...
[2015-10-27T18:38:53+00:00] INFO: *** Chef 11.10.4 ***
[2015-10-27T18:38:53+00:00] INFO: Chef-client pid: 6031
[2015-10-27T18:38:54+00:00] INFO: Setting the run_list to ["opsworks_custom_cookbooks::load", "opsworks_custom_cookbooks::execute"] from JSON
[2015-10-27T18:38:54+00:00] WARN: Run List override has been provided.
[2015-10-27T18:38:54+00:00] WARN: Original Run List: [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]]
[2015-10-27T18:38:54+00:00] WARN: Overridden Run List: [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]]
[2015-10-27T18:38:54+00:00] INFO: Run List is [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]]
[2015-10-27T18:38:54+00:00] INFO: Run List expands to [opsworks_custom_cookbooks::load, opsworks_custom_cookbooks::execute]
[2015-10-27T18:38:54+00:00] INFO: Starting Chef Run for elasticsearch3.localdomain
[2015-10-27T18:38:54+00:00] INFO: Running start handlers
[2015-10-27T18:38:54+00:00] INFO: Start handlers complete.
[2015-10-27T18:38:54+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: /reports/nodes/elasticsearch3.localdomain/runs
[2015-10-27T18:39:08+00:00] INFO: Loading cookbooks [apache2, dependencies, deploy, gem_support, mod_php5_apache2, mysql, nginx, opsworks_agent_monit, opsworks_aws_flow_ruby, 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]
[2015-10-27T18:39:10+00:00] INFO: Not needed with Chef 11.x (x >= 8) anymore.
[2015-10-27T18:39:10+00:00] INFO: Processing package[git-core] action install (opsworks_custom_cookbooks::checkout line 9)
[2015-10-27T18:39:10+00:00] INFO: Processing directory[/root/.ssh] action create (opsworks_custom_cookbooks::checkout line 8)
[2015-10-27T18:39:10+00:00] INFO: Processing file[/root/.ssh/config] action touch (opsworks_custom_cookbooks::checkout line 16)
[2015-10-27T18:39:10+00:00] INFO: file[/root/.ssh/config] updated atime and mtime to 2015-10-27 18:39:10 +0000
[2015-10-27T18:39:10+00:00] INFO: Processing execute[echo 'StrictHostKeyChecking no' > /root/.ssh/config] action run (opsworks_custom_cookbooks::checkout line 23)
[2015-10-27T18:39:10+00:00] INFO: Processing template[/root/.ssh/id_dsa] action create (opsworks_custom_cookbooks::checkout line 27)
[2015-10-27T18:39:10+00:00] INFO: Processing git[Download Custom Cookbooks] action checkout (opsworks_custom_cookbooks::checkout line 29)
[2015-10-27T18:39:10+00:00] INFO: Processing ruby_block[Move single cookbook contents into appropriate subdirectory] action run (opsworks_custom_cookbooks::checkout line 64)
[2015-10-27T18:39:10+00:00] INFO: Processing opsworks_berkshelf_runner[Install berkshelf cookbooks] action berks_install (opsworks_berkshelf::install line 54)
[2015-10-27T18:39:10+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)
[2015-10-27T18:39:10+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)
[2015-10-27T18:39:10+00:00] INFO: Processing execute[ensure correct permissions of custom cookbooks] action run (opsworks_custom_cookbooks::checkout line 82)
[2015-10-27T18:39:10+00:00] INFO: execute[ensure correct permissions of custom cookbooks] ran successfully
[2015-10-27T18:39:10+00:00] INFO: Processing ruby_block[merge all cookbooks sources] action run (opsworks_custom_cookbooks::load line 12)
[2015-10-27T18:39:11+00:00] INFO: ruby_block[merge all cookbooks sources] called
[2015-10-27T18:39:11+00:00] WARN: Skipping final node save because override_runlist was given
[2015-10-27T18:39:11+00:00] INFO: Chef Run complete in 16.090397221 seconds
[2015-10-27T18:39:11+00:00] INFO: Running report handlers
[2015-10-27T18:39:11+00:00] INFO: Report handlers complete
---
[2015-10-27T18:39:13+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
[2015-10-27T18:39:13+00:00] INFO: Forking chef instance to converge...
[2015-10-27T18:39:13+00:00] INFO: *** Chef 11.10.4 ***
[2015-10-27T18:39:13+00:00] INFO: Chef-client pid: 6195
[2015-10-27T18:39:14+00:00] INFO: Setting the run_list to ["opsworks_custom_cookbooks::load", "opsworks_custom_cookbooks::execute"] from JSON
[2015-10-27T18:39:14+00:00] WARN: Run List override has been provided.
[2015-10-27T18:39:14+00:00] WARN: Original Run List: [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]]
[2015-10-27T18:39:14+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[databindery::elastic_setup], recipe[deploy::default], recipe[test_suite], recipe[opsworks_cleanup]]
[2015-10-27T18:39:14+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[databindery::elastic_setup], recipe[deploy::default], recipe[test_suite], recipe[opsworks_cleanup]]
[2015-10-27T18:39:14+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, databindery::elastic_setup, deploy::default, test_suite, opsworks_cleanup]
[2015-10-27T18:39:14+00:00] INFO: Starting Chef Run for elasticsearch3.localdomain
[2015-10-27T18:39:14+00:00] INFO: Running start handlers
[2015-10-27T18:39:14+00:00] INFO: Start handlers complete.
[2015-10-27T18:39:14+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: /reports/nodes/elasticsearch3.localdomain/runs
[2015-10-27T18:39:14+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:15+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:15+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:15+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:15+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:15+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:15+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:15+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:15+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:15+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:15+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:15+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:16+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:16+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:16+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:16+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:16+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:16+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:16+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:16+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:16+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:16+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:16+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:17+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:17+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:17+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:17+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:17+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:17+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:17+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:17+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:17+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:17+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:17+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:18+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:18+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:18+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:18+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:18+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:18+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:18+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:18+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:18+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:18+00:00] WARN: Cookbook 'apt' is empty or entirely chefignored at /opt/aws/opsworks/current/merged-cookbooks/apt
[2015-10-27T18:39:18+00:00] INFO: HTTP Request Returned 412 Precondition Failed: No such cookbook: apt
================================================================================
Error Resolving Cookbooks for Run List:
================================================================================
Missing Cookbooks:
------------------
No such cookbook: apt
Expanded Run List:
------------------
* opsworks_initial_setup
* ssh_host_keys
* ssh_users
* mysql::client
* dependencies
* ebs
* opsworks_ganglia::client
* opsworks_stack_state_sync
* databindery::elastic_setup
* deploy::default
* test_suite
* opsworks_cleanup
[2015-10-27T18:39:19+00:00] ERROR: Running exception handlers
[2015-10-27T18:39:19+00:00] ERROR: Exception handlers complete
[2015-10-27T18:39:19+00:00] FATAL: Stacktrace dumped to /var/lib/aws/opsworks/cache.stage2/chef-stacktrace.out
[2015-10-27T18:39:19+00:00] ERROR: 412 "Precondition Failed"
[2015-10-27T18:39:19+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
name 'databindery'
version '1.0.0'
depends "apt"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment