Skip to content

Instantly share code, notes, and snippets.

@dergachev
Last active December 28, 2015 16:49
Show Gist options
  • Save dergachev/7531361 to your computer and use it in GitHub Desktop.
Save dergachev/7531361 to your computer and use it in GitHub Desktop.
[2013-11-18T02:52:53+00:00] INFO: Forking chef instance to converge...
[2013-11-18T02:52:53+00:00] INFO: *** Chef 11.8.0 ***
[2013-11-18T02:52:53+00:00] INFO: Chef-client pid: 2516
[2013-11-18T02:52:53+00:00] INFO: Setting the run_list to ["recipe[resolver]", "recipe[deploy-drupal::dependencies]", "recipe[deploy-drupal::apc]", "recipe[deploy-drupal::download_drupal]", "recipe[deploy-drupal::install]"] from JSON
[2013-11-18T02:52:53+00:00] INFO: Run List is [recipe[resolver], recipe[deploy-drupal::dependencies], recipe[deploy-drupal::apc], recipe[deploy-drupal::download_drupal], recipe[deploy-drupal::install]]
[2013-11-18T02:52:53+00:00] INFO: Run List expands to [resolver, deploy-drupal::dependencies, deploy-drupal::apc, deploy-drupal::download_drupal, deploy-drupal::install]
[2013-11-18T02:52:53+00:00] INFO: Starting Chef Run for chefsolo2.clusterfoundry.com
[2013-11-18T02:52:53+00:00] INFO: Running start handlers
[2013-11-18T02:52:53+00:00] INFO: Start handlers complete.
[2013-11-18T02:52:53+00:00] WARN: Cloning resource attributes for service[apache2] from prior resource (CHEF-3694)
[2013-11-18T02:52:53+00:00] WARN: Previous service[apache2]: /opt/cookbooks/apache2/recipes/default.rb:24:in `from_file'
[2013-11-18T02:52:53+00:00] WARN: Current  service[apache2]: /opt/cookbooks/apache2/recipes/default.rb:210:in `from_file'
[2013-11-18T02:52:53+00:00] WARN: Cloning resource attributes for directory[/var/cache/local/preseeding] from prior resource (CHEF-3694)
[2013-11-18T02:52:53+00:00] WARN: Previous directory[/var/cache/local/preseeding]: /opt/cookbooks/apt/recipes/default.rb:76:in `block in from_file'
[2013-11-18T02:52:53+00:00] WARN: Current  directory[/var/cache/local/preseeding]: /opt/cookbooks/mysql/recipes/_server_debian.rb:4:in `from_file'
[2013-11-18T02:52:53+00:00] WARN: Cloning resource attributes for directory[/var/lib/mysql] from prior resource (CHEF-3694)
[2013-11-18T02:52:53+00:00] WARN: Previous directory[/var/lib/mysql]: /opt/cookbooks/mysql/recipes/_server_debian.rb:34:in `block in from_file'
[2013-11-18T02:52:53+00:00] WARN: Current  directory[/var/lib/mysql]: /opt/cookbooks/mysql/recipes/_server_debian.rb:70:in `from_file'
[2013-11-18T02:52:53+00:00] WARN: Cloning resource attributes for execute[apt-get update] from prior resource (CHEF-3694)
[2013-11-18T02:52:53+00:00] WARN: Previous execute[apt-get update]: /opt/cookbooks/apt/recipes/default.rb:38:in `from_file'
[2013-11-18T02:52:53+00:00] WARN: Current  execute[apt-get update]: /opt/cookbooks/xhprof/recipes/default.rb:21:in `from_file'
[2013-11-18T02:52:53+00:00] INFO: Processing template[/etc/resolv.conf] action create (resolver::default line 27)
[2013-11-18T02:52:53+00:00] WARN: File /etc/resolv.conf managed by template[/etc/resolv.conf] is really a symlink. Managing the source file instead.
[2013-11-18T02:52:53+00:00] WARN: Disable this warning by setting `manage_symlink_source true` on the resource
[2013-11-18T02:52:53+00:00] WARN: In a future Chef release, 'manage_symlink_source' will not be enabled by default
[2013-11-18T02:52:53+00:00] INFO: Processing execute[apt-get-update] action run (apt::default line 30)
[2013-11-18T02:52:53+00:00] INFO: Processing execute[apt-get update] action nothing (apt::default line 38)
[2013-11-18T02:52:53+00:00] INFO: Processing execute[apt-get autoremove] action nothing (apt::default line 46)
[2013-11-18T02:52:53+00:00] INFO: Processing execute[apt-get autoclean] action nothing (apt::default line 53)
[2013-11-18T02:52:53+00:00] INFO: Processing package[update-notifier-common] action install (apt::default line 60)
[2013-11-18T02:52:53+00:00] INFO: Processing execute[apt-get-update-periodic] action run (apt::default line 65)
[2013-11-18T02:52:53+00:00] INFO: Processing directory[/var/cache/local] action create (apt::default line 76)
[2013-11-18T02:52:53+00:00] INFO: Processing directory[/var/cache/local/preseeding] action create (apt::default line 76)
[2013-11-18T02:52:53+00:00] INFO: Processing package[autoconf] action install (build-essential::debian line 40)
[2013-11-18T02:52:53+00:00] INFO: Processing package[binutils-doc] action install (build-essential::debian line 40)
[2013-11-18T02:52:54+00:00] INFO: Processing package[bison] action install (build-essential::debian line 40)
[2013-11-18T02:52:54+00:00] INFO: Processing package[build-essential] action install (build-essential::debian line 40)
[2013-11-18T02:52:54+00:00] INFO: Processing package[flex] action install (build-essential::debian line 40)
[2013-11-18T02:52:54+00:00] INFO: Processing package[git] action install (git::default line 24)
[2013-11-18T02:52:54+00:00] INFO: Processing package[curl] action upgrade (curl::default line 20)
[2013-11-18T02:52:54+00:00] INFO: Processing package[vim] action install (vim::default line 30)
[2013-11-18T02:52:54+00:00] INFO: Processing package[apache2] action install (apache2::default line 20)
[2013-11-18T02:52:54+00:00] INFO: Processing service[apache2] action enable (apache2::default line 24)
[2013-11-18T02:52:54+00:00] INFO: service[apache2] enabled
[2013-11-18T02:52:54+00:00] INFO: Processing directory[/etc/apache2/ssl] action create (apache2::default line 132)
[2013-11-18T02:52:54+00:00] INFO: Processing directory[/etc/apache2/conf.d] action create (apache2::default line 132)
[2013-11-18T02:52:54+00:00] INFO: Processing directory[/var/cache/apache2] action create (apache2::default line 132)
[2013-11-18T02:52:54+00:00] INFO: Processing template[/etc/sysconfig/httpd] action create (apache2::default line 140)
[2013-11-18T02:52:54+00:00] INFO: Processing template[apache2.conf] action create (apache2::default line 149)
[2013-11-18T02:52:54+00:00] INFO: Processing template[apache2-conf-security] action create (apache2::default line 165)
[2013-11-18T02:52:54+00:00] INFO: Processing template[apache2-conf-charset] action create (apache2::default line 175)
[2013-11-18T02:52:54+00:00] INFO: Processing template[/etc/apache2/ports.conf] action create (apache2::default line 185)
[2013-11-18T02:52:54+00:00] INFO: Processing template[/etc/apache2/sites-available/default] action create (apache2::default line 193)
[2013-11-18T02:52:54+00:00] INFO: Processing template[/etc/apache2/mods-available/status.conf] action create (apache2::mod_status line 21)
[2013-11-18T02:52:54+00:00] INFO: Processing execute[a2enmod alias] action run (apache2::mod_alias line 37)
[2013-11-18T02:52:54+00:00] INFO: Processing execute[a2enmod auth_basic] action run (apache2::mod_auth_basic line 37)
[2013-11-18T02:52:54+00:00] INFO: Processing execute[a2enmod authn_file] action run (apache2::mod_authn_file line 37)
[2013-11-18T02:52:54+00:00] INFO: Processing execute[a2enmod authz_default] action run (apache2::mod_authz_default line 37)
[2013-11-18T02:52:54+00:00] INFO: Processing execute[a2enmod authz_groupfile] action run (apache2::mod_authz_groupfile line 37)
[2013-11-18T02:52:54+00:00] INFO: Processing execute[a2enmod authz_host] action run (apache2::mod_authz_host line 37)
[2013-11-18T02:52:54+00:00] INFO: Processing execute[a2enmod authz_user] action run (apache2::mod_authz_user line 37)
[2013-11-18T02:52:54+00:00] INFO: Processing template[/etc/apache2/mods-available/autoindex.conf] action create (apache2::mod_autoindex line 21)
[2013-11-18T02:52:54+00:00] INFO: Processing execute[a2enmod autoindex] action run (apache2::mod_autoindex line 37)
[2013-11-18T02:52:54+00:00] INFO: Processing template[/etc/apache2/mods-available/dir.conf] action create (apache2::mod_dir line 21)
[2013-11-18T02:52:54+00:00] INFO: Processing execute[a2enmod dir] action run (apache2::mod_dir line 37)
[2013-11-18T02:52:54+00:00] INFO: Processing execute[a2enmod env] action run (apache2::mod_env line 37)
[2013-11-18T02:52:54+00:00] INFO: Processing template[/etc/apache2/mods-available/mime.conf] action create (apache2::mod_mime line 21)
[2013-11-18T02:52:54+00:00] INFO: Processing execute[a2enmod mime] action run (apache2::mod_mime line 37)
[2013-11-18T02:52:54+00:00] INFO: Processing template[/etc/apache2/mods-available/negotiation.conf] action create (apache2::mod_negotiation line 21)
[2013-11-18T02:52:54+00:00] INFO: Processing execute[a2enmod negotiation] action run (apache2::mod_negotiation line 37)
[2013-11-18T02:52:54+00:00] INFO: Processing template[/etc/apache2/mods-available/setenvif.conf] action create (apache2::mod_setenvif line 21)
[2013-11-18T02:52:54+00:00] INFO: Processing execute[a2enmod setenvif] action run (apache2::mod_setenvif line 37)
[2013-11-18T02:52:54+00:00] INFO: Processing execute[a2dissite default] action run (apache2::default line 34)
[2013-11-18T02:52:54+00:00] INFO: Processing service[apache2] action start (apache2::default line 210)
[2013-11-18T02:52:54+00:00] INFO: Processing execute[a2enmod rewrite] action run (apache2::mod_rewrite line 37)
[2013-11-18T02:52:54+00:00] INFO: Processing package[libapache2-mod-php5] action install (apache2::mod_php5 line 22)
[2013-11-18T02:52:54+00:00] INFO: Processing file[/etc/apache2/conf.d/php.conf] action delete (apache2::mod_php5 line 58)
[2013-11-18T02:52:54+00:00] INFO: Processing execute[a2enmod php5] action run (apache2::mod_php5 line 37)
[2013-11-18T02:52:54+00:00] INFO: Processing execute[a2enmod expires] action run (apache2::mod_expires line 37)
[2013-11-18T02:52:54+00:00] INFO: Processing package[php5-cgi] action install (php::package line 22)
[2013-11-18T02:52:54+00:00] INFO: Processing package[php5] action install (php::package line 22)
[2013-11-18T02:52:54+00:00] INFO: Processing package[php5-dev] action install (php::package line 22)
[2013-11-18T02:52:54+00:00] INFO: Processing package[php5-cli] action install (php::package line 22)
[2013-11-18T02:52:54+00:00] INFO: Processing package[php-pear] action install (php::package line 22)
[2013-11-18T02:52:54+00:00] INFO: Processing template[/etc/php5/cli/php.ini] action create (php::package line 27)
[2013-11-18T02:52:54+00:00] INFO: Processing php_pear_channel[pear.php.net] action update (php::default line 25)
[2013-11-18T02:52:55+00:00] INFO: Processing php_pear_channel[pecl.php.net] action update (php::default line 29)
[2013-11-18T02:52:55+00:00] INFO: Processing package[php5-mysql] action install (php::module_mysql line 30)
[2013-11-18T02:52:55+00:00] INFO: Processing package[php5-memcache] action install (php::module_memcache line 34)
[2013-11-18T02:52:55+00:00] INFO: Processing package[php5-gd] action install (php::module_gd line 30)
[2013-11-18T02:52:55+00:00] INFO: Processing package[php5-curl] action upgrade (php::module_curl line 26)
[2013-11-18T02:52:55+00:00] INFO: Processing directory[/var/cache/local/preseeding] action create (mysql::_server_debian line 4)
[2013-11-18T02:52:55+00:00] INFO: Processing template[/var/cache/local/preseeding/mysql-server.seed] action create (mysql::_server_debian line 11)
[2013-11-18T02:52:55+00:00] INFO: Processing execute[preseed mysql-server] action nothing (mysql::_server_debian line 19)
[2013-11-18T02:52:55+00:00] INFO: Processing package[mysql-server] action install (mysql::_server_debian line 28)
[2013-11-18T02:52:55+00:00] INFO: Processing package[apparmor-utils] action install (mysql::_server_debian line 28)
[2013-11-18T02:52:55+00:00] INFO: Processing directory[/var/run/mysqld] action create (mysql::_server_debian line 34)
[2013-11-18T02:52:55+00:00] INFO: Processing directory[/var/lib/mysql] action create (mysql::_server_debian line 34)
[2013-11-18T02:52:55+00:00] INFO: Processing directory[/var/log/mysql] action create (mysql::_server_debian line 34)
[2013-11-18T02:52:55+00:00] INFO: Processing directory[/etc/mysql/conf.d] action create (mysql::_server_debian line 34)
[2013-11-18T02:52:55+00:00] INFO: Processing template[/etc/mysql_grants.sql] action create (mysql::_server_debian line 46)
[2013-11-18T02:52:55+00:00] INFO: Processing execute[install-grants] action nothing (mysql::_server_debian line 55)
[2013-11-18T02:52:55+00:00] INFO: Processing directory[/var/lib/mysql] action create (mysql::_server_debian line 70)
[2013-11-18T02:52:55+00:00] INFO: Processing template[/etc/init/mysql.conf] action create (mysql::_server_debian line 77)
[2013-11-18T02:52:55+00:00] INFO: Processing template[/etc/apparmor.d/usr.sbin.mysqld] action create (mysql::_server_debian line 81)
[2013-11-18T02:52:55+00:00] INFO: Processing service[apparmor-mysql] action nothing (mysql::_server_debian line 87)
[2013-11-18T02:52:55+00:00] INFO: Processing template[/etc/mysql/my.cnf] action create (mysql::_server_debian line 93)
[2013-11-18T02:52:55+00:00] INFO: Processing bash[move mysql data to datadir] action nothing (mysql::_server_debian line 104)
[2013-11-18T02:52:55+00:00] INFO: Processing service[mysql] action enable (mysql::_server_debian line 117)
[2013-11-18T02:52:55+00:00] INFO: service[mysql] enabled
[2013-11-18T02:52:55+00:00] INFO: Processing service[mysql] action start (mysql::_server_debian line 117)
[2013-11-18T02:52:55+00:00] INFO: Processing php_pear_channel[pear.drush.org] action discover (drush::default line 18)
[2013-11-18T02:52:55+00:00] INFO: Processing php_pear[Console_Table] action install (drush::default line 22)
[2013-11-18T02:52:56+00:00] INFO: Processing php_pear[drush] action upgrade (drush::default line 27)
[2013-11-18T02:52:57+00:00] INFO: Processing execute[apt-get update] action nothing (xhprof::default line 21)
[2013-11-18T02:52:57+00:00] INFO: Processing package[python-software-properties] action install (xhprof::default line 26)
[2013-11-18T02:52:57+00:00] INFO: Processing package[pkg-config] action install (xhprof::default line 26)
[2013-11-18T02:52:57+00:00] INFO: Processing execute[add-apt-repository ppa:brianmercer/php5-xhprof] action run (xhprof::default line 29)
[2013-11-18T02:52:59+00:00] INFO: execute[add-apt-repository ppa:brianmercer/php5-xhprof] ran successfully
[2013-11-18T02:52:59+00:00] INFO: execute[add-apt-repository ppa:brianmercer/php5-xhprof] sending run action to execute[apt-get update] (immediate)
[2013-11-18T02:52:59+00:00] INFO: Processing execute[apt-get update] action run (xhprof::default line 21)
[2013-11-18T02:53:03+00:00] INFO: execute[apt-get update] ran successfully
[2013-11-18T02:53:03+00:00] INFO: Processing package[php5-xhprof] action install (xhprof::default line 34)
[2013-11-18T02:53:03+00:00] INFO: Processing package[memcached] action install (memcached::default line 25)
[2013-11-18T02:53:03+00:00] INFO: Processing package[libmemcache-dev] action install (memcached::default line 27)
[2013-11-18T02:53:03+00:00] INFO: Processing service[memcached] action nothing (memcached::default line 44)
[2013-11-18T02:53:03+00:00] INFO: Processing template[/etc/memcached.conf] action create (memcached::default line 76)
[2013-11-18T02:53:03+00:00] INFO: Processing package[libpcre3-dev] action install (deploy-drupal::dependencies line 28)
[2013-11-18T02:53:03+00:00] INFO: Processing package[php5-mcrypt] action install (deploy-drupal::dependencies line 28)
[2013-11-18T02:53:03+00:00] INFO: Processing php_pear[uploadprogress] action install (deploy-drupal::dependencies line 32)
[2013-11-18T02:53:04+00:00] INFO: Processing template[/etc/php5/conf.d/deploy-drupal.ini] action create (deploy-drupal::dependencies line 35)
[2013-11-18T02:53:04+00:00] INFO: Processing execute[install-apc] action run (deploy-drupal::apc line 6)
[2013-11-18T02:53:04+00:00] INFO: execute[install-apc] ran successfully
[2013-11-18T02:53:04+00:00] INFO: Processing template[/etc/php5/conf.d/apc.ini] action create (deploy-drupal::apc line 13)
[2013-11-18T02:53:04+00:00] INFO: Processing directory[/opt/cooked.drupal/site] action create (deploy-drupal::download_drupal line 20)
[2013-11-18T02:53:04+00:00] INFO: directory[/opt/cooked.drupal/site] created directory /opt/cooked.drupal/site
[2013-11-18T02:53:04+00:00] INFO: Processing remote_file[/opt/drupal-7.22.tar.gz] action create_if_missing (deploy-drupal::download_drupal line 25)
[2013-11-18T02:53:04+00:00] INFO: remote_file[/opt/drupal-7.22.tar.gz] created file /opt/drupal-7.22.tar.gz
[2013-11-18T02:53:10+00:00] INFO: remote_file[/opt/drupal-7.22.tar.gz] updated file contents /opt/drupal-7.22.tar.gz
[2013-11-18T02:53:10+00:00] INFO: remote_file[/opt/drupal-7.22.tar.gz] mode changed to 644
[2013-11-18T02:53:10+00:00] INFO: Processing execute[untar-drupal] action run (deploy-drupal::download_drupal line 31)
[2013-11-18T02:53:10+00:00] INFO: execute[untar-drupal] ran successfully
[2013-11-18T02:53:10+00:00] INFO: Processing ruby_block[find-drupal-version] action run (deploy-drupal::install line 10)
[2013-11-18T02:53:10+00:00] INFO: ruby_block[find-drupal-version] called
[2013-11-18T02:53:10+00:00] INFO: Processing template[/etc/apache2/mods-available/deflate.conf] action create (apache2::mod_deflate line 21)
[2013-11-18T02:53:10+00:00] INFO: Processing execute[a2enmod deflate] action run (apache2::mod_deflate line 37)
[2013-11-18T02:53:10+00:00] INFO: Processing execute[a2enmod headers] action run (apache2::mod_headers line 37)
[2013-11-18T02:53:10+00:00] INFO: Processing template[/etc/apache2/sites-available/cooked.drupal.conf] action create (deploy-drupal::install line 29)
[2013-11-18T02:53:10+00:00] INFO: Processing execute[a2ensite cooked.drupal.conf] action run (deploy-drupal::install line 24)
[2013-11-18T02:53:10+00:00] INFO: Processing template[/usr/local/bin/drupal-perm] action create (deploy-drupal::install line 37)
[2013-11-18T02:53:10+00:00] INFO: Processing template[/usr/local/bin/drupal-reset] action create_if_missing (deploy-drupal::install line 51)
[2013-11-18T02:53:10+00:00] INFO: Processing bash[prepare-mysql] action run (deploy-drupal::install line 67)
[2013-11-18T02:53:11+00:00] INFO: bash[prepare-mysql] ran successfully
[2013-11-18T02:53:11+00:00] INFO: Processing directory[/var/shared/sites/cooked.drupal/site/sites/default] action create (deploy-drupal::install line 77)
[2013-11-18T02:53:11+00:00] INFO: Processing template[settings.local.php] action create (deploy-drupal::install line 81)
[2013-11-18T02:53:11+00:00] INFO: Processing bash[configure-settings.php] action run (deploy-drupal::install line 98)
[2013-11-18T02:53:11+00:00] INFO: Processing execute[populate-db] action run (deploy-drupal::install line 116)
[2013-11-18T02:53:11+00:00] INFO: Processing execute[drush-site-install] action run (deploy-drupal::install line 134)
[2013-11-18T02:53:11+00:00] INFO: Running queued delayed notifications before re-raising exception
[2013-11-18T02:53:11+00:00] ERROR: Running exception handlers
[2013-11-18T02:53:11+00:00] ERROR: Exception handlers complete
[2013-11-18T02:53:11+00:00] FATAL: Stacktrace dumped to /opt/chef-stacktrace.out
[2013-11-18T02:53:11+00:00] ERROR: execute[drush-site-install] (deploy-drupal::install line 134) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of php -d sendmail_path=/bin/true  /usr/share/php/drush/drush.php site-install --debug -y  --account-name=admin  --account-pass=admin  --site-name='cooked.drupal' ----
STDOUT: 
STDERR: Bootstrap to phase 0. [0 sec, 4.15 MB]                               [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [0 sec, 4.37 MB]    [bootstrap]
Cache HIT cid: 6.1.0-commandfiles-0-7b82e16ba93f7ddd7ba09f030bd18b23     [debug]
[0.01 sec, 4.39 MB]
Bootstrap to phase 0. [0.05 sec, 10.74 MB]                           [bootstrap]
Bootstrap to phase 1. [0.07 sec, 10.74 MB]                           [bootstrap]
Bootstrap to phase 5. [0.07 sec, 10.75 MB]                           [bootstrap]
Command site-install needs a higher bootstrap level to run - you willESC[31;40mESC[1m[error]ESC[0m
need to invoke drush from a more functional Drupal environment to run
this command. [0.07 sec, 10.75 MB]
The drush command 'site-install' could not be executed. [0.07 sec,   ESC[31;40mESC[1m[error]ESC[0m
10.75 MB]
A Drupal installation directory could not be found [0.07 sec, 10.76  ESC[31;40mESC[1m[error]ESC[0m
MB]
---- End output of php -d sendmail_path=/bin/true  /usr/share/php/drush/drush.php site-install --debug -y  --account-name=admin  --account-pass=admin  --site-name='cooked.drupal' ----
Ran php -d sendmail_path=/bin/true  /usr/share/php/drush/drush.php site-install --debug -y  --account-name=admin  --account-pass=admin  --site-name='cooked.drupal' returned 1
ESC[0m
================================================================================ESC[0m
ESC[31mError executing action `run` on resource 'execute[drush-site-install]'ESC[0m
================================================================================ESC[0m

ESC[0m
Mixlib::ShellOut::ShellCommandFailedESC[0m
------------------------------------ESC[0m
Expected process to exit with [0], but received '1'
---- Begin output of php -d sendmail_path=/bin/true  /usr/share/php/drush/drush.php site-install --debug -y  --account-name=admin  --account-pass=admin  --site-name='cooked.drupal' ----
STDOUT: 
STDERR: Bootstrap to phase 0. [0 sec, 4.15 MB]                               [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [0 sec, 4.37 MB]    [bootstrap]
Cache HIT cid: 6.1.0-commandfiles-0-7b82e16ba93f7ddd7ba09f030bd18b23     [debug]
[0.01 sec, 4.39 MB]
Bootstrap to phase 0. [0.05 sec, 10.74 MB]                           [bootstrap]
Bootstrap to phase 1. [0.07 sec, 10.74 MB]                           [bootstrap]
Bootstrap to phase 5. [0.07 sec, 10.75 MB]                           [bootstrap]
Command site-install needs a higher bootstrap level to run - you willESC[31;40mESC[1m[error]ESC[0m
need to invoke drush from a more functional Drupal environment to run
this command. [0.07 sec, 10.75 MB]
The drush command 'site-install' could not be executed. [0.07 sec,   ESC[31;40mESC[1m[error]ESC[0m
10.75 MB]
A Drupal installation directory could not be found [0.07 sec, 10.76  ESC[31;40mESC[1m[error]ESC[0m
MB]
---- End output of php -d sendmail_path=/bin/true  /usr/share/php/drush/drush.php site-install --debug -y  --account-name=admin  --account-pass=admin  --site-name='cooked.drupal' ----
Ran php -d sendmail_path=/bin/true  /usr/share/php/drush/drush.php site-install --debug -y  --account-name=admin  --account-pass=admin  --site-name='cooked.drupal' returned 1ESC[0m

ESC[0m
Resource Declaration:ESC[0m
---------------------ESC[0m
# In /opt/cookbooks/deploy-drupal/recipes/install.rb

134: execute "drush-site-install" do
135:   cwd node['deploy-drupal']['drupal_root']
136:   command drush_install
137:   only_if db_empty
138:   notifies :run, "execute[post-install-script]"
139: end
140: # the following resource is executed on every provision
ESC[0m

ESC[0m
Compiled Resource:ESC[0m
------------------ESC[0m
# Declared in /opt/cookbooks/deploy-drupal/recipes/install.rb:134:in `from_file'

execute("drush-site-install") do
  action "run"
  retries 0
  retry_delay 2
  command "php -d sendmail_path=/bin/true  /usr/share/php/drush/drush.php site-install --debug -y  --account-name=admin  --account-pass=admin  --site-name='cooked.drupal'"
  backup 5
  cwd "/var/shared/sites/cooked.drupal/site"
  returns 0
  cookbook_name :"deploy-drupal"
  recipe_name "install"
  only_if "mysql --user='root' --host='localhost' --password='1P@ssw0rd9' -e "SELECT * FROM information_schema.tables WHERE                    table_type = 'BASE TABLE' AND table_schema = 'drupal';" | wc -l | xargs test 0 -eq"
end
ESC[0m

ESC[0m
[2013-11-18T02:52:53+00:00] INFO: Forking chef instance to converge...
[2013-11-18T02:53:11+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment