Skip to content

Instantly share code, notes, and snippets.

@mattias-lidman
Created September 6, 2012 15:54
Show Gist options
  • Select an option

  • Save mattias-lidman/3657752 to your computer and use it in GitHub Desktop.

Select an option

Save mattias-lidman/3657752 to your computer and use it in GitHub Desktop.
[Thu, 06 Sep 2012 15:39:58 +0000] INFO: Processing execute[mysql-install-cmts-privileges] action run (drupal::sites-install line 6)
[Thu, 06 Sep 2012 15:39:58 +0000] ERROR: execute[mysql-install-cmts-privileges] (drupal::sites-install line 6) has had an error
[Thu, 06 Sep 2012 15:39:58 +0000] ERROR: template[/etc/mysql/cmts-grants.sql] (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/drupal/definitions/setup_db.rb:11:in `from_file') had an error:
execute[mysql-install-cmts-privileges] (drupal::sites-install line 6) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /usr/bin/mysql -h localhost -u root -pcloudservices < /etc/mysql/cmts-grants.sql ----
STDOUT:
STDERR: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
---- End output of /usr/bin/mysql -h localhost -u root -pcloudservices < /etc/mysql/cmts-grants.sql ----
Ran /usr/bin/mysql -h localhost -u root -pcloudservices < /etc/mysql/cmts-grants.sql returned 1
/var/lib/gems/1.8/gems/mixlib-shellout-1.0.0.rc.1/lib/mixlib/shellout.rb:242:in `invalid!'
/var/lib/gems/1.8/gems/mixlib-shellout-1.0.0.rc.1/lib/mixlib/shellout.rb:228:in `error!'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/mixin/shell_out.rb:36:in `shell_out!'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/provider/execute.rb:58:in `action_run'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/resource.rb:454:in `send'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/resource.rb:454:in `run_action'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/runner.rb:49:in `run_action'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/runner.rb:57:in `run_action'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/runner.rb:55:in `each'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/runner.rb:55:in `run_action'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/runner.rb:85:in `converge'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/runner.rb:85:in `each'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/runner.rb:85:in `converge'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/resource_collection.rb:94:in `execute_each_resource'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/runner.rb:80:in `converge'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:330:in `converge'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/client.rb:163:in `run'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/solo.rb:207:in `run_application'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/solo.rb:195:in `loop'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application/solo.rb:195:in `run_application'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/../lib/chef/application.rb:70:in `run'
/var/lib/gems/1.8/gems/chef-10.12.0/bin/chef-solo:25
/usr/local/bin/chef-solo:19:in `load'
/usr/local/bin/chef-solo:19
[Thu, 06 Sep 2012 15:39:58 +0000] ERROR: Running exception handlers
[Thu, 06 Sep 2012 15:39:58 +0000] ERROR: Exception handlers complete
[Thu, 06 Sep 2012 15:39:58 +0000] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out
[Thu, 06 Sep 2012 15:39:58 +0000] FATAL: Mixlib::ShellOut::ShellCommandFailed: execute[mysql-install-cmts-privileges] (drupal::sites-install line 6) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /usr/bin/mysql -h localhost -u root -pcloudservices < /etc/mysql/cmts-grants.sql ----
STDOUT:
STDERR: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
---- End output of /usr/bin/mysql -h localhost -u root -pcloudservices < /etc/mysql/cmts-grants.sql ----
Ran /usr/bin/mysql -h localhost -u root -pcloudservices < /etc/mysql/cmts-grants.sql returned 1
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment