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

There was a problem opening a connection to libvirt: libvirt is not a recognized provider #1090

Open
abma opened this issue Jan 14, 2016 · 1 comment

Comments

@abma
Copy link

abma commented Jan 14, 2016

i'm getting the error and i have no clue how to fix it / can't find any further info about it.

    $ veewee kvm build 'spring-vm' --workdir=/mnt/tmp/home/dev/springrts-vagrant --debug
    2016-01-14 03:49:15 +0100 - environment - [veewee] Loading configuration...
    2016-01-14 03:49:15 +0100 -  - [veewee] Initializing veewee config object
    2016-01-14 03:49:15 +0100 -  - [veewee] No configfile found
    2016-01-14 03:49:15 +0100 - environment - [veewee] Environment initialized (#<Veewee::Environment:0x00000002b6d198>)
    2016-01-14 03:49:15 +0100 - environment - [veewee]  - cwd : /mnt/tmp/home/dev/springrts-vagrant
    2016-01-14 03:49:15 +0100 - environment - [veewee]  - veewee_filename : Veeweefile
    2016-01-14 03:49:15 +0100 - environment - [veewee]  - template_path : ["/var/lib/gems/2.1.0/gems/veewee-0.4.5.1/templates", "templates"]
    2016-01-14 03:49:15 +0100 - environment - [veewee]  - validation_dir : /var/lib/gems/2.1.0/gems/veewee-0.4.5.1/validation
    2016-01-14 03:49:15 +0100 -  - [veewee] Reading ostype yamlfile /var/lib/gems/2.1.0/gems/veewee-0.4.5.1/lib/veewee/config/ostypes.yml
    2016-01-14 03:49:15 +0100 - ui - [veewee] veewee
    2016-01-14 03:49:17 +0100 -  - [veewee] Falling back to qemu:///system for libvirt URI if no value is specified in the .fog config file
    2016-01-14 03:49:17 +0100 -  - [veewee] Setting libvirt IP Command if not already defined in .fog config file
    2016-01-14 03:49:17 +0100 -  - [veewee] Opening a libvirt connection using fog.io
    2016-01-14 03:49:17 +0100 -  - [veewee] Checking for gem ruby-libvirt
    2016-01-14 03:49:17 +0100 -  - [veewee] Opening a libvirt connection using fog.io
    2016-01-14 03:49:17 +0100 - ui - [veewee] There was a problem opening a connection to libvirt: libvirt is not a recognized provider
    There was a problem opening a connection to libvirt: libvirt is not a recognized provider

can you give some hints or pointers?
is there a logfile somewhere?

 $ vagrant plugin list
 fog-libvirt (0.0.3)
 veewee (0.4.5.1)
 $ vagrant --version
 Vagrant 1.7.4

(thats on Ubuntu 15.10)

"virsh list" works

@abma
Copy link
Author

abma commented Jan 15, 2016

the solution was to downgrade fog.

i.e.

gem install vagrant
gem install fog-core --version 1.29.0
gem install fog --version 1.29.0
gem install veewee gog-libvirt

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

1 participant