sahara
sahara copied to clipboard
Call to virDomainS (Libvirt::Error)failed: operation failed: Error -22 while writing VM
Heh... this is probably less relevant on vagrant 1.8, which provides a native snapshot command set. Regardless of that, I want to take this moment to publicly say thank-you sahara plugin, for the many hours it had saved me since I first used it. You rock!
using libvirt provider on centos 7 system, with vagrant version 1.7.4 I hit this issue when trying to enable sahara sandbox. This is after trying the fixes for the fog issue, mentioned in pull #50
$ vagrant sandbox on
[vm1] Starting sandbox mode...
/home/ff/.vagrant.d/gems/gems/sahara-0.0.17/lib/sahara/session/libvirt.rb:106:in snapshot_create_xml': Call to virDomainS (Libvirt::Error)failed: operation failed: Error -22 while writing VM from /home/ff/.vagrant.d/gems/gems/sahara-0.0.17/lib/sahara/session/libvirt.rb:106:in
on'
from /home/ff/.vagrant.d/gems/gems/sahara-0.0.17/lib/sahara/command/on.rb:28:in block in execute' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/plugin/v2/command.rb:226:in
block in with_target_vms'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/plugin/v2/command.rb:220:in each' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/plugin/v2/command.rb:220:in
with_target_vms'
from /home/ff/.vagrant.d/gems/gems/sahara-0.0.17/lib/sahara/command/on.rb:19:in execute' from /home/ff/.vagrant.d/gems/gems/sahara-0.0.17/lib/sahara/command/root.rb:52:in
execute'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/cli.rb:42:in execute' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/environment.rb:301:in
cli'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/bin/vagrant:174:in `