mardi 24 février 2015

nginx+php-fpm receipe error aws opsworks

Hi I am trying to implement nginx+php-fpm recipe on custom layer of opswork stack. It's returning me an error



`Chef::Mixin::Template::TemplateError
------------------------------------
undefined method "[]" for nil:NilClass


I checked on the web and they said its about ssl configuration http://ift.tt/1A3QiuH. Then I gave ssl attributes configuration to nginx in default file but error is still showing up. I am new to chef and unable to figure out the error. Please help. My chef code is present at http://ift.tt/1JI9KYX ` Attaching error log for reference



[2015-02-24T17:35:07+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-02-24T17:35:07+00:00] INFO: Forking chef instance to converge...
[2015-02-24T17:35:07+00:00] INFO: *** Chef 11.10.4 ***
[2015-02-24T17:35:07+00:00] INFO: Chef-client pid: 12310
[2015-02-24T17:35:08+00:00] INFO: Setting the run_list to ["opsworks_custom_cookbooks::load", "opsworks_custom_cookbooks::execute"] from JSON
[2015-02-24T17:35:08+00:00] WARN: Run List override has been provided.
[2015-02-24T17:35:08+00:00] WARN: Original Run List: [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]]
[2015-02-24T17:35:08+00:00] WARN: Overridden Run List: [recipe[deploy::default], recipe[opsworks_stack_state_sync], recipe[deploy::nginx], recipe[test_suite], recipe[opsworks_cleanup]]
[2015-02-24T17:35:08+00:00] INFO: Run List is [recipe[deploy::default], recipe[opsworks_stack_state_sync], recipe[deploy::nginx], recipe[test_suite], recipe[opsworks_cleanup]]
[2015-02-24T17:35:08+00:00] INFO: Run List expands to [deploy::default, opsworks_stack_state_sync, deploy::nginx, test_suite, opsworks_cleanup]
[2015-02-24T17:35:08+00:00] INFO: Starting Chef Run for nphp.localdomain
[2015-02-24T17:35:08+00:00] INFO: Running start handlers
[2015-02-24T17:35:08+00:00] INFO: Start handlers complete.
[2015-02-24T17:35:08+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: /reports/nodes/nphp.localdomain/runs
[2015-02-24T17:35:14+00:00] INFO: Loading cookbooks [apache2, dependencies, deploy, gem_support, mod_php5_apache2, mysql, nginx, opsworks_agent_monit, opsworks_aws_flow_ruby, opsworks_bundler, opsworks_cleanup, opsworks_commons, opsworks_initial_setup, opsworks_java, opsworks_nodejs, opsworks_rubygems, opsworks_stack_state_sync, packages, passenger_apache2, php, rails, ruby, scm_helper, ssh_users, test_suite, unicorn]
[2015-02-24T17:35:15+00:00] INFO: Userspace Ruby version is up-to-date (2.0.0 patch p598 release 1)
[2015-02-24T17:35:15+00:00] INFO: Processing remote_file[/tmp/rubygems-2.2.2.tgz] action create (opsworks_rubygems::default line 1)
[2015-02-24T17:35:15+00:00] INFO: Processing execute[tar xfz rubygems-2.2.2.tgz] action run (opsworks_rubygems::default line 8)
[2015-02-24T17:35:15+00:00] INFO: Processing execute[Updating Rubygems to 2.2.2] action run (opsworks_rubygems::default line 16)
[2015-02-24T17:35:15+00:00] INFO: Processing execute[Clean up] action run (opsworks_rubygems::default line 25)
[2015-02-24T17:35:15+00:00] INFO: execute[Clean up] ran successfully
[2015-02-24T17:35:15+00:00] INFO: Processing group[nginx] action create (deploy::default line 4)
[2015-02-24T17:35:15+00:00] INFO: Processing user[deploy] action create (deploy::default line 6)
[2015-02-24T17:35:15+00:00] INFO: Processing template[/etc/hosts] action create (opsworks_stack_state_sync::hosts line 3)
[2015-02-24T17:35:15+00:00] INFO: Processing template[/etc/motd.opsworks-static] action create (opsworks_stack_state_sync::motd line 1)
[2015-02-24T17:35:15+00:00] INFO: Processing service[nginx] action nothing (nginx::service line 1)
[2015-02-24T17:35:15+00:00] INFO: Processing directory[/srv/www/s3example/shared] action create (deploy::nginx line 3)
[2015-02-24T17:35:15+00:00] INFO: Processing directory[/srv/www/s3example/shared/log] action create (deploy::nginx line 13)
[2015-02-24T17:35:15+00:00] INFO: Processing directory[/srv/www/s3example/shared/config] action create (deploy::nginx line 13)
[2015-02-24T17:35:15+00:00] INFO: Processing directory[/srv/www/s3example/shared/system] action create (deploy::nginx line 13)
[2015-02-24T17:35:15+00:00] INFO: Processing directory[/srv/www/s3example/shared/pids] action create (deploy::nginx line 13)
[2015-02-24T17:35:15+00:00] INFO: Processing directory[/srv/www/s3example/shared/scripts] action create (deploy::nginx line 13)
[2015-02-24T17:35:15+00:00] INFO: Processing directory[/srv/www/s3example/shared/sockets] action create (deploy::nginx line 13)
[2015-02-24T17:35:15+00:00] INFO: Processing directory[/srv/www/s3example] action create (deploy::nginx line 5)
[2015-02-24T17:35:15+00:00] INFO: Processing package[git] action install (deploy::nginx line 21)
[2015-02-24T17:35:16+00:00] INFO: Processing package[perl-Digest-HMAC] action install (deploy::nginx line 22)
[2015-02-24T17:35:16+00:00] INFO: Processing package[unzip] action install (deploy::nginx line 24)
[2015-02-24T17:35:16+00:00] INFO: Processing template[/root/.s3curl] action create (deploy::nginx line 7)
[2015-02-24T17:35:17+00:00] INFO: Processing directory[/tmp/opsworks20150224-12310-rpv07u] action create (deploy::nginx line 15)
[2015-02-24T17:35:17+00:00] INFO: directory[/tmp/opsworks20150224-12310-rpv07u] mode changed to 755
[2015-02-24T17:35:17+00:00] INFO: Processing execute[Download application from S3: http://ift.tt/1A3QkCY] action run (deploy::nginx line 19)
[2015-02-24T17:35:17+00:00] INFO: execute[Download application from S3: http://ift.tt/1A3QkCY] ran successfully
[2015-02-24T17:35:17+00:00] INFO: Processing execute[extract files] action run (deploy::nginx line 23)
[2015-02-24T17:35:17+00:00] INFO: execute[extract files] ran successfully
[2015-02-24T17:35:17+00:00] INFO: Processing execute[create git repository] action run (deploy::nginx line 27)
[2015-02-24T17:35:17+00:00] INFO: execute[create git repository] ran successfully
[2015-02-24T17:35:17+00:00] INFO: Processing directory[/srv/www/s3example/shared/cached-copy] action delete (deploy::nginx line 48)
[2015-02-24T17:35:17+00:00] INFO: directory[/srv/www/s3example/shared/cached-copy] deleted /srv/www/s3example/shared/cached-copy recursively
[2015-02-24T17:35:17+00:00] INFO: Processing ruby_block[change HOME to /home/deploy for source checkout] action run (deploy::nginx line 56)
[2015-02-24T17:35:17+00:00] INFO: ruby_block[change HOME to /home/deploy for source checkout] called
[2015-02-24T17:35:17+00:00] INFO: Processing deploy[/srv/www/s3example] action deploy (deploy::nginx line 65)
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] cloning repo /tmp/opsworks20150224-12310-rpv07u/archive.d to /srv/www/s3example/shared/cached-copy
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] checked out branch: HEAD onto: deploy reference: dd10f229b58a71c687fc86e05fc92811ecacda0f
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] synchronizing git submodules
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] enabling git submodules
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] set user to deploy
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] set group to nginx
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] copied the cached checkout to /srv/www/s3example/releases/20150224173517
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] set user to deploy
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] set group to nginx
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] running callback before_migrate
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] created directories before symlinking: tmp,public,config
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] linked shared paths into current release: system => public/system, pids => tmp/pids, log => log
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] made pre-migration symlinks
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] set user to deploy
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] set group to nginx
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] queueing checkdeploy hook /srv/www/s3example/releases/20150224173517/deploy/before_migrate.rb
[2015-02-24T17:35:17+00:00] INFO: Processing template[/srv/www/s3example/shared/config/opsworks.php] action create (/var/lib/aws/opsworks/cache.stage2/cookbooks/deploy/definitions/opsworks_deploy.rb line 133)
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] made pre-migration symlinks
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] queueing checkdeploy hook /srv/www/s3example/releases/20150224173517/deploy/before_symlink.rb
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] purged directories in checkout log, tmp/pids, public/system
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] created directories before symlinking: tmp,public,config
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] linked shared paths into current release: system => public/system, pids => tmp/pids, log => log
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] made pre-migration symlinks
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] set user to deploy
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] set group to nginx
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] linked release /srv/www/s3example/releases/20150224173517 into production at /srv/www/s3example/current
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] set user to deploy
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] set group to nginx
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] updated symlinks
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] queueing checkdeploy hook /srv/www/s3example/releases/20150224173517/deploy/before_restart.rb
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] queueing checkdeploy hook /srv/www/s3example/releases/20150224173517/deploy/after_restart.rb
[2015-02-24T17:35:17+00:00] INFO: deploy[/srv/www/s3example] deployed to /srv/www/s3example
[2015-02-24T17:35:17+00:00] INFO: Processing ruby_block[change HOME back to /root after source checkout] action run (deploy::nginx line 161)
[2015-02-24T17:35:17+00:00] INFO: ruby_block[change HOME back to /root after source checkout] called
[2015-02-24T17:35:17+00:00] INFO: Processing template[/etc/logrotate.d/opsworks_app_s3example] action create (deploy::nginx line 187)
[2015-02-24T17:35:17+00:00] INFO: Processing template[/etc/nginx/sites-available/s3example] action create (deploy::nginx line 7)

