rjocoleman / vagrant-magento-mirror

Magento (stock) Mirror with support files for Vagrant and Chef. Useful for testing extensions in a clean environment.
Open Software License 3.0
6 stars 4 forks source link

Cookbook error #3

Open retrobot opened 11 years ago

retrobot commented 11 years ago

This was happened:

PS H:\VMs\magdev\vagrant-magento-mirror> vagrant up There were warnings and/or errors while loading your Vagrantfile. Your Vagrantfile was written for an earlier version of Vagrant, and while Vagrant does the best it can to remain backwards compatible, there are some cases where things have changed significantly enough to warrant a message. These messages are shown below.

Warnings:

Guest Additions Version: 4.1.18 VirtualBox Version: 4.2 [default] Mounting shared folders... [default] -- /vagrant [default] -- /tmp/vagrant-chef-1/chef-solo-2/roles [default] -- /tmp/vagrant-chef-1/chef-solo-1/cookbooks [default] Running provisioner: chef_solo... Generating chef JSON and uploading... Running chef-solo... stdin: is not a tty [Thu, 22 Aug 2013 15:05:58 +0000] INFO: * Chef 0.10.10 * [Thu, 22 Aug 2013 15:06:00 +0000] INFO: Setting the run_list to ["role[magento_dev]"] from JSON [Thu, 22 Aug 2013 15:06:00 +0000] INFO: Run List is [role[magento_dev]] [Thu, 22 Aug 2013 15:06:00 +0000] INFO: Run List expands to [vagrant_magento] [Thu, 22 Aug 2013 15:06:00 +0000] INFO: Starting Chef Run for precise64 [Thu, 22 Aug 2013 15:06:00 +0000] INFO: Running start handlers [Thu, 22 Aug 2013 15:06:00 +0000] INFO: Start handlers complete. [Thu, 22 Aug 2013 15:06:06 +0000] WARN: Missing gem 'right_aws' [Thu, 22 Aug 2013 15:06:43 +0000] INFO: execute[apt-get-update-build-essentials] ran successfully [Thu, 22 Aug 2013 15:07:34 +0000] INFO: package[build-essential] installed version 11.5ubuntu2.1 [Thu, 22 Aug 2013 15:07:43 +0000] INFO: package[binutils-doc] installed version 2.22-6ubuntu1.1 [Thu, 22 Aug 2013 15:07:59 +0000] INFO: package[autoconf] installed version 2.68-1ubuntu2 [Thu, 22 Aug 2013 15:08:06 +0000] INFO: package[flex] installed version 2.5.35-10ubuntu3 [Thu, 22 Aug 2013 15:08:14 +0000] INFO: package[bison] installed version 1:2.5.dfsg-2.1 [Thu, 22 Aug 2013 15:08:14 +0000] INFO: Could not find previously defined grants.sql resource [Thu, 22 Aug 2013 15:08:28 +0000] INFO: execute[apt-get update] ran successfully [Thu, 22 Aug 2013 15:18:52 +0000] INFO: package[mysql-client] installed version 5.5.32-0ubuntu0.12.04.1 [Thu, 22 Aug 2013 15:19:05 +0000] INFO: package[libmysqlclient-dev] installed version 5.5.32-0ubuntu0.12.04.1 [Thu, 22 Aug 2013 15:19:21 +0000] INFO: chef_gem[mysql] installed version 2.9.1 [Thu, 22 Aug 2013 15:19:25 +0000] INFO: chef_gem[versionomy] installed version 0.4.4 [Thu, 22 Aug 2013 15:19:26 +0000] INFO: Using Sample Data v1.6.1.0 [Thu, 22 Aug 2013 15:19:26 +0000] INFO: Using Sample Data v1.6.1.0 [Thu, 22 Aug 2013 15:19:26 +0000] INFO: Using Sample Data v1.6.1.0 [Thu, 22 Aug 2013 15:19:26 +0000] INFO: Using Sample Data v1.6.1.0 [Thu, 22 Aug 2013 15:19:26 +0000] INFO: Using Sample Data v1.6.1.0 [Thu, 22 Aug 2013 15:19:49 +0000] INFO: execute[apt-get-update] ran successfully [Thu, 22 Aug 2013 15:20:00 +0000] INFO: package[update-notifier-common] installed version 0.119ubuntu8.6 [Thu, 22 Aug 2013 15:20:00 +0000] INFO: package[update-notifier-common] sending run action to executeapt-get-update [Thu, 22 Aug 2013 15:20:14 +0000] INFO: execute[apt-get-update] ran successfully [Thu, 22 Aug 2013 15:20:14 +0000] INFO: directory[/var/cache/local] created directory /var/cache/local [Thu, 22 Aug 2013 15:20:14 +0000] INFO: directory[/var/cache/local/preseeding] created directory /var/cache/local/presee ding [Thu, 22 Aug 2013 15:20:54 +0000] INFO: package[git] installed version 1:1.7.9.5-1 [Thu, 22 Aug 2013 15:20:56 +0000] INFO: template[/var/cache/local/preseeding/mysql-server.seed] updated content [Thu, 22 Aug 2013 15:20:56 +0000] INFO: template[/var/cache/local/preseeding/mysql-server.seed] sending run action to ex ecutepreseed mysql-server [Thu, 22 Aug 2013 15:20:56 +0000] INFO: execute[preseed mysql-server] ran successfully [Thu, 22 Aug 2013 15:20:56 +0000] INFO: template[/etc/mysql/debian.cnf] updated content [Thu, 22 Aug 2013 15:22:29 +0000] INFO: package[mysql-server] installed version 5.5.32-0ubuntu0.12.04.1 [Thu, 22 Aug 2013 15:22:29 +0000] INFO: package[mysql-server] sending start action to servicemysql [Thu, 22 Aug 2013 15:22:29 +0000] INFO: directory[/var/run/mysqld] group changed to 111 [Thu, 22 Aug 2013 15:22:29 +0000] INFO: directory[/var/log/mysql] group changed to 111 [Thu, 22 Aug 2013 15:22:29 +0000] INFO: directory[/etc/mysql/conf.d] owner changed to 106 [Thu, 22 Aug 2013 15:22:29 +0000] INFO: directory[/etc/mysql/conf.d] group changed to 111 [Thu, 22 Aug 2013 15:22:29 +0000] INFO: template[/etc/mysql/grants.sql] updated content [Thu, 22 Aug 2013 15:22:29 +0000] INFO: template[/etc/mysql/grants.sql] sending run action to executemysql-install-priv ileges [Thu, 22 Aug 2013 15:22:29 +0000] INFO: execute[mysql-install-privileges] ran successfully [Thu, 22 Aug 2013 15:22:29 +0000] INFO: template[/etc/mysql/my.cnf] backed up to /var/chef/backup/etc/mysql/my.cnf.chef- 20130822152229 [Thu, 22 Aug 2013 15:22:29 +0000] INFO: template[/etc/mysql/my.cnf] mode changed to 644 [Thu, 22 Aug 2013 15:22:29 +0000] INFO: template[/etc/mysql/my.cnf] updated content [Thu, 22 Aug 2013 15:22:29 +0000] INFO: template[/etc/mysql/my.cnf] sending restart action to servicemysql

