Project

General

Profile

Bug #15434

RHEL 7 provided rubygem-ruby-libvirt breaks proxy with libvirt

Added by Timo Goebel over 5 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Packaging
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

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 issues

Related to Smart Proxy - Feature #13761: Refactor virsh providers into libvirt with ruby-bindingsClosed2016-02-17
Copied to Packaging - Bug #15462: RHEL 7 provided rubygem-ruby-libvirt breaks proxy with libvirtRejected2016-06-16

Associated revisions

Revision daeafa9b (diff)
Added by Dmitri Dolguikh over 5 years ago

Fixes #15434 - pin ruby-libvirt to > 0.6.0

History

#1 Updated by Dominic Cleal over 5 years ago

  • Related to Feature #13761: Refactor virsh providers into libvirt with ruby-bindings added

#2 Updated by Dominic Cleal over 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.

#3 Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Dmitri Dolguikh
  • Pull request https://github.com/theforeman/smart-proxy/pull/435 added

#5 Updated by Dominic Cleal over 5 years ago

  • Copied to Bug #15462: RHEL 7 provided rubygem-ruby-libvirt breaks proxy with libvirt added

#6 Updated by Anonymous over 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF