Working with AWS OpsWorks recensioni

2641 recensioni

Alberto B. · Recensione inserita oltre 10 anni fa

Miguel A. · Recensione inserita oltre 10 anni fa

Joel K. · Recensione inserita oltre 10 anni fa

zinedine k. · Recensione inserita oltre 10 anni fa

Jason C. · Recensione inserita oltre 10 anni fa

Roopa M. · Recensione inserita oltre 10 anni fa

Jeremy S. · Recensione inserita oltre 10 anni fa

Unable to complete lab past step 26 on p. 7 due to errors in the instance setup phase-- script fails.

Nolan W. · Recensione inserita oltre 10 anni fa

Errors setting up instances.

Jessica S. · Recensione inserita oltre 10 anni fa

James T. · Recensione inserita oltre 10 anni fa

Yusuke I. · Recensione inserita oltre 10 anni fa

sam a. · Recensione inserita oltre 10 anni fa

Patrick K. · Recensione inserita oltre 10 anni fa

Josh C. · Recensione inserita oltre 10 anni fa

Francisco R. · Recensione inserita oltre 10 anni fa

Alan H. · Recensione inserita oltre 10 anni fa

Brian B. · Recensione inserita oltre 10 anni fa

Arvs L. · Recensione inserita oltre 10 anni fa

matt l. · Recensione inserita oltre 10 anni fa

