Skip to content
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

"vagrant sandbox on" on libvirt returns error #56

Open
LalatenduMohanty opened this issue Mar 21, 2016 · 7 comments
Open

"vagrant sandbox on" on libvirt returns error #56

LalatenduMohanty opened this issue Mar 21, 2016 · 7 comments

Comments

@LalatenduMohanty
Copy link

Steps to reproduce:

  • vagrant init centos/7
  • vagrant up
  • vagrant sandbox on
$ vagrant sandbox on
/home/lmohanty/.vagrant.d/gems/gems/sahara-0.0.17/lib/sahara/session/libvirt.rb:1:in `require': cannot load such file -- fog (LoadError)
    from /home/lmohanty/.vagrant.d/gems/gems/sahara-0.0.17/lib/sahara/session/libvirt.rb:1:in `<top (required)>'
    from /home/lmohanty/.vagrant.d/gems/gems/sahara-0.0.17/lib/sahara/session/factory.rb:12:in `require_relative'
    from /home/lmohanty/.vagrant.d/gems/gems/sahara-0.0.17/lib/sahara/session/factory.rb:12:in `create'
    from /home/lmohanty/.vagrant.d/gems/gems/sahara-0.0.17/lib/sahara/command/on.rb:21:in `block in execute'
    from /usr/share/vagrant/lib/vagrant/plugin/v2/command.rb:235:in `block in with_target_vms'
    from /usr/share/vagrant/lib/vagrant/plugin/v2/command.rb:229:in `each'
    from /usr/share/vagrant/lib/vagrant/plugin/v2/command.rb:229:in `with_target_vms'
    from /home/lmohanty/.vagrant.d/gems/gems/sahara-0.0.17/lib/sahara/command/on.rb:19:in `execute'
    from /home/lmohanty/.vagrant.d/gems/gems/sahara-0.0.17/lib/sahara/command/root.rb:52:in `execute'
    from /usr/share/vagrant/lib/vagrant/cli.rb:42:in `execute'
    from /usr/share/vagrant/lib/vagrant/environment.rb:302:in `cli'
    from /usr/share/vagrant/bin/vagrant:174:in `<main>'
@vperron
Copy link

vperron commented Apr 20, 2016

Can confirm.

@ecirtap
Copy link

ecirtap commented May 6, 2016

Me too:

  • vagrant 1.8.1
  • sahara 0.0.17
  • host ubuntu 14.04.4

@loriezn
Copy link

loriezn commented May 17, 2017

Me three:

  • vagrant 1.9.4
  • sahara 0.0.17
  • host arch kernal 4.10.13

@maxlareo
Copy link

Here as well, the issue is still there with :

$ uname -a
Linux dmu181 4.4.0-93-generic #116-Ubuntu SMP Fri Aug 11 21:17:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

$ vagrant plugin list
sahara (0.0.17)
  - Version Constraint: > 0
vagrant-libvirt (0.0.43)
  - Version Constraint: > 0

$ vagrant -v
Vagrant 2.0.3

@maxlareo
Copy link

Seems like the commit 02f4e5f solve this problem, because by installing the plugin from the sources, it works !

@swadeley
Copy link

Seems like the commit 02f4e5f solve this problem, because by installing the plugin from the sources, it works !

Thanks for sharing that. After vagrant plugin install sahara I hit this issue. I edited the file like in the commit then it worked.

I have been told to try 'rvm use system' then sahara again next time.

@ekeyme
Copy link

ekeyme commented Sep 17, 2021

Seems like the commit 02f4e5f solve this problem, because by installing the plugin from the sources, it works !

thx. I works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants