{"action":"opened","issue":{"url":"https://api.github.com/repos/rackspace-cookbooks/rackspace_support/issues/15","labels_url":"https://api.github.com/repos/rackspace-cookbooks/rackspace_support/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/rackspace-cookbooks/rackspace_support/issues/15/comments","events_url":"https://api.github.com/repos/rackspace-cookbooks/rackspace_support/issues/15/events","html_url":"https://github.com/rackspace-cookbooks/rackspace_support/issues/15","id":106107044,"number":15,"title":"Consistent failures from remote_file resource in _ohai recipe.","user":{"login":"TalosThoren","id":1817859,"avatar_url":"https://avatars.githubusercontent.com/u/1817859?v=3","gravatar_id":"","url":"https://api.github.com/users/TalosThoren","html_url":"https://github.com/TalosThoren","followers_url":"https://api.github.com/users/TalosThoren/followers","following_url":"https://api.github.com/users/TalosThoren/following{/other_user}","gists_url":"https://api.github.com/users/TalosThoren/gists{/gist_id}","starred_url":"https://api.github.com/users/TalosThoren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TalosThoren/subscriptions","organizations_url":"https://api.github.com/users/TalosThoren/orgs","repos_url":"https://api.github.com/users/TalosThoren/repos","events_url":"https://api.github.com/users/TalosThoren/events{/privacy}","received_events_url":"https://api.github.com/users/TalosThoren/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-11T22:36:53Z","updated_at":"2015-09-11T22:36:53Z","closed_at":null,"body":"I'm seeing this issue in kitchen in two customers:\r\n\r\nchef-client errors\r\n-----------------------------------------\r\n...\r\n...\r\n       Recipe: rackspace_support::_ohai\r\n         * directory[/etc/chef/ohai_plugins] action create (up to date)\r\n         * remote_file[/etc/chef/ohai_plugins/rackconnect.rb] action create\r\n           \r\n           ================================================================================\r\n           Error executing action `create` on resource 'remote_file[/etc/chef/ohai_plugins/rackconnect.rb]'\r\n           ================================================================================\r\n           \r\n           EOFError\r\n           --------\r\n           end of file reached\r\n           \r\n           Cookbook Trace:\r\n           ---------------\r\n           /tmp/kitchen/cache/cookbooks/rackspace_support/recipes/_ohai.rb:36:in `from_file'\r\n           /tmp/kitchen/cache/cookbooks/rackspace_support/recipes/default.rb:29:in `block in from_file'\r\n           /tmp/kitchen/cache/cookbooks/rackspace_support/recipes/default.rb:28:in `each'\r\n           /tmp/kitchen/cache/cookbooks/rackspace_support/recipes/default.rb:28:in `from_file'\r\n           /tmp/kitchen/cache/cookbooks/2962274-shareholder/recipes/default.rb:17:in `block in from_file'\r\n           /tmp/kitchen/cache/cookbooks/2962274-shareholder/recipes/default.rb:16:in `each'\r\n           /tmp/kitchen/cache/cookbooks/2962274-shareholder/recipes/default.rb:16:in `from_file'\r\n           \r\n           Resource Declaration:\r\n           ---------------------\r\n           # In /tmp/kitchen/cache/cookbooks/rackspace_support/recipes/_ohai.rb\r\n           \r\n            30: remote_file ::File.join(node['ohai']['plugin_path'], 'rackconnect.rb') do\r\n            31:   source 'https://raw.githubusercontent.com/rackerlabs/ohai-plugins/master/plugins/rackconnect.rb'\r\n            32:   owner 'root'\r\n            33:   group 'root'\r\n            34:   mode 0755\r\n            35:   action :nothing\r\n            36: end.run_action :create\r\n            37: \r\n            38: remote_file ::File.join(node['ohai']['plugin_path'], 'public_info.rb') do\r\n            39:   source 'https://raw.githubusercontent.com/rackspace-cookbooks/platformstack/master/files/default/public_info.rb'\r\n            40:   owner 'root'\r\n            41:   group 'root'\r\n            42:   mode 0755\r\n            43:   action :nothing\r\n            44: end.run_action :create\r\n            45: \r\n            46: ohai('reload_ohai_for_rs').run_action :reload\r\n           \r\n           Compiled Resource:\r\n           ------------------\r\n           # Declared in /tmp/kitchen/cache/cookbooks/rackspace_support/recipes/_ohai.rb:30:in `from_file'\r\n           \r\n           remote_file(\"/etc/chef/ohai_plugins/rackconnect.rb\") do\r\n             provider Chef::Provider::RemoteFile\r\n             action [:nothing]\r\n             retries 0\r\n             retry_delay 2\r\n             default_guard_interpreter :default\r\n             path \"/etc/chef/ohai_plugins/rackconnect.rb\"\r\n             backup 5\r\n             atomic_update true\r\n             source [\"https://raw.githubusercontent.com/rackerlabs/ohai-plugins/master/plugins/rackconnect.rb\"]\r\n             use_etag true\r\n             use_last_modified true\r\n             declared_type :remote_file\r\n             cookbook_name \"rackspace_support\"\r\n             recipe_name \"_ohai\"\r\n             owner \"root\"\r\n             group \"root\"\r\n             mode 493\r\n           end\r\n------------------------------------\r\n\r\nWhen I'm on our VPN, I get the EOFError. When I'm on my network at home I'm getting SocketError when attempting to connect to url 'https://raw.githubusercontent.com/rackerlabs/ohai-plugins/master/plugins/rackconnect.rb'.\r\n\r\nI'm able to do a 'kitchen login' and wget and curl the file to the local filesystem on both networks.\r\n\r\nCompletely stumped on how to troubleshoot this moving forward.\r\n\r\n"}}