Open martijnthe opened 6 years ago
Data point:
$ vagrant halt
# Disabled Cisco Anyconnect VPN here (otherwise `vagrant up` will fail)
$ vagrant up # Completed successfully
$ vagrant rsync # Working again
# Enabled Cisco Anyconnect VPN here.
$ vagrant rsync # Still working.
I'm hitting this as well. Host: OS X, Guest FreeBSD. Due to a network issue (or repo issue) the install for rsync was failing, but it did not error out when it could not rsync the files. Logging in to the machine after it is up revealed no rsync installed.
Please note that the Vagrant issue tracker is reserved for bug reports and enhancements. For general usage questions, please use the Vagrant mailing list: https://groups.google.com/forum/#!forum/vagrant-up. Thank you!
Vagrant version
2.0.3
Host operating system
macOS
Guest operating system
Ubuntu 16.04
Vagrantfile
Debug output
https://gist.github.com/martijnthe/f0614a5e5235afd7dc612ed6febcd665
Expected behavior
Logs should be printed on what it being rsync'd. The folder should be rsync'd when the
vagrant rsync
command finishes. In case there is a problem, the exit status should be non-zero.Actual behavior
No logs are being printed when running
vagrant rsync
. No folders have been synced. The exit status is zero (Runningecho $?
immediately after it prints0
).Running with
--debug
also doesn't reveal much. I don't see any ERROR or WARN logs.Steps to reproduce
I'm not sure how I got into this state. It worked fine before. This is the second time I got into this state. I did use
--provider vmware_fusion
whenup
'ing the machine for the first time. I do also have other issues related to Cisco Anyconnect messing with vmware's networking, but based on the debug output ofvagrant rsync --debug
, the SSH connection appears to be working. I can also usevagrant ssh
just fine. To work-around / fix the VPN networking issues causingvagrant up
to fail, I usually start the VM using VMWare's GUI app.Run
vagrant rsync
.References