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
Support vagrant 1.8 snapshots #529
Comments
Is calling the equivalent of |
For the base box this shouldn't be very difficult to implement since it's always qcow2. There are some unanswered questions though for additional disks:
I am also not sure about the difference between |
I am trying to imagine a case where I would want the primary disk and secondary disks to not be in sync. Not having much success. As for the other questions I do not have enough libvirt experience to make a reasonable suggestion. |
Probably rare, and likely unexpected based on I think we mainly need to test the various disk types and determine if atomic is needed, which I suspect will be with multiple disks. When I have some time, I will play with libvirt snapshotting to better understand it since I never really used it before. We then need to figure out whether if we can use |
@infernix, any progress on this? |
@infernix Could you point me to the solution? I'd like to help in implementing this. |
i though we have it :) |
Recent update in libvirt docs explain --live better:
So the way vagrant describes snapshots as being point-in-time, I think we need to aim for live snapshots, e.g. include memory state. As far as implementation goes, fog-libvirt does not support snapshots. So we either need to add snapshots to fog-libvirt and then leverage from vagrant-libvirt, or vagrant-libvirt needs to call ruby-libvirt methods directly. Some examples on the latter are in |
For basic snapshotting if someone wishes to test that jedi4ever/sahara#51 works for recent vagrant-libvirt and respond on that ticket it might something for those that don't mind doing a restart of their VM's after rolling back |
@electrofelix I use jedi4ever/sahara together with vagrant-libvirt and it works nicely for me. |
Is there any known workaround? Like calling qemu-img manually, etc. |
Think all info that is needed is available, just need to find time to update using the referenced PR. |
This PR is intended to continue the work left by @randomvariable, addressing the fewer comments left there. This also tries to resolve the vagrant-libvirt#529. Signed-off-by: Rodolfo Olivieri <rodolfo.olivieri3@gmail.com>
This PR is intended to continue the work left by @randomvariable, addressing the fewer comments left there. This also tries to resolve the vagrant-libvirt#529. Signed-off-by: Rodolfo Olivieri <rodolfo.olivieri3@gmail.com>
This PR is intended to continue the work left by @randomvariable, addressing the fewer comments left there. This also tries to resolve the vagrant-libvirt#529. Signed-off-by: Rodolfo Olivieri <rodolfo.olivieri3@gmail.com>
This PR is intended to continue the work left by @randomvariable, addressing the fewer comments left there. This also tries to resolve the vagrant-libvirt#529. Signed-off-by: Rodolfo Olivieri <rodolfo.olivieri3@gmail.com>
This PR is intended to continue the work left by @randomvariable, addressing the fewer comments left there. This also tries to resolve the vagrant-libvirt#529. Signed-off-by: Rodolfo Olivieri <rodolfo.olivieri3@gmail.com>
This PR is intended to continue the work left by @randomvariable, addressing the fewer comments left there. This also tries to resolve the vagrant-libvirt#529. Signed-off-by: Rodolfo Olivieri <rodolfo.olivieri3@gmail.com>
Builds on the work started by @randomvariable in vagrant-libvirt#840 addressing the comments left there. Fixes: vagrant-libvirt#529 Signed-off-by: Rodolfo Olivieri rodolfo.olivieri3@gmail.com
varac commentedDec 22, 2015
Vagrant 1.8 added a feature to make snapshots.
from https://github.com/mitchellh/vagrant/blob/master/CHANGELOG.md:
Using latest vagrant-libvirt release (0.0.32), i get:
I'm using sahara for working with snapshots, so this is not urgent, but a feature request.
The text was updated successfully, but these errors were encountered: