Project

General

Profile

Bug #6399

No VM listing in the Compute Resource oVirt

Added by Joop van de Wege about 5 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Compute resources - oVirt
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Using foreman-1.5.1 and oVirt-3.4.2 there is no VM listing while in a oVirt CR. There is an error instead: undefined method `[]' for nil:NilClass.
Enabling debug and commenting out a couple of lines in app/controllers/compute_resources_vms_controller.rb I got a stack trace pointing to rbovirt.
Injecting some debug log statements into various files of rbovirt I have found the problem.
My Test-oVirt CR doesn't have iscsi direct luns but Prod-oVirt has and volume.rb errors out when encountering a direct lun disk. My current solution is to add a few 'rescue nil' entries to a couple of lines but that might only stop the error. Could have unknown side effects.
See email on foreman ML topic: Problem with showing VMs with foreman-1.5.1 and oVirt-3.4.2

volume.rb volume.rb 1.58 KB fixed version Joop van de Wege, 06/26/2014 08:04 AM

Related issues

Related to Foreman - Bug #4282: Unable to associate hosts on RHEVNew2014-02-06

History

#1 Updated by Dominic Cleal about 5 years ago

  • Related to Bug #4282: Unable to associate hosts on RHEV added

#3 Updated by Dominic Cleal about 5 years ago

  • Status changed from New to Closed
  • Target version set to 1.8.1
  • % Done changed from 0 to 100
  • Legacy Backlogs Release (now unused) set to 10

rbovirt 0.0.28 contains the fix & has been packaged into nightlies.

#4 Updated by Dominic Cleal about 5 years ago

  • Legacy Backlogs Release (now unused) changed from 10 to 18

#5 Updated by Bryan Kearney about 5 years ago

  • Bugzilla link set to 1117838

Also available in: Atom PDF