Aleksey Ponkin created KAFKA-1859:
-------------------------------------

             Summary: Can`t run kafka vagrant images on Windows 7
                 Key: KAFKA-1859
                 URL: https://issues.apache.org/jira/browse/KAFKA-1859
             Project: Kafka
          Issue Type: Bug
    Affects Versions: 0.8.2
         Environment: Windows 7
Vagrant 1.7.1
            Reporter: Aleksey Ponkin


When I am trying to run kafka with vagrant on Windows 7 as host,
{{vagrant up --no-provision}} - ends up with the following message
{quote}
==> zk1: Rsyncing folder: /c/Users/aponkin/Dev/kafka/ => /vagrant
There was an error when attempting to rsync a synced folder.
Please inspect the error message below for more info.

Host path: /c/Users/aponkin/Dev/kafka/
Guest path: /vagrant
Command: 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 UserKnownHostsFile=/dev/null -i 
'C:/Users/aponkin/Dev/kafka/.vagrant/machines/zk1/virtualbox/private_key' 
--exclude .vagrant/ /c/Users/aponkin/Dev/kafka/ vagrant@127.0.0.1:/vagrant
Error: Warning: Permanently added '[127.0.0.1]:2222' (ECDSA) to the list of 
known hosts.
rsync: change_dir "/c/Users/aponkin/Dev/kafka" failed: No such file or 
directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 
23) at /usr/src/ports/rsync/rsync-3.0.9-1/src/rsync-3.0.9/main.c(1052) 
[sender=3.0.9]
{quote}

It seems to be vargant issue(https://github.com/mitchellh/vagrant/issues/4073), 
so as workaround I added the following string in {{Vagrantfile.local}}
bq. ENV["VAGRANT_DETECTED_OS"] = ENV["VAGRANT_DETECTED_OS"].to_s + " cygwin"





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to