-
Notifications
You must be signed in to change notification settings - Fork 778
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
Unable to build kvm box #1064
Comments
Hi mpapis, I have gone through that doc. I made sure libvirt and libvirt-dev were installed and that the kernel can run KVM. Libvirt seems to be running fine as I can create a test pool for images. Is there any specific I should be looking at? |
I have Veewee working on both RHEL and Ubuntu. I think the problem is with fog. Fog version 1.30.0 moved libvirt into a new gem called fog-libvirt. However, I couldn't get Veewee to work with Fog 1.30.0 or 1.31.0. See release notes: https://github.com/fog/fog/releases I ended up using an older Fog (1.27.0) and Veewee is working. |
I have the exact same problem. Fog 1.27.0 not working for me. here is the error:
|
I didn't use rvm. I'm using rbenv with Ruby version 2.2.2. Here are my Gemfile and Gemfile.lock. You can build the same environment using bundler install --deployment" Contents of Gemfile: source "https://rubygems.org" #gem "veewee", :path => "." group :kvm do group :windows do group :test do gemspec Contents of Gemfile.lock: GEM PLATFORMS DEPENDENCIES BUNDLED WITH |
Came across this today, you need older fog and fog-aws at 0.1.0. That worked for me. This should be fixed and fog-libvirt specified in the Gemfile. |
Changing the
fixed this for me (after a |
Newbie here. I have setup Vagrant and Veewee running on my Ubuntu 14.04 machine. I have successfully built a vbox Ubuntu image using VeeWee and booted in Vagrant.
I get the following error message when trying to build a KVM image.
root@builder00:/vagrant/# veewee kvm build centos-65
There was a problem opening a connection to libvirt: libvirt is not a recognized compute provider
There doesn't seem to be very much info regarding this problem. Would any be able to offer some advise?
Vagrant has been installed from package and VeeWee was installed via gem install.
root@builder00:/vagrant# vagrant -v
Vagrant 1.7.2
root@builder00:/vagrant# vagrant plugin list
vagrant-libvirt (0.0.30)
vagrant-share (1.1.3, system)
veewee (0.4.5.1)
root@builder00:/vagrant# gem list | grep libvirt
ruby-libvirt (0.5.2)
root@builder00:/vagrant# gem list | grep veewee
veewee (0.4.5.1)
root@builder00:/vagrant# ruby -v
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
Thanks!
The text was updated successfully, but these errors were encountered: