{"action":"created","issue":{"url":"https://api.github.com/repos/chef/chef-provisioning-fog/issues/32","labels_url":"https://api.github.com/repos/chef/chef-provisioning-fog/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef-provisioning-fog/issues/32/comments","events_url":"https://api.github.com/repos/chef/chef-provisioning-fog/issues/32/events","html_url":"https://github.com/chef/chef-provisioning-fog/issues/32","id":37530771,"number":32,"title":"chef-meta-fog w/ digital ocean errors with \"NoMethodError: undefined method `parallel_do' for #<Chef::ChefFS::Parallelizer:0xxxx>\"","user":{"login":"jdblack","id":1109549,"avatar_url":"https://avatars.githubusercontent.com/u/1109549?v=3","gravatar_id":"","url":"https://api.github.com/users/jdblack","html_url":"https://github.com/jdblack","followers_url":"https://api.github.com/users/jdblack/followers","following_url":"https://api.github.com/users/jdblack/following{/other_user}","gists_url":"https://api.github.com/users/jdblack/gists{/gist_id}","starred_url":"https://api.github.com/users/jdblack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdblack/subscriptions","organizations_url":"https://api.github.com/users/jdblack/orgs","repos_url":"https://api.github.com/users/jdblack/repos","events_url":"https://api.github.com/users/jdblack/events{/privacy}","received_events_url":"https://api.github.com/users/jdblack/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chef/chef-provisioning-fog/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/chef/chef-provisioning-fog/labels/in%20progress","name":"in progress","color":"ededed"},{"url":"https://api.github.com/repos/chef/chef-provisioning-fog/labels/investigate","name":"investigate","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"jkeiser","id":654882,"avatar_url":"https://avatars.githubusercontent.com/u/654882?v=3","gravatar_id":"","url":"https://api.github.com/users/jkeiser","html_url":"https://github.com/jkeiser","followers_url":"https://api.github.com/users/jkeiser/followers","following_url":"https://api.github.com/users/jkeiser/following{/other_user}","gists_url":"https://api.github.com/users/jkeiser/gists{/gist_id}","starred_url":"https://api.github.com/users/jkeiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkeiser/subscriptions","organizations_url":"https://api.github.com/users/jkeiser/orgs","repos_url":"https://api.github.com/users/jkeiser/repos","events_url":"https://api.github.com/users/jkeiser/events{/privacy}","received_events_url":"https://api.github.com/users/jkeiser/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/chef/chef-provisioning-fog/milestones/1","html_url":"https://github.com/chef/chef-provisioning-fog/milestones/1.0","labels_url":"https://api.github.com/repos/chef/chef-provisioning-fog/milestones/1/labels","id":759376,"number":1,"title":"1.0","description":"Corresponds to chef-metal 1.0","creator":{"login":"jkeiser","id":654882,"avatar_url":"https://avatars.githubusercontent.com/u/654882?v=3","gravatar_id":"","url":"https://api.github.com/users/jkeiser","html_url":"https://github.com/jkeiser","followers_url":"https://api.github.com/users/jkeiser/followers","following_url":"https://api.github.com/users/jkeiser/following{/other_user}","gists_url":"https://api.github.com/users/jkeiser/gists{/gist_id}","starred_url":"https://api.github.com/users/jkeiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkeiser/subscriptions","organizations_url":"https://api.github.com/users/jkeiser/orgs","repos_url":"https://api.github.com/users/jkeiser/repos","events_url":"https://api.github.com/users/jkeiser/events{/privacy}","received_events_url":"https://api.github.com/users/jkeiser/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":13,"state":"open","created_at":"2014-08-19T22:56:43Z","updated_at":"2015-02-26T04:20:35Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2014-07-10T04:21:10Z","updated_at":"2015-02-26T06:35:45Z","closed_at":null,"body":"Chef-metal is working for me with chef-metal-vagrant. Also, knife digitalocean is working for me (except to list images, but I can see  instances and nodes fine).  \r\n\r\nHowever, attempting to use knife-metal-fog is not working with digital ocean.  I would try linode as well, but I haven't found good instructions yet on how to do so.\r\n\r\n## bootstrap\r\n```\r\njblack@sirius:~/chefstack$ cat bootstrap \r\nchef-client -z digital_linux.rb simple.rb\r\n```\r\n\r\n## digital_linux.rb\r\n```\r\njblack@sirius:~/chefstack$ cat digital_linux.rb \r\nrequire 'chef_metal_fog'\r\nwith_driver 'fog:DigitalOcean', :compute_options => {\r\n   digitalocean_client_id: '<My id that works w/ knife digitalocean>',\r\n   digitalocean_api_key: '<API Key, works with knife digitalocean>''\r\n}\r\nwith_machine_options(\r\n   :bootstrap_options => {\r\n      image_name: 'Ubuntu 14.04 x64',\r\n      flavor_name: '1GB',\r\n      region_name: 'New York 2'\r\n   }\r\n)\r\nwith_chef_server \"https://chef.linuxguru.net\",\r\n   :client_name => Chef::Config[:node_name],\r\n   :signing_key_filename => Chef::Config[:client_key]\r\n```\r\n\r\n## simple.rb\r\n```\r\njblack@sirius:~/chefstack$ cat simple.rb \r\nrequire 'chef_metal'\r\n\r\nmachine 'hist2' do\r\n  tag 'itsa_me'\r\n  converge true\r\n  recipe 'linuxguru::role_linuxguru'\r\nend\r\n```\r\n\r\n## Actual run\r\n```\r\n jblack@sirius:~/chefstack$ ./bootstrap \r\n[2014-07-09T21:12:34-07:00] INFO: Starting chef-zero on port 8889 with repository at repository at /home/jblack/chef/linuxguru\r\n  One version per cookbook\r\n\r\n[2014-07-09T21:12:34-07:00] INFO: Forking chef instance to converge...\r\n[2014-07-09T21:12:34-07:00] WARN: \r\n* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \r\nSSL validation of HTTPS requests is disabled. HTTPS connections are still\r\nencrypted, but chef is not able to detect forged replies or man in the middle\r\nattacks.\r\n\r\nTo fix this issue add an entry like this to your configuration file:\r\n  # Verify all HTTPS connections (recommended)\r\n  ssl_verify_mode :verify_peer\r\n  # OR, Verify only connections to chef-server\r\n  verify_api_cert true\r\nTo check your SSL configuration, or troubleshoot errors, you can use the\r\n`knife ssl check` command like so:\r\n  knife ssl check -c /home/jblack/.chef/knife.rb\r\n* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \r\nStarting Chef Client, version 11.12.8\r\n[2014-07-09T21:12:34-07:00] INFO: *** Chef 11.12.8 ***\r\n[2014-07-09T21:12:34-07:00] INFO: Chef-client pid: 7777\r\n[2014-07-09T21:12:36-07:00] INFO: Run List is []\r\n[2014-07-09T21:12:36-07:00] INFO: Run List expands to []\r\n[2014-07-09T21:12:36-07:00] INFO: Starting Chef Run for jblack\r\n[2014-07-09T21:12:36-07:00] INFO: Running start handlers\r\n[2014-07-09T21:12:36-07:00] INFO: Start handlers complete.\r\n[2014-07-09T21:12:36-07:00] INFO: HTTP Request Returned 404 Not Found : Object not found: /reports/nodes/jblack/runs\r\nresolving cookbooks for run list: []\r\n[2014-07-09T21:12:36-07:00] INFO: Loading cookbooks []\r\nSynchronizing Cookbooks:\r\nCompiling Cookbooks...\r\n[2014-07-09T21:12:38-07:00] WARN: Node jblack has an empty run list.\r\nConverging 1 resources\r\nRecipe: @recipe_files::/home/jblack/chefstack/simple.rb\r\n  * machine[hist2] action converge[2014-07-09T21:12:38-07:00] INFO: Processing machine[hist2] action converge (@recipe_files::/home/jblack/chefstack/simple.rb line 3)\r\n[2014-07-09T21:12:39-07:00] INFO: HTTP Request Returned 404 Object Not Found: error\r\n[2014-07-09T21:12:39-07:00] INFO: Processing fog_key_pair[id_rsa] action create (basic_chef_client::block line 18)\r\n[2014-07-09T21:12:40-07:00] INFO: Processing private_key[/home/jblack/.ssh/id_rsa] action create (basic_chef_client::block line 138)\r\n[2014-07-09T21:12:40-07:00] WARN: Mismatched key size!  /home/jblack/.ssh/id_rsa is 4096 bytes, desired is 2048 bytes.  Use action :regenerate to force key regeneration.\r\n\r\n================================================================================\r\nError executing action `converge` on resource 'machine[hist2]'\r\n================================================================================\r\n\r\n\r\nNoMethodError\r\n-------------\r\nundefined method `parallel_do' for #<Chef::ChefFS::Parallelizer:0x000000046b5568>\r\n\r\n\r\nResource Declaration:\r\n---------------------\r\n# In /home/jblack/chefstack/simple.rb\r\n\r\n  3: machine 'hist2' do\r\n  4:   tag 'itsa_me'\r\n  5:   converge true\r\n  6:   recipe 'linuxguru::role_linuxguru'\r\n  7: end\r\n  8: \r\n\r\n\r\n\r\nCompiled Resource:\r\n------------------\r\n# Declared in /home/jblack/chefstack/simple.rb:3:in `from_file'\r\n\r\nmachine(\"hist2\") do\r\n  action :converge\r\n  retries 0\r\n  retry_delay 2\r\n  guard_interpreter :default\r\n  chef_server {:chef_server_url=>\"https://chef.linuxguru.net\", :options=>{:client_name=>\"jblack\", :signing_key_filename=>\"/home/jblack/.chef/jblack-linuxguru.pem\"}}\r\n  driver \"fog:DigitalOcean\"\r\n  machine_options {:bootstrap_options=>{:image_name=>\"Ubuntu 14.04 x64\", :flavor_name=>\"1GB\", :region_name=>\"New York 2\"}}\r\n  cookbook_name \"@recipe_files\"\r\n  recipe_name \"/home/jblack/chefstack/simple.rb\"\r\n  attribute_modifiers [[\"tags\", #<Proc:0x000000044a70c8@/var/lib/gems/1.9.1/gems/cheffish-0.6.2/lib/cheffish.rb:142>]]\r\n  converge true\r\n  run_list_modifiers [recipe[linuxguru::role_linuxguru]]\r\nend\r\n\r\n\r\n\r\n[2014-07-09T21:12:42-07:00] INFO: Running queued delayed notifications before re-raising exception\r\n\r\nRunning handlers:\r\n[2014-07-09T21:12:42-07:00] ERROR: Running exception handlers\r\nRunning handlers complete\r\n\r\n[2014-07-09T21:12:42-07:00] ERROR: Exception handlers complete\r\n[2014-07-09T21:12:42-07:00] FATAL: Stacktrace dumped to /home/jblack/.chef/local-mode-cache/cache/chef-stacktrace.out\r\nChef Client failed. 0 resources updated in 7.312132364 seconds\r\n[2014-07-09T21:12:42-07:00] ERROR: machine[hist2] (@recipe_files::/home/jblack/chefstack/simple.rb line 3) had an error: NoMethodError: undefined method `parallel_do' for #<Chef::ChefFS::Parallelizer:0x000000046b5568>\r\n[2014-07-09T21:12:42-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)\r\n```"},"comment":{"url":"https://api.github.com/repos/chef/chef-provisioning-fog/issues/comments/76129472","html_url":"https://github.com/chef/chef-provisioning-fog/issues/32#issuecomment-76129472","issue_url":"https://api.github.com/repos/chef/chef-provisioning-fog/issues/32","id":76129472,"user":{"login":"jkeiser","id":654882,"avatar_url":"https://avatars.githubusercontent.com/u/654882?v=3","gravatar_id":"","url":"https://api.github.com/users/jkeiser","html_url":"https://github.com/jkeiser","followers_url":"https://api.github.com/users/jkeiser/followers","following_url":"https://api.github.com/users/jkeiser/following{/other_user}","gists_url":"https://api.github.com/users/jkeiser/gists{/gist_id}","starred_url":"https://api.github.com/users/jkeiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkeiser/subscriptions","organizations_url":"https://api.github.com/users/jkeiser/orgs","repos_url":"https://api.github.com/users/jkeiser/repos","events_url":"https://api.github.com/users/jkeiser/events{/privacy}","received_events_url":"https://api.github.com/users/jkeiser/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T06:35:45Z","updated_at":"2015-02-26T06:35:45Z","body":"More specifically, machine_batch is working at the moment.  I've got green all the way."}}