================================================================================
Error executing action `create` on resource 'template[/etc/nginx/sites-available/s3example]'
================================================================================


Chef::Mixin::Template::TemplateError
------------------------------------
undefined method `[]' for nil:NilClass


Resource Declaration:
---------------------
# In /var/lib/aws/opsworks/cache.stage2/cookbooks/nginx/definitions/nginx_web_app.rb

7: template "#{node[:nginx][:dir]}/sites-available/#{application_name}" do
8: Chef::Log.debug("Generating Nginx site template for #{application_name.inspect}")
9: source params[:template]
10: owner "root"
11: group "root"
12: mode 0644
13: if params[:cookbook]
14: cookbook params[:cookbook]
15: end
16: variables(



Compiled Resource:
------------------
# Declared in /var/lib/aws/opsworks/cache.stage2/cookbooks/nginx/definitions/nginx_web_app.rb:7:in `block in from_file'

template("/etc/nginx/sites-available/s3example") do
params {:template=>"site.erb", :enable=>true, :application=>{"deploy_to"=>"/srv/www/s3example", "chef_provider"=>"Timestamped", "keep_releases"=>5, "current_path"=>"/srv/www/s3example/current", "document_root"=>"", "ignore_bundler_groups"=>["test", "development"], "absolute_document_root"=>"/srv/www/s3example/current/", "rake"=>"/usr/local/bin/rake", "migrate"=>false, "migrate_command"=>"if [ -f Gemfile ]; then echo 'OpsWorks: Gemfile found - running migration with bundle exec' && /usr/local/bin/bundle exec /usr/local/bin/rake db:migrate; else echo 'OpsWorks: no Gemfile - running plain migrations' && /usr/local/bin/rake db:migrate; fi", "rails_env"=>"production", "action"=>"deploy", "user"=>"deploy", "group"=>"nginx", "shell"=>"/bin/bash", "home"=>"/home/deploy", "sleep_before_restart"=>0, "stack"=>{"needs_reload"=>true}, "enable_submodules"=>true, "shallow_clone"=>false, "delete_cached_copy"=>true, "purge_before_symlink"=>["log", "tmp/pids", "public/system"], "create_dirs_before_symlink"=>["tmp", "public", "config"], "symlink_before_migrate"=>{"config/opsworks.php"=>"opsworks.php"}, "symlinks"=>{"system"=>"public/system", "pids"=>"tmp/pids", "log"=>"log"}, "environment"=>{"RAILS_ENV"=>nil, "RUBYOPT"=>"", "RACK_ENV"=>nil, "HOME"=>"/home/deploy"}, "environment_variables"=>{}, "ssl_support"=>false, "auto_npm_install_on_deploy"=>true, "nodejs"=>{"restart_command"=>"monit restart node_web_app_s3example", "stop_command"=>"monit stop node_web_app_s3example", "port"=>80}, "application"=>"s3example", "application_type"=>"php", "auto_bundle_on_deploy"=>true, "deploying_user"=>"arn:aws:iam::920617094095:root", "domains"=>["s3example"], "mounted_at"=>nil, "restart_command"=>"echo 'restarting app'", "ssl_certificate"=>nil, "ssl_certificate_key"=>nil, "ssl_certificate_ca"=>nil, "scm"=>{"scm_type"=>"s3", "repository"=>"http://ift.tt/1A3QkCY", "revision"=>nil, "ssh_key"=>nil, "user"=>"AKIAI5QDRPDHT2HCMQEA", "password"=>"aZsSFeAOPEm+bavH0CDXXDokD+p0zimXEtSgFVW7"}, "database"=>{}, "memcached"=>{"host"=>nil, "port"=>11211}}, :cookbook=>"nginx", :name=>"s3example"}
provider Chef::Provider::Template
action "create"
retries 0
retry_delay 2
path "/etc/nginx/sites-available/s3example"
backup 5
atomic_update true
source "site.erb"
cookbook "nginx"
variables {:application=>{"deploy_to"=>"/srv/www/s3example", "chef_provider"=>"Timestamped", "keep_releases"=>5, "current_path"=>"/srv/www/s3example/current", "document_root"=>"", "ignore_bundler_groups"=>["test", "development"], "absolute_document_root"=>"/srv/www/s3example/current/", "rake"=>"/usr/local/bin/rake", "migrate"=>false, "migrate_command"=>"if [ -f Gemfile ]; then echo 'OpsWorks: Gemfile found - running migration with bundle exec' && /usr/local/bin/bundle exec /usr/local/bin/rake db:migrate; else echo 'OpsWorks: no Gemfile - running plain migrations' && /usr/local/bin/rake db:migrate; fi", "rails_env"=>"production", "action"=>"deploy", "user"=>"deploy", "group"=>"nginx", "shell"=>"/bin/bash", "home"=>"/home/deploy", "sleep_before_restart"=>0, "stack"=>{"needs_reload"=>true}, "enable_submodules"=>true, "shallow_clone"=>false, "delete_cached_copy"=>true, "purge_before_symlink"=>["log", "tmp/pids", "public/system"], "create_dirs_before_symlink"=>["tmp", "public", "config"], "symlink_before_migrate"=>{"config/opsworks.php"=>"opsworks.php"}, "symlinks"=>{"system"=>"public/system", "pids"=>"tmp/pids", "log"=>"log"}, "environment"=>{"RAILS_ENV"=>nil, "RUBYOPT"=>"", "RACK_ENV"=>nil, "HOME"=>"/home/deploy"}, "environment_variables"=>{}, "ssl_support"=>false, "auto_npm_install_on_deploy"=>true, "nodejs"=>{"restart_command"=>"monit restart node_web_app_s3example", "stop_command"=>"monit stop node_web_app_s3example", "port"=>80}, "application"=>"s3example", "application_type"=>"php", "auto_bundle_on_deploy"=>true, "deploying_user"=>"arn:aws:iam::920617094095:root", "domains"=>["s3example"], "mounted_at"=>nil, "restart_command"=>"echo 'restarting app'", "ssl_certificate"=>nil, "ssl_certificate_key"=>nil, "ssl_certificate_ca"=>nil, "scm"=>{"scm_type"=>"s3", "repository"=>"http://ift.tt/1A3QkCY", "revision"=>nil, "ssh_key"=>nil, "user"=>"AKIAI5QDRPDHT2HCMQEA", "password"=>"aZsSFeAOPEm+bavH0CDXXDokD+p0zimXEtSgFVW7"}, "database"=>{}, "memcached"=>{"host"=>nil, "port"=>11211}}, :application_name=>"s3example", :params=>{:template=>"site.erb", :enable=>true, :application=>{"deploy_to"=>"/srv/www/s3example", "chef_provider"=>"Timestamped", "keep_releases"=>5, "current_path"=>"/srv/www/s3example/current", "document_root"=>"", "ignore_bundler_groups"=>["test", "development"], "absolute_document_root"=>"/srv/www/s3example/current/", "rake"=>"/usr/local/bin/rake", "migrate"=>false, "migrate_command"=>"if [ -f Gemfile ]; then echo 'OpsWorks: Gemfile found - running migration with bundle exec' && /usr/local/bin/bundle exec /usr/local/bin/rake db:migrate; else echo 'OpsWorks: no Gemfile - running plain migrations' && /usr/local/bin/rake db:migrate; fi", "rails_env"=>"production", "action"=>"deploy", "user"=>"deploy", "group"=>"nginx", "shell"=>"/bin/bash", "home"=>"/home/deploy", "sleep_before_restart"=>0, "stack"=>{"needs_reload"=>true}, "enable_submodules"=>true, "shallow_clone"=>false, "delete_cached_copy"=>true, "purge_before_symlink"=>["log", "tmp/pids", "public/system"], "create_dirs_before_symlink"=>["tmp", "public", "config"], "symlink_before_migrate"=>{"config/opsworks.php"=>"opsworks.php"}, "symlinks"=>{"system"=>"public/system", "pids"=>"tmp/pids", "log"=>"log"}, "environment"=>{"RAILS_ENV"=>nil, "RUBYOPT"=>"", "RACK_ENV"=>nil, "HOME"=>"/home/deploy"}, "environment_variables"=>{}, "ssl_support"=>false, "auto_npm_install_on_deploy"=>true, "nodejs"=>{"restart_command"=>"monit restart node_web_app_s3example", "stop_command"=>"monit stop node_web_app_s3example", "port"=>80}, "application"=>"s3example", "application_type"=>"php", "auto_bundle_on_deploy"=>true, "deploying_user"=>"arn:aws:iam::920617094095:root", "domains"=>["s3example"], "mounted_at"=>nil, "restart_command"=>"echo 'restarting app'", "ssl_certificate"=>nil, "ssl_certificate_key"=>nil, "ssl_certificate_ca"=>nil, "scm"=>{"scm_type"=>"s3", "repository"=>"http://ift.tt/1A3QkCY", "revision"=>nil, "ssh_key"=>nil, "user"=>"AKIAI5QDRPDHT2HCMQEA", "password"=>"aZsSFeAOPEm+bavH0CDXXDokD+p0zimXEtSgFVW7"}, "database"=>{}, "memcached"=>{"host"=>nil, "port"=>11211}}, :cookbook=>"nginx", :name=>"s3example"}}
cookbook_name "deploy"
recipe_name "nginx"
mode 420
owner "root"
group "root"
end



