-
Notifications
You must be signed in to change notification settings - Fork 52
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
Port forwarding rules are not restored after rollback of a running system #49
Comments
Aren'y you missing a step at the end? You ran |
Nope, I took the snapshot while the system was running. Rolling back brings the system online immediately, there's no need to do a Taking a snapshot of a powered off system, doing a rollback, doing I changed the title accordingly. |
Port forwarding in vagrant-libvirt starts an SSH process on your host computer. Running "vagrant halt -f" is going to kill its connection to the guest. Vagrant-libvirt should restart the SSH process for port forwarding the next time you run "vagrant up". |
And that's exactly what it does. The problem is different. I take a snapshot using sahara while the image is running. Then I halt the image (doesn't matter how). The next time I rollback sahara will automatically restore the system in a running state (there's not need to do a I peeked a bit into the code, sahara implements rollback using fog. libvirt-vagrant is not involved, hence the port forwarding rules are not restored by it. |
Exactly. |
How to reproduce the issue:
I noticed this behaviour when using the libvirt provider.
The text was updated successfully, but these errors were encountered: