Advertisement
Guest User

opsworks failure log

a guest
Nov 28th, 2014
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.46 KB | None | 0 0
  1. [2014-11-28T14:36:12+00:00] INFO: Starting chef-zero on port 8889 with repository at repository at /opt/aws/opsworks/current
  2. One version per cookbook
  3. data_bags at /var/lib/aws/opsworks/data/data_bags
  4. nodes at /var/lib/aws/opsworks/data/nodes
  5.  
  6. [2014-11-28T14:36:12+00:00] INFO: Forking chef instance to converge...
  7. [2014-11-28T14:36:12+00:00] INFO: *** Chef 11.10.4 ***
  8. [2014-11-28T14:36:12+00:00] INFO: Chef-client pid: 1195
  9. [2014-11-28T14:36:12+00:00] INFO: Setting the run_list to ["opsworks_custom_cookbooks::load", "opsworks_custom_cookbooks::execute"] from JSON
  10. [2014-11-28T14:36:12+00:00] WARN: Run List override has been provided.
  11. [2014-11-28T14:36:12+00:00] WARN: Original Run List: [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]]
  12. [2014-11-28T14:36:12+00:00] WARN: Overridden Run List: [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]]
  13. [2014-11-28T14:36:12+00:00] INFO: Run List is [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]]
  14. [2014-11-28T14:36:12+00:00] INFO: Run List expands to [opsworks_custom_cookbooks::load, opsworks_custom_cookbooks::execute]
  15. [2014-11-28T14:36:12+00:00] INFO: Starting Chef Run for play-webserver.localdomain
  16. [2014-11-28T14:36:12+00:00] INFO: Running start handlers
  17. [2014-11-28T14:36:12+00:00] INFO: Start handlers complete.
  18. [2014-11-28T14:36:12+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: /reports/nodes/play-webserver.localdomain/runs
  19. [2014-11-28T14:36:18+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]
  20. [2014-11-28T14:36:19+00:00] INFO: Not needed with Chef 11.x (x >= 8) anymore.
  21. [2014-11-28T14:36:19+00:00] INFO: Processing package[git-core] action install (opsworks_custom_cookbooks::checkout line 9)
  22. [2014-11-28T14:36:19+00:00] INFO: Processing directory[/root/.ssh] action create (opsworks_custom_cookbooks::checkout line 8)
  23. [2014-11-28T14:36:19+00:00] INFO: Processing file[/root/.ssh/config] action touch (opsworks_custom_cookbooks::checkout line 16)
  24. [2014-11-28T14:36:19+00:00] INFO: file[/root/.ssh/config] updated atime and mtime to 2014-11-28 14:36:19 +0000
  25. [2014-11-28T14:36:19+00:00] INFO: Processing execute[echo 'StrictHostKeyChecking no' > /root/.ssh/config] action run (opsworks_custom_cookbooks::checkout line 23)
  26. [2014-11-28T14:36:19+00:00] INFO: Processing template[/root/.ssh/id_dsa] action create (opsworks_custom_cookbooks::checkout line 27)
  27. [2014-11-28T14:36:19+00:00] INFO: Processing git[Download Custom Cookbooks] action checkout (opsworks_custom_cookbooks::checkout line 29)
  28. [2014-11-28T14:36:19+00:00] INFO: Processing ruby_block[Move single cookbook contents into appropriate subdirectory] action run (opsworks_custom_cookbooks::checkout line 64)
  29. [2014-11-28T14:36:19+00:00] INFO: Processing package[opsworks-berkshelf] action remove (opsworks_berkshelf::purge line 1)
  30. [2014-11-28T14:36:19+00:00] INFO: Processing gem_package[berkshelf] action purge (opsworks_berkshelf::purge line 6)
  31. [2014-11-28T14:36:19+00:00] INFO: Processing log[delete repo] action nothing (opsworks_berkshelf::purge line 16)
  32. [2014-11-28T14:36:19+00:00] INFO: Processing directory[/opt/aws/opsworks/current/berkshelf-cookbooks] action delete (opsworks_berkshelf::purge line 21)
  33. [2014-11-28T14:36:19+00:00] INFO: Processing execute[ensure correct permissions of custom cookbooks] action run (opsworks_custom_cookbooks::checkout line 82)
  34. [2014-11-28T14:36:19+00:00] INFO: execute[ensure correct permissions of custom cookbooks] ran successfully
  35. [2014-11-28T14:36:19+00:00] INFO: Processing ruby_block[merge all cookbooks sources] action run (opsworks_custom_cookbooks::load line 12)
  36. [2014-11-28T14:36:20+00:00] INFO: ruby_block[merge all cookbooks sources] called
  37. [2014-11-28T14:36:20+00:00] WARN: Skipping final node save because override_runlist was given
  38. [2014-11-28T14:36:20+00:00] INFO: Chef Run complete in 7.496859329 seconds
  39. [2014-11-28T14:36:20+00:00] INFO: Running report handlers
  40. [2014-11-28T14:36:20+00:00] INFO: Report handlers complete
  41.  
  42. ---
  43.  
  44. [2014-11-28T14:36:21+00:00] INFO: Starting chef-zero on port 8889 with repository at repository at /opt/aws/opsworks/current
  45. One version per cookbook
  46. data_bags at /var/lib/aws/opsworks/data/data_bags
  47. nodes at /var/lib/aws/opsworks/data/nodes
  48.  
  49. [2014-11-28T14:36:21+00:00] INFO: Forking chef instance to converge...
  50. [2014-11-28T14:36:21+00:00] INFO: *** Chef 11.10.4 ***
  51. [2014-11-28T14:36:21+00:00] INFO: Chef-client pid: 1372
  52. [2014-11-28T14:36:21+00:00] INFO: Setting the run_list to ["opsworks_custom_cookbooks::load", "opsworks_custom_cookbooks::execute"] from JSON
  53. [2014-11-28T14:36:21+00:00] WARN: Run List override has been provided.
  54. [2014-11-28T14:36:21+00:00] WARN: Original Run List: [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]]
  55. [2014-11-28T14:36:21+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[app::setup], recipe[deploy::default], recipe[app::deploy], recipe[test_suite], recipe[opsworks_cleanup]]
  56. [2014-11-28T14:36:21+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[app::setup], recipe[deploy::default], recipe[app::deploy], recipe[test_suite], recipe[opsworks_cleanup]]
  57. [2014-11-28T14:36:21+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, app::setup, deploy::default, app::deploy, test_suite, opsworks_cleanup]
  58. [2014-11-28T14:36:21+00:00] INFO: Starting Chef Run for play-webserver.localdomain
  59. [2014-11-28T14:36:21+00:00] INFO: Running start handlers
  60. [2014-11-28T14:36:21+00:00] INFO: Start handlers complete.
  61. [2014-11-28T14:36:21+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: /reports/nodes/play-webserver.localdomain/runs
  62. [2014-11-28T14:36:30+00:00] INFO: Loading cookbooks [apache2, app, 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]
  63. [2014-11-28T14:36:30+00:00] INFO: No db-master layer or MySQL RDS DB instance found. Skipping MySQL client package installation.
  64. [2014-11-28T14:36:30+00:00] INFO: No monitoring-master node found. Skipping Ganglia client setup.
  65.  
  66. ================================================================================
  67. Recipe Compile Error in /var/lib/aws/opsworks/cache.stage2/cookbooks/app/recipes/setup.rb
  68. ================================================================================
  69.  
  70.  
  71. Chef::Exceptions::CookbookNotFound
  72. ----------------------------------
  73. Cookbook play2 not found. If you're loading play2 from another cookbook, make sure you configure the dependency in your metadata
  74.  
  75.  
  76. Cookbook Trace:
  77. ---------------
  78. /var/lib/aws/opsworks/cache.stage2/cookbooks/app/recipes/setup.rb:8:in `from_file'
  79.  
  80.  
  81. Relevant File Content:
  82. ----------------------
  83. /var/lib/aws/opsworks/cache.stage2/cookbooks/app/recipes/setup.rb:
  84.  
  85. 1: # app/recipes/setup.rb
  86. 2: #
  87. 3: # Cookbook Name:: app
  88. 4: # Recipe:: setup
  89. 5: #
  90. 6:
  91. 7: # This installs the play framework
  92. 8>> include_recipe "play2::setup" 9:
  93.  
  94.  
  95. [2014-11-28T14:36:30+00:00] ERROR: Running exception handlers
  96. [2014-11-28T14:36:30+00:00] ERROR: Exception handlers complete
  97. [2014-11-28T14:36:30+00:00] FATAL: Stacktrace dumped to /var/lib/aws/opsworks/cache.stage2/chef-stacktrace.out
  98. [2014-11-28T14:36:30+00:00] ERROR: Cookbook play2 not found. If you're loading play2 from another cookbook, make sure you configure the dependency in your metadata
  99. [2014-11-28T14:36:30+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement