{"action":"closed","issue":{"url":"https://api.github.com/repos/chef/chef-provisioning/issues/373","labels_url":"https://api.github.com/repos/chef/chef-provisioning/issues/373/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef-provisioning/issues/373/comments","events_url":"https://api.github.com/repos/chef/chef-provisioning/issues/373/events","html_url":"https://github.com/chef/chef-provisioning/issues/373","id":90735412,"number":373,"title":"Chef Provisioning- Vagrant","user":{"login":"DarshanMurthy","id":7928496,"avatar_url":"https://avatars.githubusercontent.com/u/7928496?v=3","gravatar_id":"","url":"https://api.github.com/users/DarshanMurthy","html_url":"https://github.com/DarshanMurthy","followers_url":"https://api.github.com/users/DarshanMurthy/followers","following_url":"https://api.github.com/users/DarshanMurthy/following{/other_user}","gists_url":"https://api.github.com/users/DarshanMurthy/gists{/gist_id}","starred_url":"https://api.github.com/users/DarshanMurthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarshanMurthy/subscriptions","organizations_url":"https://api.github.com/users/DarshanMurthy/orgs","repos_url":"https://api.github.com/users/DarshanMurthy/repos","events_url":"https://api.github.com/users/DarshanMurthy/events{/privacy}","received_events_url":"https://api.github.com/users/DarshanMurthy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-24T17:13:25Z","updated_at":"2015-07-01T01:39:25Z","closed_at":"2015-07-01T01:39:25Z","body":"Hi All,\r\n\r\nSteps I followed:\r\n\r\nStep 1: Cloned the Git code (https://github.com/chef/chef-provisioning.git)\r\nStep 2: gem install chef-provisioning chef-provisioning-vagrant\r\nStep 3: export CHEF_DRIVER=vagrant\r\n\r\nStep 4: export VAGRANT_DEFAULT_PROVIDER=virtualbox\r\nStep 5: chef-client -z vagrant_linux.rb simple.rb\r\n\r\n\r\n\r\n\r\nError log files:\r\n\r\n\r\n\r\n```\r\n2015-06-24T10:10:56-07:00] INFO: Started chef-zero at chefzero://localhost:8889 with repository at /Users/dtumkursreeni/chef\r\n  One version per cookbook\r\n\r\n[2015-06-24T10:10:56-07:00] INFO: Forking chef instance to converge...\r\nStarting Chef Client, version 12.4.0.rc.0\r\n[2015-06-24T10:10:56-07:00] INFO: *** Chef 12.4.0.rc.0 ***\r\n[2015-06-24T10:10:56-07:00] INFO: Chef-client pid: 14889\r\n[2015-06-24T10:10:58-07:00] INFO: Run List is []\r\n[2015-06-24T10:10:58-07:00] INFO: Run List expands to []\r\n[2015-06-24T10:10:58-07:00] INFO: Starting Chef Run for dtumkursreeni\r\n[2015-06-24T10:10:58-07:00] INFO: Running start handlers\r\n[2015-06-24T10:10:58-07:00] INFO: Start handlers complete.\r\n[2015-06-24T10:10:58-07:00] INFO: HTTP Request Returned 404 Not Found: Object not found: \r\nresolving cookbooks for run list: []\r\n[2015-06-24T10:10:58-07:00] INFO: Loading cookbooks []\r\nSynchronizing Cookbooks:\r\nCompiling Cookbooks...\r\n[2015-06-24T10:10:58-07:00] WARN: Class Chef::Resource::VagrantBox does not declare 'provides :vagrant_box'.\r\n[2015-06-24T10:10:58-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.\r\n[2015-06-24T10:10:58-07:00] WARN: Chef::Resource::VagrantBox is marked as providing DSL vagrant_box, but provides :vagrant_box was never called!\r\n[2015-06-24T10:10:58-07:00] WARN: In Chef 13, this will break: you must call provides to mark the names you provide, even if you also override provides? yourself.\r\n[2015-06-24T10:10:58-07:00] WARN: Class Chef::Resource::VagrantBox does not declare 'provides :vagrant_box'.\r\n[2015-06-24T10:10:58-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.\r\n[2015-06-24T10:10:58-07:00] WARN: Class Chef::Resource::Machine does not declare 'provides :machine'.\r\n[2015-06-24T10:10:58-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.\r\n[2015-06-24T10:10:58-07:00] WARN: Chef::Resource::Machine is marked as providing DSL machine, but provides :machine was never called!\r\n[2015-06-24T10:10:58-07:00] WARN: In Chef 13, this will break: you must call provides to mark the names you provide, even if you also override provides? yourself.\r\n[2015-06-24T10:10:58-07:00] WARN: Class Chef::Resource::Machine does not declare 'provides :machine'.\r\n[2015-06-24T10:10:58-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.\r\n[2015-06-24T10:10:58-07:00] WARN: Node dtumkursreeni has an empty run list.\r\nConverging 2 resources\r\nRecipe: @recipe_files::/Users/dtumkursreeni/Just_Example/chef-provisioning/docs/examples/vagrant_linux.rb\r\n  * vagrant_box[precise64] action create[2015-06-24T10:10:58-07:00] INFO: Processing vagrant_box[precise64] action create (@recipe_files::/Users/dtumkursreeni/Just_Example/chef-provisioning/docs/examples/vagrant_linux.rb line 77)\r\n[2015-06-24T10:10:58-07:00] WARN: Class Chef::Provider::VagrantBox does not declare 'provides :vagrant_box'.\r\n[2015-06-24T10:10:58-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.\r\n (up to date)\r\nRecipe: @recipe_files::/Users/dtumkursreeni/Just_Example/chef-provisioning/docs/examples/simple.rb\r\n  * machine[mario] action converge[2015-06-24T10:10:59-07:00] INFO: Processing machine[mario] action converge (@recipe_files::/Users/dtumkursreeni/Just_Example/chef-provisioning/docs/examples/simple.rb line 77)\r\n[2015-06-24T10:10:59-07:00] WARN: Class Chef::Provider::Machine does not declare 'provides :machine'.\r\n[2015-06-24T10:10:59-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.\r\n[2015-06-24T10:10:59-07:00] WARN: Class Chef::Resource::VagrantCluster does not declare 'provides :vagrant_cluster'.\r\n[2015-06-24T10:10:59-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.\r\n[2015-06-24T10:10:59-07:00] WARN: Chef::Resource::VagrantCluster is marked as providing DSL vagrant_cluster, but provides :vagrant_cluster was never called!\r\n[2015-06-24T10:10:59-07:00] WARN: In Chef 13, this will break: you must call provides to mark the names you provide, even if you also override provides? yourself.\r\n[2015-06-24T10:10:59-07:00] WARN: Class Chef::Resource::VagrantCluster does not declare 'provides :vagrant_cluster'.\r\n[2015-06-24T10:10:59-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.\r\n[2015-06-24T10:10:59-07:00] INFO: Processing vagrant_cluster[/Users/dtumkursreeni/.chef/vms] action create (basic_chef_client::block line 77)\r\n[2015-06-24T10:10:59-07:00] WARN: Class Chef::Provider::VagrantCluster does not declare 'provides :vagrant_cluster'.\r\n[2015-06-24T10:10:59-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.\r\n[2015-06-24T10:10:59-07:00] INFO: Processing directory[/Users/dtumkursreeni/.chef/vms] action create (basic_chef_client::block line 15)\r\n[2015-06-24T10:10:59-07:00] INFO: Processing file[/Users/dtumkursreeni/.chef/vms/Vagrantfile] action create (basic_chef_client::block line 16)\r\n[2015-06-24T10:11:00-07:00] INFO: Processing file[/Users/dtumkursreeni/.chef/vms/mario.vm] action create (basic_chef_client::block line 232)\r\n[2015-06-24T10:11:00-07:00] WARN: Class Chef::Resource::ChefNode does not declare 'provides :chef_node'.\r\n[2015-06-24T10:11:00-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.\r\n[2015-06-24T10:11:00-07:00] WARN: Chef::Resource::ChefNode is marked as providing DSL chef_node, but provides :chef_node was never called!\r\n[2015-06-24T10:11:00-07:00] WARN: In Chef 13, this will break: you must call provides to mark the names you provide, even if you also override provides? yourself.\r\n[2015-06-24T10:11:00-07:00] WARN: Class Chef::Resource::ChefNode does not declare 'provides :chef_node'.\r\n[2015-06-24T10:11:00-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.\r\n[2015-06-24T10:11:00-07:00] INFO: Processing chef_node[mario] action create (basic_chef_client::block line 77)\r\n[2015-06-24T10:11:00-07:00] WARN: Class Chef::Provider::ChefNode does not declare 'provides :chef_node'.\r\n[2015-06-24T10:11:00-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.\r\n\r\n    \r\n    ================================================================================\r\n    Error executing action `converge` on resource 'machine[mario]'\r\n    ================================================================================\r\n    \r\n    RuntimeError\r\n    ------------\r\n    vagrant up mario failed!\r\n    STDOUT:Bringing machine 'mario' up with 'vmware_fusion' provider...\r\n    ==> mario: Box 'precise64' could not be found. Attempting to find and install...\r\n        mario: Box Provider: vmware_desktop, vmware_fusion, vmware_workstation\r\n        mario: Box Version: >= 0\r\n    ==> mario: Adding box 'precise64' (v0) for provider: vmware_desktop, vmware_fusion, vmware_workstation\r\n        mario: Downloading: precise64\r\n\r\n    STDERR:An error occurred while downloading the remote file. The error\r\n    message, if any, is reproduced below. Please fix this error and try\r\n    again.\r\n    \r\n    Couldn't open file /Users/dtumkursreeni/.chefvm/configurations/int/vms/precise64\r\n    \r\n    Resource Declaration:\r\n    ---------------------\r\n    # In /Users/dtumkursreeni/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.0/lib/chef/dsl/recipe.rb\r\n    \r\n     77:           return send(method_symbol, *args, &block)\r\n     78:         end\r\n    \r\n    Compiled Resource:\r\n    ------------------\r\n    # Declared in /Users/dtumkursreeni/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.0/lib/chef/dsl/recipe.rb:77:in `method_missing'\r\n    \r\n    machine(\"mario\") do\r\n      action [:converge]\r\n      retries 0\r\n      retry_delay 2\r\n      default_guard_interpreter :default\r\n      chef_server {:chef_server_url=>\"chefzero://localhost:8889\", :options=>{:client_name=>\"dtumkursreeni\", :signing_key_filename=>\"/Users/dtumkursreeni/.chef/dtumkursreeni.pem\"}}\r\n      driver \"vagrant\"\r\n      machine_options {:vagrant_options=>{\"vm.box\"=>\"precise64\"}}\r\n      declared_type :machine\r\n      cookbook_name \"@recipe_files\"\r\n      recipe_name \"/Users/dtumkursreeni/Just_Example/chef-provisioning/docs/examples/simple.rb\"\r\n      attribute_modifiers [[\"tags\", #<Proc:0x007fb70a8f62b8@/Users/dtumkursreeni/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/cheffish-1.2/lib/cheffish.rb:149>]]\r\n      converge true\r\n    end\r\n    \r\n[2015-06-24T10:11:02-07:00] INFO: Running queued delayed notifications before re-raising exception\r\n\r\nRunning handlers:\r\n[2015-06-24T10:11:02-07:00] ERROR: Running exception handlers\r\nRunning handlers complete\r\n[2015-06-24T10:11:02-07:00] ERROR: Exception handlers complete\r\n[2015-06-24T10:11:02-07:00] FATAL: Stacktrace dumped to /Users/dtumkursreeni/.chef/local-mode-cache/cache/chef-stacktrace.out\r\nChef Client failed. 0 resources updated in 6.375067 seconds\r\n[2015-06-24T10:11:02-07:00] ERROR: machine[mario] (@recipe_files::/Users/dtumkursreeni/Just_Example/chef-provisioning/docs/examples/simple.rb line 77) had an error: RuntimeError: vagrant up mario failed!\r\nSTDOUT:Bringing machine 'mario' up with 'vmware_fusion' provider...\r\n==> mario: Box 'precise64' could not be found. Attempting to find and install...\r\n    mario: Box Provider: vmware_desktop, vmware_fusion, vmware_workstation\r\n    mario: Box Version: >= 0\r\n==> mario: Adding box 'precise64' (v0) for provider: vmware_desktop, vmware_fusion, vmware_workstation\r\n    mario: Downloading: precise64\r\n\r\nSTDERR:An error occurred while downloading the remote file. The error\r\nmessage, if any, is reproduced below. Please fix this error and try\r\nagain.\r\n\r\nCouldn't open file /Users/dtumkursreeni/.chefvm/configurations/int/vms/precise64\r\n\r\n[2015-06-24T10:11:02-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)\r\ndtumkursreeni-mac:examples dtumkursreeni\r\n```"}}