Bug #6399
closedNo VM listing in the Compute Resource oVirt
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
Files
Updated by Dominic Cleal over 10 years ago
- Related to Bug #4282: Unable to associate hosts on RHEV added
Updated by Dominic Cleal over 10 years ago
Updated by Dominic Cleal over 10 years ago
- Status changed from New to Closed
- Target version set to 1.8.1
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 10
rbovirt 0.0.28 contains the fix & has been packaged into nightlies.
Updated by Dominic Cleal over 10 years ago
- Translation missing: en.field_release changed from 10 to 18