Code Errors for First Deployment: Second Deployment did not work either [2015-11-29T23:21:35+00:00] INFO: AWS OpsWorks instance 78d2f0ff-617c-4779-b103-acfb266c8bb4, Agent version 3430-20151125145248 [2015-11-29T23:21:36+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-11-29T23:21:36+00:00] INFO: Forking chef instance to converge... [2015-11-29T23:21:36+00:00] INFO: *** Chef 11.10.4 *** [2015-11-29T23:21:36+00:00] INFO: Chef-client pid: 7685 [2015-11-29T23:21:37+00:00] INFO: Setting the run_list to ["opsworks_custom_cookbooks::load", "opsworks_custom_cookbooks::execute"] from JSON [2015-11-29T23:21:37+00:00] WARN: Run List override has been provided. [2015-11-29T23:21:37+00:00] WARN: Original Run List: [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]] [2015-11-29T23:21:37+00:00] WARN: Overridden Run List: [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]] [2015-11-29T23:21:37+00:00] INFO: Run List is [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]] [2015-11-29T23:21:37+00:00] INFO: Run List expands to [opsworks_custom_cookbooks::load, opsworks_custom_cookbooks::execute] [2015-11-29T23:21:37+00:00] INFO: Starting Chef Run for rails-app1.localdomain [2015-11-29T23:21:37+00:00] INFO: Running start handlers [2015-11-29T23:21:37+00:00] INFO: Start handlers complete. [2015-11-29T23:21:37+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: /reports/nodes/rails-app1.localdomain/runs [2015-11-29T23:21:45+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_postgresql, opsworks_rubygems, packages, passenger_apache2, php, rails, ruby, s3_file, scm_helper, ssh_users, unicorn] [2015-11-29T23:21:45+00:00] INFO: Not needed with Chef 11.x (x >= 8) anymore. [2015-11-29T23:21:45+00:00] INFO: Processing directory[/opt/aws/opsworks/current/site-cookbooks] action delete (opsworks_custom_cookbooks::load line 4) [2015-11-29T23:21:45+00:00] INFO: Processing ruby_block[merge all cookbooks sources] action run (opsworks_custom_cookbooks::load line 12) [2015-11-29T23:21:46+00:00] INFO: ruby_block[merge all cookbooks sources] called [2015-11-29T23:21:46+00:00] WARN: Skipping final node save because override_runlist was given [2015-11-29T23:21:46+00:00] INFO: Chef Run complete in 8.442346653 seconds [2015-11-29T23:21:46+00:00] INFO: Running report handlers [2015-11-29T23:21:46+00:00] INFO: Report handlers complete --- [2015-11-29T23:21:47+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-11-29T23:21:47+00:00] INFO: Forking chef instance to converge... [2015-11-29T23:21:47+00:00] INFO: *** Chef 11.10.4 *** [2015-11-29T23:21:47+00:00] INFO: Chef-client pid: 7830 [2015-11-29T23:21:47+00:00] INFO: Setting the run_list to ["opsworks_custom_cookbooks::load", "opsworks_custom_cookbooks::execute"] from JSON [2015-11-29T23:21:47+00:00] WARN: Run List override has been provided. [2015-11-29T23:21:48+00:00] WARN: Original Run List: [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]] [2015-11-29T23:21:48+00:00] WARN: Overridden Run List: [recipe[deploy::default], recipe[opsworks_stack_state_sync], recipe[deploy::rails], recipe[test_suite], recipe[opsworks_cleanup]] [2015-11-29T23:21:48+00:00] INFO: Run List is [recipe[deploy::default], recipe[opsworks_stack_state_sync], recipe[deploy::rails], recipe[test_suite], recipe[opsworks_cleanup]] [2015-11-29T23:21:48+00:00] INFO: Run List expands to [deploy::default, opsworks_stack_state_sync, deploy::rails, test_suite, opsworks_cleanup] [2015-11-29T23:21:48+00:00] INFO: Starting Chef Run for rails-app1.localdomain [2015-11-29T23:21:48+00:00] INFO: Running start handlers [2015-11-29T23:21:48+00:00] INFO: Start handlers complete. [2015-11-29T23:21:48+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: /reports/nodes/rails-app1.localdomain/runs [2015-11-29T23:21:56+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_postgresql, opsworks_rubygems, opsworks_stack_state_sync, packages, passenger_apache2, php, rails, ruby, s3_file, scm_helper, ssh_users, test_suite, unicorn] [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/agent_version/templates/default/TARGET_VERSION.erb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/agent_version/attributes/default.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/agent_version/attributes/customize.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/agent_version/metadata.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/agent_version/recipes/default.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/opsworks_ganglia/attributes/default.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/opsworks_ganglia/attributes/customize.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/opsworks_ganglia/metadata.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/opsworks_ganglia/recipes/configure-server.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/opsworks_ganglia/recipes/monitor-passenger.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/opsworks_ganglia/recipes/service-gmetad.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/opsworks_ganglia/recipes/service.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/opsworks_ganglia/recipes/server.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/opsworks_ganglia/recipes/views.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/opsworks_ganglia/recipes/monitor-haproxy.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/opsworks_ganglia/recipes/client.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/opsworks_ganglia/recipes/monitor-apache.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/opsworks_ganglia/recipes/monitor-disk.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/opsworks_ganglia/recipes/monitor-memcached.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/opsworks_ganglia/recipes/monitor-nginx.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/opsworks_ganglia/recipes/bind-mount-data.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/opsworks_ganglia/recipes/monitor-mysql.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/opsworks_ganglia/recipes/deploy.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/opsworks_ganglia/recipes/monitor-fd-and-sockets.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Removing cookbooks/opsworks_ganglia/recipes/configure-client.rb from the cache; its cookbook is no longer needed on this client. [2015-11-29T23:21:56+00:00] INFO: Userspace Ruby version is up-to-date (2.0.0 patch p647 release 1) [2015-11-29T23:21:56+00:00] WARN: Cloning resource attributes for bash[Check for bind mounts before creating the deploy directory] from prior resource (CHEF-3694) [2015-11-29T23:21:56+00:00] WARN: Previous bash[Check for bind mounts before creating the deploy directory]: /var/lib/aws/opsworks/cache.stage2/cookbooks/deploy/definitions/opsworks_deploy_dir.rb:9:in `block (2 levels) in from_file' [2015-11-29T23:21:56+00:00] WARN: Current bash[Check for bind mounts before creating the deploy directory]: /var/lib/aws/opsworks/cache.stage2/cookbooks/deploy/definitions/opsworks_deploy_dir.rb:9:in `block (2 levels) in from_file' [2015-11-29T23:21:56+00:00] WARN: Cloning resource attributes for bash[Check for bind mounts before creating the deploy directory] from prior resource (CHEF-3694) [2015-11-29T23:21:56+00:00] WARN: Previous bash[Check for bind mounts before creating the deploy directory]: /var/lib/aws/opsworks/cache.stage2/cookbooks/deploy/definitions/opsworks_deploy_dir.rb:9:in `block (2 levels) in from_file' [2015-11-29T23:21:56+00:00] WARN: Current bash[Check for bind mounts before creating the deploy directory]: /var/lib/aws/opsworks/cache.stage2/cookbooks/deploy/definitions/opsworks_deploy_dir.rb:9:in `block (2 levels) in from_file' [2015-11-29T23:21:56+00:00] WARN: Cloning resource attributes for bash[Check for bind mounts before creating the deploy directory] from prior resource (CHEF-3694) [2015-11-29T23:21:56+00:00] WARN: Previous bash[Check for bind mounts before creating the deploy directory]: /var/lib/aws/opsworks/cache.stage2/cookbooks/deploy/definitions/opsworks_deploy_dir.rb:9:in `block (2 levels) in from_file' [2015-11-29T23:21:56+00:00] WARN: Current bash[Check for bind mounts before creating the deploy directory]: /var/lib/aws/opsworks/cache.stage2/cookbooks/deploy/definitions/opsworks_deploy_dir.rb:9:in `block (2 levels) in from_file' [2015-11-29T23:21:56+00:00] WARN: Cloning resource attributes for service[apache2] from prior resource (CHEF-3694) [2015-11-29T23:21:56+00:00] WARN: Previous service[apache2]: /var/lib/aws/opsworks/cache.stage2/cookbooks/apache2/recipes/service.rb:1:in `from_file' [2015-11-29T23:21:56+00:00] WARN: Current service[apache2]: /var/lib/aws/opsworks/cache.stage2/cookbooks/apache2/recipes/default.rb:32:in `from_file' [2015-11-29T23:21:56+00:00] WARN: Cloning resource attributes for template[/etc/httpd/ports.conf] from prior resource (CHEF-3694) [2015-11-29T23:21:56+00:00] WARN: Previous template[/etc/httpd/ports.conf]: /var/lib/aws/opsworks/cache.stage2/cookbooks/apache2/recipes/default.rb:201:in `from_file' [2015-11-29T23:21:56+00:00] WARN: Current template[/etc/httpd/ports.conf]: /var/lib/aws/opsworks/cache.stage2/cookbooks/apache2/recipes/mod_ssl.rb:32:in `from_file' [2015-11-29T23:21:56+00:00] WARN: Cloning resource attributes for bash[logdir_existence_and_restart_apache2] from prior resource (CHEF-3694) [2015-11-29T23:21:56+00:00] WARN: Previous bash[logdir_existence_and_restart_apache2]: /var/lib/aws/opsworks/cache.stage2/cookbooks/apache2/recipes/default.rb:46:in `from_file' [2015-11-29T23:21:56+00:00] WARN: Current bash[logdir_existence_and_restart_apache2]: /var/lib/aws/opsworks/cache.stage2/cookbooks/apache2/recipes/default.rb:243:in `from_file' [2015-11-29T23:21:56+00:00] INFO: Processing remote_file[/tmp/rubygems-2.2.2.tgz] action create (opsworks_rubygems::default line 1) [2015-11-29T23:21:57+00:00] INFO: Processing execute[tar xfz rubygems-2.2.2.tgz] action run (opsworks_rubygems::default line 8) [2015-11-29T23:21:57+00:00] INFO: Processing execute[Updating Rubygems to 2.2.2] action run (opsworks_rubygems::default line 16) [2015-11-29T23:21:57+00:00] INFO: Processing execute[Clean up] action run (opsworks_rubygems::default line 25) [2015-11-29T23:21:57+00:00] INFO: execute[Clean up] ran successfully [2015-11-29T23:21:57+00:00] INFO: Processing gem_package[Installing Bundler 1.5.3] action install (opsworks_bundler::default line 2) [2015-11-29T23:21:57+00:00] INFO: Processing ruby_block[Fallback Bundler install of 1.5.3] action run (opsworks_bundler::default line 12) true [2015-11-29T23:21:57+00:00] INFO: Processing group[apache] action create (deploy::default line 4) [2015-11-29T23:21:57+00:00] INFO: Processing user[deploy] action create (deploy::default line 6) [2015-11-29T23:21:57+00:00] INFO: Processing template[/etc/hosts] action create (opsworks_stack_state_sync::hosts line 3) [2015-11-29T23:21:57+00:00] INFO: Processing template[/etc/motd.opsworks-static] action create (opsworks_stack_state_sync::motd line 8) [2015-11-29T23:21:57+00:00] INFO: Processing bash[Check for bind mounts before creating the deploy directory] action run (deploy::rails line 9) [2015-11-29T23:21:57+00:00] INFO: bash[Check for bind mounts before creating the deploy directory] ran successfully [2015-11-29T23:21:57+00:00] INFO: Processing bash[Check for bind mounts before creating the deploy directory] action run (deploy::rails line 9) [2015-11-29T23:21:57+00:00] INFO: bash[Check for bind mounts before creating the deploy directory] ran successfully [2015-11-29T23:21:57+00:00] INFO: Processing bash[Check for bind mounts before creating the deploy directory] action run (deploy::rails line 9) [2015-11-29T23:21:57+00:00] INFO: bash[Check for bind mounts before creating the deploy directory] ran successfully [2015-11-29T23:21:57+00:00] INFO: Processing bash[Check for bind mounts before creating the deploy directory] action run (deploy::rails line 9) [2015-11-29T23:21:57+00:00] INFO: bash[Check for bind mounts before creating the deploy directory] ran successfully [2015-11-29T23:21:57+00:00] INFO: Processing directory[/srv/www/photo_app/shared] action create (deploy::rails line 26) [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared] created directory /srv/www/photo_app/shared [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared] owner changed to 4000 [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared] group changed to 48 [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared] mode changed to 770 [2015-11-29T23:21:57+00:00] INFO: Processing directory[/srv/www/photo_app/shared/log] action create (deploy::rails line 36) [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/log] created directory /srv/www/photo_app/shared/log [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/log] owner changed to 4000 [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/log] group changed to 48 [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/log] mode changed to 770 [2015-11-29T23:21:57+00:00] INFO: Processing directory[/srv/www/photo_app/shared/config] action create (deploy::rails line 36) [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/config] created directory /srv/www/photo_app/shared/config [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/config] owner changed to 4000 [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/config] group changed to 48 [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/config] mode changed to 770 [2015-11-29T23:21:57+00:00] INFO: Processing directory[/srv/www/photo_app/shared/system] action create (deploy::rails line 36) [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/system] created directory /srv/www/photo_app/shared/system [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/system] owner changed to 4000 [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/system] group changed to 48 [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/system] mode changed to 770 [2015-11-29T23:21:57+00:00] INFO: Processing directory[/srv/www/photo_app/shared/pids] action create (deploy::rails line 36) [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/pids] created directory /srv/www/photo_app/shared/pids [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/pids] owner changed to 4000 [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/pids] group changed to 48 [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/pids] mode changed to 770 [2015-11-29T23:21:57+00:00] INFO: Processing directory[/srv/www/photo_app/shared/scripts] action create (deploy::rails line 36) [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/scripts] created directory /srv/www/photo_app/shared/scripts [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/scripts] owner changed to 4000 [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/scripts] group changed to 48 [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/scripts] mode changed to 770 [2015-11-29T23:21:57+00:00] INFO: Processing directory[/srv/www/photo_app/shared/sockets] action create (deploy::rails line 36) [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/sockets] created directory /srv/www/photo_app/shared/sockets [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/sockets] owner changed to 4000 [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/sockets] group changed to 48 [2015-11-29T23:21:57+00:00] INFO: directory[/srv/www/photo_app/shared/sockets] mode changed to 770 [2015-11-29T23:21:57+00:00] INFO: Processing bash[Enable selinux httpd_var_run_t target for unicorn socket] action run (deploy::rails line 45) [2015-11-29T23:21:57+00:00] INFO: Processing execute[stop unicorn] action run (unicorn::stop line 8) [2015-11-29T23:21:57+00:00] INFO: Processing package[apache2] action install (apache2::default line 20) [2015-11-29T23:21:59+00:00] INFO: Processing service[apache2] action nothing (apache2::service line 1) [2015-11-29T23:21:59+00:00] INFO: Processing service[apache2] action enable (apache2::default line 32) [2015-11-29T23:21:59+00:00] INFO: Processing bash[logdir_existence_and_restart_apache2] action nothing (apache2::default line 46) [2015-11-29T23:21:59+00:00] INFO: Processing directory[/var/log/httpd] action create (apache2::default line 61) [2015-11-29T23:21:59+00:00] INFO: Processing cookbook_file[/usr/local/bin/apache2_module_conf_generate.pl] action create (apache2::default line 66) [2015-11-29T23:21:59+00:00] INFO: Processing directory[/etc/httpd/sites-available] action create (apache2::default line 74) [2015-11-29T23:21:59+00:00] INFO: Processing directory[/etc/httpd/sites-enabled] action create (apache2::default line 74) [2015-11-29T23:21:59+00:00] INFO: Processing directory[/etc/httpd/mods-available] action create (apache2::default line 74) [2015-11-29T23:21:59+00:00] INFO: Processing directory[/etc/httpd/mods-enabled] action create (apache2::default line 74) [2015-11-29T23:21:59+00:00] INFO: Processing execute[generate-module-list] action run (apache2::default line 82) [2015-11-29T23:22:00+00:00] INFO: execute[generate-module-list] ran successfully [2015-11-29T23:22:00+00:00] INFO: Processing template[/usr/sbin/a2ensite] action create (apache2::default line 93) [2015-11-29T23:22:00+00:00] INFO: Processing template[/usr/sbin/a2dissite] action create (apache2::default line 93) [2015-11-29T23:22:00+00:00] INFO: Processing template[/usr/sbin/a2enmod] action create (apache2::default line 93) [2015-11-29T23:22:00+00:00] INFO: Processing template[/usr/sbin/a2dismod] action create (apache2::default line 93) [2015-11-29T23:22:00+00:00] INFO: Processing file[/etc/httpd/conf.d/proxy_ajp.conf] action delete (apache2::default line 104) [2015-11-29T23:22:00+00:00] INFO: Processing file[/etc/httpd/conf.d/README] action delete (apache2::default line 109) [2015-11-29T23:22:00+00:00] INFO: Processing file[/etc/httpd/conf.d/welcome.conf] action delete (apache2::default line 115) [2015-11-29T23:22:00+00:00] INFO: Processing directory[/etc/httpd/ssl] action create (apache2::default line 121) [2015-11-29T23:22:00+00:00] INFO: Processing template[/etc/httpd/envvars] action create (apache2::default line 128) [2015-11-29T23:22:00+00:00] INFO: Processing template[apache2.conf] action create (apache2::default line 137) [2015-11-29T23:22:00+00:00] INFO: Processing template[security] action create (apache2::default line 181) [2015-11-29T23:22:00+00:00] INFO: Processing template[charset] action create (apache2::default line 191) [2015-11-29T23:22:00+00:00] INFO: Processing template[/etc/httpd/ports.conf] action create (apache2::default line 201) [2015-11-29T23:22:00+00:00] INFO: Processing template[/etc/httpd/sites-available/default] action create (apache2::default line 215) [2015-11-29T23:22:00+00:00] INFO: Processing template[/etc/httpd/mods-available/status.conf] action create (apache2::mod_status line 21) [2015-11-29T23:22:00+00:00] INFO: Processing file[/etc/httpd/mods-available/status.load] action create (apache2::mod_status line 31) [2015-11-29T23:22:00+00:00] INFO: Processing execute[a2enmod status] action run (apache2::mod_status line 38) [2015-11-29T23:22:00+00:00] INFO: Processing file[/etc/httpd/mods-available/headers.load] action create (apache2::mod_headers line 31) [2015-11-29T23:22:00+00:00] INFO: Processing execute[a2enmod headers] action run (apache2::mod_headers line 38) [2015-11-29T23:22:00+00:00] INFO: Processing template[/etc/httpd/mods-available/alias.conf] action create (apache2::mod_alias line 21) [2015-11-29T23:22:00+00:00] INFO: Processing file[/etc/httpd/mods-available/alias.load] action create (apache2::mod_alias line 31) [2015-11-29T23:22:00+00:00] INFO: Processing execute[a2enmod alias] action run (apache2::mod_alias line 38) [2015-11-29T23:22:00+00:00] INFO: Processing file[/etc/httpd/mods-available/auth_basic.load] action create (apache2::mod_auth_basic line 31) [2015-11-29T23:22:00+00:00] INFO: Processing execute[a2enmod auth_basic] action run (apache2::mod_auth_basic line 38) [2015-11-29T23:22:00+00:00] INFO: Processing file[/etc/httpd/mods-available/authn_file.load] action create (apache2::mod_authn_file line 31) [2015-11-29T23:22:00+00:00] INFO: Processing execute[a2enmod authn_file] action run (apache2::mod_authn_file line 38) [2015-11-29T23:22:00+00:00] INFO: Processing file[/etc/httpd/mods-available/authz_default.load] action create (apache2::mod_authz_default line 31) [2015-11-29T23:22:00+00:00] INFO: Processing execute[a2enmod authz_default] action run (apache2::mod_authz_default line 38) [2015-11-29T23:22:00+00:00] INFO: Processing file[/etc/httpd/mods-available/authz_groupfile.load] action create (apache2::mod_authz_groupfile line 31) [2015-11-29T23:22:00+00:00] INFO: Processing execute[a2enmod authz_groupfile] action run (apache2::mod_authz_groupfile line 38) [2015-11-29T23:22:00+00:00] INFO: Processing file[/etc/httpd/mods-available/authz_host.load] action create (apache2::mod_authz_host line 31) [2015-11-29T23:22:00+00:00] INFO: Processing execute[a2enmod authz_host] action run (apache2::mod_authz_host line 38) [2015-11-29T23:22:00+00:00] INFO: Processing file[/etc/httpd/mods-available/authz_user.load] action create (apache2::mod_authz_user line 31) [2015-11-29T23:22:00+00:00] INFO: Processing execute[a2enmod authz_user] action run (apache2::mod_authz_user line 38) [2015-11-29T23:22:00+00:00] INFO: Processing template[/etc/httpd/mods-available/autoindex.conf] action create (apache2::mod_autoindex line 21) [2015-11-29T23:22:00+00:00] INFO: Processing file[/etc/httpd/mods-available/autoindex.load] action create (apache2::mod_autoindex line 31) [2015-11-29T23:22:00+00:00] INFO: Processing execute[a2enmod autoindex] action run (apache2::mod_autoindex line 38) [2015-11-29T23:22:00+00:00] INFO: Processing template[/etc/httpd/mods-available/dir.conf] action create (apache2::mod_dir line 21) [2015-11-29T23:22:00+00:00] INFO: Processing file[/etc/httpd/mods-available/dir.load] action create (apache2::mod_dir line 31) [2015-11-29T23:22:00+00:00] INFO: Processing execute[a2enmod dir] action run (apache2::mod_dir line 38) [2015-11-29T23:22:00+00:00] INFO: Processing file[/etc/httpd/mods-available/env.load] action create (apache2::mod_env line 31) [2015-11-29T23:22:00+00:00] INFO: Processing execute[a2enmod env] action run (apache2::mod_env line 38) [2015-11-29T23:22:00+00:00] INFO: Processing template[/etc/httpd/mods-available/mime.conf] action create (apache2::mod_mime line 21) [2015-11-29T23:22:00+00:00] INFO: Processing file[/etc/httpd/mods-available/mime.load] action create (apache2::mod_mime line 31) [2015-11-29T23:22:00+00:00] INFO: Processing execute[a2enmod mime] action run (apache2::mod_mime line 38) [2015-11-29T23:22:00+00:00] INFO: Processing template[/etc/httpd/mods-available/negotiation.conf] action create (apache2::mod_negotiation line 21) [2015-11-29T23:22:01+00:00] INFO: Processing file[/etc/httpd/mods-available/negotiation.load] action create (apache2::mod_negotiation line 31) [2015-11-29T23:22:01+00:00] INFO: Processing execute[a2enmod negotiation] action run (apache2::mod_negotiation line 38) [2015-11-29T23:22:01+00:00] INFO: Processing template[/etc/httpd/mods-available/setenvif.conf] action create (apache2::mod_setenvif line 21) [2015-11-29T23:22:01+00:00] INFO: Processing file[/etc/httpd/mods-available/setenvif.load] action create (apache2::mod_setenvif line 31) [2015-11-29T23:22:01+00:00] INFO: Processing execute[a2enmod setenvif] action run (apache2::mod_setenvif line 38) [2015-11-29T23:22:01+00:00] INFO: Processing file[/etc/httpd/mods-available/log_config.load] action create (apache2::mod_log_config line 31) [2015-11-29T23:22:01+00:00] INFO: Processing execute[a2enmod log_config] action run (apache2::mod_log_config line 38) [2015-11-29T23:22:01+00:00] INFO: Processing package[mod_ssl] action install (apache2::mod_ssl line 21) [2015-11-29T23:22:01+00:00] INFO: Processing file[/etc/httpd/conf.d/ssl.conf] action delete (apache2::mod_ssl line 26) [2015-11-29T23:22:01+00:00] INFO: Processing template[/etc/httpd/ports.conf] action create (apache2::mod_ssl line 32) [2015-11-29T23:22:01+00:00] INFO: Processing template[/etc/httpd/mods-available/ssl.conf] action create (apache2::mod_ssl line 21) [2015-11-29T23:22:01+00:00] INFO: Processing file[/etc/httpd/mods-available/ssl.load] action create (apache2::mod_ssl line 31) [2015-11-29T23:22:01+00:00] INFO: Processing execute[a2enmod ssl] action run (apache2::mod_ssl line 38) [2015-11-29T23:22:01+00:00] INFO: Processing file[/etc/httpd/mods-available/expires.load] action create (apache2::mod_expires line 31) [2015-11-29T23:22:01+00:00] INFO: Processing execute[a2enmod expires] action run (apache2::mod_expires line 38) [2015-11-29T23:22:01+00:00] INFO: Processing template[/etc/logrotate.d/apache2] action create (apache2::logrotate line 1) [2015-11-29T23:22:01+00:00] INFO: Processing bash[logdir_existence_and_restart_apache2] action run (apache2::default line 243) [2015-11-29T23:22:01+00:00] INFO: bash[logdir_existence_and_restart_apache2] ran successfully [2015-11-29T23:22:01+00:00] INFO: Processing file[/var/www/html/index.html] action delete (apache2::default line 247) [2015-11-29T23:22:01+00:00] INFO: Processing template[/etc/httpd/mods-available/deflate.conf] action create (apache2::mod_deflate line 21) [2015-11-29T23:22:01+00:00] INFO: Processing file[/etc/httpd/mods-available/deflate.load] action create (apache2::mod_deflate line 31) [2015-11-29T23:22:01+00:00] INFO: Processing execute[a2enmod deflate] action run (apache2::mod_deflate line 38) [2015-11-29T23:22:01+00:00] INFO: Processing package[httpd-devel] action install (passenger_apache2::default line 32) [2015-11-29T23:22:01+00:00] INFO: Processing package[libcurl-devel] action upgrade (passenger_apache2::default line 37) [2015-11-29T23:22:01+00:00] INFO: Processing package[openssl-devel] action upgrade (passenger_apache2::default line 37) [2015-11-29T23:22:01+00:00] INFO: Processing package[zlib-devel] action upgrade (passenger_apache2::default line 37) [2015-11-29T23:22:01+00:00] INFO: Processing ruby_block[ensure only our passenger version is installed by deinstalling any other version] action run (passenger_apache2::default line 54) [2015-11-29T23:22:01+00:00] INFO: Skipping installation of version 4.0.46 of Rubygem passenger: already installed [2015-11-29T23:22:01+00:00] INFO: ruby_block[ensure only our passenger version is installed by deinstalling any other version] called [2015-11-29T23:22:01+00:00] INFO: Processing execute[passenger_module] action run (passenger_apache2::default line 60) [2015-11-29T23:22:01+00:00] INFO: Processing bash[Enable selinux httpd_t for passenger] action run (passenger_apache2::default line 66) [2015-11-29T23:22:01+00:00] INFO: Processing template[/etc/httpd/mods-available/passenger.load] action create (passenger_apache2::mod_rails line 37) [2015-11-29T23:22:01+00:00] INFO: Processing template[/etc/httpd/mods-available/passenger.conf] action create (passenger_apache2::mod_rails line 46) [2015-11-29T23:22:01+00:00] INFO: Processing file[/etc/httpd/mods-available/passenger.load] action create (passenger_apache2::mod_rails line 31) [2015-11-29T23:22:01+00:00] INFO: Processing execute[a2enmod passenger] action run (passenger_apache2::mod_rails line 38) [2015-11-29T23:22:01+00:00] INFO: Processing template[/srv/www/photo_app/shared/config/memcached.yml] action create (deploy::rails line 8) [2015-11-29T23:22:01+00:00] INFO: Processing execute[symlinking subdir mount if necessary] action run (deploy::rails line 21) [2015-11-29T23:22:01+00:00] INFO: Processing directory[/srv/www/photo_app] action create (deploy::rails line 5) [2015-11-29T23:22:01+00:00] INFO: directory[/srv/www/photo_app] owner changed to 4000 [2015-11-29T23:22:01+00:00] INFO: directory[/srv/www/photo_app] group changed to 48 [2015-11-29T23:22:01+00:00] INFO: directory[/srv/www/photo_app] mode changed to 775 [2015-11-29T23:22:01+00:00] INFO: Processing package[git] action install (deploy::rails line 11) [2015-11-29T23:22:01+00:00] INFO: Processing directory[/home/deploy/.ssh] action create (deploy::rails line 8) [2015-11-29T23:22:01+00:00] INFO: directory[/home/deploy/.ssh] created directory /home/deploy/.ssh [2015-11-29T23:22:01+00:00] INFO: directory[/home/deploy/.ssh] owner changed to 4000 [2015-11-29T23:22:01+00:00] INFO: directory[/home/deploy/.ssh] group changed to 48 [2015-11-29T23:22:01+00:00] INFO: directory[/home/deploy/.ssh] mode changed to 700 [2015-11-29T23:22:01+00:00] INFO: Processing file[/home/deploy/.ssh/config] action touch (deploy::rails line 16) [2015-11-29T23:22:01+00:00] INFO: file[/home/deploy/.ssh/config] created file /home/deploy/.ssh/config [2015-11-29T23:22:01+00:00] INFO: file[/home/deploy/.ssh/config] owner changed to 4000 [2015-11-29T23:22:01+00:00] INFO: file[/home/deploy/.ssh/config] group changed to 48 [2015-11-29T23:22:01+00:00] INFO: file[/home/deploy/.ssh/config] mode changed to 600 [2015-11-29T23:22:01+00:00] INFO: file[/home/deploy/.ssh/config] updated atime and mtime to 2015-11-29 23:22:01 +0000 [2015-11-29T23:22:01+00:00] INFO: Processing execute[echo 'StrictHostKeyChecking no' > /home/deploy/.ssh/config] action run (deploy::rails line 23) [2015-11-29T23:22:01+00:00] INFO: execute[echo 'StrictHostKeyChecking no' > /home/deploy/.ssh/config] ran successfully [2015-11-29T23:22:01+00:00] INFO: Processing template[/home/deploy/.ssh/id_dsa] action create (deploy::rails line 27) [2015-11-29T23:22:01+00:00] INFO: Processing directory[/srv/www/photo_app/shared/cached-copy] action delete (deploy::rails line 48) [2015-11-29T23:22:01+00:00] INFO: Processing ruby_block[change HOME to /home/deploy for source checkout] action run (deploy::rails line 56) [2015-11-29T23:22:01+00:00] INFO: ruby_block[change HOME to /home/deploy for source checkout] called [2015-11-29T23:22:01+00:00] INFO: Processing deploy[/srv/www/photo_app] action deploy (deploy::rails line 65) ================================================================================ Error executing action `deploy` on resource 'deploy[/srv/www/photo_app]' ================================================================================ Chef::Exceptions::UnresolvableGitReference ------------------------------------------ Unable to parse SHA reference for 'version 1' in repository 'https://github.com/awslabs/opsworks-demo-rails-photo-share-app'. Verify your (case-sensitive) repository URL and revision. `git ls-remote` output: Resource Declaration: --------------------- # In /var/lib/aws/opsworks/cache.stage2/cookbooks/deploy/definitions/opsworks_deploy.rb 65: deploy deploy[:deploy_to] do 66: provider Chef::Provider::Deploy.const_get(deploy[:chef_provider]) 67: keep_releases deploy[:keep_releases] 68: repository deploy[:scm][:repository] 69: user deploy[:user] 70: group deploy[:group] 71: revision deploy[:scm][:revision] 72: migrate deploy[:migrate] 73: migration_command deploy[:migrate_command] 74: environment deploy[:environment].to_hash 75: purge_before_symlink(deploy[:purge_before_symlink]) unless deploy[:purge_before_symlink].nil? 76: create_dirs_before_symlink(deploy[:create_dirs_before_symlink]) 77: symlink_before_migrate(deploy[:symlink_before_migrate]) 78: symlinks(deploy[:symlinks]) unless deploy[:symlinks].nil? 79: action deploy[:action] 80: 81: if deploy[:application_type] == 'rails' && node[:opsworks][:instance][:layers].include?('rails-app') 82: restart_command "sleep #{deploy[:sleep_before_restart]} && #{node[:opsworks][:rails_stack][:restart_command]}" 83: end 84: Compiled Resource: ------------------ # Declared in /var/lib/aws/opsworks/cache.stage2/cookbooks/deploy/definitions/opsworks_deploy.rb:65:in `block in from_file' deploy("/srv/www/photo_app") do params {:deploy_data=>{"deploy_to"=>"/srv/www/photo_app", "chef_provider"=>"Timestamped", "keep_releases"=>5, "current_path"=>"/srv/www/photo_app/current", "document_root"=>"public", "ignore_bundler_groups"=>["test", "development"], "absolute_document_root"=>"/srv/www/photo_app/current/public/", "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"=>"apache", "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/database.yml"=>"config/database.yml", "config/memcached.yml"=>"config/memcached.yml"}, "symlinks"=>{"system"=>"public/system", "pids"=>"tmp/pids", "log"=>"log"}, "environment"=>{"RAILS_ENV"=>"production", "RUBYOPT"=>"", "RACK_ENV"=>"production", "HOME"=>"/home/deploy"}, "environment_variables"=>{}, "ssl_support"=>false, "auto_npm_install_on_deploy"=>true, "nodejs"=>{"restart_command"=>"monit restart node_web_app_photo_app", "stop_command"=>"monit stop node_web_app_photo_app", "port"=>80}, "application"=>"photo_app", "application_type"=>"rails", "auto_bundle_on_deploy"=>true, "deploying_user"=>"arn:aws:iam::833557351937:user/awsstudent", "domains"=>["photo_app"], "mounted_at"=>nil, "restart_command"=>nil, "ssl_certificate"=>nil, "ssl_certificate_key"=>nil, "ssl_certificate_ca"=>nil, "scm"=>{"scm_type"=>"git", "repository"=>"https://github.com/awslabs/opsworks-demo-rails-photo-share-app", "revision"=>"version 1", "ssh_key"=>nil, "user"=>nil, "password"=>nil}, "database"=>{}, "memcached"=>{"host"=>nil, "port"=>11211}}, :app=>"photo_app", :name=>nil} provider Chef::Provider::Deploy::Timestamped action [:deploy] retries 0 retry_delay 2 deploy_to "/srv/www/photo_app" environment {"RAILS_ENV"=>"production", "RUBYOPT"=>"", "RACK_ENV"=>"production", "HOME"=>"/home/deploy"} repository_cache "cached-copy" purge_before_symlink ["log", "tmp/pids", "public/system"] create_dirs_before_symlink ["tmp", "public", "config"] symlink_before_migrate {"config/database.yml"=>"config/database.yml", "config/memcached.yml"=>"config/memcached.yml"} symlinks {"system"=>"public/system", "pids"=>"tmp/pids", "log"=>"log"} revision "version 1" remote "origin" enable_submodules true scm_provider Chef::Provider::Git keep_releases 5 enable_checkout true checkout_branch "deploy" cookbook_name "deploy" recipe_name "rails" repo "https://github.com/awslabs/opsworks-demo-rails-photo-share-app" user "deploy" group "apache" migration_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" restart_command "sleep 0 && touch tmp/restart.txt" before_migrate #<Proc:0x0055f417ca0a38@/var/lib/aws/opsworks/cache.stage2/cookbooks/deploy/definitions/opsworks_deploy.rb:100> shared_path "/srv/www/photo_app/shared" destination "/srv/www/photo_app/shared/cached-copy" current_path "/srv/www/photo_app/current" end [2015-11-29T23:22:02+00:00] INFO: Running queued delayed notifications before re-raising exception [2015-11-29T23:22:02+00:00] INFO: bash[logdir_existence_and_restart_apache2] sending restart action to service[apache2] (delayed) [2015-11-29T23:22:02+00:00] INFO: Processing service[apache2] action restart (apache2::default line 32) [2015-11-29T23:22:04+00:00] INFO: service[apache2] restarted [2015-11-29T23:22:04+00:00] ERROR: Running exception handlers [2015-11-29T23:22:04+00:00] ERROR: Exception handlers complete [2015-11-29T23:22:04+00:00] FATAL: Stacktrace dumped to /var/lib/aws/opsworks/cache.stage2/chef-stacktrace.out [2015-11-29T23:22:04+00:00] ERROR: deploy[/srv/www/photo_app] (deploy::rails line 65) had an error: Chef::Exceptions::UnresolvableGitReference: Unable to parse SHA reference for 'version 1' in repository 'https://github.com/awslabs/opsworks-demo-rails-photo-share-app'. Verify your (case-sensitive) repository URL and revision. `git ls-remote` output: [2015-11-29T23:22:04+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

Ryan L. · Recensione inserita oltre 10 anni fa

Mark W. · Recensione inserita oltre 10 anni fa

Kevin S. · Recensione inserita oltre 10 anni fa

Ricardo A. · Recensione inserita oltre 10 anni fa

Davy W. · Recensione inserita oltre 10 anni fa

Bryan S. · Recensione inserita oltre 10 anni fa

Non garantiamo che le recensioni pubblicate provengano da consumatori che hanno acquistato o utilizzato i prodotti. Le recensioni non sono verificate da Google.