Template Context:
-----------------
on line #42
40:
41: #BEGIN: CUSTOM NGINX CONFIG
42: <%= @node[:cms][:nginx][:customConfig] %>
43: #END: CUSTOM NGINX CONFIG
44:


[2015-02-24T17:35:17+00:00] INFO: Running queued delayed notifications before re-raising exception
[2015-02-24T17:35:17+00:00] ERROR: Running exception handlers
[2015-02-24T17:35:17+00:00] ERROR: Exception handlers complete
[2015-02-24T17:35:17+00:00] FATAL: Stacktrace dumped to /var/lib/aws/opsworks/cache.stage2/chef-stacktrace.out
[2015-02-24T17:35:17+00:00] ERROR:

Chef::Mixin::Template::TemplateError (undefined method `[]' for nil:NilClass) on line #42:

40:
41: #BEGIN: CUSTOM NGINX CONFIG
42: <%= @node[:cms][:nginx][:customConfig] %>
43: #END: CUSTOM NGINX CONFIG
44:

(erubis):42:in `block in evaluate'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/erubis-2.7.0/lib/erubis/evaluator.rb:74:in `instance_eval'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/erubis-2.7.0/lib/erubis/evaluator.rb:74:in `evaluate'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/mixin/template.rb:126:in `_render_template'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/mixin/template.rb:112:in `render_template'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/provider/template/content.rb:43:in `file_for_provider'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/file_content_management/content_base.rb:40:in `tempfile'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/provider/file.rb:411:in `tempfile'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/provider/file.rb:350:in `do_contents_changes'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/provider/file.rb:121:in `action_create'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/provider.rb:120:in `run_action'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/resource.rb:625:in `run_action'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/runner.rb:49:in `run_action'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/runner.rb:81:in `block (2 levels) in converge'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/runner.rb:81:in `each'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/runner.rb:81:in `block in converge'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/resource_collection.rb:98:in `block in execute_each_resource'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/resource_collection.rb:96:in `execute_each_resource'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/runner.rb:80:in `converge'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/client.rb:335:in `converge'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/client.rb:415:in `do_run'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/client.rb:200:in `block in run'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/client.rb:194:in `fork'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/client.rb:194:in `run'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/application.rb:215:in `run_chef_client'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/application/client.rb:314:in `block in run_application'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/application/client.rb:306:in `loop'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/application/client.rb:306:in `run_application'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/lib/chef/application.rb:66:in `run'
/opt/aws/opsworks/releases/20150210181912_33600020150210181912/vendor/bundle/ruby/2.0.0/gems/chef-11.10.4/bin/chef-client:26:in `<top (required)>'
/opt/aws/opsworks/current/bin/chef-client:16:in `load'
/opt/aws/opsworks/current/bin/chef-client:16:in `<main>'


[2015-02-24T17:35:17+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)




Aucun commentaire:

Enregistrer un commentaire