[Thu, 22 Aug 2013 15:22:34 +0000] INFO: service[mysql] restarted [Thu, 22 Aug 2013 15:23:07 +0000] INFO: package[php5-cgi] installed version 5.3.10-1ubuntu3.7 [Thu, 22 Aug 2013 15:23:12 +0000] INFO: package[php5] installed version 5.3.10-1ubuntu3.7 [Thu, 22 Aug 2013 15:23:24 +0000] INFO: package[php5-dev] installed version 5.3.10-1ubuntu3.7 [Thu, 22 Aug 2013 15:23:40 +0000] INFO: package[php5-cli] installed version 5.3.10-1ubuntu3.7 [Thu, 22 Aug 2013 15:23:48 +0000] INFO: package[php-pear] installed version 5.3.10-1ubuntu3.7 [Thu, 22 Aug 2013 15:23:50 +0000] INFO: template[/etc/php5/cli/php.ini] backed up to /var/chef/backup/etc/php5/cli/php.i ni.chef-20130822152350 [Thu, 22 Aug 2013 15:23:50 +0000] INFO: template[/etc/php5/cli/php.ini] mode changed to 644 [Thu, 22 Aug 2013 15:23:50 +0000] INFO: template[/etc/php5/cli/php.ini] updated content [Thu, 22 Aug 2013 15:23:59 +0000] INFO: package[php5-mysql] installed version 5.3.10-1ubuntu3.7 [Thu, 22 Aug 2013 15:24:15 +0000] INFO: package[php5-gd] installed version 5.3.10-1ubuntu3.7 [Thu, 22 Aug 2013 15:24:21 +0000] INFO: package[php5-curl] upgraded from uninstalled to 5.3.10-1ubuntu3.7 [Thu, 22 Aug 2013 15:24:47 +0000] INFO: package[apache2] installed version 2.2.22-1ubuntu1.4 [Thu, 22 Aug 2013 15:24:47 +0000] INFO: directory[/etc/apache2/ssl] created directory /etc/apache2/ssl [Thu, 22 Aug 2013 15:24:47 +0000] INFO: directory[/var/cache/apache2] owner changed to 0 [Thu, 22 Aug 2013 15:24:47 +0000] INFO: directory[/var/cache/apache2] group changed to 0 [Thu, 22 Aug 2013 15:24:53 +0000] INFO: template[apache2.conf] backed up to /var/chef/backup/etc/apache2/apache2.conf.ch ef-20130822152453 [Thu, 22 Aug 2013 15:24:53 +0000] INFO: template[apache2.conf] mode changed to 644 [Thu, 22 Aug 2013 15:24:53 +0000] INFO: template[apache2.conf] updated content [Thu, 22 Aug 2013 15:24:53 +0000] INFO: template[apache2-conf-security] mode changed to 644 [Thu, 22 Aug 2013 15:24:53 +0000] INFO: template[apache2-conf-security] updated content [Thu, 22 Aug 2013 15:24:53 +0000] INFO: template[apache2-conf-security] not queuing delayed action restart on serviceap ache2, as it's already been queued [Thu, 22 Aug 2013 15:24:53 +0000] INFO: template[/etc/apache2/ports.conf] backed up to /var/chef/backup/etc/apache2/port s.conf.chef-20130822152453 [Thu, 22 Aug 2013 15:24:53 +0000] INFO: template[/etc/apache2/ports.conf] mode changed to 644 [Thu, 22 Aug 2013 15:24:53 +0000] INFO: template[/etc/apache2/ports.conf] updated content [Thu, 22 Aug 2013 15:24:53 +0000] INFO: template[/etc/apache2/ports.conf] not queuing delayed action restart on service apache2, as it's already been queued [Thu, 22 Aug 2013 15:24:54 +0000] INFO: template[/etc/apache2/sites-available/default] backed up to /var/chef/backup/etc /apache2/sites-available/default.chef-20130822152454 [Thu, 22 Aug 2013 15:24:54 +0000] INFO: template[/etc/apache2/sites-available/default] mode changed to 644 [Thu, 22 Aug 2013 15:24:54 +0000] INFO: template[/etc/apache2/sites-available/default] updated content [Thu, 22 Aug 2013 15:24:54 +0000] INFO: template[/etc/apache2/sites-available/default] not queuing delayed action restar t on serviceapache2, as it's already been queued [Thu, 22 Aug 2013 15:24:54 +0000] INFO: template[/etc/apache2/mods-available/status.conf] backed up to /var/chef/backup/ etc/apache2/mods-available/status.conf.chef-20130822152454 [Thu, 22 Aug 2013 15:24:54 +0000] INFO: template[/etc/apache2/mods-available/status.conf] mode changed to 644 [Thu, 22 Aug 2013 15:24:54 +0000] INFO: template[/etc/apache2/mods-available/status.conf] updated content [Thu, 22 Aug 2013 15:24:54 +0000] INFO: template[/etc/apache2/mods-available/status.conf] not queuing delayed action res tart on serviceapache2, as it's already been queued [Thu, 22 Aug 2013 15:24:54 +0000] INFO: template[/etc/apache2/mods-available/alias.conf] backed up to /var/chef/backup/e tc/apache2/mods-available/alias.conf.chef-20130822152454 [Thu, 22 Aug 2013 15:24:54 +0000] INFO: template[/etc/apache2/mods-available/alias.conf] mode changed to 644 [Thu, 22 Aug 2013 15:24:54 +0000] INFO: template[/etc/apache2/mods-available/alias.conf] updated content [Thu, 22 Aug 2013 15:24:54 +0000] INFO: template[/etc/apache2/mods-available/alias.conf] not queuing delayed action rest art on serviceapache2, as it's already been queued [Thu, 22 Aug 2013 15:24:54 +0000] INFO: template[/etc/apache2/mods-available/mime.conf] backed up to /var/chef/backup/et c/apache2/mods-available/mime.conf.chef-20130822152454 [Thu, 22 Aug 2013 15:24:54 +0000] INFO: template[/etc/apache2/mods-available/mime.conf] mode changed to 644 [Thu, 22 Aug 2013 15:24:54 +0000] INFO: template[/etc/apache2/mods-available/mime.conf] updated content [Thu, 22 Aug 2013 15:24:54 +0000] INFO: template[/etc/apache2/mods-available/mime.conf] not queuing delayed action resta rt on serviceapache2, as it's already been queued [Thu, 22 Aug 2013 15:24:54 +0000] INFO: template[/etc/apache2/mods-available/setenvif.conf] backed up to /var/chef/backu p/etc/apache2/mods-available/setenvif.conf.chef-20130822152454 [Thu, 22 Aug 2013 15:24:54 +0000] INFO: template[/etc/apache2/mods-available/setenvif.conf] mode changed to 644 [Thu, 22 Aug 2013 15:24:54 +0000] INFO: template[/etc/apache2/mods-available/setenvif.conf] updated content [Thu, 22 Aug 2013 15:24:54 +0000] INFO: template[/etc/apache2/mods-available/setenvif.conf] not queuing delayed action r estart on serviceapache2, as it's already been queued [Thu, 22 Aug 2013 15:24:54 +0000] INFO: execute[a2dissite default] ran successfully [Thu, 22 Aug 2013 15:24:54 +0000] INFO: execute[a2dissite default] not queuing delayed action restart on serviceapache2 , as it's already been queued [Thu, 22 Aug 2013 15:25:25 +0000] INFO: package[libapache2-mod-php5] installed version 5.3.10-1ubuntu3.7 [Thu, 22 Aug 2013 15:25:36 +0000] INFO: package[unzip] upgraded from uninstalled to 6.0-4ubuntu1 [Thu, 22 Aug 2013 15:25:43 +0000] INFO: package[libsqlite3-dev] upgraded from uninstalled to 3.7.9-2ubuntu1.1 [Thu, 22 Aug 2013 15:25:50 +0000] INFO: package[php5-mcrypt] upgraded from uninstalled to 5.3.5-0ubuntu1 [Thu, 22 Aug 2013 15:25:50 +0000] INFO: execute[a2enmod rewrite] ran successfully [Thu, 22 Aug 2013 15:25:50 +0000] INFO: execute[a2enmod rewrite] not queuing delayed action restart on serviceapache2, as it's already been queued [Thu, 22 Aug 2013 15:25:50 +0000] INFO: execute[a2enmod rewrite] not queuing delayed action restart on serviceapache2, as it's already been queued [Thu, 22 Aug 2013 15:25:50 +0000] INFO: template[/etc/apache2/mods-available/deflate.conf] backed up to /var/chef/backup /etc/apache2/mods-available/deflate.conf.chef-20130822152550 [Thu, 22 Aug 2013 15:25:50 +0000] INFO: template[/etc/apache2/mods-available/deflate.conf] mode changed to 644 [Thu, 22 Aug 2013 15:25:50 +0000] INFO: template[/etc/apache2/mods-available/deflate.conf] updated content [Thu, 22 Aug 2013 15:25:50 +0000] INFO: template[/etc/apache2/mods-available/deflate.conf] not queuing delayed action re start on serviceapache2, as it's already been queued [Thu, 22 Aug 2013 15:25:50 +0000] INFO: execute[a2enmod headers] ran successfully [Thu, 22 Aug 2013 15:25:50 +0000] INFO: execute[a2enmod headers] not queuing delayed action restart on serviceapache2, as it's already been queued [Thu, 22 Aug 2013 15:25:51 +0000] INFO: template[/etc/apache2/sites-available/magento_dev.conf] mode changed to 644 [Thu, 22 Aug 2013 15:25:51 +0000] INFO: template[/etc/apache2/sites-available/magento_dev.conf] updated content [Thu, 22 Aug 2013 15:25:51 +0000] INFO: execute[a2ensite magento_dev.conf] ran successfully [Thu, 22 Aug 2013 15:25:51 +0000] INFO: execute[a2ensite magento_dev.conf] not queuing delayed action restart on service apache2, as it's already been queued [Thu, 22 Aug 2013 15:25:51 +0000] INFO: template[/var/www/phpinfo.php] mode changed to 644 [Thu, 22 Aug 2013 15:25:51 +0000] INFO: template[/var/www/phpinfo.php] updated content [Thu, 22 Aug 2013 15:25:51 +0000] INFO: template[/var/www/phpinfo.php] sending restart action to serviceapache2 [Thu, 22 Aug 2013 15:25:53 +0000] INFO: service[apache2] restarted [Thu, 22 Aug 2013 15:25:53 +0000] ERROR: remote_file[/var/chef/cache/magento-check.zip](vagrant_magento::default line 5 9) has had an error [Thu, 22 Aug 2013 15:25:53 +0000] ERROR: remote_file[/var/chef/cache/magento-check.zip](/tmp/vagrant-chef-1/chef-solo-1 /cookbooks/vagrant_magento/recipes/default.rb:59:in from_file') had an error: remote_file[/var/chef/cache/magento-check.zip](vagrant_magento::default line 59) had an error: Chef::Exceptions::Enclos ingDirectoryDoesNotExist: Cannot create a file at /var/chef/cache/magento-check.zip because the enclosing directory (/va r/chef/cache) does not exist /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/provider/file.rb:143:inassert_enclosing_director y_exists!' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/provider/remote_file.rb:35:inaction_create' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource.rb:454:insend' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource.rb:454:inrun_action' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/runner.rb:49:inrun_action' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/runner.rb:85:inconverge' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/runner.rb:85:ineach' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/runner.rb:85:inconverge' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource_collection.rb:94:inexecute_each_resourc e' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:inc all' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:inc all_iterator_block' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:inst ep' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:ini terate' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:inea ch_with_index' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/resource_collection.rb:92:inexecute_each_resourc e' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/runner.rb:80:inconverge' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:330:inconverge' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/client.rb:163:inrun' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/solo.rb:207:inrun_application' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/solo.rb:195:inloop' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application/solo.rb:195:inrun_application' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/../lib/chef/application.rb:70:inrun' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-0.10.10/bin/chef-solo:25 /opt/vagrant_ruby/bin/chef-solo:19:inload' /opt/vagrant_ruby/bin/chef-solo:19 [Thu, 22 Aug 2013 15:25:53 +0000] ERROR: Running exception handlers [Thu, 22 Aug 2013 15:25:53 +0000] ERROR: Exception handlers complete [Thu, 22 Aug 2013 15:25:53 +0000] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out [Thu, 22 Aug 2013 15:25:53 +0000] FATAL: Chef::Exceptions::EnclosingDirectoryDoesNotExist: remote_file[/var/chef/cache/m agento-check.zip](vagrant_magento::default line 59) had an error: Chef::Exceptions::EnclosingDirectoryDoesNotExist: Can not create a file at /var/chef/cache/magento-check.zip because the enclosing directory (/var/chef/cache) does not exist Chef never successfully completed! Any errors should be visible in the output above. Please fix your recipes so that they properly complete.