Bug #15434
closedRHEL 7 provided rubygem-ruby-libvirt breaks proxy with libvirt
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
Updated by Dominic Cleal over 8 years ago
- Related to Feature #13761: Refactor virsh providers into libvirt with ruby-bindings added
Updated by Dominic Cleal over 8 years ago
- 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.
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Anonymous
- Pull request https://github.com/theforeman/smart-proxy/pull/435 added
Updated by Dominic Cleal over 8 years ago
https://bugzilla.redhat.com/show_bug.cgi?id=1347551 filed for EPEL7 with patch.
Scratch build at http://koji.fedoraproject.org/koji/taskinfo?taskID=14530405.
Updated by Dominic Cleal over 8 years ago
- Copied to Bug #15462: RHEL 7 provided rubygem-ruby-libvirt breaks proxy with libvirt added
Updated by Anonymous over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset daeafa9b0422088166ba1ef94cb4034c7759c0a8.