You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ewen Cheslack-Postava (JIRA)" <ji...@apache.org> on 2015/01/13 18:57:34 UTC

[jira] [Commented] (KAFKA-1859) Can`t run kafka vagrant images on Windows 7

    [ https://issues.apache.org/jira/browse/KAFKA-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14275610#comment-14275610 ] 

Ewen Cheslack-Postava commented on KAFKA-1859:
----------------------------------------------

I'm not sure how much we can do about this since it's a bug in Vagrant. They seem to be having trouble coming up with a real fix since just appending cygwin clearly isn't always the right thing to do. I guess if we came up with a reliable check for whether to add cygwin to the detected OS we could add it as a workaround to our Vagrantfile, but at that point it would be better to just submit the patch to Vagrant itself.

> 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)