Bug #582
closedForeman should not fail if libvirt ruby binding are not installed
Description
If the binding are missing, we should simply not allow to manage libvirt
Files
Updated by Ohad Levy almost 14 years ago
just for general info, the ruby-libvirt package is required (and a package is avail for most platforms -- see more details here Virtual Machine Provisioning
if the error you get is that virt is missing and you are using source, you should follow the Upgrade_instructions
Updated by Jochen Schalanda almost 14 years ago
- File 0001-Fixes-bug-582-make-dependency-on-libvirt-optional-th.patch 0001-Fixes-bug-582-make-dependency-on-libvirt-optional-th.patch added
Since I currently don't use the virtual machine provisioning features of Foreman and don't want to depend on virt
and libvirt
, I tried to decouple Foreman from these dependencies.
The attached patch is working on my development setup but it probably needs some more testing.
Updated by Chad Huneycutt almost 14 years ago
This patch did not work for me exactly. I had to comment out the config.gem 'virt' and 'libvirt' in config/environment.rb. I also had to comment out the 'require libvirt' in vendor/plugins/virt/lib/virt/connection.rb.
Updated by Ohad Levy almost 14 years ago
- Status changed from New to Ready For Testing
- % Done changed from 0 to 100
Applied in changeset ba5b7e74e0b0f8b7efcb8804f77c810031a6aeba.
Updated by Ohad Levy almost 14 years ago
- Status changed from Ready For Testing to Closed