Guest User

console output

a guest
Jan 8th, 2015
690
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.42 KB | None | 0 0
  1. iMacBert:Vagrant bert$ vagrant reload --provision
  2. ==> default: Attempting graceful shutdown of VM...
  3. ==> default: Checking if box 'puphpet/debian75-x64' is up to date...
  4. ==> default: Clearing any previously set forwarded ports...
  5. ==> default: Clearing any previously set network interfaces...
  6. ==> default: Preparing network interfaces based on configuration...
  7. default: Adapter 1: nat
  8. ==> default: Forwarding ports...
  9. default: 22 => 2222 (adapter 1)
  10. ==> default: Booting VM...
  11. ==> default: Waiting for machine to boot. This may take a few minutes...
  12. default: SSH address: 127.0.0.1:2222
  13. default: SSH username: vagrant
  14. default: SSH auth method: private key
  15. default: Warning: Connection timeout. Retrying...
  16. ==> default: Machine booted and ready!
  17. ==> default: Checking for guest additions in VM...
  18. default: /tmp/vagrant-chef-3/chef-solo-1/cookbooks => /Users/bert/Vagrant/cookbooks
  19. default: /tmp/vagrant-chef-3/chef-solo-2/cookbooks => /Users/bert/Vagrant/my_cookbooks
  20. ==> default: Running provisioner: shell...
  21. default: Running: /var/folders/y5/hhjgvl5j22g54t22yw8g7mbm0000gp/T/vagrant-shell20150108-3959-gkjuye.sh
  22. ==> default: stdin: is not a tty
  23. ==> default: Provisioning virtual machine...
  24. ==> default: Running provisioner: chef_solo...
  25. default: Installing Chef (latest)...
  26. Generating chef JSON and uploading...
  27. ==> default: Running chef-solo...
  28. ==> default: stdin: is not a tty
  29. ==> default: [2015-01-08T07:40:57+00:00] INFO: Forking chef instance to converge...
  30. ==> default: [2015-01-08T07:40:57+00:00] INFO: *** Chef 12.0.3 ***
  31. ==> default: [2015-01-08T07:40:57+00:00] INFO: Chef-client pid: 6289
  32. ==> default: [2015-01-08T07:40:58+00:00] INFO: Setting the run_list to ["recipe[mysql_config]"] from CLI options
  33. ==> default: [2015-01-08T07:40:58+00:00] INFO: Run List is [recipe[mysql_config]]
  34. ==> default: [2015-01-08T07:40:58+00:00] INFO: Run List expands to [mysql_config]
  35. ==> default: [2015-01-08T07:40:58+00:00] INFO: Starting Chef Run for packer-virtualbox-iso.vagrantup.com
  36. ==> default: [2015-01-08T07:40:58+00:00] INFO: Running start handlers
  37. ==> default: [2015-01-08T07:40:58+00:00] INFO: Start handlers complete.
  38. ==> default: [2015-01-08T07:41:27+00:00] INFO: service[localhost :create mysql] stopped
  39. ==> default: [2015-01-08T07:41:27+00:00] INFO: file[localhost :create /etc/mysql/my.cnf] backed up to /var/chef/backup/etc/mysql/my.cnf.chef-20150108074127.236557
  40. ==> default: [2015-01-08T07:41:27+00:00] INFO: file[localhost :create /etc/mysql/my.cnf] deleted file at /etc/mysql/my.cnf
  41. ==> default: [2015-01-08T07:41:27+00:00] INFO: link[localhost :create /usr/share/my-default.cnf] created
  42. ==> default: [2015-01-08T07:41:27+00:00] INFO: directory[localhost :create /etc/mysql-localhost] created directory /etc/mysql-localhost
  43. ==> default: [2015-01-08T07:41:27+00:00] INFO: directory[localhost :create /etc/mysql-localhost] owner changed to 105
  44. ==> default: [2015-01-08T07:41:27+00:00] INFO: directory[localhost :create /etc/mysql-localhost] group changed to 107
  45. ==> default: [2015-01-08T07:41:27+00:00] INFO: directory[localhost :create /etc/mysql-localhost] mode changed to 750
  46. ==> default: [2015-01-08T07:41:27+00:00] INFO: directory[localhost :create /etc/mysql-localhost/conf.d] created directory /etc/mysql-localhost/conf.d
  47. ==> default: [2015-01-08T07:41:27+00:00] INFO: directory[localhost :create /etc/mysql-localhost/conf.d] owner changed to 105
  48. ==> default: [2015-01-08T07:41:27+00:00] INFO: directory[localhost :create /etc/mysql-localhost/conf.d] group changed to 107
  49. ==> default: [2015-01-08T07:41:27+00:00] INFO: directory[localhost :create /etc/mysql-localhost/conf.d] mode changed to 750
  50. ==> default: [2015-01-08T07:41:27+00:00] INFO: directory[localhost :create /run/mysql-localhost] created directory /run/mysql-localhost
  51. ==> default: [2015-01-08T07:41:27+00:00] INFO: directory[localhost :create /run/mysql-localhost] owner changed to 105
  52. ==> default: [2015-01-08T07:41:27+00:00] INFO: directory[localhost :create /run/mysql-localhost] group changed to 107
  53. ==> default: [2015-01-08T07:41:27+00:00] INFO: directory[localhost :create /run/mysql-localhost] mode changed to 755
  54. ==> default: [2015-01-08T07:41:27+00:00] INFO: directory[localhost :create /var/log/mysql-localhost] created directory /var/log/mysql-localhost
  55. ==> default: [2015-01-08T07:41:27+00:00] INFO: directory[localhost :create /var/log/mysql-localhost] owner changed to 105
  56. ==> default: [2015-01-08T07:41:27+00:00] INFO: directory[localhost :create /var/log/mysql-localhost] group changed to 107
  57. ==> default: [2015-01-08T07:41:27+00:00] INFO: directory[localhost :create /var/log/mysql-localhost] mode changed to 750
  58. ==> default: [2015-01-08T07:41:27+00:00] INFO: directory[localhost :create /var/lib/mysql-localhost] created directory /var/lib/mysql-localhost
  59. ==> default: [2015-01-08T07:41:27+00:00] INFO: directory[localhost :create /var/lib/mysql-localhost] owner changed to 105
  60. ==> default: [2015-01-08T07:41:27+00:00] INFO: directory[localhost :create /var/lib/mysql-localhost] group changed to 107
  61. ==> default: [2015-01-08T07:41:27+00:00] INFO: directory[localhost :create /var/lib/mysql-localhost] mode changed to 750
  62. ==> default: [2015-01-08T07:41:27+00:00] INFO: template[localhost :create /etc/mysql-localhost/my.cnf] created file /etc/mysql-localhost/my.cnf
  63. ==> default: [2015-01-08T07:41:27+00:00] INFO: template[localhost :create /etc/mysql-localhost/my.cnf] updated file contents /etc/mysql-localhost/my.cnf
  64. ==> default: [2015-01-08T07:41:27+00:00] INFO: template[localhost :create /etc/mysql-localhost/my.cnf] owner changed to 105
  65. ==> default: [2015-01-08T07:41:27+00:00] INFO: template[localhost :create /etc/mysql-localhost/my.cnf] group changed to 107
  66. ==> default: [2015-01-08T07:41:27+00:00] INFO: template[localhost :create /etc/mysql-localhost/my.cnf] mode changed to 600
  67. ==> default: [2015-01-08T07:41:27+00:00] INFO: bash[localhost :create initialize mysql database] ran successfully
  68. ==> default: [2015-01-08T07:41:27+00:00] INFO: bash[localhost :create initialize mysql database] sending run action to bash[localhost :create initial records] (delayed)
  69. ==> default: [2015-01-08T07:41:30+00:00] INFO: bash[localhost :create initial records] ran successfully
  70. ==> default: [2015-01-08T07:41:30+00:00] INFO: template[localhost :start /etc/init.d/mysql-localhost] created file /etc/init.d/mysql-localhost
  71. ==> default: [2015-01-08T07:41:30+00:00] INFO: template[localhost :start /etc/init.d/mysql-localhost] updated file contents /etc/init.d/mysql-localhost
  72. ==> default: [2015-01-08T07:41:30+00:00] INFO: template[localhost :start /etc/init.d/mysql-localhost] owner changed to 0
  73. ==> default: [2015-01-08T07:41:30+00:00] INFO: template[localhost :start /etc/init.d/mysql-localhost] group changed to 0
  74. ==> default: [2015-01-08T07:41:30+00:00] INFO: template[localhost :start /etc/init.d/mysql-localhost] mode changed to 755
  75. ==> default: [2015-01-08T07:41:30+00:00] INFO: service[localhost :start mysql-localhost] enabled
  76. ==> default: [2015-01-08T07:41:32+00:00] INFO: service[localhost :start mysql-localhost] started
  77. ==> default: [2015-01-08T07:41:32+00:00] INFO: directory[default :create /etc/mysql-default/conf.d] created directory /etc/mysql-default/conf.d
  78. ==> default: [2015-01-08T07:41:32+00:00] INFO: directory[default :create /etc/mysql-default/conf.d] owner changed to 105
  79. ==> default: [2015-01-08T07:41:32+00:00] INFO: directory[default :create /etc/mysql-default/conf.d] group changed to 107
  80. ==> default: [2015-01-08T07:41:32+00:00] INFO: directory[default :create /etc/mysql-default/conf.d] mode changed to 750
  81. ==> default:
  82. ==> default: ================================================================================
  83. ==> default: Error executing action `create` on resource 'template[default :create /etc/mysql-default/conf.d/default.cnf]'
  84. ==> default: ================================================================================
  85. ==> default:
  86. ==> default: Chef::Mixin::Template::TemplateError
  87. ==> default: ------------------------------------
  88. ==> default: undefined method `name' for nil:NilClass
  89. ==> default:
  90. ==> default: Resource Declaration:
  91. ==> default: ---------------------
  92. ==> default:
  93. ==> default: # In /tmp/vagrant-chef-3/chef-solo-1/cookbooks/mysql/libraries/provider_mysql_config.rb
  94. ==> default:
  95. ==> default:
  96. ==> default: 38: template "#{new_resource.name} :create #{include_dir}/#{new_resource.config_name}.cnf" do
  97. ==> default: 39: path "#{include_dir}/#{new_resource.config_name}.cnf"
  98. ==> default: 40: owner new_resource.owner
  99. ==> default: 41: group new_resource.group
  100. ==> default:
  101. ==> default: 42: mode '0640'
  102. ==> default: 43: variables(new_resource.variables)
  103. ==> default: 44: source new_resource.source
  104. ==> default: 45: cookbook new_resource.cookbook
  105. ==> default:
  106. ==> default: 46: action :create
  107. ==> default: 47: end
  108. ==> default:
  109. ==> default: 48: end
  110. ==> default:
  111. ==> default:
  112. ==> default: Compiled Resource:
  113. ==> default: ------------------
  114. ==> default: # Declared in /tmp/vagrant-chef-3/chef-solo-1/cookbooks/mysql/libraries/provider_mysql_config.rb:38:in `block in <class:MysqlConfig>'
  115. ==> default:
  116. ==> default: template("default :create /etc/mysql-default/conf.d/default.cnf") do
  117. ==> default: action [:create]
  118. ==> default: retries 0
  119. ==> default: retry_delay 2
  120. ==> default:
  121. ==> default: default_guard_interpreter :default
  122. ==> default: path "/etc/mysql-default/conf.d/default.cnf"
  123. ==> default: backup 5
  124. ==> default: atomic_update true
  125. ==> default:
  126. ==> default: source "my.cnf.erb"
  127. ==> default:
  128. ==> default: declared_type :template
  129. ==> default: cookbook_name :mysql_config
  130. ==> default: owner "mysql"
  131. ==> default:
  132. ==> default: group "mysql"
  133. ==> default:
  134. ==> default: mode "0640"
  135. ==> default:
  136. ==> default: end
  137. ==> default:
  138. ==> default:
  139. ==> default: Template Context:
  140. ==> default: -----------------
  141. ==> default: on line #1
  142. ==> default: 1: # Chef generated my.cnf for instance mysql-<%= @config.name %>
  143. ==> default:
  144. ==> default: 2:
  145. ==> default: 3: [client]
  146. ==> default:
  147. ==> default: 4: <% if @config.charset %>
  148. ==> default: 5: default-character-set = <%= @config.charset %>
  149. ==> default:
  150. ==> default:
  151. ==> default: [2015-01-08T07:41:32+00:00] INFO: Running queued delayed notifications before re-raising exception
  152. ==> default:
  153. ==> default: ================================================================================
  154. ==> default: Error executing action `create` on resource 'mysql_config[default]'
  155. ==> default: ================================================================================
  156. ==> default:
  157. ==> default:
  158. ==> default: Chef::Mixin::Template::TemplateError
  159. ==> default: ------------------------------------
  160. ==> default: undefined method `name' for nil:NilClass
  161. ==> default:
  162. ==> default:
  163. ==> default: Resource Declaration:
  164. ==> default: ---------------------
  165. ==> default: # In /tmp/vagrant-chef-3/chef-solo-2/cookbooks/mysql_config/recipes/default.rb
  166. ==> default:
  167. ==> default:
  168. ==> default:
  169. ==> default: 17: mysql_config 'default' do
  170. ==> default: 18: source 'my.cnf.erb'
  171. ==> default: 19: notifies :restart, 'mysql_service[default]'
  172. ==> default:
  173. ==> default: 20: action :create
  174. ==> default: 21: end
  175. ==> default:
  176. ==> default:
  177. ==> default:
  178. ==> default: Compiled Resource:
  179. ==> default: ------------------
  180. ==> default: # Declared in /tmp/vagrant-chef-3/chef-solo-2/cookbooks/mysql_config/recipes/default.rb:17:in `from_file'
  181. ==> default:
  182. ==> default: mysql_config("default") do
  183. ==> default:
  184. ==> default: action [:create]
  185. ==> default: updated true
  186. ==> default: updated_by_last_action true
  187. ==> default: retries 0
  188. ==> default:
  189. ==> default: retry_delay 2
  190. ==> default:
  191. ==> default: default_guard_interpreter :default
  192. ==> default: declared_type :mysql_config
  193. ==> default:
  194. ==> default: cookbook_name :mysql_config
  195. ==> default: recipe_name "default"
  196. ==> default: source "my.cnf.erb"
  197. ==> default: group "mysql"
  198. ==> default: owner "mysql"
  199. ==> default: instance "default"
  200. ==> default:
  201. ==> default: config_name "default"
  202. ==> default: end
  203. ==> default:
  204. ==> default:
  205. ==> default: Template Context:
  206. ==> default: -----------------
  207. ==> default: on line #1
  208. ==> default: 1: # Chef generated my.cnf for instance mysql-<%= @config.name %>
  209. ==> default: 2:
  210. ==> default:
  211. ==> default: 3: [client]
  212. ==> default: 4: <% if @config.charset %>
  213. ==> default:
  214. ==> default: 5: default-character-set = <%= @config.charset %>
  215. ==> default:
  216. ==> default:
  217. ==> default: [2015-01-08T07:41:32+00:00] INFO: Running queued delayed notifications before re-raising exception
  218. ==> default: [2015-01-08T07:41:32+00:00] ERROR: Running exception handlers
  219. ==> default: [2015-01-08T07:41:32+00:00] ERROR: Exception handlers complete
  220. ==> default: [2015-01-08T07:41:32+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
  221. ==> default: [2015-01-08T07:41:32+00:00] ERROR:
  222. ==> default:
  223. ==> default: Chef::Mixin::Template::TemplateError (undefined method `name' for nil:NilClass) on line #1:
  224. ==> default:
  225. ==> default: 1: # Chef generated my.cnf for instance mysql-<%= @config.name %>
  226. ==> default: 2:
  227. ==> default: 3: [client]
  228. ==> default: 4: <% if @config.charset %>
  229. ==> default: 5: default-character-set = <%= @config.charset %>
  230. ==> default:
  231. ==> default: (erubis):1:in `block in evaluate'
  232. ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/erubis-2.7.0/lib/erubis/evaluator.rb:74:in `instance_eval'
  233. ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/erubis-2.7.0/lib/erubis/evaluator.rb:74:in `evaluate'
  234. ==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/template.rb:126:in `_render_template'
  235. ==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/template.rb:112:in `render_template'
  236. ==> default: /opt/chef/embedded/apps/chef/lib/chef/provider/template/content.rb:43:in `file_for_provider'
  237. ==> default: /opt/chef/embedded/apps/chef/lib/chef/file_content_management/content_base.rb:40:in `tempfile'
  238. ==> default: /opt/chef/embedded/apps/chef/lib/chef/provider/file.rb:451:in `tempfile'
  239. ==> default: /opt/chef/embedded/apps/chef/lib/chef/provider/file.rb:337:in `do_generate_content'
  240. ==> default: /opt/chef/embedded/apps/chef/lib/chef/provider/file.rb:148:in `action_create'
  241. ==> default: /opt/chef/embedded/apps/chef/lib/chef/provider.rb:145:in `run_action'
  242. ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource.rb:582:in `run_action'
  243. ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:49:in `run_action'
  244. ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block (2 levels) in converge'
  245. ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `each'
  246. ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block in converge'
  247. ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:83:in `block in execute_each_resource'
  248. ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
  249. ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
  250. ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
  251. ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
  252. ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
  253. ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:81:in `execute_each_resource'
  254. ==> default: /opt/chef/embedded/lib/ruby/2.1.0/forwardable.rb:183:in `execute_each_resource'
  255. ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:80:in `converge'
  256. ==> default: /opt/chef/embedded/apps/chef/lib/chef/provider/lwrp_base.rb:61:in `recipe_eval_with_update_check'
  257. ==> default: /opt/chef/embedded/apps/chef/lib/chef/provider/lwrp_base.rb:45:in `block in action'
  258. ==> default: /opt/chef/embedded/apps/chef/lib/chef/provider.rb:145:in `run_action'
  259. ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource.rb:582:in `run_action'
  260. ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:49:in `run_action'
  261. ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block (2 levels) in converge'
  262. ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `each'
  263. ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block in converge'
  264. ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:83:in `block in execute_each_resource'
  265. ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
  266. ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
  267. ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
  268. ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
  269. ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
  270. ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:81:in `execute_each_resource'
  271. ==> default: /opt/chef/embedded/lib/ruby/2.1.0/forwardable.rb:183:in `execute_each_resource'
  272. ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:80:in `converge'
  273. ==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:315:in `converge'
  274. ==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:400:in `block in run'
  275. ==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:399:in `catch'
  276. ==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:399:in `run'
  277. ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:261:in `block in fork_chef_client'
  278. ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:249:in `fork'
  279. ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:249:in `fork_chef_client'
  280. ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:215:in `block in run_chef_client'
  281. ==> default: /opt/chef/embedded/apps/chef/lib/chef/local_mode.rb:38:in `with_server_connectivity'
  282. ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:201:in `run_chef_client'
  283. ==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:245:in `block in interval_run_chef_client'
  284. ==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:234:in `loop'
  285. ==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:234:in `interval_run_chef_client'
  286. ==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:224:in `run_application'
  287. ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:58:in `run'
  288. ==> default: /opt/chef/embedded/apps/chef/bin/chef-solo:25:in `<top (required)>'
  289. ==> default: /usr/bin/chef-solo:40:in `load'
  290. ==> default: /usr/bin/chef-solo:40:in `<main>'
  291. ==> default: [2015-01-08T07:41:32+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
  292. Chef never successfully completed! Any errors should be visible in the
  293. output above. Please fix your recipes so that they properly complete.
  294. iMacBert:Vagrant bert$
Advertisement
Add Comment
Please, Sign In to add comment