Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1117838

Summary: No VM listing in the Compute Resource oVirt
Product: Red Hat Satellite Reporter: Bryan Kearney <bkearney>
Component: ProvisioningAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Korbel <mkorbel>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.4CC: bbuckingham, cperry, dcleal, dmitri, jhutar, jmontleo, lzap, stbenjam, tkolhar
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/6399
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-11 12:21:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bryan Kearney 2014-07-09 13:29:10 UTC
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

Comment 1 Bryan Kearney 2014-07-09 13:29:11 UTC
Created from redmine issue http://projects.theforeman.org/issues/6399

Comment 3 Bryan Kearney 2014-07-09 13:47:46 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/6399 has been closed
-------------
Dominic Cleal
https://github.com/abenari/rbovirt/issues/36

Comment 6 Martin Korbel 2014-09-04 14:03:36 UTC
Verified on Satellite-6.0.4-RHEL-6-20140829.0. 
oVirt was replaced by RHEV. Tested on RHEV.

Comment 7 Bryan Kearney 2014-09-11 12:21:37 UTC
This was delivered with Satellite 6.0 which was released on 10 September 2014.