{"action":"created","issue":{"url":"https://api.github.com/repos/chef/chef-provisioning-docker/issues/11","labels_url":"https://api.github.com/repos/chef/chef-provisioning-docker/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef-provisioning-docker/issues/11/comments","events_url":"https://api.github.com/repos/chef/chef-provisioning-docker/issues/11/events","html_url":"https://github.com/chef/chef-provisioning-docker/issues/11","id":43951337,"number":11,"title":"Docker::Error::TimeoutError","user":{"login":"matiasdecarli","id":2442390,"avatar_url":"https://avatars.githubusercontent.com/u/2442390?v=3","gravatar_id":"","url":"https://api.github.com/users/matiasdecarli","html_url":"https://github.com/matiasdecarli","followers_url":"https://api.github.com/users/matiasdecarli/followers","following_url":"https://api.github.com/users/matiasdecarli/following{/other_user}","gists_url":"https://api.github.com/users/matiasdecarli/gists{/gist_id}","starred_url":"https://api.github.com/users/matiasdecarli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matiasdecarli/subscriptions","organizations_url":"https://api.github.com/users/matiasdecarli/orgs","repos_url":"https://api.github.com/users/matiasdecarli/repos","events_url":"https://api.github.com/users/matiasdecarli/events{/privacy}","received_events_url":"https://api.github.com/users/matiasdecarli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/chef/chef-provisioning-docker/milestones/1","html_url":"https://github.com/chef/chef-provisioning-docker/milestones/1.0","labels_url":"https://api.github.com/repos/chef/chef-provisioning-docker/milestones/1/labels","id":766935,"number":1,"title":"1.0","description":null,"creator":{"login":"johnewart","id":27885,"avatar_url":"https://avatars.githubusercontent.com/u/27885?v=3","gravatar_id":"","url":"https://api.github.com/users/johnewart","html_url":"https://github.com/johnewart","followers_url":"https://api.github.com/users/johnewart/followers","following_url":"https://api.github.com/users/johnewart/following{/other_user}","gists_url":"https://api.github.com/users/johnewart/gists{/gist_id}","starred_url":"https://api.github.com/users/johnewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnewart/subscriptions","organizations_url":"https://api.github.com/users/johnewart/orgs","repos_url":"https://api.github.com/users/johnewart/repos","events_url":"https://api.github.com/users/johnewart/events{/privacy}","received_events_url":"https://api.github.com/users/johnewart/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":7,"state":"open","created_at":"2014-08-27T04:50:10Z","updated_at":"2015-06-09T03:23:16Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2014-09-25T18:32:09Z","updated_at":"2015-09-17T20:34:48Z","closed_at":null,"body":"Sometimes Im getting this error. \r\n\r\n```    ================================================================================\r\n    Error executing action `converge` on resource 'machine[web27]'\r\n    ================================================================================\r\n    \r\n    Docker::Error::TimeoutError\r\n    ---------------------------\r\n    read timeout reached\r\n    \r\n    Resource Declaration:\r\n    ---------------------\r\n    # In /home/vagrant/cookbooks/murally/recipes/create_container.rb\r\n    \r\n      4: machine \"web27\" do\r\n      5:   recipe 'matiasdecarli::provision_container' \r\n      6: \r\n      7:   chef_server :chef_server_url=>'https://api.opscode.com/organizations/matiasdecarli',\r\n      8:     :options =>{\r\n      9:        :client_name=>\"matiasdecarli\",\r\n     10:        :signing_key_filename=>\"/etc/chef/client.pem\"\r\n     11:   }\r\n     12: \r\n     13:   machine_options :docker_options => {\r\n     14:       :base_image => {\r\n     15:           :name => 'matiasdecarli/release-chef',\r\n     16:           :repository => 'matiasdecarli',\r\n     17:           :tag => 'latest'\r\n     18:       },\r\n     19:       :command => 'node',\r\n     20:       :ports => 8080\t\r\n     21:   }\r\n     22: end\r\n```\r\n\r\nWatching the log, I can see that this is happening after the Chef run\r\n\r\n```\r\n[2014-09-25T18:11:37+00:00] INFO: Chef Run complete in 347.802490812 seconds\r\n[2014-09-25T18:11:37+00:00] INFO: Running report handlers\r\n[2014-09-25T18:11:37+00:00] INFO: Report handlers complete\r\n[2014-09-25T18:11:37+00:00] INFO: Sending resource update report (run-id: fb22fa40-e662-4193-b99b-71fe8db0cd1f)\r\n```\r\n\r\nGoogleing this error, I can see that the solution is passing parameters (write_timeout, read_timeout) to docker-api. Is there any way to do this using the machine resource?"},"comment":{"url":"https://api.github.com/repos/chef/chef-provisioning-docker/issues/comments/141219853","html_url":"https://github.com/chef/chef-provisioning-docker/issues/11#issuecomment-141219853","issue_url":"https://api.github.com/repos/chef/chef-provisioning-docker/issues/11","id":141219853,"user":{"login":"alecl","id":1110491,"avatar_url":"https://avatars.githubusercontent.com/u/1110491?v=3","gravatar_id":"","url":"https://api.github.com/users/alecl","html_url":"https://github.com/alecl","followers_url":"https://api.github.com/users/alecl/followers","following_url":"https://api.github.com/users/alecl/following{/other_user}","gists_url":"https://api.github.com/users/alecl/gists{/gist_id}","starred_url":"https://api.github.com/users/alecl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecl/subscriptions","organizations_url":"https://api.github.com/users/alecl/orgs","repos_url":"https://api.github.com/users/alecl/repos","events_url":"https://api.github.com/users/alecl/events{/privacy}","received_events_url":"https://api.github.com/users/alecl/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T20:34:48Z","updated_at":"2015-09-17T20:34:48Z","body":"Also seeing this issue with chef-provisioning-docker and the timeout."}}