{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/6696","repository_url":"https://api.github.com/repos/mitchellh/vagrant","labels_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6696/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6696/comments","events_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6696/events","html_url":"https://github.com/mitchellh/vagrant/issues/6696","id":123344528,"number":6696,"title":"rsync requirement on windows?","user":{"login":"daveneeley","id":101746,"avatar_url":"https://avatars.githubusercontent.com/u/101746?v=3","gravatar_id":"","url":"https://api.github.com/users/daveneeley","html_url":"https://github.com/daveneeley","followers_url":"https://api.github.com/users/daveneeley/followers","following_url":"https://api.github.com/users/daveneeley/following{/other_user}","gists_url":"https://api.github.com/users/daveneeley/gists{/gist_id}","starred_url":"https://api.github.com/users/daveneeley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daveneeley/subscriptions","organizations_url":"https://api.github.com/users/daveneeley/orgs","repos_url":"https://api.github.com/users/daveneeley/repos","events_url":"https://api.github.com/users/daveneeley/events{/privacy}","received_events_url":"https://api.github.com/users/daveneeley/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2015-12-21T19:42:01Z","updated_at":"2016-08-25T21:31:33Z","closed_at":"2015-12-21T20:01:40Z","body":"Using modified Vagrantfile from https://github.com/saltstack-formulas/salt-formula, with centos/7 base box, vagrant 1.7.4 and VirtualBox 5.0.10. (Works fine when the base box is ubuntu/trusty64)\r\n\r\nRunning from Windows 8, PowerShell prompt.\r\n\r\n```\r\n# -*- mode: ruby -*-\r\n# vi: set ft=ruby :\r\n\r\n# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!\r\nVAGRANTFILE_API_VERSION = \"2\"\r\n\r\nVagrant.configure(VAGRANTFILE_API_VERSION) do |config|\r\n  config.vm.box = \"centos/7\"\r\n  config.vm.hostname = \"salt\"\r\n  config.vm.synced_folder \".\", \"/srv/salt\", id: \"vagrant-root\"\r\n\r\n end\r\n```\r\n\r\n`vagrant up` results in a log like this:\r\n```\r\nBringing machine 'default' up with 'virtualbox' provider...\r\n==> default: Checking if box 'centos/7' is up to date...\r\n==> default: Clearing any previously set forwarded ports...\r\n\"rsync\" could not be found on your PATH. Make sure that rsync\r\nis properly installed on your system and available on the PATH.\r\n```\r\n\r\nIf you choose to install rsync for windows (ie, `choco install rsync`), then `vagrant up` returns:\r\n```\r\nBringing machine 'default' up with 'virtualbox' provider...\r\n==> default: Checking if box 'centos/7' is up to date...\r\n==> default: Clearing any previously set network interfaces...\r\n==> default: Preparing network interfaces based on configuration...\r\n...\r\n==> default: Setting hostname...\r\n==> default: Installing rsync to the VM...\r\n==> default: Rsyncing folder: /d/repos/salt-formula/ => /home/vagrant/sync\r\nThere was an error when attempting to rsync a synced folder.\r\nPlease inspect the error message below for more info.\r\n\r\nHost path: /d/repos/salt-formula/\r\nGuest path: /home/vagrant/sync\r\nCommand: rsync --verbose --archive --delete -z --copy-links --chmod=ugo=rwX --no-perms --no-owner --no-group --rsync-path sudo rsync -e ssh -p 2222 -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o UserKnownHostsFile=/dev/null -i 'D:/repos/salt-formula/.vagrant/machines/default/virtualbox/private_key' --exclude .vagrant/ /d/repos/salt-formula/ vagrant@127.0.0.1:/home/vagrant/sync\r\nError: cygwin warning:\r\n  MS-DOS style path detected: D:/repos/salt-formula/.vagrant/machines/default/virtualbox/private_key\r\n  Preferred POSIX equivalent is: /cygdrive/d/repos/salt-formula/.vagrant/machines/default/virtualbox/private_key\r\n  CYGWIN environment variable option \"nodosfilewarning\" turns off this warning.\r\n  Consult the user's guide for more details about POSIX paths:\r\n    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames\r\nWarning: Permanently added '[127.0.0.1]:2222' (ECDSA) to the list of known hosts.\r\nrsync: change_dir \"/d/repos/salt-formula\" failed: No such file or directory (2)\r\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1165) [sender=3.1.1]\r\n```\r\n\r\nWhy is rsync required on the host side?\r\nWhen 'Installing rsync to the VM', what is the package source for that action?\r\nWhy does vagrant try to sync /home/vagrant/sync? That path isn't in the Vagrantfile. \r\nAre there settings inside the box that are affecting this?\r\n\r\nI've seen #6154 but it didn't answer my questions satisfactorily."},"comment":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/comments/242547666","html_url":"https://github.com/mitchellh/vagrant/issues/6696#issuecomment-242547666","issue_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6696","id":242547666,"user":{"login":"TylerNakamura","id":7333512,"avatar_url":"https://avatars.githubusercontent.com/u/7333512?v=3","gravatar_id":"","url":"https://api.github.com/users/TylerNakamura","html_url":"https://github.com/TylerNakamura","followers_url":"https://api.github.com/users/TylerNakamura/followers","following_url":"https://api.github.com/users/TylerNakamura/following{/other_user}","gists_url":"https://api.github.com/users/TylerNakamura/gists{/gist_id}","starred_url":"https://api.github.com/users/TylerNakamura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TylerNakamura/subscriptions","organizations_url":"https://api.github.com/users/TylerNakamura/orgs","repos_url":"https://api.github.com/users/TylerNakamura/repos","events_url":"https://api.github.com/users/TylerNakamura/events{/privacy}","received_events_url":"https://api.github.com/users/TylerNakamura/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T21:31:33Z","updated_at":"2016-08-25T21:31:33Z","body":"Found that this is a[ known issue](https://seven.centos.org/2016/08/updated-centos-vagrant-images-available-v1607-01/) for windows users.\r\n\r\n**It looks like downgrading Vagrant to 1.8.4 may solve the issue until 1.8.6 comes out.**"}}
{"actor":{"display_login":"TylerNakamura"}}