-
Notifications
You must be signed in to change notification settings - Fork 499
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
undefined method `active?' #145
Comments
Hi, I had a very similar issue a few days ago except I think it was an undefined I remember looking in the Sorry I cannot help you more, as my knowledge of C and system libraries is pretty limited. Basically the only thing I know to tell you is check that libvirt is installed and fully updated on your machine and that ruby is finding it correctly. If you post your system info, somebody else may be able to guide you more specifically. |
I have the same issue on OS X, Vagrant 1.5.1, vagrant-libvirt 0.0.15 and libvirt 1.2.1. |
I have the same issue on OS X 10.9.2, Vagrant 1.5.4, vagrant-libvirt 0.0.16, libvirt 1.2.1 Vagrantfile
Both qmeu+ssh and qemu+tls connection will fail with the same error vagrant-libvirt is unusable until vagrant up works |
It looks like these errors aren't related to Windows guest support, but relate to how libvirt or ruby-libvirt was compiled. @FooBarWidget and @John-Appleseed how did you install libvirt and ruby-libvirt? |
I installed libvirt with |
I have a mac, so I'll be able to look into this eventually. I doubt it will be soon, though. |
I'm trying to configure vagrant for xen, still not sure if it's possible, so I'm having the same issue on |
Currently happening on Arch Linux. I used this to install the plugin or else Bundler would error:
|
Hi,
With:
And it's seems working now. Hope it'll be usefull. |
@guillaumededrie are you saying you have the undefined method `active?' error or not? |
@sciurus yes, I did have the problem, I follow strictly the link I pasted, and it solved the problem. |
I can confirm that this solves the issue on Archlinux:
|
I'm having this same problem on my ArchLinux box, and I installed the plugin using the incantation above, verbatim, as that's what is currently recommended in the wiki: https://wiki.archlinux.org/index.php/Vagrant#vagrant-libvirt. No one has mentioned whether or not they're running vagrant as root or as a normal user. I am running as a normal user with authentication turned of via a Polkit rule. |
And I can confirm that the recipe @rshk put up works... I forgot to move the curl files. |
I'm currently facing the same issue under arch linux, but couldn't resolve it with the solution mentioned by rshk. Anyone can confirm that it works with vagrant 1.7.2? |
I ended up doing the workaround mentioned here:
|
@arndo tried you work around (symlink instead of cp) and it works. |
I'm flagging this as an upstream bug; if anyone could please report complete steps to replicate the issue under current vagrant (1.8.1+) and vagrant-libvirt (0.0.33) for any host OS, I will attempt to determine whether if we need to file a bug elsewhere. |
I have the same issue here, running OSX 10.11 with vagrant 1.8.5, vagrant-libvirt 0.0.33 and with patched ruby-libvirt 0.6.0 (see #497).
|
Please retest this against current master which updates fog-libvirt and ruby-libvirt. You can |
Right now on archlinux:
|
Going through the old issues, I haven't seen this occur for some time. It also appears that it must be an issue with detecting the header files. To debug if it's still happening (may still occur for Macs) it will require a detailed set of steps to try and reproduce:
Going to let the no-response bot close this in about 30 days if no further details are possible. |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
Hi,
I need to deploy windows application on KVM. I installed vagrant-windows and vagrant-libvirt. Created a base box following instruction from vagrant-windows (installed and configured Windows), then combined libvirt related parts from vagrant-libvirt (made qcow2 image, created metadata.json and packaged the box).
Now, when I'm trying to
vagrant up --provider=libvirt
, I get following errors:thanks
The text was updated successfully, but these errors were encountered: