RHEL 7 provided rubygem-ruby-libvirt breaks proxy with libvirt
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
#2 Updated by Dominic Cleal about 5 years ago
- Legacy Backlogs Release (now unused) 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.
#4 Updated by Dominic Cleal about 5 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.