Advertisement
Guest User

Untitled

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