Project

General

Profile

Actions

Bug #15434

closed

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

Added by Timo Goebel almost 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Packaging
Target version:
Difficulty:
Triaged:
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 2 (0 open2 closed)

Related to Smart Proxy - Feature #13761: Refactor virsh providers into libvirt with ruby-bindingsClosedLukas Zapletal02/17/2016Actions
Copied to Packaging - Bug #15462: RHEL 7 provided rubygem-ruby-libvirt breaks proxy with libvirtRejected06/16/2016Actions
Actions #1

Updated by Dominic Cleal almost 8 years ago

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

Updated by Dominic Cleal almost 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.

Actions #3

Updated by The Foreman Bot almost 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
Actions #5

Updated by Dominic Cleal almost 8 years ago

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

Updated by Anonymous almost 8 years ago

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

Also available in: Atom PDF