-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Acceptance testing] Vagrant snapshot/restore networking issues with some host machines #5467
Comments
@dliappis as you created the ubuntu VM images we're using, together with the debian ones, anything that you might see to be sure this issue is not related with the way the ubuntu images are made? |
@purbon there is nothing special about the way our ubuntu images are created apart from disabling predicable interface names due to this vagrant bug -- to be fixed in vagrant release 1.8.3 In order to verify, I tried using the "official" Ubuntu maintained vagrant box for Xenial -- but it is currently unavailable [1] Then I tried the As next we should try building our own vagrant from master and see if hashicorp/vagrant#7393 resolved this. [1]:
|
Just tried the same with I followed this process to install vagrant/master https://github.com/mitchellh/vagrant/wiki/Installing-Vagrant-from-Source |
Thanks for your feedback here Dimitrios, I guess this might be enough test Are you ok with it? On Thu, Jun 9, 2016 at 2:14 PM Dimitrios Liappis notifications@github.com
|
Actually I waited some time (long time) and at least the Even if it does work once in a while, I am not sure if waiting that long is worth it, as it defeats the purpose of snapshoting. With regards to a workaround, I am not sure there is one apart from doing a For sure we need to share this information to the corresponding vagrant issue, but what is exactly the requirement for
|
@purbon I tried a loop (see below) of 10 push + pop's on my Fedora 23 workstation with the stock
So with Fedora-23 as host I couldn't reproduce the problem. [1]: this was because I had the https://github.com/dergachev/vagrant-vbox-snapshot plugin installed, which I have now uninstalled. |
in our test, was happening for @ph in his mac env, not for me similar mac and in CI all ubuntu hosts. |
During the development of our internal QA acceptance test framework that runs on vagrant/virtualbox VM's we encountered the need of using the snapshot/restore in vagrant so we could handle situations where the logstash installation state should be reverted to a known state.
The issue detected is basically that after a bootstrap/restore dance is performance the target host of this restore is not accessible from the host machine through ssh, might hashicorp/vagrant#391 be related.
In a test machine, similar to our CI environment, that ubuntu (14.04) as host, is it possible to reproduce this error with this small steps:
the target OS for this test has been ubuntu versions from 14.04 to 16.04 and this is a common output for it https://gist.github.com/purbon/aaf983e5f5c0d4014a94cfc7fb08c7e9
if before the snapshot is requested we halt the machine using
vagrant halt vm-name
the snapshot/restore dance is done without any issue.Also important to notice that doing the steps commented earlier with a debian-8 target OS we're not seeing this issue with snapshot (see https://gist.github.com/purbon/3852d18af6e76b8ff569ab47cf045ac2 for details)
During development, this issue was triggered for one developer having this specifications:
but not for other developer having:
the test machine specs are:
as of now, is prefered you avoid using snapshot / restore in your acceptance test code, or in case you need you should make sure either to:
related to #5324
The text was updated successfully, but these errors were encountered: