{"action":"created","issue":{"url":"https://api.github.com/repos/dbfit/dbfit/issues/381","labels_url":"https://api.github.com/repos/dbfit/dbfit/issues/381/labels{/name}","comments_url":"https://api.github.com/repos/dbfit/dbfit/issues/381/comments","events_url":"https://api.github.com/repos/dbfit/dbfit/issues/381/events","html_url":"https://github.com/dbfit/dbfit/issues/381","id":90751772,"number":381,"title":"VM build broken (Chef update?)","user":{"login":"MMatten","id":1895701,"avatar_url":"https://avatars.githubusercontent.com/u/1895701?v=3","gravatar_id":"","url":"https://api.github.com/users/MMatten","html_url":"https://github.com/MMatten","followers_url":"https://api.github.com/users/MMatten/followers","following_url":"https://api.github.com/users/MMatten/following{/other_user}","gists_url":"https://api.github.com/users/MMatten/gists{/gist_id}","starred_url":"https://api.github.com/users/MMatten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MMatten/subscriptions","organizations_url":"https://api.github.com/users/MMatten/orgs","repos_url":"https://api.github.com/users/MMatten/repos","events_url":"https://api.github.com/users/MMatten/events{/privacy}","received_events_url":"https://api.github.com/users/MMatten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-06-24T18:22:12Z","updated_at":"2015-06-24T21:00:55Z","closed_at":null,"body":"Looks like this could be because of the Chef update to v13.\r\n\r\nI have no idea where to start with fixing this. Any ideas?\r\n\r\n==> default: [2015-06-24T18:09:22+00:00] WARN: Current  postgresql_database[dbfit]: /tmp/vagrant-chef-3/chef-solo-1/cookbooks/dbfit_\r\ntest/recipes/postgres.rb:31:in `from_file'\r\n==> default: [2015-06-24T18:09:28+00:00] INFO: execute[Guard resource] ran successfully\r\n==> default: [2015-06-24T18:09:28+00:00] WARN: Class Chef::Provider::MysqlService does not declare 'resource_name :mysql_service'.\r\n==> default: [2015-06-24T18:09:28+00:00] WARN: This will no longer work in Chef 13: you must use 'resource_name' to provide DSL.\r\n==> default: ================================================================================\r\n==> default: Error executing action `create` on resource 'mysql_service[default]'\r\n==> default: ================================================================================\r\n==> default: NameError\r\n==> default: ---------\r\n==> default: No resource, method, or local variable named `create_stop_system_service' for `Chef::Provider::MysqlService \"\"'\r\n==> default: Cookbook Trace:\r\n==> default: ---------------\r\n==> default: /tmp/vagrant-chef-3/chef-solo-1/cookbooks/mysql/libraries/provider_mysql_service.rb:39:in `block in <class:MysqlService\r\n>'\r\n==> default: Resource Declaration:\r\n==> default: ---------------------\r\n==> default: # In /tmp/vagrant-chef-3/chef-solo-1/cookbooks/dbfit_test/recipes/mysql.rb\r\n==> default:  13: mysql_service 'default' do\r\n==> default:  14:   version node['mysql']['version'] if node['mysql'] && node['mysql']['version']\r\n==> default:  15:   bind_address mysql_connection_info[:host]\r\n==> default:  16:   initial_root_password mysql_connection_info[:password]\r\n==> default:  17:   action [:create, :start]\r\n==> default:  18: end\r\n==> default:  19:\r\n==> default:\r\n==> default: Compiled Resource:\r\n==> default: ------------------\r\n==> default: # Declared in /tmp/vagrant-chef-3/chef-solo-1/cookbooks/dbfit_test/recipes/mysql.rb:13:in `from_file'\r\n==> default:\r\n==> default: mysql_service(\"default\") do\r\n==> default:   action [:create, :start]\r\n==> default:   retries 0\r\n==> default:   retry_delay 2\r\n==> default:   default_guard_interpreter :default\r\n==> default:   declared_type :mysql_service\r\n==> default:   cookbook_name :dbfit_test\r\n==> default:   recipe_name \"mysql\"\r\n==> default:   bind_address \"127.0.0.1\"\r\n==> default:   initial_root_password \"password\"\r\n==> default:   package_action :install\r\n==> default: end\r\n==> default:\r\n==> default: [2015-06-24T18:09:28+00:00] INFO: Running queued delayed notifications before re-raising exception\r\n==> default: [2015-06-24T18:09:28+00:00] ERROR: Running exception handlers\r\n==> default: [2015-06-24T18:09:28+00:00] ERROR: Exception handlers complete\r\n==> default: [2015-06-24T18:09:28+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out\r\n==> default: [2015-06-24T18:09:28+00:00] ERROR: mysql_service[default] (dbfit_test::mysql line 13) had an error: NameError: No resou\r\nrce, method, or local variable named `create_stop_system_service' for `Chef::Provider::MysqlService \"\"'\r\n==> default: [2015-06-24T18:09:28+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit c\r\node 1)\r\nChef never successfully completed! Any errors should be visible in the\r\noutput above. Please fix your recipes so that they properly complete."},"comment":{"url":"https://api.github.com/repos/dbfit/dbfit/issues/comments/115010961","html_url":"https://github.com/dbfit/dbfit/issues/381#issuecomment-115010961","issue_url":"https://api.github.com/repos/dbfit/dbfit/issues/381","id":115010961,"user":{"login":"MMatten","id":1895701,"avatar_url":"https://avatars.githubusercontent.com/u/1895701?v=3","gravatar_id":"","url":"https://api.github.com/users/MMatten","html_url":"https://github.com/MMatten","followers_url":"https://api.github.com/users/MMatten/followers","following_url":"https://api.github.com/users/MMatten/following{/other_user}","gists_url":"https://api.github.com/users/MMatten/gists{/gist_id}","starred_url":"https://api.github.com/users/MMatten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MMatten/subscriptions","organizations_url":"https://api.github.com/users/MMatten/orgs","repos_url":"https://api.github.com/users/MMatten/repos","events_url":"https://api.github.com/users/MMatten/events{/privacy}","received_events_url":"https://api.github.com/users/MMatten/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T21:00:55Z","updated_at":"2015-06-24T21:00:55Z","body":"Same result I'm afraid:\r\n\r\n==> default: ================================================================================\r\n==> default: Error executing action `create` on resource 'swap_file[/var/swapfile]'\r\n==> default: ================================================================================\r\n==> default: ArgumentError\r\n==> default: -------------\r\n==> default: Cannot find a provider for swap_file[/var/swapfile] on centos version 6.6\r\n==> default: Resource Declaration:\r\n==> default: ---------------------\r\n==> default: # In /tmp/vagrant-chef-3/chef-solo-1/cookbooks/dbfit_test/recipes/2gb_swapfile.rb\r\n==> default:   1: swap_file '/var/swapfile' do\r\n==> default:   2:   size 2048 # MBs\r\n==> default:   3:   persist true\r\n==> default:   4: end\r\n==> default:   5:\r\n==> default: Compiled Resource:\r\n==> default: ------------------\r\n==> default: # Declared in /tmp/vagrant-chef-3/chef-solo-1/cookbooks/dbfit_test/recipes/2gb_swapfile.rb:1:in `from_file'\r\n==> default:\r\n==> default: swap_file(\"/var/swapfile\") do\r\n==> default:   action :create\r\n==> default:   retries 0\r\n==> default:   retry_delay 2\r\n==> default:   default_guard_interpreter :default\r\n==> default:   declared_type :swap_file\r\n==> default:   cookbook_name :dbfit_test\r\n==> default:   recipe_name \"2gb_swapfile\"\r\n==> default:   size 2048\r\n==> default:   persist true\r\n==> default: end\r\n==> default:\r\n==> default: [2015-06-24T20:58:47+00:00] INFO: Running queued delayed notifications before re-raising exception\r\n==> default: [2015-06-24T20:58:47+00:00] ERROR: Running exception handlers\r\n==> default: [2015-06-24T20:58:47+00:00] ERROR: Exception handlers complete\r\n==> default: [2015-06-24T20:58:47+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out\r\n==> default: [2015-06-24T20:58:47+00:00] ERROR: swap_file[/var/swapfile] (dbfit_test::2gb_swapfile line 1) had an error: ArgumentErr\r\nor: Cannot find a provider for swap_file[/var/swapfile] on centos version 6.6\r\n==> default: [2015-06-24T20:58:47+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit c\r\node 1)"}}