-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
auto_correct forwarded_port not working #11063
Comments
Hi @adrianovieira From what I can tell your debug log is showing that there's an rsync error:
I don't see any errors in the log about auto_correct with port forwarding. |
Hi, @briancain But you got the problem "You don't see any errors in the log about vagrant brings both VM up, but didn't show anything about port forwarding. Worst than that, it didn't map different ports between one and another VMs. |
Hi @adrianovieira - This looks like a vagrant-libvirt bug to me. Port Forwarding works fine with the vmware and virtualbox plugin, both of which use the built in action HandleForwardedPortCollisions. From a quick search, the libvirt plugin does not use this any where, so that would explain why port forwarding isn't working with that plugin. I recommend opening an issue with them. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Please note that the Vagrant issue tracker is in priority 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!
Tip: Before submitting your issue, don't hesitate to remove the above introductory text, possible empty sections (e.g. References), and this tip.
Vagrant version
Run
vagrant -v
to show the version. If you are not running the latest versionof Vagrant, please upgrade before submitting an issue.
Vagrant 2.2.5
Host operating system
This is the operating system that you run locally.
Fedora 30
Guest operating system
This is the operating system you run in the virtual machine.
Centos/7
Provider
Libvirt
Vagrantfile
OR
Please note, if you are using Homestead or a different Vagrantfile format, we
may be unable to assist with your issue. Try to reproduce the issue using a
vanilla Vagrantfile first.
Debug output
Provide a link to a GitHub Gist containing the complete debug output:
https://www.vagrantup.com/docs/other/debugging.html. The debug output should
be very long. Do NOT paste the debug output in the issue, just paste the
link to the Gist.
https://gist.github.com/adrianovieira/d3054367e1473bc041ab48281de0c202
Expected behavior
What should have happened?
second created VM
node
to open on different portsActual behavior
What actually happened?
both created VM
node
had opened on same portsSteps to reproduce
Vagranfile
References
Are there any other GitHub issues (open or closed) that should be linked here?
For example:
The text was updated successfully, but these errors were encountered: