Bug #15434
closed
RHEL 7 provided rubygem-ruby-libvirt breaks proxy with libvirt
Added by Timo Goebel over 8 years ago.
Updated over 6 years ago.
Description
With the new native libvirt provider smart proxy shows the following error when querying
/dhcp/192.168.122.0 on RHEL 7.2
undefined method `dhcp_leases' for #<Libvirt::Network:0x0000000321b990>
RHEL 7 ships with ruby-libvirt 0.4.0 . This version does not support dhcp_leases for the network object.
When I install ruby-libvirt-0.6.0 directly via rubygems, smart proxy works fine.
We need to either
- document this behaviour (which obviously does not fix the issue)
- package a newer rubygem-ruby-libvirt
- Related to Feature #13761: Refactor virsh providers into libvirt with ruby-bindings added
- Translation missing: en.field_release set to 136
Looks like #13761 requires ruby-libvirt 0.6.0 or higher for the dhcp_leases method, but the bundler.d file doesn't specify that requirement.
The rubygem-ruby-libvirt package is actually from EPEL7, so it'd be best to raise a bug against it in Fedora to have it updated.
- Status changed from New to Ready For Testing
- Assignee set to Anonymous
- Pull request https://github.com/theforeman/smart-proxy/pull/435 added
- Copied to Bug #15462: RHEL 7 provided rubygem-ruby-libvirt breaks proxy with libvirt added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF