sahara icon indicating copy to clipboard operation
sahara copied to clipboard

Call to virDomainS (Libvirt::Error)failed: operation failed: Error -22 while writing VM

Open flavio-fernandes opened this issue 8 years ago • 0 comments

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:inon' 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:inblock 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:inwith_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:inexecute' 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:incli' from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/bin/vagrant:174:in `

'

flavio-fernandes avatar Dec 20 '15 22:12 flavio-fernandes